~ubuntu-branches/ubuntu/vivid/wxwidgets2.8/vivid

« back to all changes in this revision

Viewing changes to .pc/fix-configure-on-hurd/configure

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2010-07-20 01:55:41 UTC
  • Revision ID: james.westby@ubuntu.com-20100720015541-f4j0v8g28tdvp9xj
Tags: 2.8.11.0-0ubuntu2
* Merge *some* changes from Debian package (version 2.8.10.1-3). This should
  make merges easier. Also fixes LP: #559822. Also merged several patches.
* Remove debian/patches/editra_pixmaps.dpatch patch, we don't ship editra
  anymore.
* Remove files which broke update-alternatives (LP: #379573).
* Switch to format 3.0 (quilt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# From configure.in Id: configure.in 63293 2010-01-28 09:27:47Z CE .
 
3
# Guess values for system-dependent variables and create Makefiles.
 
4
# Generated by GNU Autoconf 2.59 for wxWidgets 2.8.11.
 
5
#
 
6
# Report bugs to <wx-dev@lists.wxwidgets.org>.
 
7
#
 
8
# Copyright (C) 2003 Free Software Foundation, Inc.
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be Bourne compatible
 
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
  emulate sh
 
18
  NULLCMD=:
 
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # is contrary to our usage.  Disable this feature.
 
21
  alias -g '${1+"$@"}'='"$@"'
 
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
23
  set -o posix
 
24
fi
 
25
DUALCASE=1; export DUALCASE # for MKS sh
 
26
 
 
27
# Support unset when possible.
 
28
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
29
  as_unset=unset
 
30
else
 
31
  as_unset=false
 
32
fi
 
33
 
 
34
 
 
35
# Work around bugs in pre-3.0 UWIN ksh.
 
36
$as_unset ENV MAIL MAILPATH
 
37
PS1='$ '
 
38
PS2='> '
 
39
PS4='+ '
 
40
 
 
41
# NLS nuisances.
 
42
for as_var in \
 
43
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
44
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
45
  LC_TELEPHONE LC_TIME
 
46
do
 
47
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
48
    eval $as_var=C; export $as_var
 
49
  else
 
50
    $as_unset $as_var
 
51
  fi
 
52
done
 
53
 
 
54
# Required to use basename.
 
55
if expr a : '\(a\)' >/dev/null 2>&1; then
 
56
  as_expr=expr
 
57
else
 
58
  as_expr=false
 
59
fi
 
60
 
 
61
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
62
  as_basename=basename
 
63
else
 
64
  as_basename=false
 
65
fi
 
66
 
 
67
 
 
68
# Name of the executable.
 
69
as_me=`$as_basename "$0" ||
 
70
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
71
         X"$0" : 'X\(//\)$' \| \
 
72
         X"$0" : 'X\(/\)$' \| \
 
73
         .     : '\(.\)' 2>/dev/null ||
 
74
echo X/"$0" |
 
75
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
76
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
77
          /^X\/\(\/\).*/{ s//\1/; q; }
 
78
          s/.*/./; q'`
 
79
 
 
80
 
 
81
# PATH needs CR, and LINENO needs CR and PATH.
 
82
# Avoid depending upon Character Ranges.
 
83
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
84
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
85
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
86
as_cr_digits='0123456789'
 
87
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
88
 
 
89
# The user is always right.
 
90
if test "${PATH_SEPARATOR+set}" != set; then
 
91
  echo "#! /bin/sh" >conf$$.sh
 
92
  echo  "exit 0"   >>conf$$.sh
 
93
  chmod +x conf$$.sh
 
94
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
95
    PATH_SEPARATOR=';'
 
96
  else
 
97
    PATH_SEPARATOR=:
 
98
  fi
 
99
  rm -f conf$$.sh
 
100
fi
 
101
 
 
102
 
 
103
  as_lineno_1=$LINENO
 
104
  as_lineno_2=$LINENO
 
105
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
106
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
107
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
108
  # Find who we are.  Look in the path if we contain no path at all
 
109
  # relative or not.
 
110
  case $0 in
 
111
    *[\\/]* ) as_myself=$0 ;;
 
112
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
113
for as_dir in $PATH
 
114
do
 
115
  IFS=$as_save_IFS
 
116
  test -z "$as_dir" && as_dir=.
 
117
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
118
done
 
119
 
 
120
       ;;
 
121
  esac
 
122
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
123
  # in which case we are not to be found in the path.
 
124
  if test "x$as_myself" = x; then
 
125
    as_myself=$0
 
126
  fi
 
127
  if test ! -f "$as_myself"; then
 
128
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
129
   { (exit 1); exit 1; }; }
 
130
  fi
 
131
  case $CONFIG_SHELL in
 
132
  '')
 
133
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
134
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
135
do
 
136
  IFS=$as_save_IFS
 
137
  test -z "$as_dir" && as_dir=.
 
138
  for as_base in sh bash ksh sh5; do
 
139
         case $as_dir in
 
140
         /*)
 
141
           if ("$as_dir/$as_base" -c '
 
142
  as_lineno_1=$LINENO
 
143
  as_lineno_2=$LINENO
 
144
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
145
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
146
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
147
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
148
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
149
             CONFIG_SHELL=$as_dir/$as_base
 
150
             export CONFIG_SHELL
 
151
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
152
           fi;;
 
153
         esac
 
154
       done
 
155
done
 
156
;;
 
157
  esac
 
158
 
 
159
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
160
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
161
  # line-number line before each line; the second 'sed' does the real
 
162
  # work.  The second script uses 'N' to pair each line-number line
 
163
  # with the numbered line, and appends trailing '-' during
 
164
  # substitution so that $LINENO is not a special case at line end.
 
165
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
166
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
167
  sed '=' <$as_myself |
 
168
    sed '
 
169
      N
 
170
      s,$,-,
 
171
      : loop
 
172
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
173
      t loop
 
174
      s,-$,,
 
175
      s,^['$as_cr_digits']*\n,,
 
176
    ' >$as_me.lineno &&
 
177
  chmod +x $as_me.lineno ||
 
178
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
179
   { (exit 1); exit 1; }; }
 
180
 
 
181
  # Don't try to exec as it changes $[0], causing all sort of problems
 
182
  # (the dirname of $[0] is not the place where we might find the
 
183
  # original and so on.  Autoconf is especially sensible to this).
 
184
  . ./$as_me.lineno
 
185
  # Exit status is that of the last command.
 
186
  exit
 
187
}
 
188
 
 
189
 
 
190
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
191
  *c*,-n*) ECHO_N= ECHO_C='
 
192
' ECHO_T='      ' ;;
 
193
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
194
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
195
esac
 
196
 
 
197
if expr a : '\(a\)' >/dev/null 2>&1; then
 
198
  as_expr=expr
 
199
else
 
200
  as_expr=false
 
201
fi
 
202
 
 
203
rm -f conf$$ conf$$.exe conf$$.file
 
204
echo >conf$$.file
 
205
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
206
  # We could just check for DJGPP; but this test a) works b) is more generic
 
207
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
208
  if test -f conf$$.exe; then
 
209
    # Don't use ln at all; we don't have any links
 
210
    as_ln_s='cp -p'
 
211
  else
 
212
    as_ln_s='ln -s'
 
213
  fi
 
214
elif ln conf$$.file conf$$ 2>/dev/null; then
 
215
  as_ln_s=ln
 
216
else
 
217
  as_ln_s='cp -p'
 
218
fi
 
219
rm -f conf$$ conf$$.exe conf$$.file
 
220
 
 
221
if mkdir -p . 2>/dev/null; then
 
222
  as_mkdir_p=:
 
223
else
 
224
  test -d ./-p && rmdir ./-p
 
225
  as_mkdir_p=false
 
226
fi
 
227
 
 
228
as_executable_p="test -f"
 
229
 
 
230
# Sed expression to map a string onto a valid CPP name.
 
231
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
232
 
 
233
# Sed expression to map a string onto a valid variable name.
 
234
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
235
 
 
236
 
 
237
# IFS
 
238
# We need space, tab and new line, in precisely that order.
 
239
as_nl='
 
240
'
 
241
IFS="   $as_nl"
 
242
 
 
243
# CDPATH.
 
244
$as_unset CDPATH
 
245
 
 
246
 
 
247
# Name of the host.
 
248
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
249
# so uname gets run too.
 
250
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
251
 
 
252
exec 6>&1
 
253
 
 
254
#
 
255
# Initializations.
 
256
#
 
257
ac_default_prefix=/usr/local
 
258
ac_config_libobj_dir=.
 
259
cross_compiling=no
 
260
subdirs=
 
261
MFLAGS=
 
262
MAKEFLAGS=
 
263
SHELL=${CONFIG_SHELL-/bin/sh}
 
264
 
 
265
# Maximum number of lines to put in a shell here document.
 
266
# This variable seems obsolete.  It should probably be removed, and
 
267
# only ac_max_sed_lines should be used.
 
268
: ${ac_max_here_lines=38}
 
269
 
 
270
# Identity of this package.
 
271
PACKAGE_NAME='wxWidgets'
 
272
PACKAGE_TARNAME='wxwidgets'
 
273
PACKAGE_VERSION='2.8.11'
 
274
PACKAGE_STRING='wxWidgets 2.8.11'
 
275
PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
 
276
 
 
277
ac_unique_file="wx-config.in"
 
278
# Factoring default headers for most tests.
 
279
ac_includes_default="\
 
280
#include <stdio.h>
 
281
#if HAVE_SYS_TYPES_H
 
282
# include <sys/types.h>
 
283
#endif
 
284
#if HAVE_SYS_STAT_H
 
285
# include <sys/stat.h>
 
286
#endif
 
287
#if STDC_HEADERS
 
288
# include <stdlib.h>
 
289
# include <stddef.h>
 
290
#else
 
291
# if HAVE_STDLIB_H
 
292
#  include <stdlib.h>
 
293
# endif
 
294
#endif
 
295
#if HAVE_STRING_H
 
296
# if !STDC_HEADERS && HAVE_MEMORY_H
 
297
#  include <memory.h>
 
298
# endif
 
299
# include <string.h>
 
300
#endif
 
301
#if HAVE_STRINGS_H
 
302
# include <strings.h>
 
303
#endif
 
304
#if HAVE_INTTYPES_H
 
305
# include <inttypes.h>
 
306
#else
 
307
# if HAVE_STDINT_H
 
308
#  include <stdint.h>
 
309
# endif
 
310
#endif
 
311
#if HAVE_UNISTD_H
 
312
# include <unistd.h>
 
313
#endif"
 
314
 
 
315
ac_subdirs_all="$ac_subdirs_all src/expat"
 
316
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_MEDIA EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS OBJCXXFLAGS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOTWOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH ICC_PCH_CREATE_SWITCH ICC_PCH_USE_SWITCH BK_MAKE_PCH COND_BUILD_debug COND_BUILD_debug_DEBUG_FLAG_default COND_BUILD_debug_DEBUG_INFO_default COND_BUILD_debug_UNICODE_0 COND_BUILD_debug_UNICODE_1 COND_BUILD_release COND_BUILD_release_DEBUG_INFO_default COND_BUILD_release_UNICODE_0 COND_BUILD_release_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_ODBC_1 COND_PLATFORM_MACOSX_1_USE_OPENGL_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_0 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin COND_SHARED_0_USE_XRC_1 COND_SHARED_0_wxUSE_EXPAT_builtin COND_SHARED_0_wxUSE_ODBC_builtin COND_SHARED_0_wxUSE_REGEX_builtin COND_SHARED_0_wxUSE_ZLIB_builtin COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_CAIRO_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin COND_USE_GUI_1_wxUSE_LIBPNG_builtin COND_USE_GUI_1_wxUSE_LIBTIFF_builtin COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOTWOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_wxUSE_EXPAT_builtin COND_wxUSE_LIBJPEG_builtin COND_wxUSE_LIBPNG_builtin COND_wxUSE_LIBTIFF_builtin COND_wxUSE_ODBC_builtin COND_wxUSE_REGEX_builtin COND_wxUSE_ZLIB_builtin SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
 
317
ac_subst_files=''
 
318
 
 
319
# Initialize some variables set by options.
 
320
ac_init_help=
 
321
ac_init_version=false
 
322
# The variables have the same names as the options, with
 
323
# dashes changed to underlines.
 
324
cache_file=/dev/null
 
325
exec_prefix=NONE
 
326
no_create=
 
327
no_recursion=
 
328
prefix=NONE
 
329
program_prefix=NONE
 
330
program_suffix=NONE
 
331
program_transform_name=s,x,x,
 
332
silent=
 
333
site=
 
334
srcdir=
 
335
verbose=
 
336
x_includes=NONE
 
337
x_libraries=NONE
 
338
 
 
339
# Installation directory options.
 
340
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
341
# and all the variables that are supposed to be based on exec_prefix
 
342
# by default will actually change.
 
343
# Use braces instead of parens because sh, perl, etc. also accept them.
 
344
bindir='${exec_prefix}/bin'
 
345
sbindir='${exec_prefix}/sbin'
 
346
libexecdir='${exec_prefix}/libexec'
 
347
datadir='${prefix}/share'
 
348
sysconfdir='${prefix}/etc'
 
349
sharedstatedir='${prefix}/com'
 
350
localstatedir='${prefix}/var'
 
351
libdir='${exec_prefix}/lib'
 
352
includedir='${prefix}/include'
 
353
oldincludedir='/usr/include'
 
354
infodir='${prefix}/info'
 
355
mandir='${prefix}/man'
 
356
 
 
357
ac_prev=
 
358
for ac_option
 
359
do
 
360
  # If the previous option needs an argument, assign it.
 
361
  if test -n "$ac_prev"; then
 
362
    eval "$ac_prev=\$ac_option"
 
363
    ac_prev=
 
364
    continue
 
365
  fi
 
366
 
 
367
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
368
 
 
369
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
370
 
 
371
  case $ac_option in
 
372
 
 
373
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
374
    ac_prev=bindir ;;
 
375
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
376
    bindir=$ac_optarg ;;
 
377
 
 
378
  -build | --build | --buil | --bui | --bu)
 
379
    ac_prev=build_alias ;;
 
380
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
381
    build_alias=$ac_optarg ;;
 
382
 
 
383
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
384
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
385
    ac_prev=cache_file ;;
 
386
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
387
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
388
    cache_file=$ac_optarg ;;
 
389
 
 
390
  --config-cache | -C)
 
391
    cache_file=config.cache ;;
 
392
 
 
393
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
394
    ac_prev=datadir ;;
 
395
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
396
  | --da=*)
 
397
    datadir=$ac_optarg ;;
 
398
 
 
399
  -disable-* | --disable-*)
 
400
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
401
    # Reject names that are not valid shell variable names.
 
402
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
403
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
404
   { (exit 1); exit 1; }; }
 
405
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
406
    eval "enable_$ac_feature=no" ;;
 
407
 
 
408
  -enable-* | --enable-*)
 
409
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
410
    # Reject names that are not valid shell variable names.
 
411
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
412
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
413
   { (exit 1); exit 1; }; }
 
414
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
415
    case $ac_option in
 
416
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
417
      *) ac_optarg=yes ;;
 
418
    esac
 
419
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
420
 
 
421
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
422
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
423
  | --exec | --exe | --ex)
 
424
    ac_prev=exec_prefix ;;
 
425
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
426
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
427
  | --exec=* | --exe=* | --ex=*)
 
428
    exec_prefix=$ac_optarg ;;
 
429
 
 
430
  -gas | --gas | --ga | --g)
 
431
    # Obsolete; use --with-gas.
 
432
    with_gas=yes ;;
 
433
 
 
434
  -help | --help | --hel | --he | -h)
 
435
    ac_init_help=long ;;
 
436
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
437
    ac_init_help=recursive ;;
 
438
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
439
    ac_init_help=short ;;
 
440
 
 
441
  -host | --host | --hos | --ho)
 
442
    ac_prev=host_alias ;;
 
443
  -host=* | --host=* | --hos=* | --ho=*)
 
444
    host_alias=$ac_optarg ;;
 
445
 
 
446
  -includedir | --includedir | --includedi | --included | --include \
 
447
  | --includ | --inclu | --incl | --inc)
 
448
    ac_prev=includedir ;;
 
449
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
450
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
451
    includedir=$ac_optarg ;;
 
452
 
 
453
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
454
    ac_prev=infodir ;;
 
455
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
456
    infodir=$ac_optarg ;;
 
457
 
 
458
  -libdir | --libdir | --libdi | --libd)
 
459
    ac_prev=libdir ;;
 
460
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
461
    libdir=$ac_optarg ;;
 
462
 
 
463
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
464
  | --libexe | --libex | --libe)
 
465
    ac_prev=libexecdir ;;
 
466
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
467
  | --libexe=* | --libex=* | --libe=*)
 
468
    libexecdir=$ac_optarg ;;
 
469
 
 
470
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
471
  | --localstate | --localstat | --localsta | --localst \
 
472
  | --locals | --local | --loca | --loc | --lo)
 
473
    ac_prev=localstatedir ;;
 
474
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
475
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
476
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
477
    localstatedir=$ac_optarg ;;
 
478
 
 
479
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
480
    ac_prev=mandir ;;
 
481
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
482
    mandir=$ac_optarg ;;
 
483
 
 
484
  -nfp | --nfp | --nf)
 
485
    # Obsolete; use --without-fp.
 
486
    with_fp=no ;;
 
487
 
 
488
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
489
  | --no-cr | --no-c | -n)
 
490
    no_create=yes ;;
 
491
 
 
492
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
493
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
494
    no_recursion=yes ;;
 
495
 
 
496
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
497
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
498
  | --oldin | --oldi | --old | --ol | --o)
 
499
    ac_prev=oldincludedir ;;
 
500
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
501
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
502
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
503
    oldincludedir=$ac_optarg ;;
 
504
 
 
505
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
506
    ac_prev=prefix ;;
 
507
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
508
    prefix=$ac_optarg ;;
 
509
 
 
510
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
511
  | --program-pre | --program-pr | --program-p)
 
512
    ac_prev=program_prefix ;;
 
513
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
514
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
515
    program_prefix=$ac_optarg ;;
 
516
 
 
517
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
518
  | --program-suf | --program-su | --program-s)
 
519
    ac_prev=program_suffix ;;
 
520
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
521
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
522
    program_suffix=$ac_optarg ;;
 
523
 
 
524
  -program-transform-name | --program-transform-name \
 
525
  | --program-transform-nam | --program-transform-na \
 
526
  | --program-transform-n | --program-transform- \
 
527
  | --program-transform | --program-transfor \
 
528
  | --program-transfo | --program-transf \
 
529
  | --program-trans | --program-tran \
 
530
  | --progr-tra | --program-tr | --program-t)
 
531
    ac_prev=program_transform_name ;;
 
532
  -program-transform-name=* | --program-transform-name=* \
 
533
  | --program-transform-nam=* | --program-transform-na=* \
 
534
  | --program-transform-n=* | --program-transform-=* \
 
535
  | --program-transform=* | --program-transfor=* \
 
536
  | --program-transfo=* | --program-transf=* \
 
537
  | --program-trans=* | --program-tran=* \
 
538
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
539
    program_transform_name=$ac_optarg ;;
 
540
 
 
541
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
542
  | -silent | --silent | --silen | --sile | --sil)
 
543
    silent=yes ;;
 
544
 
 
545
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
546
    ac_prev=sbindir ;;
 
547
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
548
  | --sbi=* | --sb=*)
 
549
    sbindir=$ac_optarg ;;
 
550
 
 
551
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
552
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
553
  | --sharedst | --shareds | --shared | --share | --shar \
 
554
  | --sha | --sh)
 
555
    ac_prev=sharedstatedir ;;
 
556
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
557
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
558
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
559
  | --sha=* | --sh=*)
 
560
    sharedstatedir=$ac_optarg ;;
 
561
 
 
562
  -site | --site | --sit)
 
563
    ac_prev=site ;;
 
564
  -site=* | --site=* | --sit=*)
 
565
    site=$ac_optarg ;;
 
566
 
 
567
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
568
    ac_prev=srcdir ;;
 
569
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
570
    srcdir=$ac_optarg ;;
 
571
 
 
572
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
573
  | --syscon | --sysco | --sysc | --sys | --sy)
 
574
    ac_prev=sysconfdir ;;
 
575
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
576
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
577
    sysconfdir=$ac_optarg ;;
 
578
 
 
579
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
580
    ac_prev=target_alias ;;
 
581
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
582
    target_alias=$ac_optarg ;;
 
583
 
 
584
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
585
    verbose=yes ;;
 
586
 
 
587
  -version | --version | --versio | --versi | --vers | -V)
 
588
    ac_init_version=: ;;
 
589
 
 
590
  -with-* | --with-*)
 
591
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
592
    # Reject names that are not valid shell variable names.
 
593
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
594
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
595
   { (exit 1); exit 1; }; }
 
596
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
597
    case $ac_option in
 
598
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
599
      *) ac_optarg=yes ;;
 
600
    esac
 
601
    eval "with_$ac_package='$ac_optarg'" ;;
 
602
 
 
603
  -without-* | --without-*)
 
604
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
605
    # Reject names that are not valid shell variable names.
 
606
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
607
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
608
   { (exit 1); exit 1; }; }
 
609
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
610
    eval "with_$ac_package=no" ;;
 
611
 
 
612
  --x)
 
613
    # Obsolete; use --with-x.
 
614
    with_x=yes ;;
 
615
 
 
616
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
617
  | --x-incl | --x-inc | --x-in | --x-i)
 
618
    ac_prev=x_includes ;;
 
619
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
620
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
621
    x_includes=$ac_optarg ;;
 
622
 
 
623
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
624
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
625
    ac_prev=x_libraries ;;
 
626
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
627
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
628
    x_libraries=$ac_optarg ;;
 
629
 
 
630
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
631
Try \`$0 --help' for more information." >&2
 
632
   { (exit 1); exit 1; }; }
 
633
    ;;
 
634
 
 
635
  *=*)
 
636
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
637
    # Reject names that are not valid shell variable names.
 
638
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
639
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
640
   { (exit 1); exit 1; }; }
 
641
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
642
    eval "$ac_envvar='$ac_optarg'"
 
643
    export $ac_envvar ;;
 
644
 
 
645
  *)
 
646
    # FIXME: should be removed in autoconf 3.0.
 
647
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
648
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
649
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
650
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
651
    ;;
 
652
 
 
653
  esac
 
654
done
 
655
 
 
656
if test -n "$ac_prev"; then
 
657
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
658
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
659
   { (exit 1); exit 1; }; }
 
660
fi
 
661
 
 
662
# Be sure to have absolute paths.
 
663
for ac_var in exec_prefix prefix
 
664
do
 
665
  eval ac_val=$`echo $ac_var`
 
666
  case $ac_val in
 
667
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
668
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
669
   { (exit 1); exit 1; }; };;
 
670
  esac
 
671
done
 
672
 
 
673
# Be sure to have absolute paths.
 
674
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
675
              localstatedir libdir includedir oldincludedir infodir mandir
 
676
do
 
677
  eval ac_val=$`echo $ac_var`
 
678
  case $ac_val in
 
679
    [\\/$]* | ?:[\\/]* ) ;;
 
680
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
681
   { (exit 1); exit 1; }; };;
 
682
  esac
 
683
done
 
684
 
 
685
# There might be people who depend on the old broken behavior: `$host'
 
686
# used to hold the argument of --host etc.
 
687
# FIXME: To remove some day.
 
688
build=$build_alias
 
689
host=$host_alias
 
690
target=$target_alias
 
691
 
 
692
# FIXME: To remove some day.
 
693
if test "x$host_alias" != x; then
 
694
  if test "x$build_alias" = x; then
 
695
    cross_compiling=maybe
 
696
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
697
    If a cross compiler is detected then cross compile mode will be used." >&2
 
698
  elif test "x$build_alias" != "x$host_alias"; then
 
699
    cross_compiling=yes
 
700
  fi
 
701
fi
 
702
 
 
703
ac_tool_prefix=
 
704
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
705
 
 
706
test "$silent" = yes && exec 6>/dev/null
 
707
 
 
708
 
 
709
# Find the source files, if location was not specified.
 
710
if test -z "$srcdir"; then
 
711
  ac_srcdir_defaulted=yes
 
712
  # Try the directory containing this script, then its parent.
 
713
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
714
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
715
         X"$0" : 'X\(//\)[^/]' \| \
 
716
         X"$0" : 'X\(//\)$' \| \
 
717
         X"$0" : 'X\(/\)' \| \
 
718
         .     : '\(.\)' 2>/dev/null ||
 
719
echo X"$0" |
 
720
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
721
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
722
          /^X\(\/\/\)$/{ s//\1/; q; }
 
723
          /^X\(\/\).*/{ s//\1/; q; }
 
724
          s/.*/./; q'`
 
725
  srcdir=$ac_confdir
 
726
  if test ! -r $srcdir/$ac_unique_file; then
 
727
    srcdir=..
 
728
  fi
 
729
else
 
730
  ac_srcdir_defaulted=no
 
731
fi
 
732
if test ! -r $srcdir/$ac_unique_file; then
 
733
  if test "$ac_srcdir_defaulted" = yes; then
 
734
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
735
   { (exit 1); exit 1; }; }
 
736
  else
 
737
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
738
   { (exit 1); exit 1; }; }
 
739
  fi
 
740
fi
 
741
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
742
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
743
   { (exit 1); exit 1; }; }
 
744
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
745
ac_env_build_alias_set=${build_alias+set}
 
746
ac_env_build_alias_value=$build_alias
 
747
ac_cv_env_build_alias_set=${build_alias+set}
 
748
ac_cv_env_build_alias_value=$build_alias
 
749
ac_env_host_alias_set=${host_alias+set}
 
750
ac_env_host_alias_value=$host_alias
 
751
ac_cv_env_host_alias_set=${host_alias+set}
 
752
ac_cv_env_host_alias_value=$host_alias
 
753
ac_env_target_alias_set=${target_alias+set}
 
754
ac_env_target_alias_value=$target_alias
 
755
ac_cv_env_target_alias_set=${target_alias+set}
 
756
ac_cv_env_target_alias_value=$target_alias
 
757
ac_env_CC_set=${CC+set}
 
758
ac_env_CC_value=$CC
 
759
ac_cv_env_CC_set=${CC+set}
 
760
ac_cv_env_CC_value=$CC
 
761
ac_env_CFLAGS_set=${CFLAGS+set}
 
762
ac_env_CFLAGS_value=$CFLAGS
 
763
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
764
ac_cv_env_CFLAGS_value=$CFLAGS
 
765
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
766
ac_env_LDFLAGS_value=$LDFLAGS
 
767
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
768
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
769
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
770
ac_env_CPPFLAGS_value=$CPPFLAGS
 
771
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
772
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
773
ac_env_CPP_set=${CPP+set}
 
774
ac_env_CPP_value=$CPP
 
775
ac_cv_env_CPP_set=${CPP+set}
 
776
ac_cv_env_CPP_value=$CPP
 
777
ac_env_CXX_set=${CXX+set}
 
778
ac_env_CXX_value=$CXX
 
779
ac_cv_env_CXX_set=${CXX+set}
 
780
ac_cv_env_CXX_value=$CXX
 
781
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
 
782
ac_env_CXXFLAGS_value=$CXXFLAGS
 
783
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
 
784
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
 
785
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
786
ac_env_PKG_CONFIG_value=$PKG_CONFIG
 
787
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
788
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
 
789
ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
 
790
ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
 
791
ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
 
792
ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
 
793
ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
 
794
ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
 
795
ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
 
796
ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
 
797
ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
 
798
ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
 
799
ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
 
800
ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
 
801
ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
 
802
ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
 
803
ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
 
804
ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
 
805
ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
 
806
ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
 
807
ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
 
808
ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
 
809
ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
 
810
ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
 
811
ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
 
812
ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
 
813
ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
 
814
ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
 
815
ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
 
816
ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
 
817
ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
 
818
ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
 
819
ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
 
820
ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
 
821
ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
 
822
ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
 
823
ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
 
824
ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
 
825
ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
 
826
ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
 
827
ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
 
828
ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
 
829
ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
 
830
ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
 
831
ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
 
832
ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
 
833
ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
 
834
ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
 
835
ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
 
836
ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
 
837
ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
 
838
ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
 
839
ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
 
840
ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
 
841
ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
 
842
ac_env_HILDON_LIBS_value=$HILDON_LIBS
 
843
ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
 
844
ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
 
845
ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
 
846
ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
 
847
ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
 
848
ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
 
849
ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
 
850
ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
 
851
ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
 
852
ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
 
853
ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
 
854
ac_env_GST_CFLAGS_value=$GST_CFLAGS
 
855
ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
 
856
ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
 
857
ac_env_GST_LIBS_set=${GST_LIBS+set}
 
858
ac_env_GST_LIBS_value=$GST_LIBS
 
859
ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
 
860
ac_cv_env_GST_LIBS_value=$GST_LIBS
 
861
 
 
862
#
 
863
# Report the --help message.
 
864
#
 
865
if test "$ac_init_help" = "long"; then
 
866
  # Omit some internal or obsolete options to make the list less imposing.
 
867
  # This message is too long to be a string in the A/UX 3.1 sh.
 
868
  cat <<_ACEOF
 
869
\`configure' configures wxWidgets 2.8.11 to adapt to many kinds of systems.
 
870
 
 
871
Usage: $0 [OPTION]... [VAR=VALUE]...
 
872
 
 
873
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
874
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
875
 
 
876
Defaults for the options are specified in brackets.
 
877
 
 
878
Configuration:
 
879
  -h, --help              display this help and exit
 
880
      --help=short        display options specific to this package
 
881
      --help=recursive    display the short help of all the included packages
 
882
  -V, --version           display version information and exit
 
883
  -q, --quiet, --silent   do not print \`checking...' messages
 
884
      --cache-file=FILE   cache test results in FILE [disabled]
 
885
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
886
  -n, --no-create         do not create output files
 
887
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
888
 
 
889
_ACEOF
 
890
 
 
891
  cat <<_ACEOF
 
892
Installation directories:
 
893
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
894
                          [$ac_default_prefix]
 
895
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
896
                          [PREFIX]
 
897
 
 
898
By default, \`make install' will install all the files in
 
899
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
900
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
901
for instance \`--prefix=\$HOME'.
 
902
 
 
903
For better control, use the options below.
 
904
 
 
905
Fine tuning of the installation directories:
 
906
  --bindir=DIR           user executables [EPREFIX/bin]
 
907
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
908
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
909
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
910
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
911
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
912
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
913
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
914
  --includedir=DIR       C header files [PREFIX/include]
 
915
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
916
  --infodir=DIR          info documentation [PREFIX/info]
 
917
  --mandir=DIR           man documentation [PREFIX/man]
 
918
_ACEOF
 
919
 
 
920
  cat <<\_ACEOF
 
921
 
 
922
X features:
 
923
  --x-includes=DIR    X include files are in DIR
 
924
  --x-libraries=DIR   X library files are in DIR
 
925
 
 
926
System types:
 
927
  --build=BUILD     configure for building on BUILD [guessed]
 
928
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
929
  --target=TARGET   configure for building compilers for TARGET [HOST]
 
930
_ACEOF
 
931
fi
 
932
 
 
933
if test -n "$ac_init_help"; then
 
934
  case $ac_init_help in
 
935
     short | recursive ) echo "Configuration of wxWidgets 2.8.11:";;
 
936
   esac
 
937
  cat <<\_ACEOF
 
938
 
 
939
Optional Features:
 
940
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
941
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
942
  --enable-gui            use GUI classes
 
943
  --enable-monolithic     build wxWidgets as single library
 
944
  --enable-plugins        build parts of wxWidgets as loadable components
 
945
  --enable-universal      use wxWidgets GUI controls instead of native ones
 
946
  --enable-nanox          use NanoX
 
947
  --disable-gtk2          use GTK+ 1.2 instead of 2.0
 
948
  --enable-gpe            use GNOME PDA Environment features if possible
 
949
  --enable-shared         create shared library code
 
950
  --enable-optimise       compile without optimisations
 
951
  --enable-debug          same as debug_flag and debug_info
 
952
  --enable-stl            use STL for containers
 
953
  --enable-omf            use OMF object format
 
954
  --enable-debug_flag     set __WXDEBUG__ flag (recommended for developers!)
 
955
  --enable-debug_info     create code with debugging information
 
956
  --enable-debug_gdb      create code with extra GDB debugging information
 
957
  --enable-debug_cntxt    use wxDebugContext
 
958
  --enable-mem_tracing    create code with memory tracing
 
959
  --enable-profile        create code with profiling information
 
960
  --enable-no_rtti        create code without RTTI information
 
961
  --enable-no_exceptions  create code without C++ exceptions handling
 
962
  --enable-permissive     compile code disregarding strict ANSI
 
963
  --enable-no_deps        create code without dependency information
 
964
  --disable-vararg_macros don't use vararg macros, even if they are supported
 
965
  --enable-universal_binary  create Mac PowerPC and Intel Universal binary
 
966
  --enable-compat24       enable wxWidgets 2.4 compatibility
 
967
  --disable-compat26      disable wxWidgets 2.6 compatibility
 
968
  --disable-rpath         disable use of rpath for uninstalled builds
 
969
  --enable-objc_uniquifying enable Objective-C class name uniquifying
 
970
  --enable-abi-incompatible-features Enables features that break ABI compatibility
 
971
  --enable-intl           use internationalization system
 
972
  --enable-config         use wxConfig (and derived) classes
 
973
  --enable-protocols      use wxProtocol and derived classes
 
974
  --enable-ftp            use wxFTP (requires wxProtocol
 
975
  --enable-http           use wxHTTP (requires wxProtocol
 
976
  --enable-fileproto      use wxFileProto class (requires wxProtocol
 
977
  --enable-sockets        use socket/network classes
 
978
  --enable-ole            use OLE classes (Win32 only)
 
979
  --enable-dataobj        use data object classes
 
980
  --enable-ipc            use interprocess communication (wxSocket etc.)
 
981
  --enable-apple_ieee     use the Apple IEEE codec
 
982
  --enable-arcstream      use wxArchive streams
 
983
  --enable-backtrace      use wxStackWalker class for getting backtraces
 
984
  --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
 
985
  --enable-cmdline        use wxCmdLineParser class
 
986
  --enable-datetime       use wxDateTime class
 
987
  --enable-debugreport    use wxDebugReport class
 
988
  --enable-dialupman      use dialup network classes
 
989
  --enable-dynlib         use wxLibrary class for DLL loading
 
990
  --enable-dynamicloader  use (new) wxDynamicLibrary class
 
991
  --enable-exceptions     build exception-safe library
 
992
  --enable-ffile          use wxFFile class
 
993
  --enable-file           use wxFile class
 
994
  --enable-filesystem     use virtual file systems classes
 
995
  --enable-fontmap        use font encodings conversion classes
 
996
  --enable-fs_archive     use virtual archive filesystems
 
997
  --enable-fs_inet        use virtual HTTP/FTP filesystems
 
998
  --enable-fs_zip         now replaced by fs_archive
 
999
  --enable-geometry       use geometry class
 
1000
  --enable-log            use logging system
 
1001
  --enable-longlong       use wxLongLong class
 
1002
  --enable-mimetype       use wxMimeTypesManager
 
1003
  --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
 
1004
  --enable-snglinst       use wxSingleInstanceChecker class
 
1005
  --enable-std_iostreams  use standard C++ stream classes
 
1006
  --enable-std_string     use standard C++ string classes
 
1007
  --enable-stdpaths       use wxStandardPaths class
 
1008
  --enable-stopwatch      use wxStopWatch class
 
1009
  --enable-streams        use wxStream etc classes
 
1010
  --enable-sysoptions     use wxSystemOptions
 
1011
  --enable-tarstream      use wxTar streams
 
1012
  --enable-textbuf        use wxTextBuffer class
 
1013
  --enable-textfile       use wxTextFile class
 
1014
  --enable-timer          use wxTimer class
 
1015
  --enable-unicode        compile wxString with Unicode support
 
1016
  --enable-sound          use wxSound class
 
1017
  --enable-mediactrl      use wxMediaCtrl class
 
1018
  --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
 
1019
  --enable-printfposparam use wxVsnprintf() which supports positional parameters
 
1020
  --enable-zipstream      use wxZip streams
 
1021
  --enable-url            use wxURL class
 
1022
  --enable-variant        use wxVariant class
 
1023
  --enable-protocol       use wxProtocol class
 
1024
  --enable-protocol-http  HTTP support in wxProtocol
 
1025
  --enable-protocol-ftp   FTP support in wxProtocol
 
1026
  --enable-protocol-file  FILE support in wxProtocol
 
1027
  --enable-threads        use threads
 
1028
  --enable-docview        use document view architecture
 
1029
  --enable-help           use help subsystem
 
1030
  --enable-mshtmlhelp     use MS HTML Help (win32)
 
1031
  --enable-html           use wxHTML sub-library
 
1032
  --enable-htmlhelp       use wxHTML-based help
 
1033
  --enable-xrc            use XRC resources sub-library
 
1034
  --enable-aui            use AUI docking library
 
1035
  --enable-constraints    use layout-constraints system
 
1036
  --enable-printarch      use printing architecture
 
1037
  --enable-mdi            use multiple document interface architecture
 
1038
  --enable-mdidoc         use docview architecture with MDI
 
1039
  --enable-loggui         use standard GUI logger
 
1040
  --enable-logwin         use wxLogWindow
 
1041
  --enable-logdialog      use wxLogDialog
 
1042
  --enable-webkit         use wxWebKitCtrl (Mac)
 
1043
  --enable-richtext       use wxRichTextCtrl
 
1044
  --enable-graphics_ctx   use graphics context 2D drawing API
 
1045
  --enable-postscript     use wxPostscriptDC device context (default for gtk+)
 
1046
  --enable-prologio       not available; see contrib
 
1047
  --enable-resources      not available; see contrib
 
1048
  --enable-clipboard      use wxClipboard class
 
1049
  --enable-dnd            use Drag'n'Drop classes
 
1050
  --enable-metafile       use win32 metafiles
 
1051
  --enable-controls       use all usual controls
 
1052
  --enable-accel          use accelerators
 
1053
  --enable-animatectrl    use wxAnimationCtrl class
 
1054
  --enable-button         use wxButton class
 
1055
  --enable-bmpbutton      use wxBitmapButton class
 
1056
  --enable-bmpcombobox    use wxBitmapComboBox class
 
1057
  --enable-calendar       use wxCalendarCtrl class
 
1058
  --enable-caret          use wxCaret class
 
1059
  --enable-checkbox       use wxCheckBox class
 
1060
  --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
 
1061
  --enable-choice         use wxChoice class
 
1062
  --enable-choicebook     use wxChoicebook class
 
1063
  --enable-collpane       use wxCollapsiblePane class
 
1064
  --enable-colourpicker   use wxColourPickerCtrl class
 
1065
  --enable-combobox       use wxComboBox class
 
1066
  --enable-comboctrl      use wxComboCtrl class
 
1067
  --enable-datepick       use wxDatePickerCtrl class
 
1068
  --enable-dirpicker      use wxDirPickerCtrl class
 
1069
  --enable-display        use wxDisplay class
 
1070
  --enable-detect_sm      use code to detect X11 session manager
 
1071
  --enable-filepicker     use wxFilePickerCtrl class
 
1072
  --enable-fontpicker     use wxFontPickerCtrl class
 
1073
  --enable-gauge          use wxGauge class
 
1074
  --enable-grid           use wxGrid class
 
1075
  --enable-dataviewctrl   use wxDataViewCtrl class
 
1076
  --enable-hyperlink      use wxHyperlinkCtrl class
 
1077
  --enable-imaglist       use wxImageList class
 
1078
  --enable-listbook       use wxListbook class
 
1079
  --enable-listbox        use wxListBox class
 
1080
  --enable-listctrl       use wxListCtrl class
 
1081
  --enable-notebook       use wxNotebook class
 
1082
  --enable-odcombobox     use wxOwnerDrawnComboBox class
 
1083
  --enable-radiobox       use wxRadioBox class
 
1084
  --enable-radiobtn       use wxRadioButton class
 
1085
  --enable-sash           use wxSashWindow class
 
1086
  --enable-scrollbar      use wxScrollBar class and scrollable windows
 
1087
  --enable-searchctrl     use wxSearchCtrl class
 
1088
  --enable-slider         use wxSlider class
 
1089
  --enable-spinbtn        use wxSpinButton class
 
1090
  --enable-spinctrl       use wxSpinCtrl class
 
1091
  --enable-splitter       use wxSplitterWindow class
 
1092
  --enable-statbmp        use wxStaticBitmap class
 
1093
  --enable-statbox        use wxStaticBox class
 
1094
  --enable-statline       use wxStaticLine class
 
1095
  --enable-stattext       use wxStaticText class
 
1096
  --enable-statusbar      use wxStatusBar class
 
1097
  --enable-tabdialog      use wxTabControl class
 
1098
  --enable-textctrl       use wxTextCtrl class
 
1099
  --enable-togglebtn      use wxToggleButton class
 
1100
  --enable-toolbar        use wxToolBar class
 
1101
  --enable-tbarnative     use native wxToolBar class
 
1102
  --enable-treebook       use wxTreebook class
 
1103
  --enable-toolbook       use wxToolbook class
 
1104
  --enable-treectrl       use wxTreeCtrl class
 
1105
  --enable-tipwindow      use wxTipWindow class
 
1106
  --enable-popupwin       use wxPopUpWindow class
 
1107
  --enable-commondlg      use all common dialogs
 
1108
  --enable-aboutdlg       use wxAboutBox
 
1109
  --enable-choicedlg      use wxChoiceDialog
 
1110
  --enable-coldlg         use wxColourDialog
 
1111
  --enable-filedlg        use wxFileDialog
 
1112
  --enable-finddlg        use wxFindReplaceDialog
 
1113
  --enable-fontdlg        use wxFontDialog
 
1114
  --enable-dirdlg         use wxDirDialog
 
1115
  --enable-msgdlg         use wxMessageDialog
 
1116
  --enable-numberdlg      use wxNumberEntryDialog
 
1117
  --enable-splash         use wxSplashScreen
 
1118
  --enable-textdlg        use wxTextDialog
 
1119
  --enable-tipdlg         use startup tips
 
1120
  --enable-progressdlg    use wxProgressDialog
 
1121
  --enable-wizarddlg      use wxWizard
 
1122
  --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
 
1123
  --enable-miniframe      use wxMiniFrame class
 
1124
  --enable-tooltips       use wxToolTip class
 
1125
  --enable-splines        use spline drawing code
 
1126
  --enable-mousewheel     use mousewheel
 
1127
  --enable-validators     use wxValidator and derived classes
 
1128
  --enable-busyinfo       use wxBusyInfo
 
1129
  --enable-joystick       use wxJoystick
 
1130
  --enable-metafiles      use wxMetaFile (Win32 only)
 
1131
  --enable-dragimage      use wxDragImage
 
1132
  --enable-accessibility  enable accessibility support
 
1133
  --enable-dccache        cache temporary wxDC objects (Win32 only)
 
1134
  --enable-palette        use wxPalette class
 
1135
  --enable-image          use wxImage class
 
1136
  --enable-gif            use gif images (GIF file format)
 
1137
  --enable-pcx            use pcx images (PCX file format)
 
1138
  --enable-tga            use tga images (TGA file format)
 
1139
  --enable-iff            use iff images (IFF file format)
 
1140
  --enable-pnm            use pnm images (PNM file format)
 
1141
  --enable-xpm            use xpm images (XPM file format)
 
1142
  --enable-icocur         use Windows ICO and CUR formats
 
1143
  --enable-official_build official build of wxWidgets (win32 DLL only)
 
1144
  --enable-vendor=VENDOR  vendor name (win32 DLL only)
 
1145
  --disable-largefile     omit support for large files
 
1146
  --disable-gtktest       do not try to compile and run a test GTK+ program
 
1147
  --disable-gtktest       Do not try to compile and run a test GTK program
 
1148
  --disable-sdltest       Do not try to compile and run a test SDL program
 
1149
  --enable-omf            use OMF object format (OS/2)
 
1150
  --disable-dependency-tracking
 
1151
                          don't use dependency tracking even if the compiler
 
1152
                          can
 
1153
  --disable-precomp-headers
 
1154
                          don't use precompiled headers even if compiler can
 
1155
 
 
1156
Optional Packages:
 
1157
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1158
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1159
  --without-subdirs       don't generate makefiles for samples/demos/...
 
1160
  --with-gtk[=VERSION]    use GTK+, VERSION can be 2 (default), 1 or "any"
 
1161
  --with-motif            use Motif/Lesstif
 
1162
  --with-mac              use Mac OS X
 
1163
  --with-cocoa            use Cocoa
 
1164
  --with-wine             use Wine
 
1165
  --with-msw              use MS-Windows
 
1166
  --with-pm               use OS/2 Presentation Manager
 
1167
  --with-mgl              use SciTech MGL
 
1168
  --with-directfb         use DirectFB
 
1169
  --with-microwin         use MicroWindows
 
1170
  --with-x11              use X11
 
1171
  --with-libpng           use libpng (PNG image format)
 
1172
  --with-libjpeg          use libjpeg (JPEG file format)
 
1173
  --with-libtiff          use libtiff (TIFF file format)
 
1174
  --with-libxpm           use libxpm (XPM file format)
 
1175
  --with-libmspack        use libmspack (CHM help files loading)
 
1176
  --with-sdl              use SDL for audio on Unix
 
1177
  --with-gnomeprint       use GNOME print for printing under GNOME
 
1178
  --with-gnomevfs         use GNOME VFS for associating MIME types
 
1179
  --with-hildon           use Hildon framework for Nokia 770
 
1180
  --with-opengl           use OpenGL (or Mesa)
 
1181
  --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
 
1182
  --with-dmalloc          use dmalloc library (http://dmalloc.com/)
 
1183
  --with-regex            enable support for wxRegEx class
 
1184
  --with-zlib             use zlib for LZW compression
 
1185
  --with-odbc             use the IODBC and wxODBC classes
 
1186
  --with-expat            enable XML support using expat parser
 
1187
  --with-macosx-sdk=PATH  use an OS X SDK at PATH
 
1188
  --with-macosx-version-min=VER   build binaries which require at least this OS X version
 
1189
  --with-flavour=NAME     specify a name to identify this build
 
1190
  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
 
1191
  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
 
1192
  --with-x                use the X Window System
 
1193
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
 
1194
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
 
1195
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
 
1196
  --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
 
1197
  --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
 
1198
 
 
1199
Some influential environment variables:
 
1200
  CC          C compiler command
 
1201
  CFLAGS      C compiler flags
 
1202
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1203
              nonstandard directory <lib dir>
 
1204
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
1205
              headers in a nonstandard directory <include dir>
 
1206
  CPP         C preprocessor
 
1207
  CXX         C++ compiler command
 
1208
  CXXFLAGS    C++ compiler flags
 
1209
  PKG_CONFIG  path to pkg-config utility
 
1210
  DIRECTFB_CFLAGS
 
1211
              C compiler flags for DIRECTFB, overriding pkg-config
 
1212
  DIRECTFB_LIBS
 
1213
              linker flags for DIRECTFB, overriding pkg-config
 
1214
  PANGOX_CFLAGS
 
1215
              C compiler flags for PANGOX, overriding pkg-config
 
1216
  PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
 
1217
  PANGOFT2_CFLAGS
 
1218
              C compiler flags for PANGOFT2, overriding pkg-config
 
1219
  PANGOFT2_LIBS
 
1220
              linker flags for PANGOFT2, overriding pkg-config
 
1221
  PANGOXFT_CFLAGS
 
1222
              C compiler flags for PANGOXFT, overriding pkg-config
 
1223
  PANGOXFT_LIBS
 
1224
              linker flags for PANGOXFT, overriding pkg-config
 
1225
  LIBGNOMEPRINTUI_CFLAGS
 
1226
              C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
 
1227
  LIBGNOMEPRINTUI_LIBS
 
1228
              linker flags for LIBGNOMEPRINTUI, overriding pkg-config
 
1229
  GNOMEVFS_CFLAGS
 
1230
              C compiler flags for GNOMEVFS, overriding pkg-config
 
1231
  GNOMEVFS_LIBS
 
1232
              linker flags for GNOMEVFS, overriding pkg-config
 
1233
  HILDON_CFLAGS
 
1234
              C compiler flags for HILDON, overriding pkg-config
 
1235
  HILDON_LIBS linker flags for HILDON, overriding pkg-config
 
1236
  CAIRO_CFLAGS
 
1237
              C compiler flags for CAIRO, overriding pkg-config
 
1238
  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
 
1239
  GST_CFLAGS  C compiler flags for GST, overriding pkg-config
 
1240
  GST_LIBS    linker flags for GST, overriding pkg-config
 
1241
 
 
1242
Use these variables to override the choices made by `configure' or to help
 
1243
it to find libraries and programs with nonstandard names/locations.
 
1244
 
 
1245
Report bugs to <wx-dev@lists.wxwidgets.org>.
 
1246
_ACEOF
 
1247
fi
 
1248
 
 
1249
if test "$ac_init_help" = "recursive"; then
 
1250
  # If there are subdirs, report their specific --help.
 
1251
  ac_popdir=`pwd`
 
1252
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1253
    test -d $ac_dir || continue
 
1254
    ac_builddir=.
 
1255
 
 
1256
if test "$ac_dir" != .; then
 
1257
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1258
  # A "../" for each directory in $ac_dir_suffix.
 
1259
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
1260
else
 
1261
  ac_dir_suffix= ac_top_builddir=
 
1262
fi
 
1263
 
 
1264
case $srcdir in
 
1265
  .)  # No --srcdir option.  We are building in place.
 
1266
    ac_srcdir=.
 
1267
    if test -z "$ac_top_builddir"; then
 
1268
       ac_top_srcdir=.
 
1269
    else
 
1270
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
1271
    fi ;;
 
1272
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1273
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1274
    ac_top_srcdir=$srcdir ;;
 
1275
  *) # Relative path.
 
1276
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
1277
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1278
esac
 
1279
 
 
1280
# Do not use `cd foo && pwd` to compute absolute paths, because
 
1281
# the directories may not exist.
 
1282
case `pwd` in
 
1283
.) ac_abs_builddir="$ac_dir";;
 
1284
*)
 
1285
  case "$ac_dir" in
 
1286
  .) ac_abs_builddir=`pwd`;;
 
1287
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
1288
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
1289
  esac;;
 
1290
esac
 
1291
case $ac_abs_builddir in
 
1292
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1293
*)
 
1294
  case ${ac_top_builddir}. in
 
1295
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
1296
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1297
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
1298
  esac;;
 
1299
esac
 
1300
case $ac_abs_builddir in
 
1301
.) ac_abs_srcdir=$ac_srcdir;;
 
1302
*)
 
1303
  case $ac_srcdir in
 
1304
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
1305
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
1306
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
1307
  esac;;
 
1308
esac
 
1309
case $ac_abs_builddir in
 
1310
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1311
*)
 
1312
  case $ac_top_srcdir in
 
1313
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
1314
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1315
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
1316
  esac;;
 
1317
esac
 
1318
 
 
1319
    cd $ac_dir
 
1320
    # Check for guested configure; otherwise get Cygnus style configure.
 
1321
    if test -f $ac_srcdir/configure.gnu; then
 
1322
      echo
 
1323
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
1324
    elif test -f $ac_srcdir/configure; then
 
1325
      echo
 
1326
      $SHELL $ac_srcdir/configure  --help=recursive
 
1327
    elif test -f $ac_srcdir/configure.ac ||
 
1328
           test -f $ac_srcdir/configure.in; then
 
1329
      echo
 
1330
      $ac_configure --help
 
1331
    else
 
1332
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1333
    fi
 
1334
    cd "$ac_popdir"
 
1335
  done
 
1336
fi
 
1337
 
 
1338
test -n "$ac_init_help" && exit 0
 
1339
if $ac_init_version; then
 
1340
  cat <<\_ACEOF
 
1341
wxWidgets configure 2.8.11
 
1342
generated by GNU Autoconf 2.59
 
1343
 
 
1344
Copyright (C) 2003 Free Software Foundation, Inc.
 
1345
This configure script is free software; the Free Software Foundation
 
1346
gives unlimited permission to copy, distribute and modify it.
 
1347
_ACEOF
 
1348
  exit 0
 
1349
fi
 
1350
exec 5>config.log
 
1351
cat >&5 <<_ACEOF
 
1352
This file contains any messages produced by compilers while
 
1353
running configure, to aid debugging if configure makes a mistake.
 
1354
 
 
1355
It was created by wxWidgets $as_me 2.8.11, which was
 
1356
generated by GNU Autoconf 2.59.  Invocation command line was
 
1357
 
 
1358
  $ $0 $@
 
1359
 
 
1360
_ACEOF
 
1361
{
 
1362
cat <<_ASUNAME
 
1363
## --------- ##
 
1364
## Platform. ##
 
1365
## --------- ##
 
1366
 
 
1367
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1368
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1369
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1370
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1371
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1372
 
 
1373
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1374
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1375
 
 
1376
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1377
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1378
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1379
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1380
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1381
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1382
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1383
 
 
1384
_ASUNAME
 
1385
 
 
1386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1387
for as_dir in $PATH
 
1388
do
 
1389
  IFS=$as_save_IFS
 
1390
  test -z "$as_dir" && as_dir=.
 
1391
  echo "PATH: $as_dir"
 
1392
done
 
1393
 
 
1394
} >&5
 
1395
 
 
1396
cat >&5 <<_ACEOF
 
1397
 
 
1398
 
 
1399
## ----------- ##
 
1400
## Core tests. ##
 
1401
## ----------- ##
 
1402
 
 
1403
_ACEOF
 
1404
 
 
1405
 
 
1406
# Keep a trace of the command line.
 
1407
# Strip out --no-create and --no-recursion so they do not pile up.
 
1408
# Strip out --silent because we don't want to record it for future runs.
 
1409
# Also quote any args containing shell meta-characters.
 
1410
# Make two passes to allow for proper duplicate-argument suppression.
 
1411
ac_configure_args=
 
1412
ac_configure_args0=
 
1413
ac_configure_args1=
 
1414
ac_sep=
 
1415
ac_must_keep_next=false
 
1416
for ac_pass in 1 2
 
1417
do
 
1418
  for ac_arg
 
1419
  do
 
1420
    case $ac_arg in
 
1421
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1422
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1423
    | -silent | --silent | --silen | --sile | --sil)
 
1424
      continue ;;
 
1425
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1426
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1427
    esac
 
1428
    case $ac_pass in
 
1429
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1430
    2)
 
1431
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1432
      if test $ac_must_keep_next = true; then
 
1433
        ac_must_keep_next=false # Got value, back to normal.
 
1434
      else
 
1435
        case $ac_arg in
 
1436
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1437
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1438
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1439
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1440
            case "$ac_configure_args0 " in
 
1441
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1442
            esac
 
1443
            ;;
 
1444
          -* ) ac_must_keep_next=true ;;
 
1445
        esac
 
1446
      fi
 
1447
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1448
      # Get rid of the leading space.
 
1449
      ac_sep=" "
 
1450
      ;;
 
1451
    esac
 
1452
  done
 
1453
done
 
1454
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1455
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1456
 
 
1457
# When interrupted or exit'd, cleanup temporary files, and complete
 
1458
# config.log.  We remove comments because anyway the quotes in there
 
1459
# would cause problems or look ugly.
 
1460
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1461
# such as our DU 5.0 friend, will then `close' the trap.
 
1462
trap 'exit_status=$?
 
1463
  # Save into config.log some information that might help in debugging.
 
1464
  {
 
1465
    echo
 
1466
 
 
1467
    cat <<\_ASBOX
 
1468
## ---------------- ##
 
1469
## Cache variables. ##
 
1470
## ---------------- ##
 
1471
_ASBOX
 
1472
    echo
 
1473
    # The following way of writing the cache mishandles newlines in values,
 
1474
{
 
1475
  (set) 2>&1 |
 
1476
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1477
    *ac_space=\ *)
 
1478
      sed -n \
 
1479
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1480
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1481
      ;;
 
1482
    *)
 
1483
      sed -n \
 
1484
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1485
      ;;
 
1486
    esac;
 
1487
}
 
1488
    echo
 
1489
 
 
1490
    cat <<\_ASBOX
 
1491
## ----------------- ##
 
1492
## Output variables. ##
 
1493
## ----------------- ##
 
1494
_ASBOX
 
1495
    echo
 
1496
    for ac_var in $ac_subst_vars
 
1497
    do
 
1498
      eval ac_val=$`echo $ac_var`
 
1499
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1500
    done | sort
 
1501
    echo
 
1502
 
 
1503
    if test -n "$ac_subst_files"; then
 
1504
      cat <<\_ASBOX
 
1505
## ------------- ##
 
1506
## Output files. ##
 
1507
## ------------- ##
 
1508
_ASBOX
 
1509
      echo
 
1510
      for ac_var in $ac_subst_files
 
1511
      do
 
1512
        eval ac_val=$`echo $ac_var`
 
1513
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1514
      done | sort
 
1515
      echo
 
1516
    fi
 
1517
 
 
1518
    if test -s confdefs.h; then
 
1519
      cat <<\_ASBOX
 
1520
## ----------- ##
 
1521
## confdefs.h. ##
 
1522
## ----------- ##
 
1523
_ASBOX
 
1524
      echo
 
1525
      sed "/^$/d" confdefs.h | sort
 
1526
      echo
 
1527
    fi
 
1528
    test "$ac_signal" != 0 &&
 
1529
      echo "$as_me: caught signal $ac_signal"
 
1530
    echo "$as_me: exit $exit_status"
 
1531
  } >&5
 
1532
  rm -f core *.core &&
 
1533
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1534
    exit $exit_status
 
1535
     ' 0
 
1536
for ac_signal in 1 2 13 15; do
 
1537
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1538
done
 
1539
ac_signal=0
 
1540
 
 
1541
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1542
rm -rf conftest* confdefs.h
 
1543
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1544
echo >confdefs.h
 
1545
 
 
1546
# Predefined preprocessor variables.
 
1547
 
 
1548
cat >>confdefs.h <<_ACEOF
 
1549
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1550
_ACEOF
 
1551
 
 
1552
 
 
1553
cat >>confdefs.h <<_ACEOF
 
1554
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1555
_ACEOF
 
1556
 
 
1557
 
 
1558
cat >>confdefs.h <<_ACEOF
 
1559
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1560
_ACEOF
 
1561
 
 
1562
 
 
1563
cat >>confdefs.h <<_ACEOF
 
1564
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1565
_ACEOF
 
1566
 
 
1567
 
 
1568
cat >>confdefs.h <<_ACEOF
 
1569
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1570
_ACEOF
 
1571
 
 
1572
 
 
1573
# Let the site file select an alternate cache file if it wants to.
 
1574
# Prefer explicitly selected file to automatically selected ones.
 
1575
if test -z "$CONFIG_SITE"; then
 
1576
  if test "x$prefix" != xNONE; then
 
1577
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1578
  else
 
1579
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1580
  fi
 
1581
fi
 
1582
for ac_site_file in $CONFIG_SITE; do
 
1583
  if test -r "$ac_site_file"; then
 
1584
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1585
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1586
    sed 's/^/| /' "$ac_site_file" >&5
 
1587
    . "$ac_site_file"
 
1588
  fi
 
1589
done
 
1590
 
 
1591
if test -r "$cache_file"; then
 
1592
  # Some versions of bash will fail to source /dev/null (special
 
1593
  # files actually), so we avoid doing that.
 
1594
  if test -f "$cache_file"; then
 
1595
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1596
echo "$as_me: loading cache $cache_file" >&6;}
 
1597
    case $cache_file in
 
1598
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1599
      *)                      . ./$cache_file;;
 
1600
    esac
 
1601
  fi
 
1602
else
 
1603
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1604
echo "$as_me: creating cache $cache_file" >&6;}
 
1605
  >$cache_file
 
1606
fi
 
1607
 
 
1608
# Check that the precious variables saved in the cache have kept the same
 
1609
# value.
 
1610
ac_cache_corrupted=false
 
1611
for ac_var in `(set) 2>&1 |
 
1612
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1613
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1614
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1615
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1616
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1617
  case $ac_old_set,$ac_new_set in
 
1618
    set,)
 
1619
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1620
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1621
      ac_cache_corrupted=: ;;
 
1622
    ,set)
 
1623
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1624
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1625
      ac_cache_corrupted=: ;;
 
1626
    ,);;
 
1627
    *)
 
1628
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1629
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1630
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1631
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1632
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1633
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1634
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1635
        ac_cache_corrupted=:
 
1636
      fi;;
 
1637
  esac
 
1638
  # Pass precious variables to config.status.
 
1639
  if test "$ac_new_set" = set; then
 
1640
    case $ac_new_val in
 
1641
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1642
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1643
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1644
    esac
 
1645
    case " $ac_configure_args " in
 
1646
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1647
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1648
    esac
 
1649
  fi
 
1650
done
 
1651
if $ac_cache_corrupted; then
 
1652
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1653
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1654
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1655
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1656
   { (exit 1); exit 1; }; }
 
1657
fi
 
1658
 
 
1659
ac_ext=c
 
1660
ac_cpp='$CPP $CPPFLAGS'
 
1661
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1662
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1663
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1664
 
 
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
 
1675
 
 
1676
 
 
1677
 
 
1678
 
 
1679
 
 
1680
 
 
1681
 
 
1682
 
 
1683
 
 
1684
 
 
1685
 
 
1686
 
 
1687
 
 
1688
 
 
1689
 
 
1690
 
 
1691
 
 
1692
 
 
1693
 
 
1694
ac_aux_dir=
 
1695
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1696
  if test -f $ac_dir/install-sh; then
 
1697
    ac_aux_dir=$ac_dir
 
1698
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1699
    break
 
1700
  elif test -f $ac_dir/install.sh; then
 
1701
    ac_aux_dir=$ac_dir
 
1702
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1703
    break
 
1704
  elif test -f $ac_dir/shtool; then
 
1705
    ac_aux_dir=$ac_dir
 
1706
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1707
    break
 
1708
  fi
 
1709
done
 
1710
if test -z "$ac_aux_dir"; then
 
1711
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1712
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1713
   { (exit 1); exit 1; }; }
 
1714
fi
 
1715
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1716
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1717
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1718
 
 
1719
# Make sure we can run config.sub.
 
1720
$ac_config_sub sun4 >/dev/null 2>&1 ||
 
1721
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
1722
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
1723
   { (exit 1); exit 1; }; }
 
1724
 
 
1725
echo "$as_me:$LINENO: checking build system type" >&5
 
1726
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
1727
if test "${ac_cv_build+set}" = set; then
 
1728
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1729
else
 
1730
  ac_cv_build_alias=$build_alias
 
1731
test -z "$ac_cv_build_alias" &&
 
1732
  ac_cv_build_alias=`$ac_config_guess`
 
1733
test -z "$ac_cv_build_alias" &&
 
1734
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
1735
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1736
   { (exit 1); exit 1; }; }
 
1737
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 
1738
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 
1739
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
1740
   { (exit 1); exit 1; }; }
 
1741
 
 
1742
fi
 
1743
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1744
echo "${ECHO_T}$ac_cv_build" >&6
 
1745
build=$ac_cv_build
 
1746
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1747
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1748
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1749
 
 
1750
 
 
1751
echo "$as_me:$LINENO: checking host system type" >&5
 
1752
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
1753
if test "${ac_cv_host+set}" = set; then
 
1754
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1755
else
 
1756
  ac_cv_host_alias=$host_alias
 
1757
test -z "$ac_cv_host_alias" &&
 
1758
  ac_cv_host_alias=$ac_cv_build_alias
 
1759
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 
1760
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 
1761
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
1762
   { (exit 1); exit 1; }; }
 
1763
 
 
1764
fi
 
1765
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
1766
echo "${ECHO_T}$ac_cv_host" >&6
 
1767
host=$ac_cv_host
 
1768
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1769
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1770
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1771
 
 
1772
 
 
1773
echo "$as_me:$LINENO: checking target system type" >&5
 
1774
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
1775
if test "${ac_cv_target+set}" = set; then
 
1776
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1777
else
 
1778
  ac_cv_target_alias=$target_alias
 
1779
test "x$ac_cv_target_alias" = "x" &&
 
1780
  ac_cv_target_alias=$ac_cv_host_alias
 
1781
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
 
1782
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 
1783
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
1784
   { (exit 1); exit 1; }; }
 
1785
 
 
1786
fi
 
1787
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
1788
echo "${ECHO_T}$ac_cv_target" >&6
 
1789
target=$ac_cv_target
 
1790
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1791
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1792
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1793
 
 
1794
 
 
1795
# The aliases save the names the user supplied, while $host etc.
 
1796
# will get canonicalized.
 
1797
test -n "$target_alias" &&
 
1798
  test "$program_prefix$program_suffix$program_transform_name" = \
 
1799
    NONENONEs,x,x, &&
 
1800
  program_prefix=${target_alias}-
 
1801
 
 
1802
 
 
1803
 
 
1804
wx_major_version_number=2
 
1805
wx_minor_version_number=8
 
1806
wx_release_number=11
 
1807
wx_subrelease_number=0
 
1808
 
 
1809
WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
 
1810
WX_VERSION=$WX_RELEASE.$wx_release_number
 
1811
WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
 
1812
 
 
1813
WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
 
1814
 
 
1815
 
 
1816
wx_top_builddir="`pwd`"
 
1817
 
 
1818
 
 
1819
 
 
1820
 
 
1821
USE_UNIX=1
 
1822
USE_OS2=0
 
1823
USE_WIN32=0
 
1824
USE_DOS=0
 
1825
USE_BEOS=0
 
1826
USE_MAC=0
 
1827
 
 
1828
USE_AIX=
 
1829
USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
 
1830
USE_GNU=                            USE_HPUX=
 
1831
USE_LINUX=
 
1832
USE_NETBSD=
 
1833
USE_OPENBSD=
 
1834
USE_OSF=                            USE_SGI=
 
1835
USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
 
1836
USE_ULTRIX=
 
1837
USE_UNIXWARE=
 
1838
 
 
1839
USE_ALPHA=
 
1840
 
 
1841
NEEDS_D_REENTRANT_FOR_R_FUNCS=0
 
1842
 
 
1843
ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
 
1844
 
 
1845
DEFAULT_wxUSE_COCOA=0
 
1846
DEFAULT_wxUSE_GTK=0
 
1847
DEFAULT_wxUSE_MAC=0
 
1848
DEFAULT_wxUSE_MGL=0
 
1849
DEFAULT_wxUSE_MICROWIN=0
 
1850
DEFAULT_wxUSE_MOTIF=0
 
1851
DEFAULT_wxUSE_MSW=0
 
1852
DEFAULT_wxUSE_PM=0
 
1853
DEFAULT_wxUSE_X11=0
 
1854
DEFAULT_wxUSE_DFB=0
 
1855
 
 
1856
DEFAULT_DEFAULT_wxUSE_COCOA=0
 
1857
DEFAULT_DEFAULT_wxUSE_GTK=0
 
1858
DEFAULT_DEFAULT_wxUSE_MAC=0
 
1859
DEFAULT_DEFAULT_wxUSE_MGL=0
 
1860
DEFAULT_DEFAULT_wxUSE_MICROWIN=0
 
1861
DEFAULT_DEFAULT_wxUSE_MOTIF=0
 
1862
DEFAULT_DEFAULT_wxUSE_MSW=0
 
1863
DEFAULT_DEFAULT_wxUSE_PM=0
 
1864
DEFAULT_DEFAULT_wxUSE_X11=0
 
1865
DEFAULT_DEFAULT_wxUSE_DFB=0
 
1866
 
 
1867
PROGRAM_EXT=
 
1868
SO_SUFFIX=so
 
1869
SAMPLES_RPATH_FLAG=
 
1870
SAMPLES_RPATH_POSTLINK=
 
1871
 
 
1872
DEFAULT_STD_FLAG=yes
 
1873
 
 
1874
case "${host}" in
 
1875
  *-hp-hpux* )
 
1876
    USE_HPUX=1
 
1877
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
1878
    NEEDS_D_REENTRANT_FOR_R_FUNCS=1
 
1879
    SO_SUFFIX=sl
 
1880
    cat >>confdefs.h <<\_ACEOF
 
1881
#define __HPUX__ 1
 
1882
_ACEOF
 
1883
 
 
1884
 
 
1885
            CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
 
1886
  ;;
 
1887
  *-*-linux* )
 
1888
    USE_LINUX=1
 
1889
    cat >>confdefs.h <<\_ACEOF
 
1890
#define __LINUX__ 1
 
1891
_ACEOF
 
1892
 
 
1893
    TMP=`uname -m`
 
1894
    if test "x$TMP" = "xalpha"; then
 
1895
      USE_ALPHA=1
 
1896
      cat >>confdefs.h <<\_ACEOF
 
1897
#define __ALPHA__ 1
 
1898
_ACEOF
 
1899
 
 
1900
    fi
 
1901
    DEFAULT_DEFAULT_wxUSE_GTK=1
 
1902
  ;;
 
1903
  *-*-gnu* | *-*-k*bsd*-gnu )
 
1904
    USE_GNU=1
 
1905
    TMP=`uname -m`
 
1906
    if test "x$TMP" = "xalpha"; then
 
1907
      USE_ALPHA=1
 
1908
      cat >>confdefs.h <<\_ACEOF
 
1909
#define __ALPHA__ 1
 
1910
_ACEOF
 
1911
 
 
1912
    fi
 
1913
    DEFAULT_DEFAULT_wxUSE_GTK=1
 
1914
  ;;
 
1915
  *-*-irix5* | *-*-irix6* )
 
1916
    USE_SGI=1
 
1917
    USE_SVR4=1
 
1918
    cat >>confdefs.h <<\_ACEOF
 
1919
#define __SGI__ 1
 
1920
_ACEOF
 
1921
 
 
1922
    cat >>confdefs.h <<\_ACEOF
 
1923
#define __SVR4__ 1
 
1924
_ACEOF
 
1925
 
 
1926
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
1927
  ;;
 
1928
  *-*-solaris2* )
 
1929
    USE_SUN=1
 
1930
    USE_SOLARIS=1
 
1931
    USE_SVR4=1
 
1932
    cat >>confdefs.h <<\_ACEOF
 
1933
#define __SUN__ 1
 
1934
_ACEOF
 
1935
 
 
1936
    cat >>confdefs.h <<\_ACEOF
 
1937
#define __SOLARIS__ 1
 
1938
_ACEOF
 
1939
 
 
1940
    cat >>confdefs.h <<\_ACEOF
 
1941
#define __SVR4__ 1
 
1942
_ACEOF
 
1943
 
 
1944
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
1945
    NEEDS_D_REENTRANT_FOR_R_FUNCS=1
 
1946
  ;;
 
1947
  *-*-sunos4* )
 
1948
    USE_SUN=1
 
1949
    USE_SUNOS=1
 
1950
    USE_BSD=1
 
1951
    cat >>confdefs.h <<\_ACEOF
 
1952
#define __SUN__ 1
 
1953
_ACEOF
 
1954
 
 
1955
    cat >>confdefs.h <<\_ACEOF
 
1956
#define __SUNOS__ 1
 
1957
_ACEOF
 
1958
 
 
1959
    cat >>confdefs.h <<\_ACEOF
 
1960
#define __BSD__ 1
 
1961
_ACEOF
 
1962
 
 
1963
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
1964
  ;;
 
1965
  *-*-freebsd*)
 
1966
    USE_BSD=1
 
1967
    USE_FREEBSD=1
 
1968
    cat >>confdefs.h <<\_ACEOF
 
1969
#define __FREEBSD__ 1
 
1970
_ACEOF
 
1971
 
 
1972
    cat >>confdefs.h <<\_ACEOF
 
1973
#define __BSD__ 1
 
1974
_ACEOF
 
1975
 
 
1976
    DEFAULT_DEFAULT_wxUSE_GTK=1
 
1977
  ;;
 
1978
  *-*-openbsd*|*-*-mirbsd*)
 
1979
    USE_BSD=1
 
1980
    USE_OPENBSD=1
 
1981
    cat >>confdefs.h <<\_ACEOF
 
1982
#define __OPENBSD__ 1
 
1983
_ACEOF
 
1984
 
 
1985
    cat >>confdefs.h <<\_ACEOF
 
1986
#define __BSD__ 1
 
1987
_ACEOF
 
1988
 
 
1989
    DEFAULT_DEFAULT_wxUSE_GTK=1
 
1990
  ;;
 
1991
  *-*-netbsd*)
 
1992
    USE_BSD=1
 
1993
    USE_NETBSD=1
 
1994
    cat >>confdefs.h <<\_ACEOF
 
1995
#define __NETBSD__ 1
 
1996
_ACEOF
 
1997
 
 
1998
    cat >>confdefs.h <<\_ACEOF
 
1999
#define __BSD__ 1
 
2000
_ACEOF
 
2001
 
 
2002
    DEFAULT_DEFAULT_wxUSE_GTK=1
 
2003
    NEEDS_D_REENTRANT_FOR_R_FUNCS=1
 
2004
 
 
2005
            CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
 
2006
  ;;
 
2007
  *-*-osf* )
 
2008
    USE_ALPHA=1
 
2009
    USE_OSF=1
 
2010
    cat >>confdefs.h <<\_ACEOF
 
2011
#define __ALPHA__ 1
 
2012
_ACEOF
 
2013
 
 
2014
    cat >>confdefs.h <<\_ACEOF
 
2015
#define __OSF__ 1
 
2016
_ACEOF
 
2017
 
 
2018
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
2019
    NEEDS_D_REENTRANT_FOR_R_FUNCS=1
 
2020
  ;;
 
2021
  *-*-dgux5* )
 
2022
    USE_ALPHA=1
 
2023
    USE_SVR4=1
 
2024
    cat >>confdefs.h <<\_ACEOF
 
2025
#define __ALPHA__ 1
 
2026
_ACEOF
 
2027
 
 
2028
    cat >>confdefs.h <<\_ACEOF
 
2029
#define __SVR4__ 1
 
2030
_ACEOF
 
2031
 
 
2032
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
2033
  ;;
 
2034
  *-*-sysv5* )
 
2035
    USE_SYSV=1
 
2036
    USE_SVR4=1
 
2037
    cat >>confdefs.h <<\_ACEOF
 
2038
#define __SYSV__ 1
 
2039
_ACEOF
 
2040
 
 
2041
    cat >>confdefs.h <<\_ACEOF
 
2042
#define __SVR4__ 1
 
2043
_ACEOF
 
2044
 
 
2045
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
2046
  ;;
 
2047
  *-*-aix* )
 
2048
    USE_AIX=1
 
2049
    USE_SYSV=1
 
2050
    USE_SVR4=1
 
2051
                        SO_SUFFIX=a
 
2052
    cat >>confdefs.h <<\_ACEOF
 
2053
#define __AIX__ 1
 
2054
_ACEOF
 
2055
 
 
2056
    cat >>confdefs.h <<\_ACEOF
 
2057
#define __SYSV__ 1
 
2058
_ACEOF
 
2059
 
 
2060
    cat >>confdefs.h <<\_ACEOF
 
2061
#define __SVR4__ 1
 
2062
_ACEOF
 
2063
 
 
2064
    DEFAULT_DEFAULT_wxUSE_MOTIF=1
 
2065
  ;;
 
2066
 
 
2067
  *-*-*UnixWare*)
 
2068
    USE_SYSV=1
 
2069
    USE_SVR4=1
 
2070
    USE_UNIXWARE=1
 
2071
    cat >>confdefs.h <<\_ACEOF
 
2072
#define __UNIXWARE__ 1
 
2073
_ACEOF
 
2074
 
 
2075
  ;;
 
2076
 
 
2077
  *-*-cygwin* | *-*-mingw32* )
 
2078
                SO_SUFFIX=dll
 
2079
    PROGRAM_EXT=".exe"
 
2080
    DEFAULT_DEFAULT_wxUSE_MSW=1
 
2081
  ;;
 
2082
 
 
2083
  *-pc-msdosdjgpp )
 
2084
    USE_UNIX=0
 
2085
    USE_DOS=1
 
2086
    cat >>confdefs.h <<\_ACEOF
 
2087
#define __DOS__ 1
 
2088
_ACEOF
 
2089
 
 
2090
    PROGRAM_EXT=".exe"
 
2091
    DEFAULT_DEFAULT_wxUSE_MGL=1
 
2092
  ;;
 
2093
 
 
2094
  *-pc-os2_emx | *-pc-os2-emx )
 
2095
    cat >>confdefs.h <<\_ACEOF
 
2096
#define __EMX__ 1
 
2097
_ACEOF
 
2098
 
 
2099
    USE_OS2=1
 
2100
    cat >>confdefs.h <<\_ACEOF
 
2101
#define __OS2__ 1
 
2102
_ACEOF
 
2103
 
 
2104
    PROGRAM_EXT=".exe"
 
2105
    DEFAULT_DEFAULT_wxUSE_PM=1
 
2106
        CXX=gcc
 
2107
    LDFLAGS="$LDFLAGS -Zcrtdll"
 
2108
                        ac_executable_extensions=".exe"
 
2109
    export ac_executable_extensions
 
2110
            ac_save_IFS="$IFS"
 
2111
    IFS='\\'
 
2112
    ac_TEMP_PATH=
 
2113
    for ac_dir in $PATH; do
 
2114
      IFS=$ac_save_IFS
 
2115
      if test -z "$ac_TEMP_PATH"; then
 
2116
        ac_TEMP_PATH="$ac_dir"
 
2117
      else
 
2118
        ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
 
2119
      fi
 
2120
    done
 
2121
    export PATH="$ac_TEMP_PATH"
 
2122
    unset ac_TEMP_PATH
 
2123
    DEFAULT_STD_FLAG=no
 
2124
  ;;
 
2125
 
 
2126
  *-*-darwin* )
 
2127
        USE_BSD=1
 
2128
    USE_DARWIN=1
 
2129
    SO_SUFFIX=dylib
 
2130
    cat >>confdefs.h <<\_ACEOF
 
2131
#define __BSD__ 1
 
2132
_ACEOF
 
2133
 
 
2134
    cat >>confdefs.h <<\_ACEOF
 
2135
#define __DARWIN__ 1
 
2136
_ACEOF
 
2137
 
 
2138
    cat >>confdefs.h <<\_ACEOF
 
2139
#define TARGET_CARBON 1
 
2140
_ACEOF
 
2141
 
 
2142
    DEFAULT_DEFAULT_wxUSE_MAC=1
 
2143
    DEFAULT_STD_FLAG=no
 
2144
  ;;
 
2145
  powerpc-apple-macos* )
 
2146
        USE_UNIX=0
 
2147
            ac_cv_c_bigendian=yes
 
2148
    SO_SUFFIX=shlib
 
2149
            DEFAULT_DEFAULT_wxUSE_MAC=1
 
2150
    DEFAULT_STD_FLAG=no
 
2151
  ;;
 
2152
 
 
2153
  *-*-beos* )
 
2154
        USE_BEOS=1
 
2155
    cat >>confdefs.h <<\_ACEOF
 
2156
#define __BEOS__ 1
 
2157
_ACEOF
 
2158
 
 
2159
  ;;
 
2160
 
 
2161
  *)
 
2162
    { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
 
2163
echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
 
2164
    { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
 
2165
echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
 
2166
 
 
2167
    DEFAULT_DEFAULT_wxUSE_X11=1
 
2168
    DEFAULT_wxUSE_SHARED=no
 
2169
esac
 
2170
 
 
2171
 
 
2172
 
 
2173
 
 
2174
          wx_arg_cache_file="configarg.cache"
 
2175
          echo "loading argument cache $wx_arg_cache_file"
 
2176
          rm -f ${wx_arg_cache_file}.tmp
 
2177
          touch ${wx_arg_cache_file}.tmp
 
2178
          touch ${wx_arg_cache_file}
 
2179
 
 
2180
 
 
2181
DEBUG_CONFIGURE=0
 
2182
if test $DEBUG_CONFIGURE = 1; then
 
2183
  DEFAULT_wxUSE_UNIVERSAL=no
 
2184
  DEFAULT_wxUSE_STL=no
 
2185
 
 
2186
  DEFAULT_wxUSE_NANOX=no
 
2187
 
 
2188
  DEFAULT_wxUSE_THREADS=yes
 
2189
 
 
2190
  DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
 
2191
  DEFAULT_wxUSE_OPTIMISE=no
 
2192
  DEFAULT_wxUSE_PROFILE=no
 
2193
  DEFAULT_wxUSE_NO_DEPS=no
 
2194
  DEFAULT_wxUSE_VARARG_MACROS=no
 
2195
  DEFAULT_wxUSE_NO_RTTI=no
 
2196
  DEFAULT_wxUSE_NO_EXCEPTIONS=no
 
2197
  DEFAULT_wxUSE_UNIVERSAL_BINARY=no
 
2198
  DEFAULT_wxUSE_RPATH=yes
 
2199
  DEFAULT_wxUSE_PERMISSIVE=no
 
2200
  DEFAULT_wxUSE_DEBUG_FLAG=yes
 
2201
  DEFAULT_wxUSE_DEBUG_INFO=yes
 
2202
  DEFAULT_wxUSE_DEBUG_GDB=yes
 
2203
  DEFAULT_wxUSE_MEM_TRACING=no
 
2204
  DEFAULT_wxUSE_DEBUG_CONTEXT=no
 
2205
  DEFAULT_wxUSE_DMALLOC=no
 
2206
  DEFAULT_wxUSE_APPLE_IEEE=no
 
2207
 
 
2208
  DEFAULT_wxUSE_EXCEPTIONS=no
 
2209
  DEFAULT_wxUSE_LOG=yes
 
2210
  DEFAULT_wxUSE_LOGWINDOW=no
 
2211
  DEFAULT_wxUSE_LOGGUI=no
 
2212
  DEFAULT_wxUSE_LOGDIALOG=no
 
2213
 
 
2214
  DEFAULT_wxUSE_GUI=yes
 
2215
  DEFAULT_wxUSE_CONTROLS=no
 
2216
 
 
2217
  DEFAULT_wxUSE_REGEX=no
 
2218
  DEFAULT_wxUSE_XML=no
 
2219
  DEFAULT_wxUSE_EXPAT=no
 
2220
  DEFAULT_wxUSE_ZLIB=no
 
2221
  DEFAULT_wxUSE_LIBPNG=no
 
2222
  DEFAULT_wxUSE_LIBJPEG=no
 
2223
  DEFAULT_wxUSE_LIBTIFF=no
 
2224
  DEFAULT_wxUSE_LIBXPM=no
 
2225
  DEFAULT_wxUSE_LIBMSPACK=no
 
2226
  DEFAULT_wxUSE_LIBSDL=no
 
2227
  DEFAULT_wxUSE_LIBGNOMEPRINT=no
 
2228
  DEFAULT_wxUSE_LIBGNOMEVFS=no
 
2229
  DEFAULT_wxUSE_LIBHILDON=no
 
2230
  DEFAULT_wxUSE_ODBC=no
 
2231
  DEFAULT_wxUSE_OPENGL=no
 
2232
 
 
2233
  DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
 
2234
  DEFAULT_wxUSE_STACKWALKER=no
 
2235
  DEFAULT_wxUSE_DEBUGREPORT=no
 
2236
  DEFAULT_wxUSE_SNGLINST_CHECKER=no
 
2237
  DEFAULT_wxUSE_STD_IOSTREAM=no
 
2238
  DEFAULT_wxUSE_STD_STRING=no
 
2239
  DEFAULT_wxUSE_CMDLINE_PARSER=no
 
2240
  DEFAULT_wxUSE_DATETIME=no
 
2241
  DEFAULT_wxUSE_TIMER=no
 
2242
  DEFAULT_wxUSE_STOPWATCH=no
 
2243
  DEFAULT_wxUSE_FILE=no
 
2244
  DEFAULT_wxUSE_FFILE=no
 
2245
  DEFAULT_wxUSE_STDPATHS=no
 
2246
  DEFAULT_wxUSE_TEXTBUFFER=no
 
2247
  DEFAULT_wxUSE_TEXTFILE=no
 
2248
  DEFAULT_wxUSE_SOUND=no
 
2249
  DEFAULT_wxUSE_MEDIACTRL=no
 
2250
  DEFAULT_wxUSE_GSTREAMER8=no
 
2251
  DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
 
2252
  DEFAULT_wxUSE_INTL=no
 
2253
  DEFAULT_wxUSE_CONFIG=no
 
2254
  DEFAULT_wxUSE_FONTMAP=no
 
2255
  DEFAULT_wxUSE_STREAMS=no
 
2256
  DEFAULT_wxUSE_SOCKETS=no
 
2257
  DEFAULT_wxUSE_OLE=no
 
2258
  DEFAULT_wxUSE_DATAOBJ=no
 
2259
  DEFAULT_wxUSE_DIALUP_MANAGER=no
 
2260
  DEFAULT_wxUSE_JOYSTICK=no
 
2261
  DEFAULT_wxUSE_DYNLIB_CLASS=no
 
2262
  DEFAULT_wxUSE_DYNAMIC_LOADER=no
 
2263
  DEFAULT_wxUSE_LONGLONG=no
 
2264
  DEFAULT_wxUSE_GEOMETRY=no
 
2265
 
 
2266
  DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
 
2267
  DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
 
2268
  DEFAULT_wxUSE_POSTSCRIPT=no
 
2269
 
 
2270
  DEFAULT_wxUSE_CLIPBOARD=no
 
2271
  DEFAULT_wxUSE_TOOLTIPS=no
 
2272
  DEFAULT_wxUSE_DRAG_AND_DROP=no
 
2273
  DEFAULT_wxUSE_DRAGIMAGE=no
 
2274
  DEFAULT_wxUSE_SPLINES=no
 
2275
  DEFAULT_wxUSE_MOUSEWHEEL=no
 
2276
 
 
2277
  DEFAULT_wxUSE_MDI=no
 
2278
  DEFAULT_wxUSE_MDI_ARCHITECTURE=no
 
2279
  DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
 
2280
  DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
 
2281
 
 
2282
  DEFAULT_wxUSE_RESOURCES=no
 
2283
  DEFAULT_wxUSE_CONSTRAINTS=no
 
2284
  DEFAULT_wxUSE_IPC=no
 
2285
  DEFAULT_wxUSE_HELP=no
 
2286
  DEFAULT_wxUSE_MS_HTML_HELP=no
 
2287
  DEFAULT_wxUSE_WXHTML_HELP=no
 
2288
  DEFAULT_wxUSE_TREELAYOUT=no
 
2289
  DEFAULT_wxUSE_METAFILE=no
 
2290
  DEFAULT_wxUSE_MIMETYPE=no
 
2291
  DEFAULT_wxUSE_SYSTEM_OPTIONS=no
 
2292
  DEFAULT_wxUSE_PROTOCOL=no
 
2293
  DEFAULT_wxUSE_PROTOCOL_HTTP=no
 
2294
  DEFAULT_wxUSE_PROTOCOL_FTP=no
 
2295
  DEFAULT_wxUSE_PROTOCOL_FILE=no
 
2296
  DEFAULT_wxUSE_URL=no
 
2297
  DEFAULT_wxUSE_VARIANT=no
 
2298
 
 
2299
  DEFAULT_wxUSE_ABOUTDLG=no
 
2300
  DEFAULT_wxUSE_COMMONDLGS=no
 
2301
  DEFAULT_wxUSE_CHOICEDLG=no
 
2302
  DEFAULT_wxUSE_COLOURDLG=no
 
2303
  DEFAULT_wxUSE_DIRDLG=no
 
2304
  DEFAULT_wxUSE_FILEDLG=no
 
2305
  DEFAULT_wxUSE_FINDREPLDLG=no
 
2306
  DEFAULT_wxUSE_FONTDLG=no
 
2307
  DEFAULT_wxUSE_MSGDLG=no
 
2308
  DEFAULT_wxUSE_NUMBERDLG=no
 
2309
  DEFAULT_wxUSE_TEXTDLG=no
 
2310
  DEFAULT_wxUSE_SPLASH=no
 
2311
  DEFAULT_wxUSE_STARTUP_TIPS=no
 
2312
  DEFAULT_wxUSE_PROGRESSDLG=no
 
2313
  DEFAULT_wxUSE_WIZARDDLG=no
 
2314
 
 
2315
  DEFAULT_wxUSE_MENUS=no
 
2316
  DEFAULT_wxUSE_MINIFRAME=no
 
2317
  DEFAULT_wxUSE_HTML=no
 
2318
  DEFAULT_wxUSE_RICHTEXT=no
 
2319
  DEFAULT_wxUSE_XRC=no
 
2320
  DEFAULT_wxUSE_AUI=no
 
2321
  DEFAULT_wxUSE_WEBKIT=no
 
2322
  DEFAULT_wxUSE_FILESYSTEM=no
 
2323
  DEFAULT_wxUSE_FS_INET=no
 
2324
  DEFAULT_wxUSE_FS_ZIP=no
 
2325
  DEFAULT_wxUSE_FS_ARCHIVE=no
 
2326
  DEFAULT_wxUSE_BUSYINFO=no
 
2327
  DEFAULT_wxUSE_ARCHIVE_STREAMS=no
 
2328
  DEFAULT_wxUSE_ZIPSTREAM=no
 
2329
  DEFAULT_wxUSE_TARSTREAM=no
 
2330
  DEFAULT_wxUSE_VALIDATORS=no
 
2331
 
 
2332
  DEFAULT_wxUSE_ACCEL=no
 
2333
  DEFAULT_wxUSE_ANIMATIONCTRL=no
 
2334
  DEFAULT_wxUSE_BUTTON=no
 
2335
  DEFAULT_wxUSE_BMPBUTTON=no
 
2336
  DEFAULT_wxUSE_BITMAPCOMBOBOX=no
 
2337
  DEFAULT_wxUSE_CALCTRL=no
 
2338
  DEFAULT_wxUSE_CARET=no
 
2339
  DEFAULT_wxUSE_CHECKBOX=no
 
2340
  DEFAULT_wxUSE_CHECKLST=no
 
2341
  DEFAULT_wxUSE_CHOICE=no
 
2342
  DEFAULT_wxUSE_CHOICEBOOK=no
 
2343
  DEFAULT_wxUSE_COLLPANE=no
 
2344
  DEFAULT_wxUSE_COLOURPICKERCTRL=no
 
2345
  DEFAULT_wxUSE_COMBOBOX=no
 
2346
  DEFAULT_wxUSE_COMBOCTRL=no
 
2347
  DEFAULT_wxUSE_DATEPICKCTRL=no
 
2348
  DEFAULT_wxUSE_DISPLAY=no
 
2349
  DEFAULT_wxUSE_DETECT_SM=no
 
2350
  DEFAULT_wxUSE_DIRPICKERCTRL=no
 
2351
  DEFAULT_wxUSE_FILEPICKERCTRL=no
 
2352
  DEFAULT_wxUSE_FONTPICKERCTRL=no
 
2353
  DEFAULT_wxUSE_GAUGE=no
 
2354
  DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
 
2355
  DEFAULT_wxUSE_GRID=no
 
2356
  DEFAULT_wxUSE_HYPERLINKCTRL=no
 
2357
  DEFAULT_wxUSE_DATAVIEWCTRL=no
 
2358
  DEFAULT_wxUSE_IMAGLIST=no
 
2359
  DEFAULT_wxUSE_LISTBOOK=no
 
2360
  DEFAULT_wxUSE_LISTBOX=no
 
2361
  DEFAULT_wxUSE_LISTCTRL=no
 
2362
  DEFAULT_wxUSE_NOTEBOOK=no
 
2363
  DEFAULT_wxUSE_ODCOMBOBOX=no
 
2364
  DEFAULT_wxUSE_RADIOBOX=no
 
2365
  DEFAULT_wxUSE_RADIOBTN=no
 
2366
  DEFAULT_wxUSE_SASH=no
 
2367
  DEFAULT_wxUSE_SCROLLBAR=no
 
2368
  DEFAULT_wxUSE_SEARCHCTRL=no
 
2369
  DEFAULT_wxUSE_SLIDER=no
 
2370
  DEFAULT_wxUSE_SPINBTN=no
 
2371
  DEFAULT_wxUSE_SPINCTRL=no
 
2372
  DEFAULT_wxUSE_SPLITTER=no
 
2373
  DEFAULT_wxUSE_STATBMP=no
 
2374
  DEFAULT_wxUSE_STATBOX=no
 
2375
  DEFAULT_wxUSE_STATLINE=no
 
2376
  DEFAULT_wxUSE_STATTEXT=no
 
2377
  DEFAULT_wxUSE_STATUSBAR=yes
 
2378
  DEFAULT_wxUSE_TAB_DIALOG=no
 
2379
  DEFAULT_wxUSE_TEXTCTRL=no
 
2380
  DEFAULT_wxUSE_TOGGLEBTN=no
 
2381
  DEFAULT_wxUSE_TOOLBAR=no
 
2382
  DEFAULT_wxUSE_TOOLBAR_NATIVE=no
 
2383
  DEFAULT_wxUSE_TREEBOOK=no
 
2384
  DEFAULT_wxUSE_TOOLBOOK=no
 
2385
  DEFAULT_wxUSE_TREECTRL=no
 
2386
  DEFAULT_wxUSE_POPUPWIN=no
 
2387
  DEFAULT_wxUSE_TIPWINDOW=no
 
2388
 
 
2389
  DEFAULT_wxUSE_UNICODE=no
 
2390
  DEFAULT_wxUSE_UNICODE_MSLU=no
 
2391
  DEFAULT_wxUSE_WCSRTOMBS=no
 
2392
 
 
2393
  DEFAULT_wxUSE_PALETTE=no
 
2394
  DEFAULT_wxUSE_IMAGE=no
 
2395
  DEFAULT_wxUSE_GIF=no
 
2396
  DEFAULT_wxUSE_PCX=no
 
2397
  DEFAULT_wxUSE_TGA=no
 
2398
  DEFAULT_wxUSE_PNM=no
 
2399
  DEFAULT_wxUSE_IFF=no
 
2400
  DEFAULT_wxUSE_XPM=no
 
2401
  DEFAULT_wxUSE_ICO_CUR=no
 
2402
  DEFAULT_wxUSE_ACCESSIBILITY=no
 
2403
 
 
2404
  DEFAULT_wxUSE_MONOLITHIC=no
 
2405
  DEFAULT_wxUSE_PLUGINS=no
 
2406
  DEFAULT_wxUSE_OFFICIAL_BUILD=no
 
2407
else
 
2408
  DEFAULT_wxUSE_UNIVERSAL=no
 
2409
  DEFAULT_wxUSE_STL=no
 
2410
 
 
2411
  DEFAULT_wxUSE_NANOX=no
 
2412
 
 
2413
  DEFAULT_wxUSE_THREADS=yes
 
2414
 
 
2415
  DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
 
2416
  DEFAULT_wxUSE_OPTIMISE=yes
 
2417
  DEFAULT_wxUSE_PROFILE=no
 
2418
  DEFAULT_wxUSE_NO_DEPS=no
 
2419
  DEFAULT_wxUSE_VARARG_MACROS=yes
 
2420
  DEFAULT_wxUSE_NO_RTTI=no
 
2421
  DEFAULT_wxUSE_NO_EXCEPTIONS=no
 
2422
  DEFAULT_wxUSE_UNIVERSAL_BINARY=no
 
2423
  DEFAULT_wxUSE_RPATH=yes
 
2424
  DEFAULT_wxUSE_PERMISSIVE=no
 
2425
  DEFAULT_wxUSE_DEBUG_FLAG=no
 
2426
  DEFAULT_wxUSE_DEBUG_INFO=no
 
2427
  DEFAULT_wxUSE_DEBUG_GDB=no
 
2428
  DEFAULT_wxUSE_MEM_TRACING=no
 
2429
  DEFAULT_wxUSE_DEBUG_CONTEXT=no
 
2430
  DEFAULT_wxUSE_DMALLOC=no
 
2431
  DEFAULT_wxUSE_APPLE_IEEE=yes
 
2432
 
 
2433
  DEFAULT_wxUSE_EXCEPTIONS=yes
 
2434
  DEFAULT_wxUSE_LOG=yes
 
2435
  DEFAULT_wxUSE_LOGWINDOW=yes
 
2436
  DEFAULT_wxUSE_LOGGUI=yes
 
2437
  DEFAULT_wxUSE_LOGDIALOG=yes
 
2438
 
 
2439
  DEFAULT_wxUSE_GUI=yes
 
2440
 
 
2441
  DEFAULT_wxUSE_REGEX=yes
 
2442
  DEFAULT_wxUSE_XML=yes
 
2443
  DEFAULT_wxUSE_EXPAT=yes
 
2444
  DEFAULT_wxUSE_ZLIB=yes
 
2445
  DEFAULT_wxUSE_LIBPNG=yes
 
2446
  DEFAULT_wxUSE_LIBJPEG=yes
 
2447
  DEFAULT_wxUSE_LIBTIFF=yes
 
2448
  DEFAULT_wxUSE_LIBXPM=yes
 
2449
  DEFAULT_wxUSE_LIBMSPACK=yes
 
2450
  DEFAULT_wxUSE_LIBSDL=no
 
2451
  DEFAULT_wxUSE_LIBGNOMEPRINT=yes
 
2452
  DEFAULT_wxUSE_LIBGNOMEVFS=no
 
2453
  DEFAULT_wxUSE_LIBHILDON=no
 
2454
  DEFAULT_wxUSE_ODBC=no
 
2455
  DEFAULT_wxUSE_OPENGL=no
 
2456
 
 
2457
  DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
 
2458
  DEFAULT_wxUSE_STACKWALKER=yes
 
2459
  DEFAULT_wxUSE_DEBUGREPORT=yes
 
2460
  DEFAULT_wxUSE_SNGLINST_CHECKER=yes
 
2461
  DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
 
2462
  DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
 
2463
  DEFAULT_wxUSE_CMDLINE_PARSER=yes
 
2464
  DEFAULT_wxUSE_DATETIME=yes
 
2465
  DEFAULT_wxUSE_TIMER=yes
 
2466
  DEFAULT_wxUSE_STOPWATCH=yes
 
2467
  DEFAULT_wxUSE_FILE=yes
 
2468
  DEFAULT_wxUSE_FFILE=yes
 
2469
  DEFAULT_wxUSE_STDPATHS=yes
 
2470
  DEFAULT_wxUSE_TEXTBUFFER=yes
 
2471
  DEFAULT_wxUSE_TEXTFILE=yes
 
2472
  DEFAULT_wxUSE_SOUND=yes
 
2473
  DEFAULT_wxUSE_MEDIACTRL=no
 
2474
  DEFAULT_wxUSE_GSTREAMER8=no
 
2475
  DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
 
2476
  DEFAULT_wxUSE_INTL=yes
 
2477
  DEFAULT_wxUSE_CONFIG=yes
 
2478
  DEFAULT_wxUSE_FONTMAP=yes
 
2479
  DEFAULT_wxUSE_STREAMS=yes
 
2480
  DEFAULT_wxUSE_SOCKETS=yes
 
2481
  DEFAULT_wxUSE_OLE=yes
 
2482
  DEFAULT_wxUSE_DATAOBJ=yes
 
2483
  DEFAULT_wxUSE_DIALUP_MANAGER=yes
 
2484
  DEFAULT_wxUSE_JOYSTICK=yes
 
2485
  DEFAULT_wxUSE_DYNLIB_CLASS=yes
 
2486
  DEFAULT_wxUSE_DYNAMIC_LOADER=yes
 
2487
  DEFAULT_wxUSE_LONGLONG=yes
 
2488
  DEFAULT_wxUSE_GEOMETRY=yes
 
2489
 
 
2490
  DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
 
2491
  DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
 
2492
  DEFAULT_wxUSE_POSTSCRIPT=yes
 
2493
 
 
2494
  DEFAULT_wxUSE_CLIPBOARD=yes
 
2495
  DEFAULT_wxUSE_TOOLTIPS=yes
 
2496
  DEFAULT_wxUSE_DRAG_AND_DROP=yes
 
2497
  DEFAULT_wxUSE_DRAGIMAGE=yes
 
2498
  DEFAULT_wxUSE_SPLINES=yes
 
2499
  DEFAULT_wxUSE_MOUSEWHEEL=yes
 
2500
 
 
2501
  DEFAULT_wxUSE_MDI=yes
 
2502
  DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
 
2503
  DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
 
2504
  DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
 
2505
 
 
2506
  DEFAULT_wxUSE_RESOURCES=no
 
2507
  DEFAULT_wxUSE_CONSTRAINTS=yes
 
2508
  DEFAULT_wxUSE_IPC=yes
 
2509
  DEFAULT_wxUSE_HELP=yes
 
2510
  DEFAULT_wxUSE_MS_HTML_HELP=yes
 
2511
  DEFAULT_wxUSE_WXHTML_HELP=yes
 
2512
  DEFAULT_wxUSE_TREELAYOUT=yes
 
2513
  DEFAULT_wxUSE_METAFILE=yes
 
2514
  DEFAULT_wxUSE_MIMETYPE=yes
 
2515
  DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
 
2516
  DEFAULT_wxUSE_PROTOCOL=yes
 
2517
  DEFAULT_wxUSE_PROTOCOL_HTTP=yes
 
2518
  DEFAULT_wxUSE_PROTOCOL_FTP=yes
 
2519
  DEFAULT_wxUSE_PROTOCOL_FILE=yes
 
2520
  DEFAULT_wxUSE_URL=yes
 
2521
  DEFAULT_wxUSE_VARIANT=yes
 
2522
 
 
2523
  DEFAULT_wxUSE_ABOUTDLG=yes
 
2524
  DEFAULT_wxUSE_COMMONDLGS=yes
 
2525
  DEFAULT_wxUSE_CHOICEDLG=yes
 
2526
  DEFAULT_wxUSE_COLOURDLG=yes
 
2527
  DEFAULT_wxUSE_DIRDLG=yes
 
2528
  DEFAULT_wxUSE_FILEDLG=yes
 
2529
  DEFAULT_wxUSE_FINDREPLDLG=yes
 
2530
  DEFAULT_wxUSE_FONTDLG=yes
 
2531
  DEFAULT_wxUSE_MSGDLG=yes
 
2532
  DEFAULT_wxUSE_NUMBERDLG=yes
 
2533
  DEFAULT_wxUSE_TEXTDLG=yes
 
2534
  DEFAULT_wxUSE_SPLASH=yes
 
2535
  DEFAULT_wxUSE_STARTUP_TIPS=yes
 
2536
  DEFAULT_wxUSE_PROGRESSDLG=yes
 
2537
  DEFAULT_wxUSE_WIZARDDLG=yes
 
2538
 
 
2539
  DEFAULT_wxUSE_MENUS=yes
 
2540
  DEFAULT_wxUSE_MINIFRAME=yes
 
2541
  DEFAULT_wxUSE_HTML=yes
 
2542
  DEFAULT_wxUSE_RICHTEXT=yes
 
2543
  DEFAULT_wxUSE_XRC=yes
 
2544
  DEFAULT_wxUSE_AUI=yes
 
2545
  DEFAULT_wxUSE_WEBKIT=yes
 
2546
  DEFAULT_wxUSE_FILESYSTEM=yes
 
2547
  DEFAULT_wxUSE_FS_INET=yes
 
2548
  DEFAULT_wxUSE_FS_ZIP=yes
 
2549
  DEFAULT_wxUSE_FS_ARCHIVE=yes
 
2550
  DEFAULT_wxUSE_BUSYINFO=yes
 
2551
  DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
 
2552
  DEFAULT_wxUSE_ZIPSTREAM=yes
 
2553
  DEFAULT_wxUSE_TARSTREAM=yes
 
2554
  DEFAULT_wxUSE_VALIDATORS=yes
 
2555
 
 
2556
  DEFAULT_wxUSE_ACCEL=yes
 
2557
  DEFAULT_wxUSE_ANIMATIONCTRL=yes
 
2558
  DEFAULT_wxUSE_BUTTON=yes
 
2559
  DEFAULT_wxUSE_BMPBUTTON=yes
 
2560
  DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
 
2561
  DEFAULT_wxUSE_CALCTRL=yes
 
2562
  DEFAULT_wxUSE_CARET=yes
 
2563
  DEFAULT_wxUSE_CHECKBOX=yes
 
2564
  DEFAULT_wxUSE_CHECKLST=yes
 
2565
  DEFAULT_wxUSE_CHOICE=yes
 
2566
  DEFAULT_wxUSE_CHOICEBOOK=yes
 
2567
  DEFAULT_wxUSE_COLLPANE=yes
 
2568
  DEFAULT_wxUSE_COLOURPICKERCTRL=yes
 
2569
  DEFAULT_wxUSE_COMBOBOX=yes
 
2570
  DEFAULT_wxUSE_COMBOCTRL=yes
 
2571
  DEFAULT_wxUSE_DATEPICKCTRL=yes
 
2572
  DEFAULT_wxUSE_DISPLAY=yes
 
2573
  DEFAULT_wxUSE_DETECT_SM=yes
 
2574
  DEFAULT_wxUSE_DIRPICKERCTRL=yes
 
2575
  DEFAULT_wxUSE_FILEPICKERCTRL=yes
 
2576
  DEFAULT_wxUSE_FONTPICKERCTRL=yes
 
2577
  DEFAULT_wxUSE_GAUGE=yes
 
2578
  DEFAULT_wxUSE_GRID=yes
 
2579
  DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
 
2580
  DEFAULT_wxUSE_HYPERLINKCTRL=yes
 
2581
  DEFAULT_wxUSE_DATAVIEWCTRL=no
 
2582
  DEFAULT_wxUSE_IMAGLIST=yes
 
2583
  DEFAULT_wxUSE_LISTBOOK=yes
 
2584
  DEFAULT_wxUSE_LISTBOX=yes
 
2585
  DEFAULT_wxUSE_LISTCTRL=yes
 
2586
  DEFAULT_wxUSE_NOTEBOOK=yes
 
2587
  DEFAULT_wxUSE_ODCOMBOBOX=yes
 
2588
  DEFAULT_wxUSE_RADIOBOX=yes
 
2589
  DEFAULT_wxUSE_RADIOBTN=yes
 
2590
  DEFAULT_wxUSE_SASH=yes
 
2591
  DEFAULT_wxUSE_SCROLLBAR=yes
 
2592
  DEFAULT_wxUSE_SEARCHCTRL=yes
 
2593
  DEFAULT_wxUSE_SLIDER=yes
 
2594
  DEFAULT_wxUSE_SPINBTN=yes
 
2595
  DEFAULT_wxUSE_SPINCTRL=yes
 
2596
  DEFAULT_wxUSE_SPLITTER=yes
 
2597
  DEFAULT_wxUSE_STATBMP=yes
 
2598
  DEFAULT_wxUSE_STATBOX=yes
 
2599
  DEFAULT_wxUSE_STATLINE=yes
 
2600
  DEFAULT_wxUSE_STATTEXT=yes
 
2601
  DEFAULT_wxUSE_STATUSBAR=yes
 
2602
  DEFAULT_wxUSE_TAB_DIALOG=no
 
2603
  DEFAULT_wxUSE_TEXTCTRL=yes
 
2604
  DEFAULT_wxUSE_TOGGLEBTN=yes
 
2605
  DEFAULT_wxUSE_TOOLBAR=yes
 
2606
  DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
 
2607
  DEFAULT_wxUSE_TREEBOOK=yes
 
2608
  DEFAULT_wxUSE_TOOLBOOK=yes
 
2609
  DEFAULT_wxUSE_TREECTRL=yes
 
2610
  DEFAULT_wxUSE_POPUPWIN=yes
 
2611
  DEFAULT_wxUSE_TIPWINDOW=yes
 
2612
 
 
2613
  DEFAULT_wxUSE_UNICODE=no
 
2614
  DEFAULT_wxUSE_UNICODE_MSLU=yes
 
2615
  DEFAULT_wxUSE_WCSRTOMBS=no
 
2616
 
 
2617
  DEFAULT_wxUSE_PALETTE=yes
 
2618
  DEFAULT_wxUSE_IMAGE=yes
 
2619
  DEFAULT_wxUSE_GIF=yes
 
2620
  DEFAULT_wxUSE_PCX=yes
 
2621
  DEFAULT_wxUSE_TGA=yes
 
2622
  DEFAULT_wxUSE_IFF=no    DEFAULT_wxUSE_PNM=yes
 
2623
  DEFAULT_wxUSE_XPM=yes
 
2624
  DEFAULT_wxUSE_ICO_CUR=yes
 
2625
  DEFAULT_wxUSE_ACCESSIBILITY=no
 
2626
 
 
2627
  DEFAULT_wxUSE_MONOLITHIC=no
 
2628
  DEFAULT_wxUSE_PLUGINS=no
 
2629
  DEFAULT_wxUSE_OFFICIAL_BUILD=no
 
2630
 
 
2631
    DEFAULT_wxUSE_GTK2=yes
 
2632
fi
 
2633
 
 
2634
DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
 
2635
 
 
2636
 
 
2637
 
 
2638
 
 
2639
for toolkit in `echo $ALL_TOOLKITS`; do
 
2640
  LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
 
2641
  if test "x$LINE" != "x" ; then
 
2642
    has_toolkit_in_cache=1
 
2643
    eval "DEFAULT_$LINE"
 
2644
    eval "CACHE_$toolkit=1"
 
2645
 
 
2646
    LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
 
2647
    if test "x$LINE" != "x" ; then
 
2648
        eval "DEFAULT_$LINE"
 
2649
    fi
 
2650
  fi
 
2651
done
 
2652
 
 
2653
 
 
2654
 
 
2655
          enablestring=
 
2656
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
 
2657
echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
 
2658
          no_cache=0
 
2659
          # Check whether --enable-gui or --disable-gui was given.
 
2660
if test "${enable_gui+set}" = set; then
 
2661
  enableval="$enable_gui"
 
2662
 
 
2663
                          if test "$enableval" = yes; then
 
2664
                            wx_cv_use_gui='wxUSE_GUI=yes'
 
2665
                          else
 
2666
                            wx_cv_use_gui='wxUSE_GUI=no'
 
2667
                          fi
 
2668
 
 
2669
else
 
2670
 
 
2671
                          LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
 
2672
                          if test "x$LINE" != x ; then
 
2673
                            eval "DEFAULT_$LINE"
 
2674
                          else
 
2675
                            no_cache=1
 
2676
                          fi
 
2677
 
 
2678
                          wx_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
 
2679
 
 
2680
fi;
 
2681
 
 
2682
          eval "$wx_cv_use_gui"
 
2683
          if test "$no_cache" != 1; then
 
2684
            echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
 
2685
          fi
 
2686
 
 
2687
          if test "$wxUSE_GUI" = yes; then
 
2688
            echo "$as_me:$LINENO: result: yes" >&5
 
2689
echo "${ECHO_T}yes" >&6
 
2690
          else
 
2691
            echo "$as_me:$LINENO: result: no" >&5
 
2692
echo "${ECHO_T}no" >&6
 
2693
          fi
 
2694
 
 
2695
 
 
2696
          enablestring=
 
2697
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
 
2698
echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
 
2699
          no_cache=0
 
2700
          # Check whether --enable-monolithic or --disable-monolithic was given.
 
2701
if test "${enable_monolithic+set}" = set; then
 
2702
  enableval="$enable_monolithic"
 
2703
 
 
2704
                          if test "$enableval" = yes; then
 
2705
                            wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
 
2706
                          else
 
2707
                            wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
 
2708
                          fi
 
2709
 
 
2710
else
 
2711
 
 
2712
                          LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
 
2713
                          if test "x$LINE" != x ; then
 
2714
                            eval "DEFAULT_$LINE"
 
2715
                          else
 
2716
                            no_cache=1
 
2717
                          fi
 
2718
 
 
2719
                          wx_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
 
2720
 
 
2721
fi;
 
2722
 
 
2723
          eval "$wx_cv_use_monolithic"
 
2724
          if test "$no_cache" != 1; then
 
2725
            echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
 
2726
          fi
 
2727
 
 
2728
          if test "$wxUSE_MONOLITHIC" = yes; then
 
2729
            echo "$as_me:$LINENO: result: yes" >&5
 
2730
echo "${ECHO_T}yes" >&6
 
2731
          else
 
2732
            echo "$as_me:$LINENO: result: no" >&5
 
2733
echo "${ECHO_T}no" >&6
 
2734
          fi
 
2735
 
 
2736
 
 
2737
          enablestring=
 
2738
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
 
2739
echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
 
2740
          no_cache=0
 
2741
          # Check whether --enable-plugins or --disable-plugins was given.
 
2742
if test "${enable_plugins+set}" = set; then
 
2743
  enableval="$enable_plugins"
 
2744
 
 
2745
                          if test "$enableval" = yes; then
 
2746
                            wx_cv_use_plugins='wxUSE_PLUGINS=yes'
 
2747
                          else
 
2748
                            wx_cv_use_plugins='wxUSE_PLUGINS=no'
 
2749
                          fi
 
2750
 
 
2751
else
 
2752
 
 
2753
                          LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
 
2754
                          if test "x$LINE" != x ; then
 
2755
                            eval "DEFAULT_$LINE"
 
2756
                          else
 
2757
                            no_cache=1
 
2758
                          fi
 
2759
 
 
2760
                          wx_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
 
2761
 
 
2762
fi;
 
2763
 
 
2764
          eval "$wx_cv_use_plugins"
 
2765
          if test "$no_cache" != 1; then
 
2766
            echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
 
2767
          fi
 
2768
 
 
2769
          if test "$wxUSE_PLUGINS" = yes; then
 
2770
            echo "$as_me:$LINENO: result: yes" >&5
 
2771
echo "${ECHO_T}yes" >&6
 
2772
          else
 
2773
            echo "$as_me:$LINENO: result: no" >&5
 
2774
echo "${ECHO_T}no" >&6
 
2775
          fi
 
2776
 
 
2777
 
 
2778
          withstring=without
 
2779
          echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
 
2780
echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
 
2781
          no_cache=0
 
2782
 
 
2783
# Check whether --with-subdirs or --without-subdirs was given.
 
2784
if test "${with_subdirs+set}" = set; then
 
2785
  withval="$with_subdirs"
 
2786
 
 
2787
                        if test "$withval" = yes; then
 
2788
                          wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
 
2789
                        else
 
2790
                          wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
 
2791
                        fi
 
2792
 
 
2793
else
 
2794
 
 
2795
                        LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
 
2796
                        if test "x$LINE" != x ; then
 
2797
                          eval "DEFAULT_$LINE"
 
2798
                        else
 
2799
                          no_cache=1
 
2800
                        fi
 
2801
 
 
2802
                        wx_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
 
2803
 
 
2804
fi;
 
2805
 
 
2806
          eval "$wx_cv_use_subdirs"
 
2807
          if test "$no_cache" != 1; then
 
2808
            echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
 
2809
          fi
 
2810
 
 
2811
          if test "$wxWITH_SUBDIRS" = yes; then
 
2812
            echo "$as_me:$LINENO: result: yes" >&5
 
2813
echo "${ECHO_T}yes" >&6
 
2814
          else
 
2815
            echo "$as_me:$LINENO: result: no" >&5
 
2816
echo "${ECHO_T}no" >&6
 
2817
          fi
 
2818
 
 
2819
 
 
2820
if test "$wxUSE_GUI" = "yes"; then
 
2821
 
 
2822
 
 
2823
          enablestring=
 
2824
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
 
2825
echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
 
2826
          no_cache=0
 
2827
          # Check whether --enable-universal or --disable-universal was given.
 
2828
if test "${enable_universal+set}" = set; then
 
2829
  enableval="$enable_universal"
 
2830
 
 
2831
                          if test "$enableval" = yes; then
 
2832
                            wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
 
2833
                          else
 
2834
                            wx_cv_use_universal='wxUSE_UNIVERSAL=no'
 
2835
                          fi
 
2836
 
 
2837
else
 
2838
 
 
2839
                          LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
 
2840
                          if test "x$LINE" != x ; then
 
2841
                            eval "DEFAULT_$LINE"
 
2842
                          else
 
2843
                            no_cache=1
 
2844
                          fi
 
2845
 
 
2846
                          wx_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
 
2847
 
 
2848
fi;
 
2849
 
 
2850
          eval "$wx_cv_use_universal"
 
2851
          if test "$no_cache" != 1; then
 
2852
            echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
 
2853
          fi
 
2854
 
 
2855
          if test "$wxUSE_UNIVERSAL" = yes; then
 
2856
            echo "$as_me:$LINENO: result: yes" >&5
 
2857
echo "${ECHO_T}yes" >&6
 
2858
          else
 
2859
            echo "$as_me:$LINENO: result: no" >&5
 
2860
echo "${ECHO_T}no" >&6
 
2861
          fi
 
2862
 
 
2863
 
 
2864
# Check whether --with-gtk or --without-gtk was given.
 
2865
if test "${with_gtk+set}" = set; then
 
2866
  withval="$with_gtk"
 
2867
  wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
 
2868
fi;
 
2869
 
 
2870
# Check whether --with-motif or --without-motif was given.
 
2871
if test "${with_motif+set}" = set; then
 
2872
  withval="$with_motif"
 
2873
  wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
 
2874
fi;
 
2875
 
 
2876
# Check whether --with-mac or --without-mac was given.
 
2877
if test "${with_mac+set}" = set; then
 
2878
  withval="$with_mac"
 
2879
  wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
 
2880
fi;
 
2881
 
 
2882
# Check whether --with-cocoa or --without-cocoa was given.
 
2883
if test "${with_cocoa+set}" = set; then
 
2884
  withval="$with_cocoa"
 
2885
  wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
 
2886
fi;
 
2887
 
 
2888
# Check whether --with-wine or --without-wine was given.
 
2889
if test "${with_wine+set}" = set; then
 
2890
  withval="$with_wine"
 
2891
  wxUSE_WINE="$withval" CACHE_WINE=1
 
2892
fi;
 
2893
 
 
2894
# Check whether --with-msw or --without-msw was given.
 
2895
if test "${with_msw+set}" = set; then
 
2896
  withval="$with_msw"
 
2897
  wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
 
2898
fi;
 
2899
 
 
2900
# Check whether --with-pm or --without-pm was given.
 
2901
if test "${with_pm+set}" = set; then
 
2902
  withval="$with_pm"
 
2903
  wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
 
2904
fi;
 
2905
 
 
2906
# Check whether --with-mgl or --without-mgl was given.
 
2907
if test "${with_mgl+set}" = set; then
 
2908
  withval="$with_mgl"
 
2909
  wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
 
2910
fi;
 
2911
 
 
2912
# Check whether --with-directfb or --without-directfb was given.
 
2913
if test "${with_directfb+set}" = set; then
 
2914
  withval="$with_directfb"
 
2915
  wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
 
2916
fi;
 
2917
 
 
2918
# Check whether --with-microwin or --without-microwin was given.
 
2919
if test "${with_microwin+set}" = set; then
 
2920
  withval="$with_microwin"
 
2921
  wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
 
2922
fi;
 
2923
 
 
2924
# Check whether --with-x11 or --without-x11 was given.
 
2925
if test "${with_x11+set}" = set; then
 
2926
  withval="$with_x11"
 
2927
  wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
 
2928
fi;
 
2929
 
 
2930
          enablestring=
 
2931
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
 
2932
echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
 
2933
          no_cache=0
 
2934
          # Check whether --enable-nanox or --disable-nanox was given.
 
2935
if test "${enable_nanox+set}" = set; then
 
2936
  enableval="$enable_nanox"
 
2937
 
 
2938
                          if test "$enableval" = yes; then
 
2939
                            wx_cv_use_nanox='wxUSE_NANOX=yes'
 
2940
                          else
 
2941
                            wx_cv_use_nanox='wxUSE_NANOX=no'
 
2942
                          fi
 
2943
 
 
2944
else
 
2945
 
 
2946
                          LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
 
2947
                          if test "x$LINE" != x ; then
 
2948
                            eval "DEFAULT_$LINE"
 
2949
                          else
 
2950
                            no_cache=1
 
2951
                          fi
 
2952
 
 
2953
                          wx_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
 
2954
 
 
2955
fi;
 
2956
 
 
2957
          eval "$wx_cv_use_nanox"
 
2958
          if test "$no_cache" != 1; then
 
2959
            echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
 
2960
          fi
 
2961
 
 
2962
          if test "$wxUSE_NANOX" = yes; then
 
2963
            echo "$as_me:$LINENO: result: yes" >&5
 
2964
echo "${ECHO_T}yes" >&6
 
2965
          else
 
2966
            echo "$as_me:$LINENO: result: no" >&5
 
2967
echo "${ECHO_T}no" >&6
 
2968
          fi
 
2969
 
 
2970
 
 
2971
# Check whether --enable-gtk2 or --disable-gtk2 was given.
 
2972
if test "${enable_gtk2+set}" = set; then
 
2973
  enableval="$enable_gtk2"
 
2974
  wxUSE_GTK2="$enableval"
 
2975
fi;
 
2976
 
 
2977
          enablestring=
 
2978
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
 
2979
echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
 
2980
          no_cache=0
 
2981
          # Check whether --enable-gpe or --disable-gpe was given.
 
2982
if test "${enable_gpe+set}" = set; then
 
2983
  enableval="$enable_gpe"
 
2984
 
 
2985
                          if test "$enableval" = yes; then
 
2986
                            wx_cv_use_gpe='wxUSE_GPE=yes'
 
2987
                          else
 
2988
                            wx_cv_use_gpe='wxUSE_GPE=no'
 
2989
                          fi
 
2990
 
 
2991
else
 
2992
 
 
2993
                          LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
 
2994
                          if test "x$LINE" != x ; then
 
2995
                            eval "DEFAULT_$LINE"
 
2996
                          else
 
2997
                            no_cache=1
 
2998
                          fi
 
2999
 
 
3000
                          wx_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
 
3001
 
 
3002
fi;
 
3003
 
 
3004
          eval "$wx_cv_use_gpe"
 
3005
          if test "$no_cache" != 1; then
 
3006
            echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
 
3007
          fi
 
3008
 
 
3009
          if test "$wxUSE_GPE" = yes; then
 
3010
            echo "$as_me:$LINENO: result: yes" >&5
 
3011
echo "${ECHO_T}yes" >&6
 
3012
          else
 
3013
            echo "$as_me:$LINENO: result: no" >&5
 
3014
echo "${ECHO_T}no" >&6
 
3015
          fi
 
3016
 
 
3017
 
 
3018
 
 
3019
          echo "$as_me:$LINENO: checking for --with-libpng" >&5
 
3020
echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
 
3021
          no_cache=0
 
3022
 
 
3023
# Check whether --with-libpng or --without-libpng was given.
 
3024
if test "${with_libpng+set}" = set; then
 
3025
  withval="$with_libpng"
 
3026
 
 
3027
                        if test "$withval" = yes; then
 
3028
                          wx_cv_use_libpng='wxUSE_LIBPNG=yes'
 
3029
                        elif test "$withval" = no; then
 
3030
                          wx_cv_use_libpng='wxUSE_LIBPNG=no'
 
3031
                        elif test "$withval" = sys; then
 
3032
                          wx_cv_use_libpng='wxUSE_LIBPNG=sys'
 
3033
                        elif test "$withval" = builtin; then
 
3034
                          wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
 
3035
                        else
 
3036
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
 
3037
echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
 
3038
   { (exit 1); exit 1; }; }
 
3039
                        fi
 
3040
 
 
3041
else
 
3042
 
 
3043
                        LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
 
3044
                        if test "x$LINE" != x ; then
 
3045
                          eval "DEFAULT_$LINE"
 
3046
                        else
 
3047
                          no_cache=1
 
3048
                        fi
 
3049
 
 
3050
                        wx_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
 
3051
 
 
3052
fi;
 
3053
 
 
3054
          eval "$wx_cv_use_libpng"
 
3055
          if test "$no_cache" != 1; then
 
3056
            echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
 
3057
          fi
 
3058
 
 
3059
          if test "$wxUSE_LIBPNG" = yes; then
 
3060
            echo "$as_me:$LINENO: result: yes" >&5
 
3061
echo "${ECHO_T}yes" >&6
 
3062
          elif test "$wxUSE_LIBPNG" = no; then
 
3063
            echo "$as_me:$LINENO: result: no" >&5
 
3064
echo "${ECHO_T}no" >&6
 
3065
          elif test "$wxUSE_LIBPNG" = sys; then
 
3066
            echo "$as_me:$LINENO: result: system version" >&5
 
3067
echo "${ECHO_T}system version" >&6
 
3068
          elif test "$wxUSE_LIBPNG" = builtin; then
 
3069
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3070
echo "${ECHO_T}builtin version" >&6
 
3071
          else
 
3072
            { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
 
3073
echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
 
3074
   { (exit 1); exit 1; }; }
 
3075
          fi
 
3076
 
 
3077
 
 
3078
          echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
 
3079
echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
 
3080
          no_cache=0
 
3081
 
 
3082
# Check whether --with-libjpeg or --without-libjpeg was given.
 
3083
if test "${with_libjpeg+set}" = set; then
 
3084
  withval="$with_libjpeg"
 
3085
 
 
3086
                        if test "$withval" = yes; then
 
3087
                          wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
 
3088
                        elif test "$withval" = no; then
 
3089
                          wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
 
3090
                        elif test "$withval" = sys; then
 
3091
                          wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
 
3092
                        elif test "$withval" = builtin; then
 
3093
                          wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
 
3094
                        else
 
3095
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
 
3096
echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
 
3097
   { (exit 1); exit 1; }; }
 
3098
                        fi
 
3099
 
 
3100
else
 
3101
 
 
3102
                        LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
 
3103
                        if test "x$LINE" != x ; then
 
3104
                          eval "DEFAULT_$LINE"
 
3105
                        else
 
3106
                          no_cache=1
 
3107
                        fi
 
3108
 
 
3109
                        wx_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
 
3110
 
 
3111
fi;
 
3112
 
 
3113
          eval "$wx_cv_use_libjpeg"
 
3114
          if test "$no_cache" != 1; then
 
3115
            echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
 
3116
          fi
 
3117
 
 
3118
          if test "$wxUSE_LIBJPEG" = yes; then
 
3119
            echo "$as_me:$LINENO: result: yes" >&5
 
3120
echo "${ECHO_T}yes" >&6
 
3121
          elif test "$wxUSE_LIBJPEG" = no; then
 
3122
            echo "$as_me:$LINENO: result: no" >&5
 
3123
echo "${ECHO_T}no" >&6
 
3124
          elif test "$wxUSE_LIBJPEG" = sys; then
 
3125
            echo "$as_me:$LINENO: result: system version" >&5
 
3126
echo "${ECHO_T}system version" >&6
 
3127
          elif test "$wxUSE_LIBJPEG" = builtin; then
 
3128
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3129
echo "${ECHO_T}builtin version" >&6
 
3130
          else
 
3131
            { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
 
3132
echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
 
3133
   { (exit 1); exit 1; }; }
 
3134
          fi
 
3135
 
 
3136
 
 
3137
          echo "$as_me:$LINENO: checking for --with-libtiff" >&5
 
3138
echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
 
3139
          no_cache=0
 
3140
 
 
3141
# Check whether --with-libtiff or --without-libtiff was given.
 
3142
if test "${with_libtiff+set}" = set; then
 
3143
  withval="$with_libtiff"
 
3144
 
 
3145
                        if test "$withval" = yes; then
 
3146
                          wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
 
3147
                        elif test "$withval" = no; then
 
3148
                          wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
 
3149
                        elif test "$withval" = sys; then
 
3150
                          wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
 
3151
                        elif test "$withval" = builtin; then
 
3152
                          wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
 
3153
                        else
 
3154
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
 
3155
echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
 
3156
   { (exit 1); exit 1; }; }
 
3157
                        fi
 
3158
 
 
3159
else
 
3160
 
 
3161
                        LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
 
3162
                        if test "x$LINE" != x ; then
 
3163
                          eval "DEFAULT_$LINE"
 
3164
                        else
 
3165
                          no_cache=1
 
3166
                        fi
 
3167
 
 
3168
                        wx_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
 
3169
 
 
3170
fi;
 
3171
 
 
3172
          eval "$wx_cv_use_libtiff"
 
3173
          if test "$no_cache" != 1; then
 
3174
            echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
 
3175
          fi
 
3176
 
 
3177
          if test "$wxUSE_LIBTIFF" = yes; then
 
3178
            echo "$as_me:$LINENO: result: yes" >&5
 
3179
echo "${ECHO_T}yes" >&6
 
3180
          elif test "$wxUSE_LIBTIFF" = no; then
 
3181
            echo "$as_me:$LINENO: result: no" >&5
 
3182
echo "${ECHO_T}no" >&6
 
3183
          elif test "$wxUSE_LIBTIFF" = sys; then
 
3184
            echo "$as_me:$LINENO: result: system version" >&5
 
3185
echo "${ECHO_T}system version" >&6
 
3186
          elif test "$wxUSE_LIBTIFF" = builtin; then
 
3187
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3188
echo "${ECHO_T}builtin version" >&6
 
3189
          else
 
3190
            { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
 
3191
echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
 
3192
   { (exit 1); exit 1; }; }
 
3193
          fi
 
3194
 
 
3195
 
 
3196
          echo "$as_me:$LINENO: checking for --with-libxpm" >&5
 
3197
echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
 
3198
          no_cache=0
 
3199
 
 
3200
# Check whether --with-libxpm or --without-libxpm was given.
 
3201
if test "${with_libxpm+set}" = set; then
 
3202
  withval="$with_libxpm"
 
3203
 
 
3204
                        if test "$withval" = yes; then
 
3205
                          wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
 
3206
                        elif test "$withval" = no; then
 
3207
                          wx_cv_use_libxpm='wxUSE_LIBXPM=no'
 
3208
                        elif test "$withval" = sys; then
 
3209
                          wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
 
3210
                        elif test "$withval" = builtin; then
 
3211
                          wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
 
3212
                        else
 
3213
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
 
3214
echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
 
3215
   { (exit 1); exit 1; }; }
 
3216
                        fi
 
3217
 
 
3218
else
 
3219
 
 
3220
                        LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
 
3221
                        if test "x$LINE" != x ; then
 
3222
                          eval "DEFAULT_$LINE"
 
3223
                        else
 
3224
                          no_cache=1
 
3225
                        fi
 
3226
 
 
3227
                        wx_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
 
3228
 
 
3229
fi;
 
3230
 
 
3231
          eval "$wx_cv_use_libxpm"
 
3232
          if test "$no_cache" != 1; then
 
3233
            echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
 
3234
          fi
 
3235
 
 
3236
          if test "$wxUSE_LIBXPM" = yes; then
 
3237
            echo "$as_me:$LINENO: result: yes" >&5
 
3238
echo "${ECHO_T}yes" >&6
 
3239
          elif test "$wxUSE_LIBXPM" = no; then
 
3240
            echo "$as_me:$LINENO: result: no" >&5
 
3241
echo "${ECHO_T}no" >&6
 
3242
          elif test "$wxUSE_LIBXPM" = sys; then
 
3243
            echo "$as_me:$LINENO: result: system version" >&5
 
3244
echo "${ECHO_T}system version" >&6
 
3245
          elif test "$wxUSE_LIBXPM" = builtin; then
 
3246
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3247
echo "${ECHO_T}builtin version" >&6
 
3248
          else
 
3249
            { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
 
3250
echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
 
3251
   { (exit 1); exit 1; }; }
 
3252
          fi
 
3253
 
 
3254
 
 
3255
          withstring=
 
3256
          echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
 
3257
echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
 
3258
          no_cache=0
 
3259
 
 
3260
# Check whether --with-libmspack or --without-libmspack was given.
 
3261
if test "${with_libmspack+set}" = set; then
 
3262
  withval="$with_libmspack"
 
3263
 
 
3264
                        if test "$withval" = yes; then
 
3265
                          wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
 
3266
                        else
 
3267
                          wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
 
3268
                        fi
 
3269
 
 
3270
else
 
3271
 
 
3272
                        LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
 
3273
                        if test "x$LINE" != x ; then
 
3274
                          eval "DEFAULT_$LINE"
 
3275
                        else
 
3276
                          no_cache=1
 
3277
                        fi
 
3278
 
 
3279
                        wx_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
 
3280
 
 
3281
fi;
 
3282
 
 
3283
          eval "$wx_cv_use_libmspack"
 
3284
          if test "$no_cache" != 1; then
 
3285
            echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
 
3286
          fi
 
3287
 
 
3288
          if test "$wxUSE_LIBMSPACK" = yes; then
 
3289
            echo "$as_me:$LINENO: result: yes" >&5
 
3290
echo "${ECHO_T}yes" >&6
 
3291
          else
 
3292
            echo "$as_me:$LINENO: result: no" >&5
 
3293
echo "${ECHO_T}no" >&6
 
3294
          fi
 
3295
 
 
3296
 
 
3297
          withstring=
 
3298
          echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
 
3299
echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
 
3300
          no_cache=0
 
3301
 
 
3302
# Check whether --with-sdl or --without-sdl was given.
 
3303
if test "${with_sdl+set}" = set; then
 
3304
  withval="$with_sdl"
 
3305
 
 
3306
                        if test "$withval" = yes; then
 
3307
                          wx_cv_use_sdl='wxUSE_LIBSDL=yes'
 
3308
                        else
 
3309
                          wx_cv_use_sdl='wxUSE_LIBSDL=no'
 
3310
                        fi
 
3311
 
 
3312
else
 
3313
 
 
3314
                        LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
 
3315
                        if test "x$LINE" != x ; then
 
3316
                          eval "DEFAULT_$LINE"
 
3317
                        else
 
3318
                          no_cache=1
 
3319
                        fi
 
3320
 
 
3321
                        wx_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
 
3322
 
 
3323
fi;
 
3324
 
 
3325
          eval "$wx_cv_use_sdl"
 
3326
          if test "$no_cache" != 1; then
 
3327
            echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
 
3328
          fi
 
3329
 
 
3330
          if test "$wxUSE_LIBSDL" = yes; then
 
3331
            echo "$as_me:$LINENO: result: yes" >&5
 
3332
echo "${ECHO_T}yes" >&6
 
3333
          else
 
3334
            echo "$as_me:$LINENO: result: no" >&5
 
3335
echo "${ECHO_T}no" >&6
 
3336
          fi
 
3337
 
 
3338
 
 
3339
          withstring=
 
3340
          echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
 
3341
echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
 
3342
          no_cache=0
 
3343
 
 
3344
# Check whether --with-gnomeprint or --without-gnomeprint was given.
 
3345
if test "${with_gnomeprint+set}" = set; then
 
3346
  withval="$with_gnomeprint"
 
3347
 
 
3348
                        if test "$withval" = yes; then
 
3349
                          wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
 
3350
                        else
 
3351
                          wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
 
3352
                        fi
 
3353
 
 
3354
else
 
3355
 
 
3356
                        LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
 
3357
                        if test "x$LINE" != x ; then
 
3358
                          eval "DEFAULT_$LINE"
 
3359
                        else
 
3360
                          no_cache=1
 
3361
                        fi
 
3362
 
 
3363
                        wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
 
3364
 
 
3365
fi;
 
3366
 
 
3367
          eval "$wx_cv_use_gnomeprint"
 
3368
          if test "$no_cache" != 1; then
 
3369
            echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
 
3370
          fi
 
3371
 
 
3372
          if test "$wxUSE_LIBGNOMEPRINT" = yes; then
 
3373
            echo "$as_me:$LINENO: result: yes" >&5
 
3374
echo "${ECHO_T}yes" >&6
 
3375
          else
 
3376
            echo "$as_me:$LINENO: result: no" >&5
 
3377
echo "${ECHO_T}no" >&6
 
3378
          fi
 
3379
 
 
3380
 
 
3381
          withstring=
 
3382
          echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
 
3383
echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
 
3384
          no_cache=0
 
3385
 
 
3386
# Check whether --with-gnomevfs or --without-gnomevfs was given.
 
3387
if test "${with_gnomevfs+set}" = set; then
 
3388
  withval="$with_gnomevfs"
 
3389
 
 
3390
                        if test "$withval" = yes; then
 
3391
                          wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
 
3392
                        else
 
3393
                          wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
 
3394
                        fi
 
3395
 
 
3396
else
 
3397
 
 
3398
                        LINE=`grep "wxUSE_LIBGNOMEVFS" ${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
                        wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
 
3406
 
 
3407
fi;
 
3408
 
 
3409
          eval "$wx_cv_use_gnomevfs"
 
3410
          if test "$no_cache" != 1; then
 
3411
            echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
 
3412
          fi
 
3413
 
 
3414
          if test "$wxUSE_LIBGNOMEVFS" = 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
          withstring=
 
3424
          echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
 
3425
echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
 
3426
          no_cache=0
 
3427
 
 
3428
# Check whether --with-hildon or --without-hildon was given.
 
3429
if test "${with_hildon+set}" = set; then
 
3430
  withval="$with_hildon"
 
3431
 
 
3432
                        if test "$withval" = yes; then
 
3433
                          wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
 
3434
                        else
 
3435
                          wx_cv_use_hildon='wxUSE_LIBHILDON=no'
 
3436
                        fi
 
3437
 
 
3438
else
 
3439
 
 
3440
                        LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
 
3441
                        if test "x$LINE" != x ; then
 
3442
                          eval "DEFAULT_$LINE"
 
3443
                        else
 
3444
                          no_cache=1
 
3445
                        fi
 
3446
 
 
3447
                        wx_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
 
3448
 
 
3449
fi;
 
3450
 
 
3451
          eval "$wx_cv_use_hildon"
 
3452
          if test "$no_cache" != 1; then
 
3453
            echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
 
3454
          fi
 
3455
 
 
3456
          if test "$wxUSE_LIBHILDON" = yes; then
 
3457
            echo "$as_me:$LINENO: result: yes" >&5
 
3458
echo "${ECHO_T}yes" >&6
 
3459
          else
 
3460
            echo "$as_me:$LINENO: result: no" >&5
 
3461
echo "${ECHO_T}no" >&6
 
3462
          fi
 
3463
 
 
3464
 
 
3465
          withstring=
 
3466
          echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
 
3467
echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
 
3468
          no_cache=0
 
3469
 
 
3470
# Check whether --with-opengl or --without-opengl was given.
 
3471
if test "${with_opengl+set}" = set; then
 
3472
  withval="$with_opengl"
 
3473
 
 
3474
                        if test "$withval" = yes; then
 
3475
                          wx_cv_use_opengl='wxUSE_OPENGL=yes'
 
3476
                        else
 
3477
                          wx_cv_use_opengl='wxUSE_OPENGL=no'
 
3478
                        fi
 
3479
 
 
3480
else
 
3481
 
 
3482
                        LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
 
3483
                        if test "x$LINE" != x ; then
 
3484
                          eval "DEFAULT_$LINE"
 
3485
                        else
 
3486
                          no_cache=1
 
3487
                        fi
 
3488
 
 
3489
                        wx_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
 
3490
 
 
3491
fi;
 
3492
 
 
3493
          eval "$wx_cv_use_opengl"
 
3494
          if test "$no_cache" != 1; then
 
3495
            echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
 
3496
          fi
 
3497
 
 
3498
          if test "$wxUSE_OPENGL" = yes; then
 
3499
            echo "$as_me:$LINENO: result: yes" >&5
 
3500
echo "${ECHO_T}yes" >&6
 
3501
          else
 
3502
            echo "$as_me:$LINENO: result: no" >&5
 
3503
echo "${ECHO_T}no" >&6
 
3504
          fi
 
3505
 
 
3506
 
 
3507
if test "$wxUSE_UNIVERSAL" = "yes"; then
 
3508
 
 
3509
# Check whether --with-themes or --without-themes was given.
 
3510
if test "${with_themes+set}" = set; then
 
3511
  withval="$with_themes"
 
3512
  wxUNIV_THEMES="$withval"
 
3513
fi;
 
3514
fi
 
3515
 
 
3516
fi
 
3517
 
 
3518
 
 
3519
          withstring=
 
3520
          echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
 
3521
echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
 
3522
          no_cache=0
 
3523
 
 
3524
# Check whether --with-dmalloc or --without-dmalloc was given.
 
3525
if test "${with_dmalloc+set}" = set; then
 
3526
  withval="$with_dmalloc"
 
3527
 
 
3528
                        if test "$withval" = yes; then
 
3529
                          wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
 
3530
                        else
 
3531
                          wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
 
3532
                        fi
 
3533
 
 
3534
else
 
3535
 
 
3536
                        LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
 
3537
                        if test "x$LINE" != x ; then
 
3538
                          eval "DEFAULT_$LINE"
 
3539
                        else
 
3540
                          no_cache=1
 
3541
                        fi
 
3542
 
 
3543
                        wx_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
 
3544
 
 
3545
fi;
 
3546
 
 
3547
          eval "$wx_cv_use_dmalloc"
 
3548
          if test "$no_cache" != 1; then
 
3549
            echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
 
3550
          fi
 
3551
 
 
3552
          if test "$wxUSE_DMALLOC" = yes; then
 
3553
            echo "$as_me:$LINENO: result: yes" >&5
 
3554
echo "${ECHO_T}yes" >&6
 
3555
          else
 
3556
            echo "$as_me:$LINENO: result: no" >&5
 
3557
echo "${ECHO_T}no" >&6
 
3558
          fi
 
3559
 
 
3560
 
 
3561
          echo "$as_me:$LINENO: checking for --with-regex" >&5
 
3562
echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
 
3563
          no_cache=0
 
3564
 
 
3565
# Check whether --with-regex or --without-regex was given.
 
3566
if test "${with_regex+set}" = set; then
 
3567
  withval="$with_regex"
 
3568
 
 
3569
                        if test "$withval" = yes; then
 
3570
                          wx_cv_use_regex='wxUSE_REGEX=yes'
 
3571
                        elif test "$withval" = no; then
 
3572
                          wx_cv_use_regex='wxUSE_REGEX=no'
 
3573
                        elif test "$withval" = sys; then
 
3574
                          wx_cv_use_regex='wxUSE_REGEX=sys'
 
3575
                        elif test "$withval" = builtin; then
 
3576
                          wx_cv_use_regex='wxUSE_REGEX=builtin'
 
3577
                        else
 
3578
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
 
3579
echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
 
3580
   { (exit 1); exit 1; }; }
 
3581
                        fi
 
3582
 
 
3583
else
 
3584
 
 
3585
                        LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
 
3586
                        if test "x$LINE" != x ; then
 
3587
                          eval "DEFAULT_$LINE"
 
3588
                        else
 
3589
                          no_cache=1
 
3590
                        fi
 
3591
 
 
3592
                        wx_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
 
3593
 
 
3594
fi;
 
3595
 
 
3596
          eval "$wx_cv_use_regex"
 
3597
          if test "$no_cache" != 1; then
 
3598
            echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
 
3599
          fi
 
3600
 
 
3601
          if test "$wxUSE_REGEX" = yes; then
 
3602
            echo "$as_me:$LINENO: result: yes" >&5
 
3603
echo "${ECHO_T}yes" >&6
 
3604
          elif test "$wxUSE_REGEX" = no; then
 
3605
            echo "$as_me:$LINENO: result: no" >&5
 
3606
echo "${ECHO_T}no" >&6
 
3607
          elif test "$wxUSE_REGEX" = sys; then
 
3608
            echo "$as_me:$LINENO: result: system version" >&5
 
3609
echo "${ECHO_T}system version" >&6
 
3610
          elif test "$wxUSE_REGEX" = builtin; then
 
3611
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3612
echo "${ECHO_T}builtin version" >&6
 
3613
          else
 
3614
            { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
 
3615
echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
 
3616
   { (exit 1); exit 1; }; }
 
3617
          fi
 
3618
 
 
3619
 
 
3620
          echo "$as_me:$LINENO: checking for --with-zlib" >&5
 
3621
echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
 
3622
          no_cache=0
 
3623
 
 
3624
# Check whether --with-zlib or --without-zlib was given.
 
3625
if test "${with_zlib+set}" = set; then
 
3626
  withval="$with_zlib"
 
3627
 
 
3628
                        if test "$withval" = yes; then
 
3629
                          wx_cv_use_zlib='wxUSE_ZLIB=yes'
 
3630
                        elif test "$withval" = no; then
 
3631
                          wx_cv_use_zlib='wxUSE_ZLIB=no'
 
3632
                        elif test "$withval" = sys; then
 
3633
                          wx_cv_use_zlib='wxUSE_ZLIB=sys'
 
3634
                        elif test "$withval" = builtin; then
 
3635
                          wx_cv_use_zlib='wxUSE_ZLIB=builtin'
 
3636
                        else
 
3637
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
 
3638
echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
 
3639
   { (exit 1); exit 1; }; }
 
3640
                        fi
 
3641
 
 
3642
else
 
3643
 
 
3644
                        LINE=`grep "wxUSE_ZLIB" ${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
                        wx_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
 
3652
 
 
3653
fi;
 
3654
 
 
3655
          eval "$wx_cv_use_zlib"
 
3656
          if test "$no_cache" != 1; then
 
3657
            echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
 
3658
          fi
 
3659
 
 
3660
          if test "$wxUSE_ZLIB" = yes; then
 
3661
            echo "$as_me:$LINENO: result: yes" >&5
 
3662
echo "${ECHO_T}yes" >&6
 
3663
          elif test "$wxUSE_ZLIB" = no; then
 
3664
            echo "$as_me:$LINENO: result: no" >&5
 
3665
echo "${ECHO_T}no" >&6
 
3666
          elif test "$wxUSE_ZLIB" = sys; then
 
3667
            echo "$as_me:$LINENO: result: system version" >&5
 
3668
echo "${ECHO_T}system version" >&6
 
3669
          elif test "$wxUSE_ZLIB" = builtin; then
 
3670
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3671
echo "${ECHO_T}builtin version" >&6
 
3672
          else
 
3673
            { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
 
3674
echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
 
3675
   { (exit 1); exit 1; }; }
 
3676
          fi
 
3677
 
 
3678
 
 
3679
          echo "$as_me:$LINENO: checking for --with-odbc" >&5
 
3680
echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
 
3681
          no_cache=0
 
3682
 
 
3683
# Check whether --with-odbc or --without-odbc was given.
 
3684
if test "${with_odbc+set}" = set; then
 
3685
  withval="$with_odbc"
 
3686
 
 
3687
                        if test "$withval" = yes; then
 
3688
                          wx_cv_use_odbc='wxUSE_ODBC=yes'
 
3689
                        elif test "$withval" = no; then
 
3690
                          wx_cv_use_odbc='wxUSE_ODBC=no'
 
3691
                        elif test "$withval" = sys; then
 
3692
                          wx_cv_use_odbc='wxUSE_ODBC=sys'
 
3693
                        elif test "$withval" = builtin; then
 
3694
                          wx_cv_use_odbc='wxUSE_ODBC=builtin'
 
3695
                        else
 
3696
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
 
3697
echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
 
3698
   { (exit 1); exit 1; }; }
 
3699
                        fi
 
3700
 
 
3701
else
 
3702
 
 
3703
                        LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
 
3704
                        if test "x$LINE" != x ; then
 
3705
                          eval "DEFAULT_$LINE"
 
3706
                        else
 
3707
                          no_cache=1
 
3708
                        fi
 
3709
 
 
3710
                        wx_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
 
3711
 
 
3712
fi;
 
3713
 
 
3714
          eval "$wx_cv_use_odbc"
 
3715
          if test "$no_cache" != 1; then
 
3716
            echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
 
3717
          fi
 
3718
 
 
3719
          if test "$wxUSE_ODBC" = yes; then
 
3720
            echo "$as_me:$LINENO: result: yes" >&5
 
3721
echo "${ECHO_T}yes" >&6
 
3722
          elif test "$wxUSE_ODBC" = no; then
 
3723
            echo "$as_me:$LINENO: result: no" >&5
 
3724
echo "${ECHO_T}no" >&6
 
3725
          elif test "$wxUSE_ODBC" = sys; then
 
3726
            echo "$as_me:$LINENO: result: system version" >&5
 
3727
echo "${ECHO_T}system version" >&6
 
3728
          elif test "$wxUSE_ODBC" = builtin; then
 
3729
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3730
echo "${ECHO_T}builtin version" >&6
 
3731
          else
 
3732
            { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
 
3733
echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
 
3734
   { (exit 1); exit 1; }; }
 
3735
          fi
 
3736
 
 
3737
 
 
3738
          echo "$as_me:$LINENO: checking for --with-expat" >&5
 
3739
echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
 
3740
          no_cache=0
 
3741
 
 
3742
# Check whether --with-expat or --without-expat was given.
 
3743
if test "${with_expat+set}" = set; then
 
3744
  withval="$with_expat"
 
3745
 
 
3746
                        if test "$withval" = yes; then
 
3747
                          wx_cv_use_expat='wxUSE_EXPAT=yes'
 
3748
                        elif test "$withval" = no; then
 
3749
                          wx_cv_use_expat='wxUSE_EXPAT=no'
 
3750
                        elif test "$withval" = sys; then
 
3751
                          wx_cv_use_expat='wxUSE_EXPAT=sys'
 
3752
                        elif test "$withval" = builtin; then
 
3753
                          wx_cv_use_expat='wxUSE_EXPAT=builtin'
 
3754
                        else
 
3755
                          { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
 
3756
echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
 
3757
   { (exit 1); exit 1; }; }
 
3758
                        fi
 
3759
 
 
3760
else
 
3761
 
 
3762
                        LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
 
3763
                        if test "x$LINE" != x ; then
 
3764
                          eval "DEFAULT_$LINE"
 
3765
                        else
 
3766
                          no_cache=1
 
3767
                        fi
 
3768
 
 
3769
                        wx_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
 
3770
 
 
3771
fi;
 
3772
 
 
3773
          eval "$wx_cv_use_expat"
 
3774
          if test "$no_cache" != 1; then
 
3775
            echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
 
3776
          fi
 
3777
 
 
3778
          if test "$wxUSE_EXPAT" = yes; then
 
3779
            echo "$as_me:$LINENO: result: yes" >&5
 
3780
echo "${ECHO_T}yes" >&6
 
3781
          elif test "$wxUSE_EXPAT" = no; then
 
3782
            echo "$as_me:$LINENO: result: no" >&5
 
3783
echo "${ECHO_T}no" >&6
 
3784
          elif test "$wxUSE_EXPAT" = sys; then
 
3785
            echo "$as_me:$LINENO: result: system version" >&5
 
3786
echo "${ECHO_T}system version" >&6
 
3787
          elif test "$wxUSE_EXPAT" = builtin; then
 
3788
            echo "$as_me:$LINENO: result: builtin version" >&5
 
3789
echo "${ECHO_T}builtin version" >&6
 
3790
          else
 
3791
            { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
 
3792
echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
 
3793
   { (exit 1); exit 1; }; }
 
3794
          fi
 
3795
 
 
3796
 
 
3797
echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
 
3798
echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6
 
3799
 
 
3800
# Check whether --with-macosx-sdk or --without-macosx-sdk was given.
 
3801
if test "${with_macosx_sdk+set}" = set; then
 
3802
  withval="$with_macosx_sdk"
 
3803
 
 
3804
        wxUSE_MACOSX_SDK=$withval
 
3805
        wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
 
3806
        echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
 
3807
 
 
3808
else
 
3809
 
 
3810
        # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
 
3811
        # will override --enable-universal_binary's automatic SDK usage.
 
3812
        wxUSE_MACOSX_SDK=
 
3813
        LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
 
3814
        if test "x$LINE" != x ; then
 
3815
            eval "$LINE"
 
3816
            echo "$LINE" >> ${wx_arg_cache_file}.tmp
 
3817
        fi
 
3818
 
 
3819
fi;
 
3820
echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
 
3821
echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6
 
3822
 
 
3823
echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
 
3824
echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6
 
3825
 
 
3826
# Check whether --with-macosx-version-min or --without-macosx-version-min was given.
 
3827
if test "${with_macosx_version_min+set}" = set; then
 
3828
  withval="$with_macosx_version_min"
 
3829
 
 
3830
        wxUSE_MACOSX_VERSION_MIN=$withval
 
3831
        wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
 
3832
        echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
 
3833
 
 
3834
else
 
3835
 
 
3836
        # default "yes" because when not using an SDK it means the same as no
 
3837
        # but when using an SDK it means to use the SDK version
 
3838
        wxUSE_MACOSX_VERSION_MIN=yes
 
3839
        # See if there is a value in the cache
 
3840
        LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
 
3841
        if test "x$LINE" != x ; then
 
3842
            eval "$LINE"
 
3843
            echo "$LINE" >> ${wx_arg_cache_file}.tmp
 
3844
        fi
 
3845
 
 
3846
fi;
 
3847
echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
 
3848
echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6
 
3849
 
 
3850
 
 
3851
 
 
3852
          enablestring=
 
3853
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
 
3854
echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
 
3855
          no_cache=0
 
3856
          # Check whether --enable-shared or --disable-shared was given.
 
3857
if test "${enable_shared+set}" = set; then
 
3858
  enableval="$enable_shared"
 
3859
 
 
3860
                          if test "$enableval" = yes; then
 
3861
                            wx_cv_use_shared='wxUSE_SHARED=yes'
 
3862
                          else
 
3863
                            wx_cv_use_shared='wxUSE_SHARED=no'
 
3864
                          fi
 
3865
 
 
3866
else
 
3867
 
 
3868
                          LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
 
3869
                          if test "x$LINE" != x ; then
 
3870
                            eval "DEFAULT_$LINE"
 
3871
                          else
 
3872
                            no_cache=1
 
3873
                          fi
 
3874
 
 
3875
                          wx_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
 
3876
 
 
3877
fi;
 
3878
 
 
3879
          eval "$wx_cv_use_shared"
 
3880
          if test "$no_cache" != 1; then
 
3881
            echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
 
3882
          fi
 
3883
 
 
3884
          if test "$wxUSE_SHARED" = yes; then
 
3885
            echo "$as_me:$LINENO: result: yes" >&5
 
3886
echo "${ECHO_T}yes" >&6
 
3887
          else
 
3888
            echo "$as_me:$LINENO: result: no" >&5
 
3889
echo "${ECHO_T}no" >&6
 
3890
          fi
 
3891
 
 
3892
 
 
3893
          enablestring=
 
3894
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
 
3895
echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
 
3896
          no_cache=0
 
3897
          # Check whether --enable-optimise or --disable-optimise was given.
 
3898
if test "${enable_optimise+set}" = set; then
 
3899
  enableval="$enable_optimise"
 
3900
 
 
3901
                          if test "$enableval" = yes; then
 
3902
                            wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
 
3903
                          else
 
3904
                            wx_cv_use_optimise='wxUSE_OPTIMISE=no'
 
3905
                          fi
 
3906
 
 
3907
else
 
3908
 
 
3909
                          LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
 
3910
                          if test "x$LINE" != x ; then
 
3911
                            eval "DEFAULT_$LINE"
 
3912
                          else
 
3913
                            no_cache=1
 
3914
                          fi
 
3915
 
 
3916
                          wx_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
 
3917
 
 
3918
fi;
 
3919
 
 
3920
          eval "$wx_cv_use_optimise"
 
3921
          if test "$no_cache" != 1; then
 
3922
            echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
 
3923
          fi
 
3924
 
 
3925
          if test "$wxUSE_OPTIMISE" = yes; then
 
3926
            echo "$as_me:$LINENO: result: yes" >&5
 
3927
echo "${ECHO_T}yes" >&6
 
3928
          else
 
3929
            echo "$as_me:$LINENO: result: no" >&5
 
3930
echo "${ECHO_T}no" >&6
 
3931
          fi
 
3932
 
 
3933
 
 
3934
          enablestring=
 
3935
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
 
3936
echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
 
3937
          no_cache=0
 
3938
          # Check whether --enable-debug or --disable-debug was given.
 
3939
if test "${enable_debug+set}" = set; then
 
3940
  enableval="$enable_debug"
 
3941
 
 
3942
                          if test "$enableval" = yes; then
 
3943
                            wx_cv_use_debug='wxUSE_DEBUG=yes'
 
3944
                          else
 
3945
                            wx_cv_use_debug='wxUSE_DEBUG=no'
 
3946
                          fi
 
3947
 
 
3948
else
 
3949
 
 
3950
                          LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
 
3951
                          if test "x$LINE" != x ; then
 
3952
                            eval "DEFAULT_$LINE"
 
3953
                          else
 
3954
                            no_cache=1
 
3955
                          fi
 
3956
 
 
3957
                          wx_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
 
3958
 
 
3959
fi;
 
3960
 
 
3961
          eval "$wx_cv_use_debug"
 
3962
          if test "$no_cache" != 1; then
 
3963
            echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
 
3964
          fi
 
3965
 
 
3966
          if test "$wxUSE_DEBUG" = yes; then
 
3967
            echo "$as_me:$LINENO: result: yes" >&5
 
3968
echo "${ECHO_T}yes" >&6
 
3969
          else
 
3970
            echo "$as_me:$LINENO: result: no" >&5
 
3971
echo "${ECHO_T}no" >&6
 
3972
          fi
 
3973
 
 
3974
 
 
3975
          enablestring=
 
3976
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
 
3977
echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
 
3978
          no_cache=0
 
3979
          # Check whether --enable-stl or --disable-stl was given.
 
3980
if test "${enable_stl+set}" = set; then
 
3981
  enableval="$enable_stl"
 
3982
 
 
3983
                          if test "$enableval" = yes; then
 
3984
                            wx_cv_use_stl='wxUSE_STL=yes'
 
3985
                          else
 
3986
                            wx_cv_use_stl='wxUSE_STL=no'
 
3987
                          fi
 
3988
 
 
3989
else
 
3990
 
 
3991
                          LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
 
3992
                          if test "x$LINE" != x ; then
 
3993
                            eval "DEFAULT_$LINE"
 
3994
                          else
 
3995
                            no_cache=1
 
3996
                          fi
 
3997
 
 
3998
                          wx_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
 
3999
 
 
4000
fi;
 
4001
 
 
4002
          eval "$wx_cv_use_stl"
 
4003
          if test "$no_cache" != 1; then
 
4004
            echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
 
4005
          fi
 
4006
 
 
4007
          if test "$wxUSE_STL" = yes; then
 
4008
            echo "$as_me:$LINENO: result: yes" >&5
 
4009
echo "${ECHO_T}yes" >&6
 
4010
          else
 
4011
            echo "$as_me:$LINENO: result: no" >&5
 
4012
echo "${ECHO_T}no" >&6
 
4013
          fi
 
4014
 
 
4015
if test "$USE_OS2" = "1"; then
 
4016
    DEFAULT_wxUSE_OMF=no
 
4017
 
 
4018
          enablestring=
 
4019
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
 
4020
echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
 
4021
          no_cache=0
 
4022
          # Check whether --enable-omf or --disable-omf was given.
 
4023
if test "${enable_omf+set}" = set; then
 
4024
  enableval="$enable_omf"
 
4025
 
 
4026
                          if test "$enableval" = yes; then
 
4027
                            wx_cv_use_omf='wxUSE_OMF=yes'
 
4028
                          else
 
4029
                            wx_cv_use_omf='wxUSE_OMF=no'
 
4030
                          fi
 
4031
 
 
4032
else
 
4033
 
 
4034
                          LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
 
4035
                          if test "x$LINE" != x ; then
 
4036
                            eval "DEFAULT_$LINE"
 
4037
                          else
 
4038
                            no_cache=1
 
4039
                          fi
 
4040
 
 
4041
                          wx_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
 
4042
 
 
4043
fi;
 
4044
 
 
4045
          eval "$wx_cv_use_omf"
 
4046
          if test "$no_cache" != 1; then
 
4047
            echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
 
4048
          fi
 
4049
 
 
4050
          if test "$wxUSE_OMF" = yes; then
 
4051
            echo "$as_me:$LINENO: result: yes" >&5
 
4052
echo "${ECHO_T}yes" >&6
 
4053
          else
 
4054
            echo "$as_me:$LINENO: result: no" >&5
 
4055
echo "${ECHO_T}no" >&6
 
4056
          fi
 
4057
 
 
4058
fi
 
4059
 
 
4060
if test "$wxUSE_DEBUG" = "yes"; then
 
4061
  DEFAULT_wxUSE_DEBUG_FLAG=yes
 
4062
  DEFAULT_wxUSE_DEBUG_INFO=yes
 
4063
  BUILD=debug
 
4064
elif test "$wxUSE_DEBUG" = "no"; then
 
4065
  DEFAULT_wxUSE_DEBUG_FLAG=no
 
4066
  DEFAULT_wxUSE_DEBUG_INFO=no
 
4067
  BUILD=release
 
4068
fi
 
4069
 
 
4070
 
 
4071
          enablestring=
 
4072
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
 
4073
echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
 
4074
          no_cache=0
 
4075
          # Check whether --enable-debug_flag or --disable-debug_flag was given.
 
4076
if test "${enable_debug_flag+set}" = set; then
 
4077
  enableval="$enable_debug_flag"
 
4078
 
 
4079
                          if test "$enableval" = yes; then
 
4080
                            wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
 
4081
                          else
 
4082
                            wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
 
4083
                          fi
 
4084
 
 
4085
else
 
4086
 
 
4087
                          LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
 
4088
                          if test "x$LINE" != x ; then
 
4089
                            eval "DEFAULT_$LINE"
 
4090
                          else
 
4091
                            no_cache=1
 
4092
                          fi
 
4093
 
 
4094
                          wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
 
4095
 
 
4096
fi;
 
4097
 
 
4098
          eval "$wx_cv_use_debug_flag"
 
4099
          if test "$no_cache" != 1; then
 
4100
            echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
 
4101
          fi
 
4102
 
 
4103
          if test "$wxUSE_DEBUG_FLAG" = yes; then
 
4104
            echo "$as_me:$LINENO: result: yes" >&5
 
4105
echo "${ECHO_T}yes" >&6
 
4106
          else
 
4107
            echo "$as_me:$LINENO: result: no" >&5
 
4108
echo "${ECHO_T}no" >&6
 
4109
          fi
 
4110
 
 
4111
 
 
4112
          enablestring=
 
4113
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
 
4114
echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
 
4115
          no_cache=0
 
4116
          # Check whether --enable-debug_info or --disable-debug_info was given.
 
4117
if test "${enable_debug_info+set}" = set; then
 
4118
  enableval="$enable_debug_info"
 
4119
 
 
4120
                          if test "$enableval" = yes; then
 
4121
                            wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
 
4122
                          else
 
4123
                            wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
 
4124
                          fi
 
4125
 
 
4126
else
 
4127
 
 
4128
                          LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
 
4129
                          if test "x$LINE" != x ; then
 
4130
                            eval "DEFAULT_$LINE"
 
4131
                          else
 
4132
                            no_cache=1
 
4133
                          fi
 
4134
 
 
4135
                          wx_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
 
4136
 
 
4137
fi;
 
4138
 
 
4139
          eval "$wx_cv_use_debug_info"
 
4140
          if test "$no_cache" != 1; then
 
4141
            echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
 
4142
          fi
 
4143
 
 
4144
          if test "$wxUSE_DEBUG_INFO" = yes; then
 
4145
            echo "$as_me:$LINENO: result: yes" >&5
 
4146
echo "${ECHO_T}yes" >&6
 
4147
          else
 
4148
            echo "$as_me:$LINENO: result: no" >&5
 
4149
echo "${ECHO_T}no" >&6
 
4150
          fi
 
4151
 
 
4152
 
 
4153
          enablestring=
 
4154
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
 
4155
echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
 
4156
          no_cache=0
 
4157
          # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
 
4158
if test "${enable_debug_gdb+set}" = set; then
 
4159
  enableval="$enable_debug_gdb"
 
4160
 
 
4161
                          if test "$enableval" = yes; then
 
4162
                            wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
 
4163
                          else
 
4164
                            wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
 
4165
                          fi
 
4166
 
 
4167
else
 
4168
 
 
4169
                          LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
 
4170
                          if test "x$LINE" != x ; then
 
4171
                            eval "DEFAULT_$LINE"
 
4172
                          else
 
4173
                            no_cache=1
 
4174
                          fi
 
4175
 
 
4176
                          wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
 
4177
 
 
4178
fi;
 
4179
 
 
4180
          eval "$wx_cv_use_debug_gdb"
 
4181
          if test "$no_cache" != 1; then
 
4182
            echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
 
4183
          fi
 
4184
 
 
4185
          if test "$wxUSE_DEBUG_GDB" = yes; then
 
4186
            echo "$as_me:$LINENO: result: yes" >&5
 
4187
echo "${ECHO_T}yes" >&6
 
4188
          else
 
4189
            echo "$as_me:$LINENO: result: no" >&5
 
4190
echo "${ECHO_T}no" >&6
 
4191
          fi
 
4192
 
 
4193
 
 
4194
          enablestring=
 
4195
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
 
4196
echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
 
4197
          no_cache=0
 
4198
          # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
 
4199
if test "${enable_debug_cntxt+set}" = set; then
 
4200
  enableval="$enable_debug_cntxt"
 
4201
 
 
4202
                          if test "$enableval" = yes; then
 
4203
                            wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
 
4204
                          else
 
4205
                            wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
 
4206
                          fi
 
4207
 
 
4208
else
 
4209
 
 
4210
                          LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
 
4211
                          if test "x$LINE" != x ; then
 
4212
                            eval "DEFAULT_$LINE"
 
4213
                          else
 
4214
                            no_cache=1
 
4215
                          fi
 
4216
 
 
4217
                          wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
 
4218
 
 
4219
fi;
 
4220
 
 
4221
          eval "$wx_cv_use_debug_cntxt"
 
4222
          if test "$no_cache" != 1; then
 
4223
            echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
 
4224
          fi
 
4225
 
 
4226
          if test "$wxUSE_DEBUG_CONTEXT" = yes; then
 
4227
            echo "$as_me:$LINENO: result: yes" >&5
 
4228
echo "${ECHO_T}yes" >&6
 
4229
          else
 
4230
            echo "$as_me:$LINENO: result: no" >&5
 
4231
echo "${ECHO_T}no" >&6
 
4232
          fi
 
4233
 
 
4234
 
 
4235
          enablestring=
 
4236
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
 
4237
echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
 
4238
          no_cache=0
 
4239
          # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
 
4240
if test "${enable_mem_tracing+set}" = set; then
 
4241
  enableval="$enable_mem_tracing"
 
4242
 
 
4243
                          if test "$enableval" = yes; then
 
4244
                            wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
 
4245
                          else
 
4246
                            wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
 
4247
                          fi
 
4248
 
 
4249
else
 
4250
 
 
4251
                          LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
 
4252
                          if test "x$LINE" != x ; then
 
4253
                            eval "DEFAULT_$LINE"
 
4254
                          else
 
4255
                            no_cache=1
 
4256
                          fi
 
4257
 
 
4258
                          wx_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
 
4259
 
 
4260
fi;
 
4261
 
 
4262
          eval "$wx_cv_use_mem_tracing"
 
4263
          if test "$no_cache" != 1; then
 
4264
            echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
 
4265
          fi
 
4266
 
 
4267
          if test "$wxUSE_MEM_TRACING" = yes; then
 
4268
            echo "$as_me:$LINENO: result: yes" >&5
 
4269
echo "${ECHO_T}yes" >&6
 
4270
          else
 
4271
            echo "$as_me:$LINENO: result: no" >&5
 
4272
echo "${ECHO_T}no" >&6
 
4273
          fi
 
4274
 
 
4275
 
 
4276
          enablestring=
 
4277
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
 
4278
echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
 
4279
          no_cache=0
 
4280
          # Check whether --enable-profile or --disable-profile was given.
 
4281
if test "${enable_profile+set}" = set; then
 
4282
  enableval="$enable_profile"
 
4283
 
 
4284
                          if test "$enableval" = yes; then
 
4285
                            wx_cv_use_profile='wxUSE_PROFILE=yes'
 
4286
                          else
 
4287
                            wx_cv_use_profile='wxUSE_PROFILE=no'
 
4288
                          fi
 
4289
 
 
4290
else
 
4291
 
 
4292
                          LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
 
4293
                          if test "x$LINE" != x ; then
 
4294
                            eval "DEFAULT_$LINE"
 
4295
                          else
 
4296
                            no_cache=1
 
4297
                          fi
 
4298
 
 
4299
                          wx_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
 
4300
 
 
4301
fi;
 
4302
 
 
4303
          eval "$wx_cv_use_profile"
 
4304
          if test "$no_cache" != 1; then
 
4305
            echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
 
4306
          fi
 
4307
 
 
4308
          if test "$wxUSE_PROFILE" = yes; then
 
4309
            echo "$as_me:$LINENO: result: yes" >&5
 
4310
echo "${ECHO_T}yes" >&6
 
4311
          else
 
4312
            echo "$as_me:$LINENO: result: no" >&5
 
4313
echo "${ECHO_T}no" >&6
 
4314
          fi
 
4315
 
 
4316
 
 
4317
          enablestring=
 
4318
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
 
4319
echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
 
4320
          no_cache=0
 
4321
          # Check whether --enable-no_rtti or --disable-no_rtti was given.
 
4322
if test "${enable_no_rtti+set}" = set; then
 
4323
  enableval="$enable_no_rtti"
 
4324
 
 
4325
                          if test "$enableval" = yes; then
 
4326
                            wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
 
4327
                          else
 
4328
                            wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
 
4329
                          fi
 
4330
 
 
4331
else
 
4332
 
 
4333
                          LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
 
4334
                          if test "x$LINE" != x ; then
 
4335
                            eval "DEFAULT_$LINE"
 
4336
                          else
 
4337
                            no_cache=1
 
4338
                          fi
 
4339
 
 
4340
                          wx_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
 
4341
 
 
4342
fi;
 
4343
 
 
4344
          eval "$wx_cv_use_no_rtti"
 
4345
          if test "$no_cache" != 1; then
 
4346
            echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
 
4347
          fi
 
4348
 
 
4349
          if test "$wxUSE_NO_RTTI" = yes; then
 
4350
            echo "$as_me:$LINENO: result: yes" >&5
 
4351
echo "${ECHO_T}yes" >&6
 
4352
          else
 
4353
            echo "$as_me:$LINENO: result: no" >&5
 
4354
echo "${ECHO_T}no" >&6
 
4355
          fi
 
4356
 
 
4357
 
 
4358
          enablestring=
 
4359
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
 
4360
echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
 
4361
          no_cache=0
 
4362
          # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
 
4363
if test "${enable_no_exceptions+set}" = set; then
 
4364
  enableval="$enable_no_exceptions"
 
4365
 
 
4366
                          if test "$enableval" = yes; then
 
4367
                            wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
 
4368
                          else
 
4369
                            wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
 
4370
                          fi
 
4371
 
 
4372
else
 
4373
 
 
4374
                          LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
 
4375
                          if test "x$LINE" != x ; then
 
4376
                            eval "DEFAULT_$LINE"
 
4377
                          else
 
4378
                            no_cache=1
 
4379
                          fi
 
4380
 
 
4381
                          wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
 
4382
 
 
4383
fi;
 
4384
 
 
4385
          eval "$wx_cv_use_no_exceptions"
 
4386
          if test "$no_cache" != 1; then
 
4387
            echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
 
4388
          fi
 
4389
 
 
4390
          if test "$wxUSE_NO_EXCEPTIONS" = yes; then
 
4391
            echo "$as_me:$LINENO: result: yes" >&5
 
4392
echo "${ECHO_T}yes" >&6
 
4393
          else
 
4394
            echo "$as_me:$LINENO: result: no" >&5
 
4395
echo "${ECHO_T}no" >&6
 
4396
          fi
 
4397
 
 
4398
 
 
4399
          enablestring=
 
4400
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
 
4401
echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
 
4402
          no_cache=0
 
4403
          # Check whether --enable-permissive or --disable-permissive was given.
 
4404
if test "${enable_permissive+set}" = set; then
 
4405
  enableval="$enable_permissive"
 
4406
 
 
4407
                          if test "$enableval" = yes; then
 
4408
                            wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
 
4409
                          else
 
4410
                            wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
 
4411
                          fi
 
4412
 
 
4413
else
 
4414
 
 
4415
                          LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
 
4416
                          if test "x$LINE" != x ; then
 
4417
                            eval "DEFAULT_$LINE"
 
4418
                          else
 
4419
                            no_cache=1
 
4420
                          fi
 
4421
 
 
4422
                          wx_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
 
4423
 
 
4424
fi;
 
4425
 
 
4426
          eval "$wx_cv_use_permissive"
 
4427
          if test "$no_cache" != 1; then
 
4428
            echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
 
4429
          fi
 
4430
 
 
4431
          if test "$wxUSE_PERMISSIVE" = yes; then
 
4432
            echo "$as_me:$LINENO: result: yes" >&5
 
4433
echo "${ECHO_T}yes" >&6
 
4434
          else
 
4435
            echo "$as_me:$LINENO: result: no" >&5
 
4436
echo "${ECHO_T}no" >&6
 
4437
          fi
 
4438
 
 
4439
 
 
4440
          enablestring=
 
4441
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
 
4442
echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
 
4443
          no_cache=0
 
4444
          # Check whether --enable-no_deps or --disable-no_deps was given.
 
4445
if test "${enable_no_deps+set}" = set; then
 
4446
  enableval="$enable_no_deps"
 
4447
 
 
4448
                          if test "$enableval" = yes; then
 
4449
                            wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
 
4450
                          else
 
4451
                            wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
 
4452
                          fi
 
4453
 
 
4454
else
 
4455
 
 
4456
                          LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
 
4457
                          if test "x$LINE" != x ; then
 
4458
                            eval "DEFAULT_$LINE"
 
4459
                          else
 
4460
                            no_cache=1
 
4461
                          fi
 
4462
 
 
4463
                          wx_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
 
4464
 
 
4465
fi;
 
4466
 
 
4467
          eval "$wx_cv_use_no_deps"
 
4468
          if test "$no_cache" != 1; then
 
4469
            echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
 
4470
          fi
 
4471
 
 
4472
          if test "$wxUSE_NO_DEPS" = yes; then
 
4473
            echo "$as_me:$LINENO: result: yes" >&5
 
4474
echo "${ECHO_T}yes" >&6
 
4475
          else
 
4476
            echo "$as_me:$LINENO: result: no" >&5
 
4477
echo "${ECHO_T}no" >&6
 
4478
          fi
 
4479
 
 
4480
 
 
4481
          enablestring=
 
4482
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
 
4483
echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
 
4484
          no_cache=0
 
4485
          # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
 
4486
if test "${enable_vararg_macros+set}" = set; then
 
4487
  enableval="$enable_vararg_macros"
 
4488
 
 
4489
                          if test "$enableval" = yes; then
 
4490
                            wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
 
4491
                          else
 
4492
                            wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
 
4493
                          fi
 
4494
 
 
4495
else
 
4496
 
 
4497
                          LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
 
4498
                          if test "x$LINE" != x ; then
 
4499
                            eval "DEFAULT_$LINE"
 
4500
                          else
 
4501
                            no_cache=1
 
4502
                          fi
 
4503
 
 
4504
                          wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
 
4505
 
 
4506
fi;
 
4507
 
 
4508
          eval "$wx_cv_use_vararg_macros"
 
4509
          if test "$no_cache" != 1; then
 
4510
            echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
 
4511
          fi
 
4512
 
 
4513
          if test "$wxUSE_VARARG_MACROS" = yes; then
 
4514
            echo "$as_me:$LINENO: result: yes" >&5
 
4515
echo "${ECHO_T}yes" >&6
 
4516
          else
 
4517
            echo "$as_me:$LINENO: result: no" >&5
 
4518
echo "${ECHO_T}no" >&6
 
4519
          fi
 
4520
 
 
4521
 
 
4522
          enablestring=
 
4523
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
 
4524
echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
 
4525
          no_cache=0
 
4526
          # Check whether --enable-universal_binary or --disable-universal_binary was given.
 
4527
if test "${enable_universal_binary+set}" = set; then
 
4528
  enableval="$enable_universal_binary"
 
4529
 
 
4530
                          wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
 
4531
 
 
4532
else
 
4533
 
 
4534
                          LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
 
4535
                          if test "x$LINE" != x ; then
 
4536
                            eval "DEFAULT_$LINE"
 
4537
                            wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
 
4538
                          else
 
4539
                            no_cache=1
 
4540
                            wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
 
4541
                          fi
 
4542
 
 
4543
fi;
 
4544
 
 
4545
          eval "$wx_cv_use_universal_binary"
 
4546
          if test "$no_cache" != 1; then
 
4547
            echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
 
4548
          fi
 
4549
 
 
4550
          echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
 
4551
echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
 
4552
 
 
4553
 
 
4554
 
 
4555
          enablestring=enable
 
4556
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
 
4557
echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
 
4558
          no_cache=0
 
4559
          # Check whether --enable-compat24 or --disable-compat24 was given.
 
4560
if test "${enable_compat24+set}" = set; then
 
4561
  enableval="$enable_compat24"
 
4562
 
 
4563
                          if test "$enableval" = yes; then
 
4564
                            wx_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
 
4565
                          else
 
4566
                            wx_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
 
4567
                          fi
 
4568
 
 
4569
else
 
4570
 
 
4571
                          LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
 
4572
                          if test "x$LINE" != x ; then
 
4573
                            eval "DEFAULT_$LINE"
 
4574
                          else
 
4575
                            no_cache=1
 
4576
                          fi
 
4577
 
 
4578
                          wx_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
 
4579
 
 
4580
fi;
 
4581
 
 
4582
          eval "$wx_cv_use_compat24"
 
4583
          if test "$no_cache" != 1; then
 
4584
            echo $wx_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
 
4585
          fi
 
4586
 
 
4587
          if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
 
4588
            echo "$as_me:$LINENO: result: yes" >&5
 
4589
echo "${ECHO_T}yes" >&6
 
4590
          else
 
4591
            echo "$as_me:$LINENO: result: no" >&5
 
4592
echo "${ECHO_T}no" >&6
 
4593
          fi
 
4594
 
 
4595
 
 
4596
          enablestring=disable
 
4597
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
 
4598
echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
 
4599
          no_cache=0
 
4600
          # Check whether --enable-compat26 or --disable-compat26 was given.
 
4601
if test "${enable_compat26+set}" = set; then
 
4602
  enableval="$enable_compat26"
 
4603
 
 
4604
                          if test "$enableval" = yes; then
 
4605
                            wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
 
4606
                          else
 
4607
                            wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
 
4608
                          fi
 
4609
 
 
4610
else
 
4611
 
 
4612
                          LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
 
4613
                          if test "x$LINE" != x ; then
 
4614
                            eval "DEFAULT_$LINE"
 
4615
                          else
 
4616
                            no_cache=1
 
4617
                          fi
 
4618
 
 
4619
                          wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
 
4620
 
 
4621
fi;
 
4622
 
 
4623
          eval "$wx_cv_use_compat26"
 
4624
          if test "$no_cache" != 1; then
 
4625
            echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
 
4626
          fi
 
4627
 
 
4628
          if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
 
4629
            echo "$as_me:$LINENO: result: yes" >&5
 
4630
echo "${ECHO_T}yes" >&6
 
4631
          else
 
4632
            echo "$as_me:$LINENO: result: no" >&5
 
4633
echo "${ECHO_T}no" >&6
 
4634
          fi
 
4635
 
 
4636
 
 
4637
 
 
4638
          enablestring=
 
4639
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
 
4640
echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
 
4641
          no_cache=0
 
4642
          # Check whether --enable-rpath or --disable-rpath was given.
 
4643
if test "${enable_rpath+set}" = set; then
 
4644
  enableval="$enable_rpath"
 
4645
 
 
4646
                          if test "$enableval" = yes; then
 
4647
                            wx_cv_use_rpath='wxUSE_RPATH=yes'
 
4648
                          else
 
4649
                            wx_cv_use_rpath='wxUSE_RPATH=no'
 
4650
                          fi
 
4651
 
 
4652
else
 
4653
 
 
4654
                          LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
 
4655
                          if test "x$LINE" != x ; then
 
4656
                            eval "DEFAULT_$LINE"
 
4657
                          else
 
4658
                            no_cache=1
 
4659
                          fi
 
4660
 
 
4661
                          wx_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
 
4662
 
 
4663
fi;
 
4664
 
 
4665
          eval "$wx_cv_use_rpath"
 
4666
          if test "$no_cache" != 1; then
 
4667
            echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
 
4668
          fi
 
4669
 
 
4670
          if test "$wxUSE_RPATH" = yes; then
 
4671
            echo "$as_me:$LINENO: result: yes" >&5
 
4672
echo "${ECHO_T}yes" >&6
 
4673
          else
 
4674
            echo "$as_me:$LINENO: result: no" >&5
 
4675
echo "${ECHO_T}no" >&6
 
4676
          fi
 
4677
 
 
4678
 
 
4679
 
 
4680
          enablestring=
 
4681
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
 
4682
echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
 
4683
          no_cache=0
 
4684
          # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
 
4685
if test "${enable_objc_uniquifying+set}" = set; then
 
4686
  enableval="$enable_objc_uniquifying"
 
4687
 
 
4688
                          if test "$enableval" = yes; then
 
4689
                            wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
 
4690
                          else
 
4691
                            wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
 
4692
                          fi
 
4693
 
 
4694
else
 
4695
 
 
4696
                          LINE=`grep "wxUSE_OBJC_UNIQUIFYING" ${wx_arg_cache_file}`
 
4697
                          if test "x$LINE" != x ; then
 
4698
                            eval "DEFAULT_$LINE"
 
4699
                          else
 
4700
                            no_cache=1
 
4701
                          fi
 
4702
 
 
4703
                          wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
 
4704
 
 
4705
fi;
 
4706
 
 
4707
          eval "$wx_cv_use_objc_uniquifying"
 
4708
          if test "$no_cache" != 1; then
 
4709
            echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
 
4710
          fi
 
4711
 
 
4712
          if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
 
4713
            echo "$as_me:$LINENO: result: yes" >&5
 
4714
echo "${ECHO_T}yes" >&6
 
4715
          else
 
4716
            echo "$as_me:$LINENO: result: no" >&5
 
4717
echo "${ECHO_T}no" >&6
 
4718
          fi
 
4719
 
 
4720
 
 
4721
if test "x$wxUSE_SHARED" = "xno"; then
 
4722
    DEFAULT_wxUSE_ABI_INCOMPATIBLE_FEATURES=yes
 
4723
else
 
4724
    DEFAULT_wxUSE_ABI_INCOMPATIBLE_FEATURES=no
 
4725
fi
 
4726
 
 
4727
          enablestring=
 
4728
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-abi-incompatible-features" >&5
 
4729
echo $ECHO_N "checking for --${enablestring:-enable}-abi-incompatible-features... $ECHO_C" >&6
 
4730
          no_cache=0
 
4731
          # Check whether --enable-abi-incompatible-features or --disable-abi-incompatible-features was given.
 
4732
if test "${enable_abi_incompatible_features+set}" = set; then
 
4733
  enableval="$enable_abi_incompatible_features"
 
4734
 
 
4735
                          if test "$enableval" = yes; then
 
4736
                            wx_cv_use_abi_incompatible_features='wxUSE_ABI_INCOMPATIBLE_FEATURES=yes'
 
4737
                          else
 
4738
                            wx_cv_use_abi_incompatible_features='wxUSE_ABI_INCOMPATIBLE_FEATURES=no'
 
4739
                          fi
 
4740
 
 
4741
else
 
4742
 
 
4743
                          LINE=`grep "wxUSE_ABI_INCOMPATIBLE_FEATURES" ${wx_arg_cache_file}`
 
4744
                          if test "x$LINE" != x ; then
 
4745
                            eval "DEFAULT_$LINE"
 
4746
                          else
 
4747
                            no_cache=1
 
4748
                          fi
 
4749
 
 
4750
                          wx_cv_use_abi_incompatible_features='wxUSE_ABI_INCOMPATIBLE_FEATURES='$DEFAULT_wxUSE_ABI_INCOMPATIBLE_FEATURES
 
4751
 
 
4752
fi;
 
4753
 
 
4754
          eval "$wx_cv_use_abi_incompatible_features"
 
4755
          if test "$no_cache" != 1; then
 
4756
            echo $wx_cv_use_abi_incompatible_features >> ${wx_arg_cache_file}.tmp
 
4757
          fi
 
4758
 
 
4759
          if test "$wxUSE_ABI_INCOMPATIBLE_FEATURES" = yes; then
 
4760
            echo "$as_me:$LINENO: result: yes" >&5
 
4761
echo "${ECHO_T}yes" >&6
 
4762
          else
 
4763
            echo "$as_me:$LINENO: result: no" >&5
 
4764
echo "${ECHO_T}no" >&6
 
4765
          fi
 
4766
 
 
4767
 
 
4768
 
 
4769
 
 
4770
          enablestring=
 
4771
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
 
4772
echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
 
4773
          no_cache=0
 
4774
          # Check whether --enable-intl or --disable-intl was given.
 
4775
if test "${enable_intl+set}" = set; then
 
4776
  enableval="$enable_intl"
 
4777
 
 
4778
                          if test "$enableval" = yes; then
 
4779
                            wx_cv_use_intl='wxUSE_INTL=yes'
 
4780
                          else
 
4781
                            wx_cv_use_intl='wxUSE_INTL=no'
 
4782
                          fi
 
4783
 
 
4784
else
 
4785
 
 
4786
                          LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
 
4787
                          if test "x$LINE" != x ; then
 
4788
                            eval "DEFAULT_$LINE"
 
4789
                          else
 
4790
                            no_cache=1
 
4791
                          fi
 
4792
 
 
4793
                          wx_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
 
4794
 
 
4795
fi;
 
4796
 
 
4797
          eval "$wx_cv_use_intl"
 
4798
          if test "$no_cache" != 1; then
 
4799
            echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
 
4800
          fi
 
4801
 
 
4802
          if test "$wxUSE_INTL" = yes; then
 
4803
            echo "$as_me:$LINENO: result: yes" >&5
 
4804
echo "${ECHO_T}yes" >&6
 
4805
          else
 
4806
            echo "$as_me:$LINENO: result: no" >&5
 
4807
echo "${ECHO_T}no" >&6
 
4808
          fi
 
4809
 
 
4810
 
 
4811
          enablestring=
 
4812
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
 
4813
echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
 
4814
          no_cache=0
 
4815
          # Check whether --enable-config or --disable-config was given.
 
4816
if test "${enable_config+set}" = set; then
 
4817
  enableval="$enable_config"
 
4818
 
 
4819
                          if test "$enableval" = yes; then
 
4820
                            wx_cv_use_config='wxUSE_CONFIG=yes'
 
4821
                          else
 
4822
                            wx_cv_use_config='wxUSE_CONFIG=no'
 
4823
                          fi
 
4824
 
 
4825
else
 
4826
 
 
4827
                          LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
 
4828
                          if test "x$LINE" != x ; then
 
4829
                            eval "DEFAULT_$LINE"
 
4830
                          else
 
4831
                            no_cache=1
 
4832
                          fi
 
4833
 
 
4834
                          wx_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
 
4835
 
 
4836
fi;
 
4837
 
 
4838
          eval "$wx_cv_use_config"
 
4839
          if test "$no_cache" != 1; then
 
4840
            echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
 
4841
          fi
 
4842
 
 
4843
          if test "$wxUSE_CONFIG" = yes; then
 
4844
            echo "$as_me:$LINENO: result: yes" >&5
 
4845
echo "${ECHO_T}yes" >&6
 
4846
          else
 
4847
            echo "$as_me:$LINENO: result: no" >&5
 
4848
echo "${ECHO_T}no" >&6
 
4849
          fi
 
4850
 
 
4851
 
 
4852
 
 
4853
          enablestring=
 
4854
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
 
4855
echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
 
4856
          no_cache=0
 
4857
          # Check whether --enable-protocols or --disable-protocols was given.
 
4858
if test "${enable_protocols+set}" = set; then
 
4859
  enableval="$enable_protocols"
 
4860
 
 
4861
                          if test "$enableval" = yes; then
 
4862
                            wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
 
4863
                          else
 
4864
                            wx_cv_use_protocols='wxUSE_PROTOCOL=no'
 
4865
                          fi
 
4866
 
 
4867
else
 
4868
 
 
4869
                          LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
 
4870
                          if test "x$LINE" != x ; then
 
4871
                            eval "DEFAULT_$LINE"
 
4872
                          else
 
4873
                            no_cache=1
 
4874
                          fi
 
4875
 
 
4876
                          wx_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
 
4877
 
 
4878
fi;
 
4879
 
 
4880
          eval "$wx_cv_use_protocols"
 
4881
          if test "$no_cache" != 1; then
 
4882
            echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
 
4883
          fi
 
4884
 
 
4885
          if test "$wxUSE_PROTOCOL" = yes; then
 
4886
            echo "$as_me:$LINENO: result: yes" >&5
 
4887
echo "${ECHO_T}yes" >&6
 
4888
          else
 
4889
            echo "$as_me:$LINENO: result: no" >&5
 
4890
echo "${ECHO_T}no" >&6
 
4891
          fi
 
4892
 
 
4893
 
 
4894
          enablestring=
 
4895
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
 
4896
echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
 
4897
          no_cache=0
 
4898
          # Check whether --enable-ftp or --disable-ftp was given.
 
4899
if test "${enable_ftp+set}" = set; then
 
4900
  enableval="$enable_ftp"
 
4901
 
 
4902
                          if test "$enableval" = yes; then
 
4903
                            wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
 
4904
                          else
 
4905
                            wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
 
4906
                          fi
 
4907
 
 
4908
else
 
4909
 
 
4910
                          LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
 
4911
                          if test "x$LINE" != x ; then
 
4912
                            eval "DEFAULT_$LINE"
 
4913
                          else
 
4914
                            no_cache=1
 
4915
                          fi
 
4916
 
 
4917
                          wx_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
 
4918
 
 
4919
fi;
 
4920
 
 
4921
          eval "$wx_cv_use_ftp"
 
4922
          if test "$no_cache" != 1; then
 
4923
            echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
 
4924
          fi
 
4925
 
 
4926
          if test "$wxUSE_PROTOCOL_FTP" = yes; then
 
4927
            echo "$as_me:$LINENO: result: yes" >&5
 
4928
echo "${ECHO_T}yes" >&6
 
4929
          else
 
4930
            echo "$as_me:$LINENO: result: no" >&5
 
4931
echo "${ECHO_T}no" >&6
 
4932
          fi
 
4933
 
 
4934
 
 
4935
          enablestring=
 
4936
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
 
4937
echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
 
4938
          no_cache=0
 
4939
          # Check whether --enable-http or --disable-http was given.
 
4940
if test "${enable_http+set}" = set; then
 
4941
  enableval="$enable_http"
 
4942
 
 
4943
                          if test "$enableval" = yes; then
 
4944
                            wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
 
4945
                          else
 
4946
                            wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
 
4947
                          fi
 
4948
 
 
4949
else
 
4950
 
 
4951
                          LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
 
4952
                          if test "x$LINE" != x ; then
 
4953
                            eval "DEFAULT_$LINE"
 
4954
                          else
 
4955
                            no_cache=1
 
4956
                          fi
 
4957
 
 
4958
                          wx_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
 
4959
 
 
4960
fi;
 
4961
 
 
4962
          eval "$wx_cv_use_http"
 
4963
          if test "$no_cache" != 1; then
 
4964
            echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
 
4965
          fi
 
4966
 
 
4967
          if test "$wxUSE_PROTOCOL_HTTP" = yes; then
 
4968
            echo "$as_me:$LINENO: result: yes" >&5
 
4969
echo "${ECHO_T}yes" >&6
 
4970
          else
 
4971
            echo "$as_me:$LINENO: result: no" >&5
 
4972
echo "${ECHO_T}no" >&6
 
4973
          fi
 
4974
 
 
4975
 
 
4976
          enablestring=
 
4977
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
 
4978
echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
 
4979
          no_cache=0
 
4980
          # Check whether --enable-fileproto or --disable-fileproto was given.
 
4981
if test "${enable_fileproto+set}" = set; then
 
4982
  enableval="$enable_fileproto"
 
4983
 
 
4984
                          if test "$enableval" = yes; then
 
4985
                            wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
 
4986
                          else
 
4987
                            wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
 
4988
                          fi
 
4989
 
 
4990
else
 
4991
 
 
4992
                          LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
 
4993
                          if test "x$LINE" != x ; then
 
4994
                            eval "DEFAULT_$LINE"
 
4995
                          else
 
4996
                            no_cache=1
 
4997
                          fi
 
4998
 
 
4999
                          wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
 
5000
 
 
5001
fi;
 
5002
 
 
5003
          eval "$wx_cv_use_fileproto"
 
5004
          if test "$no_cache" != 1; then
 
5005
            echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
 
5006
          fi
 
5007
 
 
5008
          if test "$wxUSE_PROTOCOL_FILE" = yes; then
 
5009
            echo "$as_me:$LINENO: result: yes" >&5
 
5010
echo "${ECHO_T}yes" >&6
 
5011
          else
 
5012
            echo "$as_me:$LINENO: result: no" >&5
 
5013
echo "${ECHO_T}no" >&6
 
5014
          fi
 
5015
 
 
5016
 
 
5017
          enablestring=
 
5018
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
 
5019
echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
 
5020
          no_cache=0
 
5021
          # Check whether --enable-sockets or --disable-sockets was given.
 
5022
if test "${enable_sockets+set}" = set; then
 
5023
  enableval="$enable_sockets"
 
5024
 
 
5025
                          if test "$enableval" = yes; then
 
5026
                            wx_cv_use_sockets='wxUSE_SOCKETS=yes'
 
5027
                          else
 
5028
                            wx_cv_use_sockets='wxUSE_SOCKETS=no'
 
5029
                          fi
 
5030
 
 
5031
else
 
5032
 
 
5033
                          LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
 
5034
                          if test "x$LINE" != x ; then
 
5035
                            eval "DEFAULT_$LINE"
 
5036
                          else
 
5037
                            no_cache=1
 
5038
                          fi
 
5039
 
 
5040
                          wx_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
 
5041
 
 
5042
fi;
 
5043
 
 
5044
          eval "$wx_cv_use_sockets"
 
5045
          if test "$no_cache" != 1; then
 
5046
            echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
 
5047
          fi
 
5048
 
 
5049
          if test "$wxUSE_SOCKETS" = yes; then
 
5050
            echo "$as_me:$LINENO: result: yes" >&5
 
5051
echo "${ECHO_T}yes" >&6
 
5052
          else
 
5053
            echo "$as_me:$LINENO: result: no" >&5
 
5054
echo "${ECHO_T}no" >&6
 
5055
          fi
 
5056
 
 
5057
 
 
5058
          enablestring=
 
5059
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
 
5060
echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
 
5061
          no_cache=0
 
5062
          # Check whether --enable-ole or --disable-ole was given.
 
5063
if test "${enable_ole+set}" = set; then
 
5064
  enableval="$enable_ole"
 
5065
 
 
5066
                          if test "$enableval" = yes; then
 
5067
                            wx_cv_use_ole='wxUSE_OLE=yes'
 
5068
                          else
 
5069
                            wx_cv_use_ole='wxUSE_OLE=no'
 
5070
                          fi
 
5071
 
 
5072
else
 
5073
 
 
5074
                          LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
 
5075
                          if test "x$LINE" != x ; then
 
5076
                            eval "DEFAULT_$LINE"
 
5077
                          else
 
5078
                            no_cache=1
 
5079
                          fi
 
5080
 
 
5081
                          wx_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
 
5082
 
 
5083
fi;
 
5084
 
 
5085
          eval "$wx_cv_use_ole"
 
5086
          if test "$no_cache" != 1; then
 
5087
            echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
 
5088
          fi
 
5089
 
 
5090
          if test "$wxUSE_OLE" = yes; then
 
5091
            echo "$as_me:$LINENO: result: yes" >&5
 
5092
echo "${ECHO_T}yes" >&6
 
5093
          else
 
5094
            echo "$as_me:$LINENO: result: no" >&5
 
5095
echo "${ECHO_T}no" >&6
 
5096
          fi
 
5097
 
 
5098
 
 
5099
          enablestring=
 
5100
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
 
5101
echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
 
5102
          no_cache=0
 
5103
          # Check whether --enable-dataobj or --disable-dataobj was given.
 
5104
if test "${enable_dataobj+set}" = set; then
 
5105
  enableval="$enable_dataobj"
 
5106
 
 
5107
                          if test "$enableval" = yes; then
 
5108
                            wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
 
5109
                          else
 
5110
                            wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
 
5111
                          fi
 
5112
 
 
5113
else
 
5114
 
 
5115
                          LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
 
5116
                          if test "x$LINE" != x ; then
 
5117
                            eval "DEFAULT_$LINE"
 
5118
                          else
 
5119
                            no_cache=1
 
5120
                          fi
 
5121
 
 
5122
                          wx_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
 
5123
 
 
5124
fi;
 
5125
 
 
5126
          eval "$wx_cv_use_dataobj"
 
5127
          if test "$no_cache" != 1; then
 
5128
            echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
 
5129
          fi
 
5130
 
 
5131
          if test "$wxUSE_DATAOBJ" = yes; then
 
5132
            echo "$as_me:$LINENO: result: yes" >&5
 
5133
echo "${ECHO_T}yes" >&6
 
5134
          else
 
5135
            echo "$as_me:$LINENO: result: no" >&5
 
5136
echo "${ECHO_T}no" >&6
 
5137
          fi
 
5138
 
 
5139
 
 
5140
 
 
5141
          enablestring=
 
5142
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
 
5143
echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
 
5144
          no_cache=0
 
5145
          # Check whether --enable-ipc or --disable-ipc was given.
 
5146
if test "${enable_ipc+set}" = set; then
 
5147
  enableval="$enable_ipc"
 
5148
 
 
5149
                          if test "$enableval" = yes; then
 
5150
                            wx_cv_use_ipc='wxUSE_IPC=yes'
 
5151
                          else
 
5152
                            wx_cv_use_ipc='wxUSE_IPC=no'
 
5153
                          fi
 
5154
 
 
5155
else
 
5156
 
 
5157
                          LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
 
5158
                          if test "x$LINE" != x ; then
 
5159
                            eval "DEFAULT_$LINE"
 
5160
                          else
 
5161
                            no_cache=1
 
5162
                          fi
 
5163
 
 
5164
                          wx_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
 
5165
 
 
5166
fi;
 
5167
 
 
5168
          eval "$wx_cv_use_ipc"
 
5169
          if test "$no_cache" != 1; then
 
5170
            echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
 
5171
          fi
 
5172
 
 
5173
          if test "$wxUSE_IPC" = yes; then
 
5174
            echo "$as_me:$LINENO: result: yes" >&5
 
5175
echo "${ECHO_T}yes" >&6
 
5176
          else
 
5177
            echo "$as_me:$LINENO: result: no" >&5
 
5178
echo "${ECHO_T}no" >&6
 
5179
          fi
 
5180
 
 
5181
 
 
5182
 
 
5183
          enablestring=
 
5184
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
 
5185
echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
 
5186
          no_cache=0
 
5187
          # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
 
5188
if test "${enable_apple_ieee+set}" = set; then
 
5189
  enableval="$enable_apple_ieee"
 
5190
 
 
5191
                          if test "$enableval" = yes; then
 
5192
                            wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
 
5193
                          else
 
5194
                            wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
 
5195
                          fi
 
5196
 
 
5197
else
 
5198
 
 
5199
                          LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
 
5200
                          if test "x$LINE" != x ; then
 
5201
                            eval "DEFAULT_$LINE"
 
5202
                          else
 
5203
                            no_cache=1
 
5204
                          fi
 
5205
 
 
5206
                          wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
 
5207
 
 
5208
fi;
 
5209
 
 
5210
          eval "$wx_cv_use_apple_ieee"
 
5211
          if test "$no_cache" != 1; then
 
5212
            echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
 
5213
          fi
 
5214
 
 
5215
          if test "$wxUSE_APPLE_IEEE" = yes; then
 
5216
            echo "$as_me:$LINENO: result: yes" >&5
 
5217
echo "${ECHO_T}yes" >&6
 
5218
          else
 
5219
            echo "$as_me:$LINENO: result: no" >&5
 
5220
echo "${ECHO_T}no" >&6
 
5221
          fi
 
5222
 
 
5223
 
 
5224
          enablestring=
 
5225
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
 
5226
echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
 
5227
          no_cache=0
 
5228
          # Check whether --enable-arcstream or --disable-arcstream was given.
 
5229
if test "${enable_arcstream+set}" = set; then
 
5230
  enableval="$enable_arcstream"
 
5231
 
 
5232
                          if test "$enableval" = yes; then
 
5233
                            wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
 
5234
                          else
 
5235
                            wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
 
5236
                          fi
 
5237
 
 
5238
else
 
5239
 
 
5240
                          LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
 
5241
                          if test "x$LINE" != x ; then
 
5242
                            eval "DEFAULT_$LINE"
 
5243
                          else
 
5244
                            no_cache=1
 
5245
                          fi
 
5246
 
 
5247
                          wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
 
5248
 
 
5249
fi;
 
5250
 
 
5251
          eval "$wx_cv_use_arcstream"
 
5252
          if test "$no_cache" != 1; then
 
5253
            echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
 
5254
          fi
 
5255
 
 
5256
          if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
 
5257
            echo "$as_me:$LINENO: result: yes" >&5
 
5258
echo "${ECHO_T}yes" >&6
 
5259
          else
 
5260
            echo "$as_me:$LINENO: result: no" >&5
 
5261
echo "${ECHO_T}no" >&6
 
5262
          fi
 
5263
 
 
5264
 
 
5265
          enablestring=
 
5266
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
 
5267
echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
 
5268
          no_cache=0
 
5269
          # Check whether --enable-backtrace or --disable-backtrace was given.
 
5270
if test "${enable_backtrace+set}" = set; then
 
5271
  enableval="$enable_backtrace"
 
5272
 
 
5273
                          if test "$enableval" = yes; then
 
5274
                            wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
 
5275
                          else
 
5276
                            wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
 
5277
                          fi
 
5278
 
 
5279
else
 
5280
 
 
5281
                          LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
 
5282
                          if test "x$LINE" != x ; then
 
5283
                            eval "DEFAULT_$LINE"
 
5284
                          else
 
5285
                            no_cache=1
 
5286
                          fi
 
5287
 
 
5288
                          wx_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
 
5289
 
 
5290
fi;
 
5291
 
 
5292
          eval "$wx_cv_use_backtrace"
 
5293
          if test "$no_cache" != 1; then
 
5294
            echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
 
5295
          fi
 
5296
 
 
5297
          if test "$wxUSE_STACKWALKER" = yes; then
 
5298
            echo "$as_me:$LINENO: result: yes" >&5
 
5299
echo "${ECHO_T}yes" >&6
 
5300
          else
 
5301
            echo "$as_me:$LINENO: result: no" >&5
 
5302
echo "${ECHO_T}no" >&6
 
5303
          fi
 
5304
 
 
5305
 
 
5306
          enablestring=
 
5307
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
 
5308
echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
 
5309
          no_cache=0
 
5310
          # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
 
5311
if test "${enable_catch_segvs+set}" = set; then
 
5312
  enableval="$enable_catch_segvs"
 
5313
 
 
5314
                          if test "$enableval" = yes; then
 
5315
                            wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
 
5316
                          else
 
5317
                            wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
 
5318
                          fi
 
5319
 
 
5320
else
 
5321
 
 
5322
                          LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
 
5323
                          if test "x$LINE" != x ; then
 
5324
                            eval "DEFAULT_$LINE"
 
5325
                          else
 
5326
                            no_cache=1
 
5327
                          fi
 
5328
 
 
5329
                          wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
 
5330
 
 
5331
fi;
 
5332
 
 
5333
          eval "$wx_cv_use_catch_segvs"
 
5334
          if test "$no_cache" != 1; then
 
5335
            echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
 
5336
          fi
 
5337
 
 
5338
          if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
 
5339
            echo "$as_me:$LINENO: result: yes" >&5
 
5340
echo "${ECHO_T}yes" >&6
 
5341
          else
 
5342
            echo "$as_me:$LINENO: result: no" >&5
 
5343
echo "${ECHO_T}no" >&6
 
5344
          fi
 
5345
 
 
5346
 
 
5347
          enablestring=
 
5348
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
 
5349
echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
 
5350
          no_cache=0
 
5351
          # Check whether --enable-cmdline or --disable-cmdline was given.
 
5352
if test "${enable_cmdline+set}" = set; then
 
5353
  enableval="$enable_cmdline"
 
5354
 
 
5355
                          if test "$enableval" = yes; then
 
5356
                            wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
 
5357
                          else
 
5358
                            wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
 
5359
                          fi
 
5360
 
 
5361
else
 
5362
 
 
5363
                          LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
 
5364
                          if test "x$LINE" != x ; then
 
5365
                            eval "DEFAULT_$LINE"
 
5366
                          else
 
5367
                            no_cache=1
 
5368
                          fi
 
5369
 
 
5370
                          wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
 
5371
 
 
5372
fi;
 
5373
 
 
5374
          eval "$wx_cv_use_cmdline"
 
5375
          if test "$no_cache" != 1; then
 
5376
            echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
 
5377
          fi
 
5378
 
 
5379
          if test "$wxUSE_CMDLINE_PARSER" = yes; then
 
5380
            echo "$as_me:$LINENO: result: yes" >&5
 
5381
echo "${ECHO_T}yes" >&6
 
5382
          else
 
5383
            echo "$as_me:$LINENO: result: no" >&5
 
5384
echo "${ECHO_T}no" >&6
 
5385
          fi
 
5386
 
 
5387
 
 
5388
          enablestring=
 
5389
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
 
5390
echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
 
5391
          no_cache=0
 
5392
          # Check whether --enable-datetime or --disable-datetime was given.
 
5393
if test "${enable_datetime+set}" = set; then
 
5394
  enableval="$enable_datetime"
 
5395
 
 
5396
                          if test "$enableval" = yes; then
 
5397
                            wx_cv_use_datetime='wxUSE_DATETIME=yes'
 
5398
                          else
 
5399
                            wx_cv_use_datetime='wxUSE_DATETIME=no'
 
5400
                          fi
 
5401
 
 
5402
else
 
5403
 
 
5404
                          LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
 
5405
                          if test "x$LINE" != x ; then
 
5406
                            eval "DEFAULT_$LINE"
 
5407
                          else
 
5408
                            no_cache=1
 
5409
                          fi
 
5410
 
 
5411
                          wx_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
 
5412
 
 
5413
fi;
 
5414
 
 
5415
          eval "$wx_cv_use_datetime"
 
5416
          if test "$no_cache" != 1; then
 
5417
            echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
 
5418
          fi
 
5419
 
 
5420
          if test "$wxUSE_DATETIME" = yes; then
 
5421
            echo "$as_me:$LINENO: result: yes" >&5
 
5422
echo "${ECHO_T}yes" >&6
 
5423
          else
 
5424
            echo "$as_me:$LINENO: result: no" >&5
 
5425
echo "${ECHO_T}no" >&6
 
5426
          fi
 
5427
 
 
5428
 
 
5429
          enablestring=
 
5430
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
 
5431
echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
 
5432
          no_cache=0
 
5433
          # Check whether --enable-debugreport or --disable-debugreport was given.
 
5434
if test "${enable_debugreport+set}" = set; then
 
5435
  enableval="$enable_debugreport"
 
5436
 
 
5437
                          if test "$enableval" = yes; then
 
5438
                            wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
 
5439
                          else
 
5440
                            wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
 
5441
                          fi
 
5442
 
 
5443
else
 
5444
 
 
5445
                          LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
 
5446
                          if test "x$LINE" != x ; then
 
5447
                            eval "DEFAULT_$LINE"
 
5448
                          else
 
5449
                            no_cache=1
 
5450
                          fi
 
5451
 
 
5452
                          wx_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
 
5453
 
 
5454
fi;
 
5455
 
 
5456
          eval "$wx_cv_use_debugreport"
 
5457
          if test "$no_cache" != 1; then
 
5458
            echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
 
5459
          fi
 
5460
 
 
5461
          if test "$wxUSE_DEBUGREPORT" = yes; then
 
5462
            echo "$as_me:$LINENO: result: yes" >&5
 
5463
echo "${ECHO_T}yes" >&6
 
5464
          else
 
5465
            echo "$as_me:$LINENO: result: no" >&5
 
5466
echo "${ECHO_T}no" >&6
 
5467
          fi
 
5468
 
 
5469
 
 
5470
          enablestring=
 
5471
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
 
5472
echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
 
5473
          no_cache=0
 
5474
          # Check whether --enable-dialupman or --disable-dialupman was given.
 
5475
if test "${enable_dialupman+set}" = set; then
 
5476
  enableval="$enable_dialupman"
 
5477
 
 
5478
                          if test "$enableval" = yes; then
 
5479
                            wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
 
5480
                          else
 
5481
                            wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
 
5482
                          fi
 
5483
 
 
5484
else
 
5485
 
 
5486
                          LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
 
5487
                          if test "x$LINE" != x ; then
 
5488
                            eval "DEFAULT_$LINE"
 
5489
                          else
 
5490
                            no_cache=1
 
5491
                          fi
 
5492
 
 
5493
                          wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
 
5494
 
 
5495
fi;
 
5496
 
 
5497
          eval "$wx_cv_use_dialupman"
 
5498
          if test "$no_cache" != 1; then
 
5499
            echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
 
5500
          fi
 
5501
 
 
5502
          if test "$wxUSE_DIALUP_MANAGER" = yes; then
 
5503
            echo "$as_me:$LINENO: result: yes" >&5
 
5504
echo "${ECHO_T}yes" >&6
 
5505
          else
 
5506
            echo "$as_me:$LINENO: result: no" >&5
 
5507
echo "${ECHO_T}no" >&6
 
5508
          fi
 
5509
 
 
5510
 
 
5511
          enablestring=
 
5512
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
 
5513
echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
 
5514
          no_cache=0
 
5515
          # Check whether --enable-dynlib or --disable-dynlib was given.
 
5516
if test "${enable_dynlib+set}" = set; then
 
5517
  enableval="$enable_dynlib"
 
5518
 
 
5519
                          if test "$enableval" = yes; then
 
5520
                            wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
 
5521
                          else
 
5522
                            wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
 
5523
                          fi
 
5524
 
 
5525
else
 
5526
 
 
5527
                          LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
 
5528
                          if test "x$LINE" != x ; then
 
5529
                            eval "DEFAULT_$LINE"
 
5530
                          else
 
5531
                            no_cache=1
 
5532
                          fi
 
5533
 
 
5534
                          wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
 
5535
 
 
5536
fi;
 
5537
 
 
5538
          eval "$wx_cv_use_dynlib"
 
5539
          if test "$no_cache" != 1; then
 
5540
            echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
 
5541
          fi
 
5542
 
 
5543
          if test "$wxUSE_DYNLIB_CLASS" = yes; then
 
5544
            echo "$as_me:$LINENO: result: yes" >&5
 
5545
echo "${ECHO_T}yes" >&6
 
5546
          else
 
5547
            echo "$as_me:$LINENO: result: no" >&5
 
5548
echo "${ECHO_T}no" >&6
 
5549
          fi
 
5550
 
 
5551
 
 
5552
          enablestring=
 
5553
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
 
5554
echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
 
5555
          no_cache=0
 
5556
          # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
 
5557
if test "${enable_dynamicloader+set}" = set; then
 
5558
  enableval="$enable_dynamicloader"
 
5559
 
 
5560
                          if test "$enableval" = yes; then
 
5561
                            wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
 
5562
                          else
 
5563
                            wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
 
5564
                          fi
 
5565
 
 
5566
else
 
5567
 
 
5568
                          LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
 
5569
                          if test "x$LINE" != x ; then
 
5570
                            eval "DEFAULT_$LINE"
 
5571
                          else
 
5572
                            no_cache=1
 
5573
                          fi
 
5574
 
 
5575
                          wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
 
5576
 
 
5577
fi;
 
5578
 
 
5579
          eval "$wx_cv_use_dynamicloader"
 
5580
          if test "$no_cache" != 1; then
 
5581
            echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
 
5582
          fi
 
5583
 
 
5584
          if test "$wxUSE_DYNAMIC_LOADER" = yes; then
 
5585
            echo "$as_me:$LINENO: result: yes" >&5
 
5586
echo "${ECHO_T}yes" >&6
 
5587
          else
 
5588
            echo "$as_me:$LINENO: result: no" >&5
 
5589
echo "${ECHO_T}no" >&6
 
5590
          fi
 
5591
 
 
5592
 
 
5593
          enablestring=
 
5594
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
 
5595
echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
 
5596
          no_cache=0
 
5597
          # Check whether --enable-exceptions or --disable-exceptions was given.
 
5598
if test "${enable_exceptions+set}" = set; then
 
5599
  enableval="$enable_exceptions"
 
5600
 
 
5601
                          if test "$enableval" = yes; then
 
5602
                            wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
 
5603
                          else
 
5604
                            wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
 
5605
                          fi
 
5606
 
 
5607
else
 
5608
 
 
5609
                          LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
 
5610
                          if test "x$LINE" != x ; then
 
5611
                            eval "DEFAULT_$LINE"
 
5612
                          else
 
5613
                            no_cache=1
 
5614
                          fi
 
5615
 
 
5616
                          wx_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
 
5617
 
 
5618
fi;
 
5619
 
 
5620
          eval "$wx_cv_use_exceptions"
 
5621
          if test "$no_cache" != 1; then
 
5622
            echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
 
5623
          fi
 
5624
 
 
5625
          if test "$wxUSE_EXCEPTIONS" = yes; then
 
5626
            echo "$as_me:$LINENO: result: yes" >&5
 
5627
echo "${ECHO_T}yes" >&6
 
5628
          else
 
5629
            echo "$as_me:$LINENO: result: no" >&5
 
5630
echo "${ECHO_T}no" >&6
 
5631
          fi
 
5632
 
 
5633
 
 
5634
          enablestring=
 
5635
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
 
5636
echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
 
5637
          no_cache=0
 
5638
          # Check whether --enable-ffile or --disable-ffile was given.
 
5639
if test "${enable_ffile+set}" = set; then
 
5640
  enableval="$enable_ffile"
 
5641
 
 
5642
                          if test "$enableval" = yes; then
 
5643
                            wx_cv_use_ffile='wxUSE_FFILE=yes'
 
5644
                          else
 
5645
                            wx_cv_use_ffile='wxUSE_FFILE=no'
 
5646
                          fi
 
5647
 
 
5648
else
 
5649
 
 
5650
                          LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
 
5651
                          if test "x$LINE" != x ; then
 
5652
                            eval "DEFAULT_$LINE"
 
5653
                          else
 
5654
                            no_cache=1
 
5655
                          fi
 
5656
 
 
5657
                          wx_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
 
5658
 
 
5659
fi;
 
5660
 
 
5661
          eval "$wx_cv_use_ffile"
 
5662
          if test "$no_cache" != 1; then
 
5663
            echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
 
5664
          fi
 
5665
 
 
5666
          if test "$wxUSE_FFILE" = yes; then
 
5667
            echo "$as_me:$LINENO: result: yes" >&5
 
5668
echo "${ECHO_T}yes" >&6
 
5669
          else
 
5670
            echo "$as_me:$LINENO: result: no" >&5
 
5671
echo "${ECHO_T}no" >&6
 
5672
          fi
 
5673
 
 
5674
 
 
5675
          enablestring=
 
5676
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
 
5677
echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
 
5678
          no_cache=0
 
5679
          # Check whether --enable-file or --disable-file was given.
 
5680
if test "${enable_file+set}" = set; then
 
5681
  enableval="$enable_file"
 
5682
 
 
5683
                          if test "$enableval" = yes; then
 
5684
                            wx_cv_use_file='wxUSE_FILE=yes'
 
5685
                          else
 
5686
                            wx_cv_use_file='wxUSE_FILE=no'
 
5687
                          fi
 
5688
 
 
5689
else
 
5690
 
 
5691
                          LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
 
5692
                          if test "x$LINE" != x ; then
 
5693
                            eval "DEFAULT_$LINE"
 
5694
                          else
 
5695
                            no_cache=1
 
5696
                          fi
 
5697
 
 
5698
                          wx_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
 
5699
 
 
5700
fi;
 
5701
 
 
5702
          eval "$wx_cv_use_file"
 
5703
          if test "$no_cache" != 1; then
 
5704
            echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
 
5705
          fi
 
5706
 
 
5707
          if test "$wxUSE_FILE" = yes; then
 
5708
            echo "$as_me:$LINENO: result: yes" >&5
 
5709
echo "${ECHO_T}yes" >&6
 
5710
          else
 
5711
            echo "$as_me:$LINENO: result: no" >&5
 
5712
echo "${ECHO_T}no" >&6
 
5713
          fi
 
5714
 
 
5715
 
 
5716
          enablestring=
 
5717
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
 
5718
echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
 
5719
          no_cache=0
 
5720
          # Check whether --enable-filesystem or --disable-filesystem was given.
 
5721
if test "${enable_filesystem+set}" = set; then
 
5722
  enableval="$enable_filesystem"
 
5723
 
 
5724
                          if test "$enableval" = yes; then
 
5725
                            wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
 
5726
                          else
 
5727
                            wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
 
5728
                          fi
 
5729
 
 
5730
else
 
5731
 
 
5732
                          LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
 
5733
                          if test "x$LINE" != x ; then
 
5734
                            eval "DEFAULT_$LINE"
 
5735
                          else
 
5736
                            no_cache=1
 
5737
                          fi
 
5738
 
 
5739
                          wx_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
 
5740
 
 
5741
fi;
 
5742
 
 
5743
          eval "$wx_cv_use_filesystem"
 
5744
          if test "$no_cache" != 1; then
 
5745
            echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
 
5746
          fi
 
5747
 
 
5748
          if test "$wxUSE_FILESYSTEM" = yes; then
 
5749
            echo "$as_me:$LINENO: result: yes" >&5
 
5750
echo "${ECHO_T}yes" >&6
 
5751
          else
 
5752
            echo "$as_me:$LINENO: result: no" >&5
 
5753
echo "${ECHO_T}no" >&6
 
5754
          fi
 
5755
 
 
5756
 
 
5757
          enablestring=
 
5758
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
 
5759
echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
 
5760
          no_cache=0
 
5761
          # Check whether --enable-fontmap or --disable-fontmap was given.
 
5762
if test "${enable_fontmap+set}" = set; then
 
5763
  enableval="$enable_fontmap"
 
5764
 
 
5765
                          if test "$enableval" = yes; then
 
5766
                            wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
 
5767
                          else
 
5768
                            wx_cv_use_fontmap='wxUSE_FONTMAP=no'
 
5769
                          fi
 
5770
 
 
5771
else
 
5772
 
 
5773
                          LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
 
5774
                          if test "x$LINE" != x ; then
 
5775
                            eval "DEFAULT_$LINE"
 
5776
                          else
 
5777
                            no_cache=1
 
5778
                          fi
 
5779
 
 
5780
                          wx_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
 
5781
 
 
5782
fi;
 
5783
 
 
5784
          eval "$wx_cv_use_fontmap"
 
5785
          if test "$no_cache" != 1; then
 
5786
            echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
 
5787
          fi
 
5788
 
 
5789
          if test "$wxUSE_FONTMAP" = yes; then
 
5790
            echo "$as_me:$LINENO: result: yes" >&5
 
5791
echo "${ECHO_T}yes" >&6
 
5792
          else
 
5793
            echo "$as_me:$LINENO: result: no" >&5
 
5794
echo "${ECHO_T}no" >&6
 
5795
          fi
 
5796
 
 
5797
 
 
5798
          enablestring=
 
5799
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
 
5800
echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
 
5801
          no_cache=0
 
5802
          # Check whether --enable-fs_archive or --disable-fs_archive was given.
 
5803
if test "${enable_fs_archive+set}" = set; then
 
5804
  enableval="$enable_fs_archive"
 
5805
 
 
5806
                          if test "$enableval" = yes; then
 
5807
                            wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
 
5808
                          else
 
5809
                            wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
 
5810
                          fi
 
5811
 
 
5812
else
 
5813
 
 
5814
                          LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
 
5815
                          if test "x$LINE" != x ; then
 
5816
                            eval "DEFAULT_$LINE"
 
5817
                          else
 
5818
                            no_cache=1
 
5819
                          fi
 
5820
 
 
5821
                          wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
 
5822
 
 
5823
fi;
 
5824
 
 
5825
          eval "$wx_cv_use_fs_archive"
 
5826
          if test "$no_cache" != 1; then
 
5827
            echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
 
5828
          fi
 
5829
 
 
5830
          if test "$wxUSE_FS_ARCHIVE" = yes; then
 
5831
            echo "$as_me:$LINENO: result: yes" >&5
 
5832
echo "${ECHO_T}yes" >&6
 
5833
          else
 
5834
            echo "$as_me:$LINENO: result: no" >&5
 
5835
echo "${ECHO_T}no" >&6
 
5836
          fi
 
5837
 
 
5838
 
 
5839
          enablestring=
 
5840
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
 
5841
echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
 
5842
          no_cache=0
 
5843
          # Check whether --enable-fs_inet or --disable-fs_inet was given.
 
5844
if test "${enable_fs_inet+set}" = set; then
 
5845
  enableval="$enable_fs_inet"
 
5846
 
 
5847
                          if test "$enableval" = yes; then
 
5848
                            wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
 
5849
                          else
 
5850
                            wx_cv_use_fs_inet='wxUSE_FS_INET=no'
 
5851
                          fi
 
5852
 
 
5853
else
 
5854
 
 
5855
                          LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
 
5856
                          if test "x$LINE" != x ; then
 
5857
                            eval "DEFAULT_$LINE"
 
5858
                          else
 
5859
                            no_cache=1
 
5860
                          fi
 
5861
 
 
5862
                          wx_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
 
5863
 
 
5864
fi;
 
5865
 
 
5866
          eval "$wx_cv_use_fs_inet"
 
5867
          if test "$no_cache" != 1; then
 
5868
            echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
 
5869
          fi
 
5870
 
 
5871
          if test "$wxUSE_FS_INET" = yes; then
 
5872
            echo "$as_me:$LINENO: result: yes" >&5
 
5873
echo "${ECHO_T}yes" >&6
 
5874
          else
 
5875
            echo "$as_me:$LINENO: result: no" >&5
 
5876
echo "${ECHO_T}no" >&6
 
5877
          fi
 
5878
 
 
5879
 
 
5880
          enablestring=
 
5881
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
 
5882
echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
 
5883
          no_cache=0
 
5884
          # Check whether --enable-fs_zip or --disable-fs_zip was given.
 
5885
if test "${enable_fs_zip+set}" = set; then
 
5886
  enableval="$enable_fs_zip"
 
5887
 
 
5888
                          if test "$enableval" = yes; then
 
5889
                            wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
 
5890
                          else
 
5891
                            wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
 
5892
                          fi
 
5893
 
 
5894
else
 
5895
 
 
5896
                          LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
 
5897
                          if test "x$LINE" != x ; then
 
5898
                            eval "DEFAULT_$LINE"
 
5899
                          else
 
5900
                            no_cache=1
 
5901
                          fi
 
5902
 
 
5903
                          wx_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
 
5904
 
 
5905
fi;
 
5906
 
 
5907
          eval "$wx_cv_use_fs_zip"
 
5908
          if test "$no_cache" != 1; then
 
5909
            echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
 
5910
          fi
 
5911
 
 
5912
          if test "$wxUSE_FS_ZIP" = yes; then
 
5913
            echo "$as_me:$LINENO: result: yes" >&5
 
5914
echo "${ECHO_T}yes" >&6
 
5915
          else
 
5916
            echo "$as_me:$LINENO: result: no" >&5
 
5917
echo "${ECHO_T}no" >&6
 
5918
          fi
 
5919
 
 
5920
 
 
5921
          enablestring=
 
5922
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
 
5923
echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
 
5924
          no_cache=0
 
5925
          # Check whether --enable-geometry or --disable-geometry was given.
 
5926
if test "${enable_geometry+set}" = set; then
 
5927
  enableval="$enable_geometry"
 
5928
 
 
5929
                          if test "$enableval" = yes; then
 
5930
                            wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
 
5931
                          else
 
5932
                            wx_cv_use_geometry='wxUSE_GEOMETRY=no'
 
5933
                          fi
 
5934
 
 
5935
else
 
5936
 
 
5937
                          LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
 
5938
                          if test "x$LINE" != x ; then
 
5939
                            eval "DEFAULT_$LINE"
 
5940
                          else
 
5941
                            no_cache=1
 
5942
                          fi
 
5943
 
 
5944
                          wx_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
 
5945
 
 
5946
fi;
 
5947
 
 
5948
          eval "$wx_cv_use_geometry"
 
5949
          if test "$no_cache" != 1; then
 
5950
            echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
 
5951
          fi
 
5952
 
 
5953
          if test "$wxUSE_GEOMETRY" = yes; then
 
5954
            echo "$as_me:$LINENO: result: yes" >&5
 
5955
echo "${ECHO_T}yes" >&6
 
5956
          else
 
5957
            echo "$as_me:$LINENO: result: no" >&5
 
5958
echo "${ECHO_T}no" >&6
 
5959
          fi
 
5960
 
 
5961
 
 
5962
          enablestring=
 
5963
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
 
5964
echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
 
5965
          no_cache=0
 
5966
          # Check whether --enable-log or --disable-log was given.
 
5967
if test "${enable_log+set}" = set; then
 
5968
  enableval="$enable_log"
 
5969
 
 
5970
                          if test "$enableval" = yes; then
 
5971
                            wx_cv_use_log='wxUSE_LOG=yes'
 
5972
                          else
 
5973
                            wx_cv_use_log='wxUSE_LOG=no'
 
5974
                          fi
 
5975
 
 
5976
else
 
5977
 
 
5978
                          LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
 
5979
                          if test "x$LINE" != x ; then
 
5980
                            eval "DEFAULT_$LINE"
 
5981
                          else
 
5982
                            no_cache=1
 
5983
                          fi
 
5984
 
 
5985
                          wx_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
 
5986
 
 
5987
fi;
 
5988
 
 
5989
          eval "$wx_cv_use_log"
 
5990
          if test "$no_cache" != 1; then
 
5991
            echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
 
5992
          fi
 
5993
 
 
5994
          if test "$wxUSE_LOG" = yes; then
 
5995
            echo "$as_me:$LINENO: result: yes" >&5
 
5996
echo "${ECHO_T}yes" >&6
 
5997
          else
 
5998
            echo "$as_me:$LINENO: result: no" >&5
 
5999
echo "${ECHO_T}no" >&6
 
6000
          fi
 
6001
 
 
6002
 
 
6003
          enablestring=
 
6004
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
 
6005
echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
 
6006
          no_cache=0
 
6007
          # Check whether --enable-longlong or --disable-longlong was given.
 
6008
if test "${enable_longlong+set}" = set; then
 
6009
  enableval="$enable_longlong"
 
6010
 
 
6011
                          if test "$enableval" = yes; then
 
6012
                            wx_cv_use_longlong='wxUSE_LONGLONG=yes'
 
6013
                          else
 
6014
                            wx_cv_use_longlong='wxUSE_LONGLONG=no'
 
6015
                          fi
 
6016
 
 
6017
else
 
6018
 
 
6019
                          LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
 
6020
                          if test "x$LINE" != x ; then
 
6021
                            eval "DEFAULT_$LINE"
 
6022
                          else
 
6023
                            no_cache=1
 
6024
                          fi
 
6025
 
 
6026
                          wx_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
 
6027
 
 
6028
fi;
 
6029
 
 
6030
          eval "$wx_cv_use_longlong"
 
6031
          if test "$no_cache" != 1; then
 
6032
            echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
 
6033
          fi
 
6034
 
 
6035
          if test "$wxUSE_LONGLONG" = yes; then
 
6036
            echo "$as_me:$LINENO: result: yes" >&5
 
6037
echo "${ECHO_T}yes" >&6
 
6038
          else
 
6039
            echo "$as_me:$LINENO: result: no" >&5
 
6040
echo "${ECHO_T}no" >&6
 
6041
          fi
 
6042
 
 
6043
 
 
6044
          enablestring=
 
6045
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
 
6046
echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
 
6047
          no_cache=0
 
6048
          # Check whether --enable-mimetype or --disable-mimetype was given.
 
6049
if test "${enable_mimetype+set}" = set; then
 
6050
  enableval="$enable_mimetype"
 
6051
 
 
6052
                          if test "$enableval" = yes; then
 
6053
                            wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
 
6054
                          else
 
6055
                            wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
 
6056
                          fi
 
6057
 
 
6058
else
 
6059
 
 
6060
                          LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
 
6061
                          if test "x$LINE" != x ; then
 
6062
                            eval "DEFAULT_$LINE"
 
6063
                          else
 
6064
                            no_cache=1
 
6065
                          fi
 
6066
 
 
6067
                          wx_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
 
6068
 
 
6069
fi;
 
6070
 
 
6071
          eval "$wx_cv_use_mimetype"
 
6072
          if test "$no_cache" != 1; then
 
6073
            echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
 
6074
          fi
 
6075
 
 
6076
          if test "$wxUSE_MIMETYPE" = yes; then
 
6077
            echo "$as_me:$LINENO: result: yes" >&5
 
6078
echo "${ECHO_T}yes" >&6
 
6079
          else
 
6080
            echo "$as_me:$LINENO: result: no" >&5
 
6081
echo "${ECHO_T}no" >&6
 
6082
          fi
 
6083
 
 
6084
 
 
6085
          enablestring=
 
6086
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
 
6087
echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
 
6088
          no_cache=0
 
6089
          # Check whether --enable-mslu or --disable-mslu was given.
 
6090
if test "${enable_mslu+set}" = set; then
 
6091
  enableval="$enable_mslu"
 
6092
 
 
6093
                          if test "$enableval" = yes; then
 
6094
                            wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
 
6095
                          else
 
6096
                            wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
 
6097
                          fi
 
6098
 
 
6099
else
 
6100
 
 
6101
                          LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
 
6102
                          if test "x$LINE" != x ; then
 
6103
                            eval "DEFAULT_$LINE"
 
6104
                          else
 
6105
                            no_cache=1
 
6106
                          fi
 
6107
 
 
6108
                          wx_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
 
6109
 
 
6110
fi;
 
6111
 
 
6112
          eval "$wx_cv_use_mslu"
 
6113
          if test "$no_cache" != 1; then
 
6114
            echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
 
6115
          fi
 
6116
 
 
6117
          if test "$wxUSE_UNICODE_MSLU" = yes; then
 
6118
            echo "$as_me:$LINENO: result: yes" >&5
 
6119
echo "${ECHO_T}yes" >&6
 
6120
          else
 
6121
            echo "$as_me:$LINENO: result: no" >&5
 
6122
echo "${ECHO_T}no" >&6
 
6123
          fi
 
6124
 
 
6125
 
 
6126
          enablestring=
 
6127
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
 
6128
echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
 
6129
          no_cache=0
 
6130
          # Check whether --enable-snglinst or --disable-snglinst was given.
 
6131
if test "${enable_snglinst+set}" = set; then
 
6132
  enableval="$enable_snglinst"
 
6133
 
 
6134
                          if test "$enableval" = yes; then
 
6135
                            wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
 
6136
                          else
 
6137
                            wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
 
6138
                          fi
 
6139
 
 
6140
else
 
6141
 
 
6142
                          LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
 
6143
                          if test "x$LINE" != x ; then
 
6144
                            eval "DEFAULT_$LINE"
 
6145
                          else
 
6146
                            no_cache=1
 
6147
                          fi
 
6148
 
 
6149
                          wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
 
6150
 
 
6151
fi;
 
6152
 
 
6153
          eval "$wx_cv_use_snglinst"
 
6154
          if test "$no_cache" != 1; then
 
6155
            echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
 
6156
          fi
 
6157
 
 
6158
          if test "$wxUSE_SNGLINST_CHECKER" = yes; then
 
6159
            echo "$as_me:$LINENO: result: yes" >&5
 
6160
echo "${ECHO_T}yes" >&6
 
6161
          else
 
6162
            echo "$as_me:$LINENO: result: no" >&5
 
6163
echo "${ECHO_T}no" >&6
 
6164
          fi
 
6165
 
 
6166
 
 
6167
          enablestring=
 
6168
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
 
6169
echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
 
6170
          no_cache=0
 
6171
          # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
 
6172
if test "${enable_std_iostreams+set}" = set; then
 
6173
  enableval="$enable_std_iostreams"
 
6174
 
 
6175
                          if test "$enableval" = yes; then
 
6176
                            wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
 
6177
                          else
 
6178
                            wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
 
6179
                          fi
 
6180
 
 
6181
else
 
6182
 
 
6183
                          LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
 
6184
                          if test "x$LINE" != x ; then
 
6185
                            eval "DEFAULT_$LINE"
 
6186
                          else
 
6187
                            no_cache=1
 
6188
                          fi
 
6189
 
 
6190
                          wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
 
6191
 
 
6192
fi;
 
6193
 
 
6194
          eval "$wx_cv_use_std_iostreams"
 
6195
          if test "$no_cache" != 1; then
 
6196
            echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
 
6197
          fi
 
6198
 
 
6199
          if test "$wxUSE_STD_IOSTREAM" = yes; then
 
6200
            echo "$as_me:$LINENO: result: yes" >&5
 
6201
echo "${ECHO_T}yes" >&6
 
6202
          else
 
6203
            echo "$as_me:$LINENO: result: no" >&5
 
6204
echo "${ECHO_T}no" >&6
 
6205
          fi
 
6206
 
 
6207
 
 
6208
          enablestring=
 
6209
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
 
6210
echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
 
6211
          no_cache=0
 
6212
          # Check whether --enable-std_string or --disable-std_string was given.
 
6213
if test "${enable_std_string+set}" = set; then
 
6214
  enableval="$enable_std_string"
 
6215
 
 
6216
                          if test "$enableval" = yes; then
 
6217
                            wx_cv_use_std_string='wxUSE_STD_STRING=yes'
 
6218
                          else
 
6219
                            wx_cv_use_std_string='wxUSE_STD_STRING=no'
 
6220
                          fi
 
6221
 
 
6222
else
 
6223
 
 
6224
                          LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
 
6225
                          if test "x$LINE" != x ; then
 
6226
                            eval "DEFAULT_$LINE"
 
6227
                          else
 
6228
                            no_cache=1
 
6229
                          fi
 
6230
 
 
6231
                          wx_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
 
6232
 
 
6233
fi;
 
6234
 
 
6235
          eval "$wx_cv_use_std_string"
 
6236
          if test "$no_cache" != 1; then
 
6237
            echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
 
6238
          fi
 
6239
 
 
6240
          if test "$wxUSE_STD_STRING" = yes; then
 
6241
            echo "$as_me:$LINENO: result: yes" >&5
 
6242
echo "${ECHO_T}yes" >&6
 
6243
          else
 
6244
            echo "$as_me:$LINENO: result: no" >&5
 
6245
echo "${ECHO_T}no" >&6
 
6246
          fi
 
6247
 
 
6248
 
 
6249
          enablestring=
 
6250
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
 
6251
echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
 
6252
          no_cache=0
 
6253
          # Check whether --enable-stdpaths or --disable-stdpaths was given.
 
6254
if test "${enable_stdpaths+set}" = set; then
 
6255
  enableval="$enable_stdpaths"
 
6256
 
 
6257
                          if test "$enableval" = yes; then
 
6258
                            wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
 
6259
                          else
 
6260
                            wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
 
6261
                          fi
 
6262
 
 
6263
else
 
6264
 
 
6265
                          LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
 
6266
                          if test "x$LINE" != x ; then
 
6267
                            eval "DEFAULT_$LINE"
 
6268
                          else
 
6269
                            no_cache=1
 
6270
                          fi
 
6271
 
 
6272
                          wx_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
 
6273
 
 
6274
fi;
 
6275
 
 
6276
          eval "$wx_cv_use_stdpaths"
 
6277
          if test "$no_cache" != 1; then
 
6278
            echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
 
6279
          fi
 
6280
 
 
6281
          if test "$wxUSE_STDPATHS" = yes; then
 
6282
            echo "$as_me:$LINENO: result: yes" >&5
 
6283
echo "${ECHO_T}yes" >&6
 
6284
          else
 
6285
            echo "$as_me:$LINENO: result: no" >&5
 
6286
echo "${ECHO_T}no" >&6
 
6287
          fi
 
6288
 
 
6289
 
 
6290
          enablestring=
 
6291
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
 
6292
echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
 
6293
          no_cache=0
 
6294
          # Check whether --enable-stopwatch or --disable-stopwatch was given.
 
6295
if test "${enable_stopwatch+set}" = set; then
 
6296
  enableval="$enable_stopwatch"
 
6297
 
 
6298
                          if test "$enableval" = yes; then
 
6299
                            wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
 
6300
                          else
 
6301
                            wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
 
6302
                          fi
 
6303
 
 
6304
else
 
6305
 
 
6306
                          LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
 
6307
                          if test "x$LINE" != x ; then
 
6308
                            eval "DEFAULT_$LINE"
 
6309
                          else
 
6310
                            no_cache=1
 
6311
                          fi
 
6312
 
 
6313
                          wx_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
 
6314
 
 
6315
fi;
 
6316
 
 
6317
          eval "$wx_cv_use_stopwatch"
 
6318
          if test "$no_cache" != 1; then
 
6319
            echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
 
6320
          fi
 
6321
 
 
6322
          if test "$wxUSE_STOPWATCH" = yes; then
 
6323
            echo "$as_me:$LINENO: result: yes" >&5
 
6324
echo "${ECHO_T}yes" >&6
 
6325
          else
 
6326
            echo "$as_me:$LINENO: result: no" >&5
 
6327
echo "${ECHO_T}no" >&6
 
6328
          fi
 
6329
 
 
6330
 
 
6331
          enablestring=
 
6332
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
 
6333
echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
 
6334
          no_cache=0
 
6335
          # Check whether --enable-streams or --disable-streams was given.
 
6336
if test "${enable_streams+set}" = set; then
 
6337
  enableval="$enable_streams"
 
6338
 
 
6339
                          if test "$enableval" = yes; then
 
6340
                            wx_cv_use_streams='wxUSE_STREAMS=yes'
 
6341
                          else
 
6342
                            wx_cv_use_streams='wxUSE_STREAMS=no'
 
6343
                          fi
 
6344
 
 
6345
else
 
6346
 
 
6347
                          LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
 
6348
                          if test "x$LINE" != x ; then
 
6349
                            eval "DEFAULT_$LINE"
 
6350
                          else
 
6351
                            no_cache=1
 
6352
                          fi
 
6353
 
 
6354
                          wx_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
 
6355
 
 
6356
fi;
 
6357
 
 
6358
          eval "$wx_cv_use_streams"
 
6359
          if test "$no_cache" != 1; then
 
6360
            echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
 
6361
          fi
 
6362
 
 
6363
          if test "$wxUSE_STREAMS" = yes; then
 
6364
            echo "$as_me:$LINENO: result: yes" >&5
 
6365
echo "${ECHO_T}yes" >&6
 
6366
          else
 
6367
            echo "$as_me:$LINENO: result: no" >&5
 
6368
echo "${ECHO_T}no" >&6
 
6369
          fi
 
6370
 
 
6371
 
 
6372
          enablestring=
 
6373
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
 
6374
echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6
 
6375
          no_cache=0
 
6376
          # Check whether --enable-sysoptions or --disable-sysoptions was given.
 
6377
if test "${enable_sysoptions+set}" = set; then
 
6378
  enableval="$enable_sysoptions"
 
6379
 
 
6380
                          if test "$enableval" = yes; then
 
6381
                            wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
 
6382
                          else
 
6383
                            wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
 
6384
                          fi
 
6385
 
 
6386
else
 
6387
 
 
6388
                          LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
 
6389
                          if test "x$LINE" != x ; then
 
6390
                            eval "DEFAULT_$LINE"
 
6391
                          else
 
6392
                            no_cache=1
 
6393
                          fi
 
6394
 
 
6395
                          wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
 
6396
 
 
6397
fi;
 
6398
 
 
6399
          eval "$wx_cv_use_sysoptions"
 
6400
          if test "$no_cache" != 1; then
 
6401
            echo $wx_cv_use_sysoptions >> ${wx_arg_cache_file}.tmp
 
6402
          fi
 
6403
 
 
6404
          if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
 
6405
            echo "$as_me:$LINENO: result: yes" >&5
 
6406
echo "${ECHO_T}yes" >&6
 
6407
          else
 
6408
            echo "$as_me:$LINENO: result: no" >&5
 
6409
echo "${ECHO_T}no" >&6
 
6410
          fi
 
6411
 
 
6412
 
 
6413
          enablestring=
 
6414
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
 
6415
echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
 
6416
          no_cache=0
 
6417
          # Check whether --enable-tarstream or --disable-tarstream was given.
 
6418
if test "${enable_tarstream+set}" = set; then
 
6419
  enableval="$enable_tarstream"
 
6420
 
 
6421
                          if test "$enableval" = yes; then
 
6422
                            wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
 
6423
                          else
 
6424
                            wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
 
6425
                          fi
 
6426
 
 
6427
else
 
6428
 
 
6429
                          LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
 
6430
                          if test "x$LINE" != x ; then
 
6431
                            eval "DEFAULT_$LINE"
 
6432
                          else
 
6433
                            no_cache=1
 
6434
                          fi
 
6435
 
 
6436
                          wx_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
 
6437
 
 
6438
fi;
 
6439
 
 
6440
          eval "$wx_cv_use_tarstream"
 
6441
          if test "$no_cache" != 1; then
 
6442
            echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
 
6443
          fi
 
6444
 
 
6445
          if test "$wxUSE_TARSTREAM" = yes; then
 
6446
            echo "$as_me:$LINENO: result: yes" >&5
 
6447
echo "${ECHO_T}yes" >&6
 
6448
          else
 
6449
            echo "$as_me:$LINENO: result: no" >&5
 
6450
echo "${ECHO_T}no" >&6
 
6451
          fi
 
6452
 
 
6453
 
 
6454
          enablestring=
 
6455
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
 
6456
echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
 
6457
          no_cache=0
 
6458
          # Check whether --enable-textbuf or --disable-textbuf was given.
 
6459
if test "${enable_textbuf+set}" = set; then
 
6460
  enableval="$enable_textbuf"
 
6461
 
 
6462
                          if test "$enableval" = yes; then
 
6463
                            wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
 
6464
                          else
 
6465
                            wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
 
6466
                          fi
 
6467
 
 
6468
else
 
6469
 
 
6470
                          LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
 
6471
                          if test "x$LINE" != x ; then
 
6472
                            eval "DEFAULT_$LINE"
 
6473
                          else
 
6474
                            no_cache=1
 
6475
                          fi
 
6476
 
 
6477
                          wx_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
 
6478
 
 
6479
fi;
 
6480
 
 
6481
          eval "$wx_cv_use_textbuf"
 
6482
          if test "$no_cache" != 1; then
 
6483
            echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
 
6484
          fi
 
6485
 
 
6486
          if test "$wxUSE_TEXTBUFFER" = yes; then
 
6487
            echo "$as_me:$LINENO: result: yes" >&5
 
6488
echo "${ECHO_T}yes" >&6
 
6489
          else
 
6490
            echo "$as_me:$LINENO: result: no" >&5
 
6491
echo "${ECHO_T}no" >&6
 
6492
          fi
 
6493
 
 
6494
 
 
6495
          enablestring=
 
6496
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
 
6497
echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
 
6498
          no_cache=0
 
6499
          # Check whether --enable-textfile or --disable-textfile was given.
 
6500
if test "${enable_textfile+set}" = set; then
 
6501
  enableval="$enable_textfile"
 
6502
 
 
6503
                          if test "$enableval" = yes; then
 
6504
                            wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
 
6505
                          else
 
6506
                            wx_cv_use_textfile='wxUSE_TEXTFILE=no'
 
6507
                          fi
 
6508
 
 
6509
else
 
6510
 
 
6511
                          LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
 
6512
                          if test "x$LINE" != x ; then
 
6513
                            eval "DEFAULT_$LINE"
 
6514
                          else
 
6515
                            no_cache=1
 
6516
                          fi
 
6517
 
 
6518
                          wx_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
 
6519
 
 
6520
fi;
 
6521
 
 
6522
          eval "$wx_cv_use_textfile"
 
6523
          if test "$no_cache" != 1; then
 
6524
            echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
 
6525
          fi
 
6526
 
 
6527
          if test "$wxUSE_TEXTFILE" = yes; then
 
6528
            echo "$as_me:$LINENO: result: yes" >&5
 
6529
echo "${ECHO_T}yes" >&6
 
6530
          else
 
6531
            echo "$as_me:$LINENO: result: no" >&5
 
6532
echo "${ECHO_T}no" >&6
 
6533
          fi
 
6534
 
 
6535
 
 
6536
          enablestring=
 
6537
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
 
6538
echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
 
6539
          no_cache=0
 
6540
          # Check whether --enable-timer or --disable-timer was given.
 
6541
if test "${enable_timer+set}" = set; then
 
6542
  enableval="$enable_timer"
 
6543
 
 
6544
                          if test "$enableval" = yes; then
 
6545
                            wx_cv_use_timer='wxUSE_TIMER=yes'
 
6546
                          else
 
6547
                            wx_cv_use_timer='wxUSE_TIMER=no'
 
6548
                          fi
 
6549
 
 
6550
else
 
6551
 
 
6552
                          LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
 
6553
                          if test "x$LINE" != x ; then
 
6554
                            eval "DEFAULT_$LINE"
 
6555
                          else
 
6556
                            no_cache=1
 
6557
                          fi
 
6558
 
 
6559
                          wx_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
 
6560
 
 
6561
fi;
 
6562
 
 
6563
          eval "$wx_cv_use_timer"
 
6564
          if test "$no_cache" != 1; then
 
6565
            echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
 
6566
          fi
 
6567
 
 
6568
          if test "$wxUSE_TIMER" = yes; then
 
6569
            echo "$as_me:$LINENO: result: yes" >&5
 
6570
echo "${ECHO_T}yes" >&6
 
6571
          else
 
6572
            echo "$as_me:$LINENO: result: no" >&5
 
6573
echo "${ECHO_T}no" >&6
 
6574
          fi
 
6575
 
 
6576
 
 
6577
          enablestring=
 
6578
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
 
6579
echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
 
6580
          no_cache=0
 
6581
          # Check whether --enable-unicode or --disable-unicode was given.
 
6582
if test "${enable_unicode+set}" = set; then
 
6583
  enableval="$enable_unicode"
 
6584
 
 
6585
                          if test "$enableval" = yes; then
 
6586
                            wx_cv_use_unicode='wxUSE_UNICODE=yes'
 
6587
                          else
 
6588
                            wx_cv_use_unicode='wxUSE_UNICODE=no'
 
6589
                          fi
 
6590
 
 
6591
else
 
6592
 
 
6593
                          LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
 
6594
                          if test "x$LINE" != x ; then
 
6595
                            eval "DEFAULT_$LINE"
 
6596
                          else
 
6597
                            no_cache=1
 
6598
                          fi
 
6599
 
 
6600
                          wx_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
 
6601
 
 
6602
fi;
 
6603
 
 
6604
          eval "$wx_cv_use_unicode"
 
6605
          if test "$no_cache" != 1; then
 
6606
            echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
 
6607
          fi
 
6608
 
 
6609
          if test "$wxUSE_UNICODE" = yes; then
 
6610
            echo "$as_me:$LINENO: result: yes" >&5
 
6611
echo "${ECHO_T}yes" >&6
 
6612
          else
 
6613
            echo "$as_me:$LINENO: result: no" >&5
 
6614
echo "${ECHO_T}no" >&6
 
6615
          fi
 
6616
 
 
6617
 
 
6618
          enablestring=
 
6619
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
 
6620
echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
 
6621
          no_cache=0
 
6622
          # Check whether --enable-sound or --disable-sound was given.
 
6623
if test "${enable_sound+set}" = set; then
 
6624
  enableval="$enable_sound"
 
6625
 
 
6626
                          if test "$enableval" = yes; then
 
6627
                            wx_cv_use_sound='wxUSE_SOUND=yes'
 
6628
                          else
 
6629
                            wx_cv_use_sound='wxUSE_SOUND=no'
 
6630
                          fi
 
6631
 
 
6632
else
 
6633
 
 
6634
                          LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
 
6635
                          if test "x$LINE" != x ; then
 
6636
                            eval "DEFAULT_$LINE"
 
6637
                          else
 
6638
                            no_cache=1
 
6639
                          fi
 
6640
 
 
6641
                          wx_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
 
6642
 
 
6643
fi;
 
6644
 
 
6645
          eval "$wx_cv_use_sound"
 
6646
          if test "$no_cache" != 1; then
 
6647
            echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
 
6648
          fi
 
6649
 
 
6650
          if test "$wxUSE_SOUND" = yes; then
 
6651
            echo "$as_me:$LINENO: result: yes" >&5
 
6652
echo "${ECHO_T}yes" >&6
 
6653
          else
 
6654
            echo "$as_me:$LINENO: result: no" >&5
 
6655
echo "${ECHO_T}no" >&6
 
6656
          fi
 
6657
 
 
6658
 
 
6659
          enablestring=
 
6660
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
 
6661
echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
 
6662
          no_cache=0
 
6663
          # Check whether --enable-mediactrl or --disable-mediactrl was given.
 
6664
if test "${enable_mediactrl+set}" = set; then
 
6665
  enableval="$enable_mediactrl"
 
6666
 
 
6667
                          if test "$enableval" = yes; then
 
6668
                            wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
 
6669
                          else
 
6670
                            wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
 
6671
                          fi
 
6672
 
 
6673
else
 
6674
 
 
6675
                          LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
 
6676
                          if test "x$LINE" != x ; then
 
6677
                            eval "DEFAULT_$LINE"
 
6678
                          else
 
6679
                            no_cache=1
 
6680
                          fi
 
6681
 
 
6682
                          wx_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
 
6683
 
 
6684
fi;
 
6685
 
 
6686
          eval "$wx_cv_use_mediactrl"
 
6687
          if test "$no_cache" != 1; then
 
6688
            echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
 
6689
          fi
 
6690
 
 
6691
          if test "$wxUSE_MEDIACTRL" = yes; then
 
6692
            echo "$as_me:$LINENO: result: yes" >&5
 
6693
echo "${ECHO_T}yes" >&6
 
6694
          else
 
6695
            echo "$as_me:$LINENO: result: no" >&5
 
6696
echo "${ECHO_T}no" >&6
 
6697
          fi
 
6698
 
 
6699
 
 
6700
          enablestring=
 
6701
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
 
6702
echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
 
6703
          no_cache=0
 
6704
          # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
 
6705
if test "${enable_gstreamer8+set}" = set; then
 
6706
  enableval="$enable_gstreamer8"
 
6707
 
 
6708
                          if test "$enableval" = yes; then
 
6709
                            wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
 
6710
                          else
 
6711
                            wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
 
6712
                          fi
 
6713
 
 
6714
else
 
6715
 
 
6716
                          LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
 
6717
                          if test "x$LINE" != x ; then
 
6718
                            eval "DEFAULT_$LINE"
 
6719
                          else
 
6720
                            no_cache=1
 
6721
                          fi
 
6722
 
 
6723
                          wx_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
 
6724
 
 
6725
fi;
 
6726
 
 
6727
          eval "$wx_cv_use_gstreamer8"
 
6728
          if test "$no_cache" != 1; then
 
6729
            echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
 
6730
          fi
 
6731
 
 
6732
          if test "$wxUSE_GSTREAMER8" = yes; then
 
6733
            echo "$as_me:$LINENO: result: yes" >&5
 
6734
echo "${ECHO_T}yes" >&6
 
6735
          else
 
6736
            echo "$as_me:$LINENO: result: no" >&5
 
6737
echo "${ECHO_T}no" >&6
 
6738
          fi
 
6739
 
 
6740
 
 
6741
          enablestring=
 
6742
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
 
6743
echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
 
6744
          no_cache=0
 
6745
          # Check whether --enable-printfposparam or --disable-printfposparam was given.
 
6746
if test "${enable_printfposparam+set}" = set; then
 
6747
  enableval="$enable_printfposparam"
 
6748
 
 
6749
                          if test "$enableval" = yes; then
 
6750
                            wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
 
6751
                          else
 
6752
                            wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
 
6753
                          fi
 
6754
 
 
6755
else
 
6756
 
 
6757
                          LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
 
6758
                          if test "x$LINE" != x ; then
 
6759
                            eval "DEFAULT_$LINE"
 
6760
                          else
 
6761
                            no_cache=1
 
6762
                          fi
 
6763
 
 
6764
                          wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
 
6765
 
 
6766
fi;
 
6767
 
 
6768
          eval "$wx_cv_use_printfposparam"
 
6769
          if test "$no_cache" != 1; then
 
6770
            echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
 
6771
          fi
 
6772
 
 
6773
          if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
 
6774
            echo "$as_me:$LINENO: result: yes" >&5
 
6775
echo "${ECHO_T}yes" >&6
 
6776
          else
 
6777
            echo "$as_me:$LINENO: result: no" >&5
 
6778
echo "${ECHO_T}no" >&6
 
6779
          fi
 
6780
 
 
6781
 
 
6782
          enablestring=
 
6783
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
 
6784
echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
 
6785
          no_cache=0
 
6786
          # Check whether --enable-zipstream or --disable-zipstream was given.
 
6787
if test "${enable_zipstream+set}" = set; then
 
6788
  enableval="$enable_zipstream"
 
6789
 
 
6790
                          if test "$enableval" = yes; then
 
6791
                            wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
 
6792
                          else
 
6793
                            wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
 
6794
                          fi
 
6795
 
 
6796
else
 
6797
 
 
6798
                          LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
 
6799
                          if test "x$LINE" != x ; then
 
6800
                            eval "DEFAULT_$LINE"
 
6801
                          else
 
6802
                            no_cache=1
 
6803
                          fi
 
6804
 
 
6805
                          wx_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
 
6806
 
 
6807
fi;
 
6808
 
 
6809
          eval "$wx_cv_use_zipstream"
 
6810
          if test "$no_cache" != 1; then
 
6811
            echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
 
6812
          fi
 
6813
 
 
6814
          if test "$wxUSE_ZIPSTREAM" = yes; then
 
6815
            echo "$as_me:$LINENO: result: yes" >&5
 
6816
echo "${ECHO_T}yes" >&6
 
6817
          else
 
6818
            echo "$as_me:$LINENO: result: no" >&5
 
6819
echo "${ECHO_T}no" >&6
 
6820
          fi
 
6821
 
 
6822
 
 
6823
 
 
6824
          enablestring=
 
6825
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
 
6826
echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
 
6827
          no_cache=0
 
6828
          # Check whether --enable-url or --disable-url was given.
 
6829
if test "${enable_url+set}" = set; then
 
6830
  enableval="$enable_url"
 
6831
 
 
6832
                          if test "$enableval" = yes; then
 
6833
                            wx_cv_use_url='wxUSE_URL=yes'
 
6834
                          else
 
6835
                            wx_cv_use_url='wxUSE_URL=no'
 
6836
                          fi
 
6837
 
 
6838
else
 
6839
 
 
6840
                          LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
 
6841
                          if test "x$LINE" != x ; then
 
6842
                            eval "DEFAULT_$LINE"
 
6843
                          else
 
6844
                            no_cache=1
 
6845
                          fi
 
6846
 
 
6847
                          wx_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
 
6848
 
 
6849
fi;
 
6850
 
 
6851
          eval "$wx_cv_use_url"
 
6852
          if test "$no_cache" != 1; then
 
6853
            echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
 
6854
          fi
 
6855
 
 
6856
          if test "$wxUSE_URL" = yes; then
 
6857
            echo "$as_me:$LINENO: result: yes" >&5
 
6858
echo "${ECHO_T}yes" >&6
 
6859
          else
 
6860
            echo "$as_me:$LINENO: result: no" >&5
 
6861
echo "${ECHO_T}no" >&6
 
6862
          fi
 
6863
 
 
6864
 
 
6865
          enablestring=
 
6866
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
 
6867
echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
 
6868
          no_cache=0
 
6869
          # Check whether --enable-variant or --disable-variant was given.
 
6870
if test "${enable_variant+set}" = set; then
 
6871
  enableval="$enable_variant"
 
6872
 
 
6873
                          if test "$enableval" = yes; then
 
6874
                            wx_cv_use_variant='wxUSE_VARIANT=yes'
 
6875
                          else
 
6876
                            wx_cv_use_variant='wxUSE_VARIANT=no'
 
6877
                          fi
 
6878
 
 
6879
else
 
6880
 
 
6881
                          LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
 
6882
                          if test "x$LINE" != x ; then
 
6883
                            eval "DEFAULT_$LINE"
 
6884
                          else
 
6885
                            no_cache=1
 
6886
                          fi
 
6887
 
 
6888
                          wx_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
 
6889
 
 
6890
fi;
 
6891
 
 
6892
          eval "$wx_cv_use_variant"
 
6893
          if test "$no_cache" != 1; then
 
6894
            echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
 
6895
          fi
 
6896
 
 
6897
          if test "$wxUSE_VARIANT" = yes; then
 
6898
            echo "$as_me:$LINENO: result: yes" >&5
 
6899
echo "${ECHO_T}yes" >&6
 
6900
          else
 
6901
            echo "$as_me:$LINENO: result: no" >&5
 
6902
echo "${ECHO_T}no" >&6
 
6903
          fi
 
6904
 
 
6905
 
 
6906
          enablestring=
 
6907
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
 
6908
echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
 
6909
          no_cache=0
 
6910
          # Check whether --enable-protocol or --disable-protocol was given.
 
6911
if test "${enable_protocol+set}" = set; then
 
6912
  enableval="$enable_protocol"
 
6913
 
 
6914
                          if test "$enableval" = yes; then
 
6915
                            wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
 
6916
                          else
 
6917
                            wx_cv_use_protocol='wxUSE_PROTOCOL=no'
 
6918
                          fi
 
6919
 
 
6920
else
 
6921
 
 
6922
                          LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
 
6923
                          if test "x$LINE" != x ; then
 
6924
                            eval "DEFAULT_$LINE"
 
6925
                          else
 
6926
                            no_cache=1
 
6927
                          fi
 
6928
 
 
6929
                          wx_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
 
6930
 
 
6931
fi;
 
6932
 
 
6933
          eval "$wx_cv_use_protocol"
 
6934
          if test "$no_cache" != 1; then
 
6935
            echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
 
6936
          fi
 
6937
 
 
6938
          if test "$wxUSE_PROTOCOL" = yes; then
 
6939
            echo "$as_me:$LINENO: result: yes" >&5
 
6940
echo "${ECHO_T}yes" >&6
 
6941
          else
 
6942
            echo "$as_me:$LINENO: result: no" >&5
 
6943
echo "${ECHO_T}no" >&6
 
6944
          fi
 
6945
 
 
6946
 
 
6947
          enablestring=
 
6948
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
 
6949
echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
 
6950
          no_cache=0
 
6951
          # Check whether --enable-protocol_http or --disable-protocol_http was given.
 
6952
if test "${enable_protocol_http+set}" = set; then
 
6953
  enableval="$enable_protocol_http"
 
6954
 
 
6955
                          if test "$enableval" = yes; then
 
6956
                            wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
 
6957
                          else
 
6958
                            wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
 
6959
                          fi
 
6960
 
 
6961
else
 
6962
 
 
6963
                          LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
 
6964
                          if test "x$LINE" != x ; then
 
6965
                            eval "DEFAULT_$LINE"
 
6966
                          else
 
6967
                            no_cache=1
 
6968
                          fi
 
6969
 
 
6970
                          wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
 
6971
 
 
6972
fi;
 
6973
 
 
6974
          eval "$wx_cv_use_protocol_http"
 
6975
          if test "$no_cache" != 1; then
 
6976
            echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
 
6977
          fi
 
6978
 
 
6979
          if test "$wxUSE_PROTOCOL_HTTP" = yes; then
 
6980
            echo "$as_me:$LINENO: result: yes" >&5
 
6981
echo "${ECHO_T}yes" >&6
 
6982
          else
 
6983
            echo "$as_me:$LINENO: result: no" >&5
 
6984
echo "${ECHO_T}no" >&6
 
6985
          fi
 
6986
 
 
6987
 
 
6988
          enablestring=
 
6989
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
 
6990
echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
 
6991
          no_cache=0
 
6992
          # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
 
6993
if test "${enable_protocol_ftp+set}" = set; then
 
6994
  enableval="$enable_protocol_ftp"
 
6995
 
 
6996
                          if test "$enableval" = yes; then
 
6997
                            wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
 
6998
                          else
 
6999
                            wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
 
7000
                          fi
 
7001
 
 
7002
else
 
7003
 
 
7004
                          LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
 
7005
                          if test "x$LINE" != x ; then
 
7006
                            eval "DEFAULT_$LINE"
 
7007
                          else
 
7008
                            no_cache=1
 
7009
                          fi
 
7010
 
 
7011
                          wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
 
7012
 
 
7013
fi;
 
7014
 
 
7015
          eval "$wx_cv_use_protocol_ftp"
 
7016
          if test "$no_cache" != 1; then
 
7017
            echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
 
7018
          fi
 
7019
 
 
7020
          if test "$wxUSE_PROTOCOL_FTP" = yes; then
 
7021
            echo "$as_me:$LINENO: result: yes" >&5
 
7022
echo "${ECHO_T}yes" >&6
 
7023
          else
 
7024
            echo "$as_me:$LINENO: result: no" >&5
 
7025
echo "${ECHO_T}no" >&6
 
7026
          fi
 
7027
 
 
7028
 
 
7029
          enablestring=
 
7030
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
 
7031
echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
 
7032
          no_cache=0
 
7033
          # Check whether --enable-protocol_file or --disable-protocol_file was given.
 
7034
if test "${enable_protocol_file+set}" = set; then
 
7035
  enableval="$enable_protocol_file"
 
7036
 
 
7037
                          if test "$enableval" = yes; then
 
7038
                            wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
 
7039
                          else
 
7040
                            wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
 
7041
                          fi
 
7042
 
 
7043
else
 
7044
 
 
7045
                          LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
 
7046
                          if test "x$LINE" != x ; then
 
7047
                            eval "DEFAULT_$LINE"
 
7048
                          else
 
7049
                            no_cache=1
 
7050
                          fi
 
7051
 
 
7052
                          wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
 
7053
 
 
7054
fi;
 
7055
 
 
7056
          eval "$wx_cv_use_protocol_file"
 
7057
          if test "$no_cache" != 1; then
 
7058
            echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
 
7059
          fi
 
7060
 
 
7061
          if test "$wxUSE_PROTOCOL_FILE" = yes; then
 
7062
            echo "$as_me:$LINENO: result: yes" >&5
 
7063
echo "${ECHO_T}yes" >&6
 
7064
          else
 
7065
            echo "$as_me:$LINENO: result: no" >&5
 
7066
echo "${ECHO_T}no" >&6
 
7067
          fi
 
7068
 
 
7069
 
 
7070
 
 
7071
 
 
7072
 
 
7073
          enablestring=
 
7074
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
 
7075
echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
 
7076
          no_cache=0
 
7077
          # Check whether --enable-threads or --disable-threads was given.
 
7078
if test "${enable_threads+set}" = set; then
 
7079
  enableval="$enable_threads"
 
7080
 
 
7081
                          if test "$enableval" = yes; then
 
7082
                            wx_cv_use_threads='wxUSE_THREADS=yes'
 
7083
                          else
 
7084
                            wx_cv_use_threads='wxUSE_THREADS=no'
 
7085
                          fi
 
7086
 
 
7087
else
 
7088
 
 
7089
                          LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
 
7090
                          if test "x$LINE" != x ; then
 
7091
                            eval "DEFAULT_$LINE"
 
7092
                          else
 
7093
                            no_cache=1
 
7094
                          fi
 
7095
 
 
7096
                          wx_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
 
7097
 
 
7098
fi;
 
7099
 
 
7100
          eval "$wx_cv_use_threads"
 
7101
          if test "$no_cache" != 1; then
 
7102
            echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
 
7103
          fi
 
7104
 
 
7105
          if test "$wxUSE_THREADS" = yes; then
 
7106
            echo "$as_me:$LINENO: result: yes" >&5
 
7107
echo "${ECHO_T}yes" >&6
 
7108
          else
 
7109
            echo "$as_me:$LINENO: result: no" >&5
 
7110
echo "${ECHO_T}no" >&6
 
7111
          fi
 
7112
 
 
7113
 
 
7114
if test "$wxUSE_GUI" = "yes"; then
 
7115
 
 
7116
 
 
7117
 
 
7118
          enablestring=
 
7119
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
 
7120
echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
 
7121
          no_cache=0
 
7122
          # Check whether --enable-docview or --disable-docview was given.
 
7123
if test "${enable_docview+set}" = set; then
 
7124
  enableval="$enable_docview"
 
7125
 
 
7126
                          if test "$enableval" = yes; then
 
7127
                            wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
 
7128
                          else
 
7129
                            wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
 
7130
                          fi
 
7131
 
 
7132
else
 
7133
 
 
7134
                          LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
 
7135
                          if test "x$LINE" != x ; then
 
7136
                            eval "DEFAULT_$LINE"
 
7137
                          else
 
7138
                            no_cache=1
 
7139
                          fi
 
7140
 
 
7141
                          wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
 
7142
 
 
7143
fi;
 
7144
 
 
7145
          eval "$wx_cv_use_docview"
 
7146
          if test "$no_cache" != 1; then
 
7147
            echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
 
7148
          fi
 
7149
 
 
7150
          if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
 
7151
            echo "$as_me:$LINENO: result: yes" >&5
 
7152
echo "${ECHO_T}yes" >&6
 
7153
          else
 
7154
            echo "$as_me:$LINENO: result: no" >&5
 
7155
echo "${ECHO_T}no" >&6
 
7156
          fi
 
7157
 
 
7158
 
 
7159
          enablestring=
 
7160
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
 
7161
echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
 
7162
          no_cache=0
 
7163
          # Check whether --enable-help or --disable-help was given.
 
7164
if test "${enable_help+set}" = set; then
 
7165
  enableval="$enable_help"
 
7166
 
 
7167
                          if test "$enableval" = yes; then
 
7168
                            wx_cv_use_help='wxUSE_HELP=yes'
 
7169
                          else
 
7170
                            wx_cv_use_help='wxUSE_HELP=no'
 
7171
                          fi
 
7172
 
 
7173
else
 
7174
 
 
7175
                          LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
 
7176
                          if test "x$LINE" != x ; then
 
7177
                            eval "DEFAULT_$LINE"
 
7178
                          else
 
7179
                            no_cache=1
 
7180
                          fi
 
7181
 
 
7182
                          wx_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
 
7183
 
 
7184
fi;
 
7185
 
 
7186
          eval "$wx_cv_use_help"
 
7187
          if test "$no_cache" != 1; then
 
7188
            echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
 
7189
          fi
 
7190
 
 
7191
          if test "$wxUSE_HELP" = yes; then
 
7192
            echo "$as_me:$LINENO: result: yes" >&5
 
7193
echo "${ECHO_T}yes" >&6
 
7194
          else
 
7195
            echo "$as_me:$LINENO: result: no" >&5
 
7196
echo "${ECHO_T}no" >&6
 
7197
          fi
 
7198
 
 
7199
 
 
7200
          enablestring=
 
7201
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
 
7202
echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
 
7203
          no_cache=0
 
7204
          # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
 
7205
if test "${enable_mshtmlhelp+set}" = set; then
 
7206
  enableval="$enable_mshtmlhelp"
 
7207
 
 
7208
                          if test "$enableval" = yes; then
 
7209
                            wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
 
7210
                          else
 
7211
                            wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
 
7212
                          fi
 
7213
 
 
7214
else
 
7215
 
 
7216
                          LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
 
7217
                          if test "x$LINE" != x ; then
 
7218
                            eval "DEFAULT_$LINE"
 
7219
                          else
 
7220
                            no_cache=1
 
7221
                          fi
 
7222
 
 
7223
                          wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
 
7224
 
 
7225
fi;
 
7226
 
 
7227
          eval "$wx_cv_use_mshtmlhelp"
 
7228
          if test "$no_cache" != 1; then
 
7229
            echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
 
7230
          fi
 
7231
 
 
7232
          if test "$wxUSE_MS_HTML_HELP" = yes; then
 
7233
            echo "$as_me:$LINENO: result: yes" >&5
 
7234
echo "${ECHO_T}yes" >&6
 
7235
          else
 
7236
            echo "$as_me:$LINENO: result: no" >&5
 
7237
echo "${ECHO_T}no" >&6
 
7238
          fi
 
7239
 
 
7240
 
 
7241
          enablestring=
 
7242
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
 
7243
echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
 
7244
          no_cache=0
 
7245
          # Check whether --enable-html or --disable-html was given.
 
7246
if test "${enable_html+set}" = set; then
 
7247
  enableval="$enable_html"
 
7248
 
 
7249
                          if test "$enableval" = yes; then
 
7250
                            wx_cv_use_html='wxUSE_HTML=yes'
 
7251
                          else
 
7252
                            wx_cv_use_html='wxUSE_HTML=no'
 
7253
                          fi
 
7254
 
 
7255
else
 
7256
 
 
7257
                          LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
 
7258
                          if test "x$LINE" != x ; then
 
7259
                            eval "DEFAULT_$LINE"
 
7260
                          else
 
7261
                            no_cache=1
 
7262
                          fi
 
7263
 
 
7264
                          wx_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
 
7265
 
 
7266
fi;
 
7267
 
 
7268
          eval "$wx_cv_use_html"
 
7269
          if test "$no_cache" != 1; then
 
7270
            echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
 
7271
          fi
 
7272
 
 
7273
          if test "$wxUSE_HTML" = yes; then
 
7274
            echo "$as_me:$LINENO: result: yes" >&5
 
7275
echo "${ECHO_T}yes" >&6
 
7276
          else
 
7277
            echo "$as_me:$LINENO: result: no" >&5
 
7278
echo "${ECHO_T}no" >&6
 
7279
          fi
 
7280
 
 
7281
 
 
7282
          enablestring=
 
7283
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
 
7284
echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
 
7285
          no_cache=0
 
7286
          # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
 
7287
if test "${enable_htmlhelp+set}" = set; then
 
7288
  enableval="$enable_htmlhelp"
 
7289
 
 
7290
                          if test "$enableval" = yes; then
 
7291
                            wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
 
7292
                          else
 
7293
                            wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
 
7294
                          fi
 
7295
 
 
7296
else
 
7297
 
 
7298
                          LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
 
7299
                          if test "x$LINE" != x ; then
 
7300
                            eval "DEFAULT_$LINE"
 
7301
                          else
 
7302
                            no_cache=1
 
7303
                          fi
 
7304
 
 
7305
                          wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
 
7306
 
 
7307
fi;
 
7308
 
 
7309
          eval "$wx_cv_use_htmlhelp"
 
7310
          if test "$no_cache" != 1; then
 
7311
            echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
 
7312
          fi
 
7313
 
 
7314
          if test "$wxUSE_WXHTML_HELP" = yes; then
 
7315
            echo "$as_me:$LINENO: result: yes" >&5
 
7316
echo "${ECHO_T}yes" >&6
 
7317
          else
 
7318
            echo "$as_me:$LINENO: result: no" >&5
 
7319
echo "${ECHO_T}no" >&6
 
7320
          fi
 
7321
 
 
7322
 
 
7323
          enablestring=
 
7324
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
 
7325
echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
 
7326
          no_cache=0
 
7327
          # Check whether --enable-xrc or --disable-xrc was given.
 
7328
if test "${enable_xrc+set}" = set; then
 
7329
  enableval="$enable_xrc"
 
7330
 
 
7331
                          if test "$enableval" = yes; then
 
7332
                            wx_cv_use_xrc='wxUSE_XRC=yes'
 
7333
                          else
 
7334
                            wx_cv_use_xrc='wxUSE_XRC=no'
 
7335
                          fi
 
7336
 
 
7337
else
 
7338
 
 
7339
                          LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
 
7340
                          if test "x$LINE" != x ; then
 
7341
                            eval "DEFAULT_$LINE"
 
7342
                          else
 
7343
                            no_cache=1
 
7344
                          fi
 
7345
 
 
7346
                          wx_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
 
7347
 
 
7348
fi;
 
7349
 
 
7350
          eval "$wx_cv_use_xrc"
 
7351
          if test "$no_cache" != 1; then
 
7352
            echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
 
7353
          fi
 
7354
 
 
7355
          if test "$wxUSE_XRC" = yes; then
 
7356
            echo "$as_me:$LINENO: result: yes" >&5
 
7357
echo "${ECHO_T}yes" >&6
 
7358
          else
 
7359
            echo "$as_me:$LINENO: result: no" >&5
 
7360
echo "${ECHO_T}no" >&6
 
7361
          fi
 
7362
 
 
7363
 
 
7364
          enablestring=
 
7365
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
 
7366
echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
 
7367
          no_cache=0
 
7368
          # Check whether --enable-aui or --disable-aui was given.
 
7369
if test "${enable_aui+set}" = set; then
 
7370
  enableval="$enable_aui"
 
7371
 
 
7372
                          if test "$enableval" = yes; then
 
7373
                            wx_cv_use_aui='wxUSE_AUI=yes'
 
7374
                          else
 
7375
                            wx_cv_use_aui='wxUSE_AUI=no'
 
7376
                          fi
 
7377
 
 
7378
else
 
7379
 
 
7380
                          LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
 
7381
                          if test "x$LINE" != x ; then
 
7382
                            eval "DEFAULT_$LINE"
 
7383
                          else
 
7384
                            no_cache=1
 
7385
                          fi
 
7386
 
 
7387
                          wx_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
 
7388
 
 
7389
fi;
 
7390
 
 
7391
          eval "$wx_cv_use_aui"
 
7392
          if test "$no_cache" != 1; then
 
7393
            echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
 
7394
          fi
 
7395
 
 
7396
          if test "$wxUSE_AUI" = yes; then
 
7397
            echo "$as_me:$LINENO: result: yes" >&5
 
7398
echo "${ECHO_T}yes" >&6
 
7399
          else
 
7400
            echo "$as_me:$LINENO: result: no" >&5
 
7401
echo "${ECHO_T}no" >&6
 
7402
          fi
 
7403
 
 
7404
 
 
7405
          enablestring=
 
7406
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
 
7407
echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
 
7408
          no_cache=0
 
7409
          # Check whether --enable-constraints or --disable-constraints was given.
 
7410
if test "${enable_constraints+set}" = set; then
 
7411
  enableval="$enable_constraints"
 
7412
 
 
7413
                          if test "$enableval" = yes; then
 
7414
                            wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
 
7415
                          else
 
7416
                            wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
 
7417
                          fi
 
7418
 
 
7419
else
 
7420
 
 
7421
                          LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
 
7422
                          if test "x$LINE" != x ; then
 
7423
                            eval "DEFAULT_$LINE"
 
7424
                          else
 
7425
                            no_cache=1
 
7426
                          fi
 
7427
 
 
7428
                          wx_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
 
7429
 
 
7430
fi;
 
7431
 
 
7432
          eval "$wx_cv_use_constraints"
 
7433
          if test "$no_cache" != 1; then
 
7434
            echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
 
7435
          fi
 
7436
 
 
7437
          if test "$wxUSE_CONSTRAINTS" = yes; then
 
7438
            echo "$as_me:$LINENO: result: yes" >&5
 
7439
echo "${ECHO_T}yes" >&6
 
7440
          else
 
7441
            echo "$as_me:$LINENO: result: no" >&5
 
7442
echo "${ECHO_T}no" >&6
 
7443
          fi
 
7444
 
 
7445
 
 
7446
          enablestring=
 
7447
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
 
7448
echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
 
7449
          no_cache=0
 
7450
          # Check whether --enable-printarch or --disable-printarch was given.
 
7451
if test "${enable_printarch+set}" = set; then
 
7452
  enableval="$enable_printarch"
 
7453
 
 
7454
                          if test "$enableval" = yes; then
 
7455
                            wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
 
7456
                          else
 
7457
                            wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
 
7458
                          fi
 
7459
 
 
7460
else
 
7461
 
 
7462
                          LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
 
7463
                          if test "x$LINE" != x ; then
 
7464
                            eval "DEFAULT_$LINE"
 
7465
                          else
 
7466
                            no_cache=1
 
7467
                          fi
 
7468
 
 
7469
                          wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
 
7470
 
 
7471
fi;
 
7472
 
 
7473
          eval "$wx_cv_use_printarch"
 
7474
          if test "$no_cache" != 1; then
 
7475
            echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
 
7476
          fi
 
7477
 
 
7478
          if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
 
7479
            echo "$as_me:$LINENO: result: yes" >&5
 
7480
echo "${ECHO_T}yes" >&6
 
7481
          else
 
7482
            echo "$as_me:$LINENO: result: no" >&5
 
7483
echo "${ECHO_T}no" >&6
 
7484
          fi
 
7485
 
 
7486
 
 
7487
          enablestring=
 
7488
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
 
7489
echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
 
7490
          no_cache=0
 
7491
          # Check whether --enable-mdi or --disable-mdi was given.
 
7492
if test "${enable_mdi+set}" = set; then
 
7493
  enableval="$enable_mdi"
 
7494
 
 
7495
                          if test "$enableval" = yes; then
 
7496
                            wx_cv_use_mdi='wxUSE_MDI=yes'
 
7497
                          else
 
7498
                            wx_cv_use_mdi='wxUSE_MDI=no'
 
7499
                          fi
 
7500
 
 
7501
else
 
7502
 
 
7503
                          LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
 
7504
                          if test "x$LINE" != x ; then
 
7505
                            eval "DEFAULT_$LINE"
 
7506
                          else
 
7507
                            no_cache=1
 
7508
                          fi
 
7509
 
 
7510
                          wx_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
 
7511
 
 
7512
fi;
 
7513
 
 
7514
          eval "$wx_cv_use_mdi"
 
7515
          if test "$no_cache" != 1; then
 
7516
            echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
 
7517
          fi
 
7518
 
 
7519
          if test "$wxUSE_MDI" = yes; then
 
7520
            echo "$as_me:$LINENO: result: yes" >&5
 
7521
echo "${ECHO_T}yes" >&6
 
7522
          else
 
7523
            echo "$as_me:$LINENO: result: no" >&5
 
7524
echo "${ECHO_T}no" >&6
 
7525
          fi
 
7526
 
 
7527
 
 
7528
          enablestring=
 
7529
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
 
7530
echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
 
7531
          no_cache=0
 
7532
          # Check whether --enable-mdidoc or --disable-mdidoc was given.
 
7533
if test "${enable_mdidoc+set}" = set; then
 
7534
  enableval="$enable_mdidoc"
 
7535
 
 
7536
                          if test "$enableval" = yes; then
 
7537
                            wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
 
7538
                          else
 
7539
                            wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
 
7540
                          fi
 
7541
 
 
7542
else
 
7543
 
 
7544
                          LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
 
7545
                          if test "x$LINE" != x ; then
 
7546
                            eval "DEFAULT_$LINE"
 
7547
                          else
 
7548
                            no_cache=1
 
7549
                          fi
 
7550
 
 
7551
                          wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
 
7552
 
 
7553
fi;
 
7554
 
 
7555
          eval "$wx_cv_use_mdidoc"
 
7556
          if test "$no_cache" != 1; then
 
7557
            echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
 
7558
          fi
 
7559
 
 
7560
          if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
 
7561
            echo "$as_me:$LINENO: result: yes" >&5
 
7562
echo "${ECHO_T}yes" >&6
 
7563
          else
 
7564
            echo "$as_me:$LINENO: result: no" >&5
 
7565
echo "${ECHO_T}no" >&6
 
7566
          fi
 
7567
 
 
7568
 
 
7569
          enablestring=
 
7570
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
 
7571
echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
 
7572
          no_cache=0
 
7573
          # Check whether --enable-loggui or --disable-loggui was given.
 
7574
if test "${enable_loggui+set}" = set; then
 
7575
  enableval="$enable_loggui"
 
7576
 
 
7577
                          if test "$enableval" = yes; then
 
7578
                            wx_cv_use_loggui='wxUSE_LOGGUI=yes'
 
7579
                          else
 
7580
                            wx_cv_use_loggui='wxUSE_LOGGUI=no'
 
7581
                          fi
 
7582
 
 
7583
else
 
7584
 
 
7585
                          LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
 
7586
                          if test "x$LINE" != x ; then
 
7587
                            eval "DEFAULT_$LINE"
 
7588
                          else
 
7589
                            no_cache=1
 
7590
                          fi
 
7591
 
 
7592
                          wx_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
 
7593
 
 
7594
fi;
 
7595
 
 
7596
          eval "$wx_cv_use_loggui"
 
7597
          if test "$no_cache" != 1; then
 
7598
            echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
 
7599
          fi
 
7600
 
 
7601
          if test "$wxUSE_LOGGUI" = yes; then
 
7602
            echo "$as_me:$LINENO: result: yes" >&5
 
7603
echo "${ECHO_T}yes" >&6
 
7604
          else
 
7605
            echo "$as_me:$LINENO: result: no" >&5
 
7606
echo "${ECHO_T}no" >&6
 
7607
          fi
 
7608
 
 
7609
 
 
7610
          enablestring=
 
7611
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
 
7612
echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
 
7613
          no_cache=0
 
7614
          # Check whether --enable-logwin or --disable-logwin was given.
 
7615
if test "${enable_logwin+set}" = set; then
 
7616
  enableval="$enable_logwin"
 
7617
 
 
7618
                          if test "$enableval" = yes; then
 
7619
                            wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
 
7620
                          else
 
7621
                            wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
 
7622
                          fi
 
7623
 
 
7624
else
 
7625
 
 
7626
                          LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
 
7627
                          if test "x$LINE" != x ; then
 
7628
                            eval "DEFAULT_$LINE"
 
7629
                          else
 
7630
                            no_cache=1
 
7631
                          fi
 
7632
 
 
7633
                          wx_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
 
7634
 
 
7635
fi;
 
7636
 
 
7637
          eval "$wx_cv_use_logwin"
 
7638
          if test "$no_cache" != 1; then
 
7639
            echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
 
7640
          fi
 
7641
 
 
7642
          if test "$wxUSE_LOGWINDOW" = yes; then
 
7643
            echo "$as_me:$LINENO: result: yes" >&5
 
7644
echo "${ECHO_T}yes" >&6
 
7645
          else
 
7646
            echo "$as_me:$LINENO: result: no" >&5
 
7647
echo "${ECHO_T}no" >&6
 
7648
          fi
 
7649
 
 
7650
 
 
7651
          enablestring=
 
7652
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
 
7653
echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
 
7654
          no_cache=0
 
7655
          # Check whether --enable-logdialog or --disable-logdialog was given.
 
7656
if test "${enable_logdialog+set}" = set; then
 
7657
  enableval="$enable_logdialog"
 
7658
 
 
7659
                          if test "$enableval" = yes; then
 
7660
                            wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
 
7661
                          else
 
7662
                            wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
 
7663
                          fi
 
7664
 
 
7665
else
 
7666
 
 
7667
                          LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
 
7668
                          if test "x$LINE" != x ; then
 
7669
                            eval "DEFAULT_$LINE"
 
7670
                          else
 
7671
                            no_cache=1
 
7672
                          fi
 
7673
 
 
7674
                          wx_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
 
7675
 
 
7676
fi;
 
7677
 
 
7678
          eval "$wx_cv_use_logdialog"
 
7679
          if test "$no_cache" != 1; then
 
7680
            echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
 
7681
          fi
 
7682
 
 
7683
          if test "$wxUSE_LOGDIALOG" = yes; then
 
7684
            echo "$as_me:$LINENO: result: yes" >&5
 
7685
echo "${ECHO_T}yes" >&6
 
7686
          else
 
7687
            echo "$as_me:$LINENO: result: no" >&5
 
7688
echo "${ECHO_T}no" >&6
 
7689
          fi
 
7690
 
 
7691
 
 
7692
          enablestring=
 
7693
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
 
7694
echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
 
7695
          no_cache=0
 
7696
          # Check whether --enable-webkit or --disable-webkit was given.
 
7697
if test "${enable_webkit+set}" = set; then
 
7698
  enableval="$enable_webkit"
 
7699
 
 
7700
                          if test "$enableval" = yes; then
 
7701
                            wx_cv_use_webkit='wxUSE_WEBKIT=yes'
 
7702
                          else
 
7703
                            wx_cv_use_webkit='wxUSE_WEBKIT=no'
 
7704
                          fi
 
7705
 
 
7706
else
 
7707
 
 
7708
                          LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
 
7709
                          if test "x$LINE" != x ; then
 
7710
                            eval "DEFAULT_$LINE"
 
7711
                          else
 
7712
                            no_cache=1
 
7713
                          fi
 
7714
 
 
7715
                          wx_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
 
7716
 
 
7717
fi;
 
7718
 
 
7719
          eval "$wx_cv_use_webkit"
 
7720
          if test "$no_cache" != 1; then
 
7721
            echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
 
7722
          fi
 
7723
 
 
7724
          if test "$wxUSE_WEBKIT" = yes; then
 
7725
            echo "$as_me:$LINENO: result: yes" >&5
 
7726
echo "${ECHO_T}yes" >&6
 
7727
          else
 
7728
            echo "$as_me:$LINENO: result: no" >&5
 
7729
echo "${ECHO_T}no" >&6
 
7730
          fi
 
7731
 
 
7732
 
 
7733
          enablestring=
 
7734
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
 
7735
echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
 
7736
          no_cache=0
 
7737
          # Check whether --enable-richtext or --disable-richtext was given.
 
7738
if test "${enable_richtext+set}" = set; then
 
7739
  enableval="$enable_richtext"
 
7740
 
 
7741
                          if test "$enableval" = yes; then
 
7742
                            wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
 
7743
                          else
 
7744
                            wx_cv_use_richtext='wxUSE_RICHTEXT=no'
 
7745
                          fi
 
7746
 
 
7747
else
 
7748
 
 
7749
                          LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
 
7750
                          if test "x$LINE" != x ; then
 
7751
                            eval "DEFAULT_$LINE"
 
7752
                          else
 
7753
                            no_cache=1
 
7754
                          fi
 
7755
 
 
7756
                          wx_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
 
7757
 
 
7758
fi;
 
7759
 
 
7760
          eval "$wx_cv_use_richtext"
 
7761
          if test "$no_cache" != 1; then
 
7762
            echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
 
7763
          fi
 
7764
 
 
7765
          if test "$wxUSE_RICHTEXT" = yes; then
 
7766
            echo "$as_me:$LINENO: result: yes" >&5
 
7767
echo "${ECHO_T}yes" >&6
 
7768
          else
 
7769
            echo "$as_me:$LINENO: result: no" >&5
 
7770
echo "${ECHO_T}no" >&6
 
7771
          fi
 
7772
 
 
7773
 
 
7774
          enablestring=
 
7775
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
 
7776
echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
 
7777
          no_cache=0
 
7778
          # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
 
7779
if test "${enable_graphics_ctx+set}" = set; then
 
7780
  enableval="$enable_graphics_ctx"
 
7781
 
 
7782
                          if test "$enableval" = yes; then
 
7783
                            wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
 
7784
                          else
 
7785
                            wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
 
7786
                          fi
 
7787
 
 
7788
else
 
7789
 
 
7790
                          LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
 
7791
                          if test "x$LINE" != x ; then
 
7792
                            eval "DEFAULT_$LINE"
 
7793
                          else
 
7794
                            no_cache=1
 
7795
                          fi
 
7796
 
 
7797
                          wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
 
7798
 
 
7799
fi;
 
7800
 
 
7801
          eval "$wx_cv_use_graphics_ctx"
 
7802
          if test "$no_cache" != 1; then
 
7803
            echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
 
7804
          fi
 
7805
 
 
7806
          if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
 
7807
            echo "$as_me:$LINENO: result: yes" >&5
 
7808
echo "${ECHO_T}yes" >&6
 
7809
          else
 
7810
            echo "$as_me:$LINENO: result: no" >&5
 
7811
echo "${ECHO_T}no" >&6
 
7812
          fi
 
7813
 
 
7814
 
 
7815
 
 
7816
          enablestring=
 
7817
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
 
7818
echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
 
7819
          no_cache=0
 
7820
          # Check whether --enable-postscript or --disable-postscript was given.
 
7821
if test "${enable_postscript+set}" = set; then
 
7822
  enableval="$enable_postscript"
 
7823
 
 
7824
                          if test "$enableval" = yes; then
 
7825
                            wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
 
7826
                          else
 
7827
                            wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
 
7828
                          fi
 
7829
 
 
7830
else
 
7831
 
 
7832
                          LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
 
7833
                          if test "x$LINE" != x ; then
 
7834
                            eval "DEFAULT_$LINE"
 
7835
                          else
 
7836
                            no_cache=1
 
7837
                          fi
 
7838
 
 
7839
                          wx_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
 
7840
 
 
7841
fi;
 
7842
 
 
7843
          eval "$wx_cv_use_postscript"
 
7844
          if test "$no_cache" != 1; then
 
7845
            echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
 
7846
          fi
 
7847
 
 
7848
          if test "$wxUSE_POSTSCRIPT" = yes; then
 
7849
            echo "$as_me:$LINENO: result: yes" >&5
 
7850
echo "${ECHO_T}yes" >&6
 
7851
          else
 
7852
            echo "$as_me:$LINENO: result: no" >&5
 
7853
echo "${ECHO_T}no" >&6
 
7854
          fi
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
          enablestring=
 
7861
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
 
7862
echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
 
7863
          no_cache=0
 
7864
          # Check whether --enable-prologio or --disable-prologio was given.
 
7865
if test "${enable_prologio+set}" = set; then
 
7866
  enableval="$enable_prologio"
 
7867
 
 
7868
                          if test "$enableval" = yes; then
 
7869
                            wx_cv_use_prologio='wxUSE_PROLOGIO=yes'
 
7870
                          else
 
7871
                            wx_cv_use_prologio='wxUSE_PROLOGIO=no'
 
7872
                          fi
 
7873
 
 
7874
else
 
7875
 
 
7876
                          LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
 
7877
                          if test "x$LINE" != x ; then
 
7878
                            eval "DEFAULT_$LINE"
 
7879
                          else
 
7880
                            no_cache=1
 
7881
                          fi
 
7882
 
 
7883
                          wx_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
 
7884
 
 
7885
fi;
 
7886
 
 
7887
          eval "$wx_cv_use_prologio"
 
7888
          if test "$no_cache" != 1; then
 
7889
            echo $wx_cv_use_prologio >> ${wx_arg_cache_file}.tmp
 
7890
          fi
 
7891
 
 
7892
          if test "$wxUSE_PROLOGIO" = yes; then
 
7893
            echo "$as_me:$LINENO: result: yes" >&5
 
7894
echo "${ECHO_T}yes" >&6
 
7895
          else
 
7896
            echo "$as_me:$LINENO: result: no" >&5
 
7897
echo "${ECHO_T}no" >&6
 
7898
          fi
 
7899
 
 
7900
 
 
7901
          enablestring=
 
7902
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
 
7903
echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
 
7904
          no_cache=0
 
7905
          # Check whether --enable-resources or --disable-resources was given.
 
7906
if test "${enable_resources+set}" = set; then
 
7907
  enableval="$enable_resources"
 
7908
 
 
7909
                          if test "$enableval" = yes; then
 
7910
                            wx_cv_use_resources='wxUSE_RESOURCES=yes'
 
7911
                          else
 
7912
                            wx_cv_use_resources='wxUSE_RESOURCES=no'
 
7913
                          fi
 
7914
 
 
7915
else
 
7916
 
 
7917
                          LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
 
7918
                          if test "x$LINE" != x ; then
 
7919
                            eval "DEFAULT_$LINE"
 
7920
                          else
 
7921
                            no_cache=1
 
7922
                          fi
 
7923
 
 
7924
                          wx_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
 
7925
 
 
7926
fi;
 
7927
 
 
7928
          eval "$wx_cv_use_resources"
 
7929
          if test "$no_cache" != 1; then
 
7930
            echo $wx_cv_use_resources >> ${wx_arg_cache_file}.tmp
 
7931
          fi
 
7932
 
 
7933
          if test "$wxUSE_RESOURCES" = yes; then
 
7934
            echo "$as_me:$LINENO: result: yes" >&5
 
7935
echo "${ECHO_T}yes" >&6
 
7936
          else
 
7937
            echo "$as_me:$LINENO: result: no" >&5
 
7938
echo "${ECHO_T}no" >&6
 
7939
          fi
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
          enablestring=
 
7945
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
 
7946
echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
 
7947
          no_cache=0
 
7948
          # Check whether --enable-clipboard or --disable-clipboard was given.
 
7949
if test "${enable_clipboard+set}" = set; then
 
7950
  enableval="$enable_clipboard"
 
7951
 
 
7952
                          if test "$enableval" = yes; then
 
7953
                            wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
 
7954
                          else
 
7955
                            wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
 
7956
                          fi
 
7957
 
 
7958
else
 
7959
 
 
7960
                          LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
 
7961
                          if test "x$LINE" != x ; then
 
7962
                            eval "DEFAULT_$LINE"
 
7963
                          else
 
7964
                            no_cache=1
 
7965
                          fi
 
7966
 
 
7967
                          wx_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
 
7968
 
 
7969
fi;
 
7970
 
 
7971
          eval "$wx_cv_use_clipboard"
 
7972
          if test "$no_cache" != 1; then
 
7973
            echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
 
7974
          fi
 
7975
 
 
7976
          if test "$wxUSE_CLIPBOARD" = yes; then
 
7977
            echo "$as_me:$LINENO: result: yes" >&5
 
7978
echo "${ECHO_T}yes" >&6
 
7979
          else
 
7980
            echo "$as_me:$LINENO: result: no" >&5
 
7981
echo "${ECHO_T}no" >&6
 
7982
          fi
 
7983
 
 
7984
 
 
7985
          enablestring=
 
7986
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
 
7987
echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
 
7988
          no_cache=0
 
7989
          # Check whether --enable-dnd or --disable-dnd was given.
 
7990
if test "${enable_dnd+set}" = set; then
 
7991
  enableval="$enable_dnd"
 
7992
 
 
7993
                          if test "$enableval" = yes; then
 
7994
                            wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
 
7995
                          else
 
7996
                            wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
 
7997
                          fi
 
7998
 
 
7999
else
 
8000
 
 
8001
                          LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
 
8002
                          if test "x$LINE" != x ; then
 
8003
                            eval "DEFAULT_$LINE"
 
8004
                          else
 
8005
                            no_cache=1
 
8006
                          fi
 
8007
 
 
8008
                          wx_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
 
8009
 
 
8010
fi;
 
8011
 
 
8012
          eval "$wx_cv_use_dnd"
 
8013
          if test "$no_cache" != 1; then
 
8014
            echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
 
8015
          fi
 
8016
 
 
8017
          if test "$wxUSE_DRAG_AND_DROP" = yes; then
 
8018
            echo "$as_me:$LINENO: result: yes" >&5
 
8019
echo "${ECHO_T}yes" >&6
 
8020
          else
 
8021
            echo "$as_me:$LINENO: result: no" >&5
 
8022
echo "${ECHO_T}no" >&6
 
8023
          fi
 
8024
 
 
8025
 
 
8026
          enablestring=
 
8027
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
 
8028
echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
 
8029
          no_cache=0
 
8030
          # Check whether --enable-metafile or --disable-metafile was given.
 
8031
if test "${enable_metafile+set}" = set; then
 
8032
  enableval="$enable_metafile"
 
8033
 
 
8034
                          if test "$enableval" = yes; then
 
8035
                            wx_cv_use_metafile='wxUSE_METAFILE=yes'
 
8036
                          else
 
8037
                            wx_cv_use_metafile='wxUSE_METAFILE=no'
 
8038
                          fi
 
8039
 
 
8040
else
 
8041
 
 
8042
                          LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
 
8043
                          if test "x$LINE" != x ; then
 
8044
                            eval "DEFAULT_$LINE"
 
8045
                          else
 
8046
                            no_cache=1
 
8047
                          fi
 
8048
 
 
8049
                          wx_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
 
8050
 
 
8051
fi;
 
8052
 
 
8053
          eval "$wx_cv_use_metafile"
 
8054
          if test "$no_cache" != 1; then
 
8055
            echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
 
8056
          fi
 
8057
 
 
8058
          if test "$wxUSE_METAFILE" = yes; then
 
8059
            echo "$as_me:$LINENO: result: yes" >&5
 
8060
echo "${ECHO_T}yes" >&6
 
8061
          else
 
8062
            echo "$as_me:$LINENO: result: no" >&5
 
8063
echo "${ECHO_T}no" >&6
 
8064
          fi
 
8065
 
 
8066
 
 
8067
 
 
8068
 
 
8069
 
 
8070
          enablestring=
 
8071
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
 
8072
echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
 
8073
          no_cache=0
 
8074
          # Check whether --enable-controls or --disable-controls was given.
 
8075
if test "${enable_controls+set}" = set; then
 
8076
  enableval="$enable_controls"
 
8077
 
 
8078
                          if test "$enableval" = yes; then
 
8079
                            wx_cv_use_controls='wxUSE_CONTROLS=yes'
 
8080
                          else
 
8081
                            wx_cv_use_controls='wxUSE_CONTROLS=no'
 
8082
                          fi
 
8083
 
 
8084
else
 
8085
 
 
8086
                          LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
 
8087
                          if test "x$LINE" != x ; then
 
8088
                            eval "DEFAULT_$LINE"
 
8089
                          else
 
8090
                            no_cache=1
 
8091
                          fi
 
8092
 
 
8093
                          wx_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
 
8094
 
 
8095
fi;
 
8096
 
 
8097
          eval "$wx_cv_use_controls"
 
8098
          if test "$no_cache" != 1; then
 
8099
            echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
 
8100
          fi
 
8101
 
 
8102
          if test "$wxUSE_CONTROLS" = yes; then
 
8103
            echo "$as_me:$LINENO: result: yes" >&5
 
8104
echo "${ECHO_T}yes" >&6
 
8105
          else
 
8106
            echo "$as_me:$LINENO: result: no" >&5
 
8107
echo "${ECHO_T}no" >&6
 
8108
          fi
 
8109
 
 
8110
 
 
8111
if test "$wxUSE_CONTROLS" = "yes"; then
 
8112
  DEFAULT_wxUSE_ACCEL=yes
 
8113
  DEFAULT_wxUSE_ANIMATIONCTRL=yes
 
8114
  DEFAULT_wxUSE_BMPBUTTON=yes
 
8115
  DEFAULT_wxUSE_BUTTON=yes
 
8116
  DEFAULT_wxUSE_CALCTRL=yes
 
8117
  DEFAULT_wxUSE_CARET=yes
 
8118
  DEFAULT_wxUSE_COMBOBOX=yes
 
8119
  DEFAULT_wxUSE_CHECKBOX=yes
 
8120
  DEFAULT_wxUSE_CHECKLISTBOX=yes
 
8121
  DEFAULT_wxUSE_CHOICE=yes
 
8122
  DEFAULT_wxUSE_CHOICEBOOK=yes
 
8123
  DEFAULT_wxUSE_COLLPANE=yes
 
8124
  DEFAULT_wxUSE_COLOURPICKERCTRL=yes
 
8125
  DEFAULT_wxUSE_COMBOBOX=yes
 
8126
  DEFAULT_wxUSE_DATEPICKCTRL=yes
 
8127
  DEFAULT_wxUSE_DISPLAY=yes
 
8128
  DEFAULT_wxUSE_DETECT_SM=yes
 
8129
  DEFAULT_wxUSE_DIRPICKERCTRL=yes
 
8130
  DEFAULT_wxUSE_FILEPICKERCTRL=yes
 
8131
  DEFAULT_wxUSE_FONTPICKERCTRL=yes
 
8132
  DEFAULT_wxUSE_GAUGE=yes
 
8133
  DEFAULT_wxUSE_GRID=yes
 
8134
  DEFAULT_wxUSE_HYPERLINKCTRL=yes
 
8135
  DEFAULT_wxUSE_DATAVIEWCTRL=no
 
8136
  DEFAULT_wxUSE_IMAGLIST=yes
 
8137
  DEFAULT_wxUSE_LISTBOOK=yes
 
8138
  DEFAULT_wxUSE_LISTBOX=yes
 
8139
  DEFAULT_wxUSE_LISTCTRL=yes
 
8140
  DEFAULT_wxUSE_NOTEBOOK=yes
 
8141
  DEFAULT_wxUSE_RADIOBOX=yes
 
8142
  DEFAULT_wxUSE_RADIOBTN=yes
 
8143
  DEFAULT_wxUSE_SASH=yes
 
8144
  DEFAULT_wxUSE_SCROLLBAR=yes
 
8145
  DEFAULT_wxUSE_SEARCHCTRL=yes
 
8146
  DEFAULT_wxUSE_SLIDER=yes
 
8147
  DEFAULT_wxUSE_SPINBTN=yes
 
8148
  DEFAULT_wxUSE_SPINCTRL=yes
 
8149
  DEFAULT_wxUSE_SPLITTER=yes
 
8150
  DEFAULT_wxUSE_STATBMP=yes
 
8151
  DEFAULT_wxUSE_STATBOX=yes
 
8152
  DEFAULT_wxUSE_STATLINE=yes
 
8153
  DEFAULT_wxUSE_STATUSBAR=yes
 
8154
  DEFAULT_wxUSE_TAB_DIALOG=yes
 
8155
  DEFAULT_wxUSE_TOGGLEBTN=yes
 
8156
  DEFAULT_wxUSE_TOOLBAR=yes
 
8157
  DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
 
8158
  DEFAULT_wxUSE_TOOLTIPS=yes
 
8159
  DEFAULT_wxUSE_TREEBOOK=yes
 
8160
  DEFAULT_wxUSE_TOOLBOOK=yes
 
8161
  DEFAULT_wxUSE_TREECTRL=yes
 
8162
  DEFAULT_wxUSE_POPUPWIN=yes
 
8163
  DEFAULT_wxUSE_TIPWINDOW=yes
 
8164
elif test "$wxUSE_CONTROLS" = "no"; then
 
8165
  DEFAULT_wxUSE_ACCEL=no
 
8166
  DEFAULT_wxUSE_ANIMATIONCTRL=no
 
8167
  DEFAULT_wxUSE_BMPBUTTON=no
 
8168
  DEFAULT_wxUSE_BUTTON=no
 
8169
  DEFAULT_wxUSE_CALCTRL=no
 
8170
  DEFAULT_wxUSE_CARET=no
 
8171
  DEFAULT_wxUSE_COLLPANE=no
 
8172
  DEFAULT_wxUSE_COMBOBOX=no
 
8173
  DEFAULT_wxUSE_CHECKBOX=no
 
8174
  DEFAULT_wxUSE_CHECKLISTBOX=no
 
8175
  DEFAULT_wxUSE_CHOICE=no
 
8176
  DEFAULT_wxUSE_CHOICEBOOK=no
 
8177
  DEFAULT_wxUSE_COLOURPICKERCTRL=no
 
8178
  DEFAULT_wxUSE_COMBOBOX=no
 
8179
  DEFAULT_wxUSE_DATEPICKCTRL=no
 
8180
  DEFAULT_wxUSE_DISPLAY=no
 
8181
  DEFAULT_wxUSE_DETECT_SM=no
 
8182
  DEFAULT_wxUSE_DIRPICKERCTRL=no
 
8183
  DEFAULT_wxUSE_FILEPICKERCTRL=no
 
8184
  DEFAULT_wxUSE_FONTPICKERCTRL=no
 
8185
  DEFAULT_wxUSE_GAUGE=no
 
8186
  DEFAULT_wxUSE_GRID=no
 
8187
  DEFAULT_wxUSE_HYPERLINKCTRL=no
 
8188
  DEFAULT_wxUSE_DATAVIEWCTRL=no
 
8189
  DEFAULT_wxUSE_IMAGLIST=no
 
8190
  DEFAULT_wxUSE_LISTBOOK=no
 
8191
  DEFAULT_wxUSE_LISTBOX=no
 
8192
  DEFAULT_wxUSE_LISTCTRL=no
 
8193
  DEFAULT_wxUSE_NOTEBOOK=no
 
8194
  DEFAULT_wxUSE_RADIOBOX=no
 
8195
  DEFAULT_wxUSE_RADIOBTN=no
 
8196
  DEFAULT_wxUSE_SASH=no
 
8197
  DEFAULT_wxUSE_SCROLLBAR=no
 
8198
  DEFAULT_wxUSE_SEARCHCTRL=no
 
8199
  DEFAULT_wxUSE_SLIDER=no
 
8200
  DEFAULT_wxUSE_SPINBTN=no
 
8201
  DEFAULT_wxUSE_SPINCTRL=no
 
8202
  DEFAULT_wxUSE_SPLITTER=no
 
8203
  DEFAULT_wxUSE_STATBMP=no
 
8204
  DEFAULT_wxUSE_STATBOX=no
 
8205
  DEFAULT_wxUSE_STATLINE=no
 
8206
  DEFAULT_wxUSE_STATUSBAR=no
 
8207
  DEFAULT_wxUSE_TAB_DIALOG=no
 
8208
  DEFAULT_wxUSE_TOGGLEBTN=no
 
8209
  DEFAULT_wxUSE_TOOLBAR=no
 
8210
  DEFAULT_wxUSE_TOOLBAR_NATIVE=no
 
8211
  DEFAULT_wxUSE_TOOLTIPS=no
 
8212
  DEFAULT_wxUSE_TREEBOOK=no
 
8213
  DEFAULT_wxUSE_TOOLBOOK=no
 
8214
  DEFAULT_wxUSE_TREECTRL=no
 
8215
  DEFAULT_wxUSE_POPUPWIN=no
 
8216
  DEFAULT_wxUSE_TIPWINDOW=no
 
8217
fi
 
8218
 
 
8219
 
 
8220
          enablestring=
 
8221
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
 
8222
echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
 
8223
          no_cache=0
 
8224
          # Check whether --enable-accel or --disable-accel was given.
 
8225
if test "${enable_accel+set}" = set; then
 
8226
  enableval="$enable_accel"
 
8227
 
 
8228
                          if test "$enableval" = yes; then
 
8229
                            wx_cv_use_accel='wxUSE_ACCEL=yes'
 
8230
                          else
 
8231
                            wx_cv_use_accel='wxUSE_ACCEL=no'
 
8232
                          fi
 
8233
 
 
8234
else
 
8235
 
 
8236
                          LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
 
8237
                          if test "x$LINE" != x ; then
 
8238
                            eval "DEFAULT_$LINE"
 
8239
                          else
 
8240
                            no_cache=1
 
8241
                          fi
 
8242
 
 
8243
                          wx_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
 
8244
 
 
8245
fi;
 
8246
 
 
8247
          eval "$wx_cv_use_accel"
 
8248
          if test "$no_cache" != 1; then
 
8249
            echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
 
8250
          fi
 
8251
 
 
8252
          if test "$wxUSE_ACCEL" = yes; then
 
8253
            echo "$as_me:$LINENO: result: yes" >&5
 
8254
echo "${ECHO_T}yes" >&6
 
8255
          else
 
8256
            echo "$as_me:$LINENO: result: no" >&5
 
8257
echo "${ECHO_T}no" >&6
 
8258
          fi
 
8259
 
 
8260
 
 
8261
          enablestring=
 
8262
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
 
8263
echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
 
8264
          no_cache=0
 
8265
          # Check whether --enable-animatectrl or --disable-animatectrl was given.
 
8266
if test "${enable_animatectrl+set}" = set; then
 
8267
  enableval="$enable_animatectrl"
 
8268
 
 
8269
                          if test "$enableval" = yes; then
 
8270
                            wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
 
8271
                          else
 
8272
                            wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
 
8273
                          fi
 
8274
 
 
8275
else
 
8276
 
 
8277
                          LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
 
8278
                          if test "x$LINE" != x ; then
 
8279
                            eval "DEFAULT_$LINE"
 
8280
                          else
 
8281
                            no_cache=1
 
8282
                          fi
 
8283
 
 
8284
                          wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
 
8285
 
 
8286
fi;
 
8287
 
 
8288
          eval "$wx_cv_use_animatectrl"
 
8289
          if test "$no_cache" != 1; then
 
8290
            echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
 
8291
          fi
 
8292
 
 
8293
          if test "$wxUSE_ANIMATIONCTRL" = yes; then
 
8294
            echo "$as_me:$LINENO: result: yes" >&5
 
8295
echo "${ECHO_T}yes" >&6
 
8296
          else
 
8297
            echo "$as_me:$LINENO: result: no" >&5
 
8298
echo "${ECHO_T}no" >&6
 
8299
          fi
 
8300
 
 
8301
 
 
8302
          enablestring=
 
8303
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
 
8304
echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
 
8305
          no_cache=0
 
8306
          # Check whether --enable-button or --disable-button was given.
 
8307
if test "${enable_button+set}" = set; then
 
8308
  enableval="$enable_button"
 
8309
 
 
8310
                          if test "$enableval" = yes; then
 
8311
                            wx_cv_use_button='wxUSE_BUTTON=yes'
 
8312
                          else
 
8313
                            wx_cv_use_button='wxUSE_BUTTON=no'
 
8314
                          fi
 
8315
 
 
8316
else
 
8317
 
 
8318
                          LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
 
8319
                          if test "x$LINE" != x ; then
 
8320
                            eval "DEFAULT_$LINE"
 
8321
                          else
 
8322
                            no_cache=1
 
8323
                          fi
 
8324
 
 
8325
                          wx_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
 
8326
 
 
8327
fi;
 
8328
 
 
8329
          eval "$wx_cv_use_button"
 
8330
          if test "$no_cache" != 1; then
 
8331
            echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
 
8332
          fi
 
8333
 
 
8334
          if test "$wxUSE_BUTTON" = yes; then
 
8335
            echo "$as_me:$LINENO: result: yes" >&5
 
8336
echo "${ECHO_T}yes" >&6
 
8337
          else
 
8338
            echo "$as_me:$LINENO: result: no" >&5
 
8339
echo "${ECHO_T}no" >&6
 
8340
          fi
 
8341
 
 
8342
 
 
8343
          enablestring=
 
8344
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
 
8345
echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
 
8346
          no_cache=0
 
8347
          # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
 
8348
if test "${enable_bmpbutton+set}" = set; then
 
8349
  enableval="$enable_bmpbutton"
 
8350
 
 
8351
                          if test "$enableval" = yes; then
 
8352
                            wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
 
8353
                          else
 
8354
                            wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
 
8355
                          fi
 
8356
 
 
8357
else
 
8358
 
 
8359
                          LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
 
8360
                          if test "x$LINE" != x ; then
 
8361
                            eval "DEFAULT_$LINE"
 
8362
                          else
 
8363
                            no_cache=1
 
8364
                          fi
 
8365
 
 
8366
                          wx_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
 
8367
 
 
8368
fi;
 
8369
 
 
8370
          eval "$wx_cv_use_bmpbutton"
 
8371
          if test "$no_cache" != 1; then
 
8372
            echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
 
8373
          fi
 
8374
 
 
8375
          if test "$wxUSE_BMPBUTTON" = yes; then
 
8376
            echo "$as_me:$LINENO: result: yes" >&5
 
8377
echo "${ECHO_T}yes" >&6
 
8378
          else
 
8379
            echo "$as_me:$LINENO: result: no" >&5
 
8380
echo "${ECHO_T}no" >&6
 
8381
          fi
 
8382
 
 
8383
 
 
8384
          enablestring=
 
8385
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
 
8386
echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
 
8387
          no_cache=0
 
8388
          # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
 
8389
if test "${enable_bmpcombobox+set}" = set; then
 
8390
  enableval="$enable_bmpcombobox"
 
8391
 
 
8392
                          if test "$enableval" = yes; then
 
8393
                            wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
 
8394
                          else
 
8395
                            wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
 
8396
                          fi
 
8397
 
 
8398
else
 
8399
 
 
8400
                          LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
 
8401
                          if test "x$LINE" != x ; then
 
8402
                            eval "DEFAULT_$LINE"
 
8403
                          else
 
8404
                            no_cache=1
 
8405
                          fi
 
8406
 
 
8407
                          wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
 
8408
 
 
8409
fi;
 
8410
 
 
8411
          eval "$wx_cv_use_bmpcombobox"
 
8412
          if test "$no_cache" != 1; then
 
8413
            echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
 
8414
          fi
 
8415
 
 
8416
          if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
 
8417
            echo "$as_me:$LINENO: result: yes" >&5
 
8418
echo "${ECHO_T}yes" >&6
 
8419
          else
 
8420
            echo "$as_me:$LINENO: result: no" >&5
 
8421
echo "${ECHO_T}no" >&6
 
8422
          fi
 
8423
 
 
8424
 
 
8425
          enablestring=
 
8426
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
 
8427
echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
 
8428
          no_cache=0
 
8429
          # Check whether --enable-calendar or --disable-calendar was given.
 
8430
if test "${enable_calendar+set}" = set; then
 
8431
  enableval="$enable_calendar"
 
8432
 
 
8433
                          if test "$enableval" = yes; then
 
8434
                            wx_cv_use_calendar='wxUSE_CALCTRL=yes'
 
8435
                          else
 
8436
                            wx_cv_use_calendar='wxUSE_CALCTRL=no'
 
8437
                          fi
 
8438
 
 
8439
else
 
8440
 
 
8441
                          LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
 
8442
                          if test "x$LINE" != x ; then
 
8443
                            eval "DEFAULT_$LINE"
 
8444
                          else
 
8445
                            no_cache=1
 
8446
                          fi
 
8447
 
 
8448
                          wx_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
 
8449
 
 
8450
fi;
 
8451
 
 
8452
          eval "$wx_cv_use_calendar"
 
8453
          if test "$no_cache" != 1; then
 
8454
            echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
 
8455
          fi
 
8456
 
 
8457
          if test "$wxUSE_CALCTRL" = yes; then
 
8458
            echo "$as_me:$LINENO: result: yes" >&5
 
8459
echo "${ECHO_T}yes" >&6
 
8460
          else
 
8461
            echo "$as_me:$LINENO: result: no" >&5
 
8462
echo "${ECHO_T}no" >&6
 
8463
          fi
 
8464
 
 
8465
 
 
8466
          enablestring=
 
8467
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
 
8468
echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
 
8469
          no_cache=0
 
8470
          # Check whether --enable-caret or --disable-caret was given.
 
8471
if test "${enable_caret+set}" = set; then
 
8472
  enableval="$enable_caret"
 
8473
 
 
8474
                          if test "$enableval" = yes; then
 
8475
                            wx_cv_use_caret='wxUSE_CARET=yes'
 
8476
                          else
 
8477
                            wx_cv_use_caret='wxUSE_CARET=no'
 
8478
                          fi
 
8479
 
 
8480
else
 
8481
 
 
8482
                          LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
 
8483
                          if test "x$LINE" != x ; then
 
8484
                            eval "DEFAULT_$LINE"
 
8485
                          else
 
8486
                            no_cache=1
 
8487
                          fi
 
8488
 
 
8489
                          wx_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
 
8490
 
 
8491
fi;
 
8492
 
 
8493
          eval "$wx_cv_use_caret"
 
8494
          if test "$no_cache" != 1; then
 
8495
            echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
 
8496
          fi
 
8497
 
 
8498
          if test "$wxUSE_CARET" = yes; then
 
8499
            echo "$as_me:$LINENO: result: yes" >&5
 
8500
echo "${ECHO_T}yes" >&6
 
8501
          else
 
8502
            echo "$as_me:$LINENO: result: no" >&5
 
8503
echo "${ECHO_T}no" >&6
 
8504
          fi
 
8505
 
 
8506
 
 
8507
          enablestring=
 
8508
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
 
8509
echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
 
8510
          no_cache=0
 
8511
          # Check whether --enable-checkbox or --disable-checkbox was given.
 
8512
if test "${enable_checkbox+set}" = set; then
 
8513
  enableval="$enable_checkbox"
 
8514
 
 
8515
                          if test "$enableval" = yes; then
 
8516
                            wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
 
8517
                          else
 
8518
                            wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
 
8519
                          fi
 
8520
 
 
8521
else
 
8522
 
 
8523
                          LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
 
8524
                          if test "x$LINE" != x ; then
 
8525
                            eval "DEFAULT_$LINE"
 
8526
                          else
 
8527
                            no_cache=1
 
8528
                          fi
 
8529
 
 
8530
                          wx_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
 
8531
 
 
8532
fi;
 
8533
 
 
8534
          eval "$wx_cv_use_checkbox"
 
8535
          if test "$no_cache" != 1; then
 
8536
            echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
 
8537
          fi
 
8538
 
 
8539
          if test "$wxUSE_CHECKBOX" = yes; then
 
8540
            echo "$as_me:$LINENO: result: yes" >&5
 
8541
echo "${ECHO_T}yes" >&6
 
8542
          else
 
8543
            echo "$as_me:$LINENO: result: no" >&5
 
8544
echo "${ECHO_T}no" >&6
 
8545
          fi
 
8546
 
 
8547
 
 
8548
          enablestring=
 
8549
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
 
8550
echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
 
8551
          no_cache=0
 
8552
          # Check whether --enable-checklst or --disable-checklst was given.
 
8553
if test "${enable_checklst+set}" = set; then
 
8554
  enableval="$enable_checklst"
 
8555
 
 
8556
                          if test "$enableval" = yes; then
 
8557
                            wx_cv_use_checklst='wxUSE_CHECKLST=yes'
 
8558
                          else
 
8559
                            wx_cv_use_checklst='wxUSE_CHECKLST=no'
 
8560
                          fi
 
8561
 
 
8562
else
 
8563
 
 
8564
                          LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
 
8565
                          if test "x$LINE" != x ; then
 
8566
                            eval "DEFAULT_$LINE"
 
8567
                          else
 
8568
                            no_cache=1
 
8569
                          fi
 
8570
 
 
8571
                          wx_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
 
8572
 
 
8573
fi;
 
8574
 
 
8575
          eval "$wx_cv_use_checklst"
 
8576
          if test "$no_cache" != 1; then
 
8577
            echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
 
8578
          fi
 
8579
 
 
8580
          if test "$wxUSE_CHECKLST" = yes; then
 
8581
            echo "$as_me:$LINENO: result: yes" >&5
 
8582
echo "${ECHO_T}yes" >&6
 
8583
          else
 
8584
            echo "$as_me:$LINENO: result: no" >&5
 
8585
echo "${ECHO_T}no" >&6
 
8586
          fi
 
8587
 
 
8588
 
 
8589
          enablestring=
 
8590
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
 
8591
echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
 
8592
          no_cache=0
 
8593
          # Check whether --enable-choice or --disable-choice was given.
 
8594
if test "${enable_choice+set}" = set; then
 
8595
  enableval="$enable_choice"
 
8596
 
 
8597
                          if test "$enableval" = yes; then
 
8598
                            wx_cv_use_choice='wxUSE_CHOICE=yes'
 
8599
                          else
 
8600
                            wx_cv_use_choice='wxUSE_CHOICE=no'
 
8601
                          fi
 
8602
 
 
8603
else
 
8604
 
 
8605
                          LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
 
8606
                          if test "x$LINE" != x ; then
 
8607
                            eval "DEFAULT_$LINE"
 
8608
                          else
 
8609
                            no_cache=1
 
8610
                          fi
 
8611
 
 
8612
                          wx_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
 
8613
 
 
8614
fi;
 
8615
 
 
8616
          eval "$wx_cv_use_choice"
 
8617
          if test "$no_cache" != 1; then
 
8618
            echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
 
8619
          fi
 
8620
 
 
8621
          if test "$wxUSE_CHOICE" = yes; then
 
8622
            echo "$as_me:$LINENO: result: yes" >&5
 
8623
echo "${ECHO_T}yes" >&6
 
8624
          else
 
8625
            echo "$as_me:$LINENO: result: no" >&5
 
8626
echo "${ECHO_T}no" >&6
 
8627
          fi
 
8628
 
 
8629
 
 
8630
          enablestring=
 
8631
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
 
8632
echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
 
8633
          no_cache=0
 
8634
          # Check whether --enable-choicebook or --disable-choicebook was given.
 
8635
if test "${enable_choicebook+set}" = set; then
 
8636
  enableval="$enable_choicebook"
 
8637
 
 
8638
                          if test "$enableval" = yes; then
 
8639
                            wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
 
8640
                          else
 
8641
                            wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
 
8642
                          fi
 
8643
 
 
8644
else
 
8645
 
 
8646
                          LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
 
8647
                          if test "x$LINE" != x ; then
 
8648
                            eval "DEFAULT_$LINE"
 
8649
                          else
 
8650
                            no_cache=1
 
8651
                          fi
 
8652
 
 
8653
                          wx_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
 
8654
 
 
8655
fi;
 
8656
 
 
8657
          eval "$wx_cv_use_choicebook"
 
8658
          if test "$no_cache" != 1; then
 
8659
            echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
 
8660
          fi
 
8661
 
 
8662
          if test "$wxUSE_CHOICEBOOK" = yes; then
 
8663
            echo "$as_me:$LINENO: result: yes" >&5
 
8664
echo "${ECHO_T}yes" >&6
 
8665
          else
 
8666
            echo "$as_me:$LINENO: result: no" >&5
 
8667
echo "${ECHO_T}no" >&6
 
8668
          fi
 
8669
 
 
8670
 
 
8671
          enablestring=
 
8672
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
 
8673
echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
 
8674
          no_cache=0
 
8675
          # Check whether --enable-collpane or --disable-collpane was given.
 
8676
if test "${enable_collpane+set}" = set; then
 
8677
  enableval="$enable_collpane"
 
8678
 
 
8679
                          if test "$enableval" = yes; then
 
8680
                            wx_cv_use_collpane='wxUSE_COLLPANE=yes'
 
8681
                          else
 
8682
                            wx_cv_use_collpane='wxUSE_COLLPANE=no'
 
8683
                          fi
 
8684
 
 
8685
else
 
8686
 
 
8687
                          LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
 
8688
                          if test "x$LINE" != x ; then
 
8689
                            eval "DEFAULT_$LINE"
 
8690
                          else
 
8691
                            no_cache=1
 
8692
                          fi
 
8693
 
 
8694
                          wx_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
 
8695
 
 
8696
fi;
 
8697
 
 
8698
          eval "$wx_cv_use_collpane"
 
8699
          if test "$no_cache" != 1; then
 
8700
            echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
 
8701
          fi
 
8702
 
 
8703
          if test "$wxUSE_COLLPANE" = yes; then
 
8704
            echo "$as_me:$LINENO: result: yes" >&5
 
8705
echo "${ECHO_T}yes" >&6
 
8706
          else
 
8707
            echo "$as_me:$LINENO: result: no" >&5
 
8708
echo "${ECHO_T}no" >&6
 
8709
          fi
 
8710
 
 
8711
 
 
8712
          enablestring=
 
8713
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
 
8714
echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
 
8715
          no_cache=0
 
8716
          # Check whether --enable-colourpicker or --disable-colourpicker was given.
 
8717
if test "${enable_colourpicker+set}" = set; then
 
8718
  enableval="$enable_colourpicker"
 
8719
 
 
8720
                          if test "$enableval" = yes; then
 
8721
                            wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
 
8722
                          else
 
8723
                            wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
 
8724
                          fi
 
8725
 
 
8726
else
 
8727
 
 
8728
                          LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
 
8729
                          if test "x$LINE" != x ; then
 
8730
                            eval "DEFAULT_$LINE"
 
8731
                          else
 
8732
                            no_cache=1
 
8733
                          fi
 
8734
 
 
8735
                          wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
 
8736
 
 
8737
fi;
 
8738
 
 
8739
          eval "$wx_cv_use_colourpicker"
 
8740
          if test "$no_cache" != 1; then
 
8741
            echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
 
8742
          fi
 
8743
 
 
8744
          if test "$wxUSE_COLOURPICKERCTRL" = yes; then
 
8745
            echo "$as_me:$LINENO: result: yes" >&5
 
8746
echo "${ECHO_T}yes" >&6
 
8747
          else
 
8748
            echo "$as_me:$LINENO: result: no" >&5
 
8749
echo "${ECHO_T}no" >&6
 
8750
          fi
 
8751
 
 
8752
 
 
8753
          enablestring=
 
8754
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
 
8755
echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
 
8756
          no_cache=0
 
8757
          # Check whether --enable-combobox or --disable-combobox was given.
 
8758
if test "${enable_combobox+set}" = set; then
 
8759
  enableval="$enable_combobox"
 
8760
 
 
8761
                          if test "$enableval" = yes; then
 
8762
                            wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
 
8763
                          else
 
8764
                            wx_cv_use_combobox='wxUSE_COMBOBOX=no'
 
8765
                          fi
 
8766
 
 
8767
else
 
8768
 
 
8769
                          LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
 
8770
                          if test "x$LINE" != x ; then
 
8771
                            eval "DEFAULT_$LINE"
 
8772
                          else
 
8773
                            no_cache=1
 
8774
                          fi
 
8775
 
 
8776
                          wx_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
 
8777
 
 
8778
fi;
 
8779
 
 
8780
          eval "$wx_cv_use_combobox"
 
8781
          if test "$no_cache" != 1; then
 
8782
            echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
 
8783
          fi
 
8784
 
 
8785
          if test "$wxUSE_COMBOBOX" = yes; then
 
8786
            echo "$as_me:$LINENO: result: yes" >&5
 
8787
echo "${ECHO_T}yes" >&6
 
8788
          else
 
8789
            echo "$as_me:$LINENO: result: no" >&5
 
8790
echo "${ECHO_T}no" >&6
 
8791
          fi
 
8792
 
 
8793
 
 
8794
          enablestring=
 
8795
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
 
8796
echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
 
8797
          no_cache=0
 
8798
          # Check whether --enable-comboctrl or --disable-comboctrl was given.
 
8799
if test "${enable_comboctrl+set}" = set; then
 
8800
  enableval="$enable_comboctrl"
 
8801
 
 
8802
                          if test "$enableval" = yes; then
 
8803
                            wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
 
8804
                          else
 
8805
                            wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
 
8806
                          fi
 
8807
 
 
8808
else
 
8809
 
 
8810
                          LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
 
8811
                          if test "x$LINE" != x ; then
 
8812
                            eval "DEFAULT_$LINE"
 
8813
                          else
 
8814
                            no_cache=1
 
8815
                          fi
 
8816
 
 
8817
                          wx_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
 
8818
 
 
8819
fi;
 
8820
 
 
8821
          eval "$wx_cv_use_comboctrl"
 
8822
          if test "$no_cache" != 1; then
 
8823
            echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
 
8824
          fi
 
8825
 
 
8826
          if test "$wxUSE_COMBOCTRL" = yes; then
 
8827
            echo "$as_me:$LINENO: result: yes" >&5
 
8828
echo "${ECHO_T}yes" >&6
 
8829
          else
 
8830
            echo "$as_me:$LINENO: result: no" >&5
 
8831
echo "${ECHO_T}no" >&6
 
8832
          fi
 
8833
 
 
8834
 
 
8835
          enablestring=
 
8836
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
 
8837
echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
 
8838
          no_cache=0
 
8839
          # Check whether --enable-datepick or --disable-datepick was given.
 
8840
if test "${enable_datepick+set}" = set; then
 
8841
  enableval="$enable_datepick"
 
8842
 
 
8843
                          if test "$enableval" = yes; then
 
8844
                            wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
 
8845
                          else
 
8846
                            wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
 
8847
                          fi
 
8848
 
 
8849
else
 
8850
 
 
8851
                          LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
 
8852
                          if test "x$LINE" != x ; then
 
8853
                            eval "DEFAULT_$LINE"
 
8854
                          else
 
8855
                            no_cache=1
 
8856
                          fi
 
8857
 
 
8858
                          wx_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
 
8859
 
 
8860
fi;
 
8861
 
 
8862
          eval "$wx_cv_use_datepick"
 
8863
          if test "$no_cache" != 1; then
 
8864
            echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
 
8865
          fi
 
8866
 
 
8867
          if test "$wxUSE_DATEPICKCTRL" = yes; then
 
8868
            echo "$as_me:$LINENO: result: yes" >&5
 
8869
echo "${ECHO_T}yes" >&6
 
8870
          else
 
8871
            echo "$as_me:$LINENO: result: no" >&5
 
8872
echo "${ECHO_T}no" >&6
 
8873
          fi
 
8874
 
 
8875
 
 
8876
          enablestring=
 
8877
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
 
8878
echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
 
8879
          no_cache=0
 
8880
          # Check whether --enable-dirpicker or --disable-dirpicker was given.
 
8881
if test "${enable_dirpicker+set}" = set; then
 
8882
  enableval="$enable_dirpicker"
 
8883
 
 
8884
                          if test "$enableval" = yes; then
 
8885
                            wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
 
8886
                          else
 
8887
                            wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
 
8888
                          fi
 
8889
 
 
8890
else
 
8891
 
 
8892
                          LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
 
8893
                          if test "x$LINE" != x ; then
 
8894
                            eval "DEFAULT_$LINE"
 
8895
                          else
 
8896
                            no_cache=1
 
8897
                          fi
 
8898
 
 
8899
                          wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
 
8900
 
 
8901
fi;
 
8902
 
 
8903
          eval "$wx_cv_use_dirpicker"
 
8904
          if test "$no_cache" != 1; then
 
8905
            echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
 
8906
          fi
 
8907
 
 
8908
          if test "$wxUSE_DIRPICKERCTRL" = yes; then
 
8909
            echo "$as_me:$LINENO: result: yes" >&5
 
8910
echo "${ECHO_T}yes" >&6
 
8911
          else
 
8912
            echo "$as_me:$LINENO: result: no" >&5
 
8913
echo "${ECHO_T}no" >&6
 
8914
          fi
 
8915
 
 
8916
 
 
8917
          enablestring=
 
8918
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
 
8919
echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
 
8920
          no_cache=0
 
8921
          # Check whether --enable-display or --disable-display was given.
 
8922
if test "${enable_display+set}" = set; then
 
8923
  enableval="$enable_display"
 
8924
 
 
8925
                          if test "$enableval" = yes; then
 
8926
                            wx_cv_use_display='wxUSE_DISPLAY=yes'
 
8927
                          else
 
8928
                            wx_cv_use_display='wxUSE_DISPLAY=no'
 
8929
                          fi
 
8930
 
 
8931
else
 
8932
 
 
8933
                          LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
 
8934
                          if test "x$LINE" != x ; then
 
8935
                            eval "DEFAULT_$LINE"
 
8936
                          else
 
8937
                            no_cache=1
 
8938
                          fi
 
8939
 
 
8940
                          wx_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
 
8941
 
 
8942
fi;
 
8943
 
 
8944
          eval "$wx_cv_use_display"
 
8945
          if test "$no_cache" != 1; then
 
8946
            echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
 
8947
          fi
 
8948
 
 
8949
          if test "$wxUSE_DISPLAY" = yes; then
 
8950
            echo "$as_me:$LINENO: result: yes" >&5
 
8951
echo "${ECHO_T}yes" >&6
 
8952
          else
 
8953
            echo "$as_me:$LINENO: result: no" >&5
 
8954
echo "${ECHO_T}no" >&6
 
8955
          fi
 
8956
 
 
8957
 
 
8958
          enablestring=
 
8959
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
 
8960
echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
 
8961
          no_cache=0
 
8962
          # Check whether --enable-detect_sm or --disable-detect_sm was given.
 
8963
if test "${enable_detect_sm+set}" = set; then
 
8964
  enableval="$enable_detect_sm"
 
8965
 
 
8966
                          if test "$enableval" = yes; then
 
8967
                            wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
 
8968
                          else
 
8969
                            wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
 
8970
                          fi
 
8971
 
 
8972
else
 
8973
 
 
8974
                          LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
 
8975
                          if test "x$LINE" != x ; then
 
8976
                            eval "DEFAULT_$LINE"
 
8977
                          else
 
8978
                            no_cache=1
 
8979
                          fi
 
8980
 
 
8981
                          wx_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
 
8982
 
 
8983
fi;
 
8984
 
 
8985
          eval "$wx_cv_use_detect_sm"
 
8986
          if test "$no_cache" != 1; then
 
8987
            echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
 
8988
          fi
 
8989
 
 
8990
          if test "$wxUSE_DETECT_SM" = yes; then
 
8991
            echo "$as_me:$LINENO: result: yes" >&5
 
8992
echo "${ECHO_T}yes" >&6
 
8993
          else
 
8994
            echo "$as_me:$LINENO: result: no" >&5
 
8995
echo "${ECHO_T}no" >&6
 
8996
          fi
 
8997
 
 
8998
 
 
8999
          enablestring=
 
9000
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
 
9001
echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
 
9002
          no_cache=0
 
9003
          # Check whether --enable-filepicker or --disable-filepicker was given.
 
9004
if test "${enable_filepicker+set}" = set; then
 
9005
  enableval="$enable_filepicker"
 
9006
 
 
9007
                          if test "$enableval" = yes; then
 
9008
                            wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
 
9009
                          else
 
9010
                            wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
 
9011
                          fi
 
9012
 
 
9013
else
 
9014
 
 
9015
                          LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
 
9016
                          if test "x$LINE" != x ; then
 
9017
                            eval "DEFAULT_$LINE"
 
9018
                          else
 
9019
                            no_cache=1
 
9020
                          fi
 
9021
 
 
9022
                          wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
 
9023
 
 
9024
fi;
 
9025
 
 
9026
          eval "$wx_cv_use_filepicker"
 
9027
          if test "$no_cache" != 1; then
 
9028
            echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
 
9029
          fi
 
9030
 
 
9031
          if test "$wxUSE_FILEPICKERCTRL" = yes; then
 
9032
            echo "$as_me:$LINENO: result: yes" >&5
 
9033
echo "${ECHO_T}yes" >&6
 
9034
          else
 
9035
            echo "$as_me:$LINENO: result: no" >&5
 
9036
echo "${ECHO_T}no" >&6
 
9037
          fi
 
9038
 
 
9039
 
 
9040
          enablestring=
 
9041
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
 
9042
echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
 
9043
          no_cache=0
 
9044
          # Check whether --enable-fontpicker or --disable-fontpicker was given.
 
9045
if test "${enable_fontpicker+set}" = set; then
 
9046
  enableval="$enable_fontpicker"
 
9047
 
 
9048
                          if test "$enableval" = yes; then
 
9049
                            wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
 
9050
                          else
 
9051
                            wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
 
9052
                          fi
 
9053
 
 
9054
else
 
9055
 
 
9056
                          LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
 
9057
                          if test "x$LINE" != x ; then
 
9058
                            eval "DEFAULT_$LINE"
 
9059
                          else
 
9060
                            no_cache=1
 
9061
                          fi
 
9062
 
 
9063
                          wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
 
9064
 
 
9065
fi;
 
9066
 
 
9067
          eval "$wx_cv_use_fontpicker"
 
9068
          if test "$no_cache" != 1; then
 
9069
            echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
 
9070
          fi
 
9071
 
 
9072
          if test "$wxUSE_FONTPICKERCTRL" = yes; then
 
9073
            echo "$as_me:$LINENO: result: yes" >&5
 
9074
echo "${ECHO_T}yes" >&6
 
9075
          else
 
9076
            echo "$as_me:$LINENO: result: no" >&5
 
9077
echo "${ECHO_T}no" >&6
 
9078
          fi
 
9079
 
 
9080
 
 
9081
          enablestring=
 
9082
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
 
9083
echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
 
9084
          no_cache=0
 
9085
          # Check whether --enable-gauge or --disable-gauge was given.
 
9086
if test "${enable_gauge+set}" = set; then
 
9087
  enableval="$enable_gauge"
 
9088
 
 
9089
                          if test "$enableval" = yes; then
 
9090
                            wx_cv_use_gauge='wxUSE_GAUGE=yes'
 
9091
                          else
 
9092
                            wx_cv_use_gauge='wxUSE_GAUGE=no'
 
9093
                          fi
 
9094
 
 
9095
else
 
9096
 
 
9097
                          LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
 
9098
                          if test "x$LINE" != x ; then
 
9099
                            eval "DEFAULT_$LINE"
 
9100
                          else
 
9101
                            no_cache=1
 
9102
                          fi
 
9103
 
 
9104
                          wx_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
 
9105
 
 
9106
fi;
 
9107
 
 
9108
          eval "$wx_cv_use_gauge"
 
9109
          if test "$no_cache" != 1; then
 
9110
            echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
 
9111
          fi
 
9112
 
 
9113
          if test "$wxUSE_GAUGE" = yes; then
 
9114
            echo "$as_me:$LINENO: result: yes" >&5
 
9115
echo "${ECHO_T}yes" >&6
 
9116
          else
 
9117
            echo "$as_me:$LINENO: result: no" >&5
 
9118
echo "${ECHO_T}no" >&6
 
9119
          fi
 
9120
 
 
9121
 
 
9122
          enablestring=
 
9123
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
 
9124
echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
 
9125
          no_cache=0
 
9126
          # Check whether --enable-grid or --disable-grid was given.
 
9127
if test "${enable_grid+set}" = set; then
 
9128
  enableval="$enable_grid"
 
9129
 
 
9130
                          if test "$enableval" = yes; then
 
9131
                            wx_cv_use_grid='wxUSE_GRID=yes'
 
9132
                          else
 
9133
                            wx_cv_use_grid='wxUSE_GRID=no'
 
9134
                          fi
 
9135
 
 
9136
else
 
9137
 
 
9138
                          LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
 
9139
                          if test "x$LINE" != x ; then
 
9140
                            eval "DEFAULT_$LINE"
 
9141
                          else
 
9142
                            no_cache=1
 
9143
                          fi
 
9144
 
 
9145
                          wx_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
 
9146
 
 
9147
fi;
 
9148
 
 
9149
          eval "$wx_cv_use_grid"
 
9150
          if test "$no_cache" != 1; then
 
9151
            echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
 
9152
          fi
 
9153
 
 
9154
          if test "$wxUSE_GRID" = yes; then
 
9155
            echo "$as_me:$LINENO: result: yes" >&5
 
9156
echo "${ECHO_T}yes" >&6
 
9157
          else
 
9158
            echo "$as_me:$LINENO: result: no" >&5
 
9159
echo "${ECHO_T}no" >&6
 
9160
          fi
 
9161
 
 
9162
 
 
9163
          enablestring=
 
9164
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
 
9165
echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
 
9166
          no_cache=0
 
9167
          # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
 
9168
if test "${enable_dataviewctrl+set}" = set; then
 
9169
  enableval="$enable_dataviewctrl"
 
9170
 
 
9171
                          if test "$enableval" = yes; then
 
9172
                            wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
 
9173
                          else
 
9174
                            wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
 
9175
                          fi
 
9176
 
 
9177
else
 
9178
 
 
9179
                          LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
 
9180
                          if test "x$LINE" != x ; then
 
9181
                            eval "DEFAULT_$LINE"
 
9182
                          else
 
9183
                            no_cache=1
 
9184
                          fi
 
9185
 
 
9186
                          wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
 
9187
 
 
9188
fi;
 
9189
 
 
9190
          eval "$wx_cv_use_dataviewctrl"
 
9191
          if test "$no_cache" != 1; then
 
9192
            echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
 
9193
          fi
 
9194
 
 
9195
          if test "$wxUSE_DATAVIEWCTRL" = yes; then
 
9196
            echo "$as_me:$LINENO: result: yes" >&5
 
9197
echo "${ECHO_T}yes" >&6
 
9198
          else
 
9199
            echo "$as_me:$LINENO: result: no" >&5
 
9200
echo "${ECHO_T}no" >&6
 
9201
          fi
 
9202
 
 
9203
 
 
9204
          enablestring=
 
9205
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
 
9206
echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
 
9207
          no_cache=0
 
9208
          # Check whether --enable-hyperlink or --disable-hyperlink was given.
 
9209
if test "${enable_hyperlink+set}" = set; then
 
9210
  enableval="$enable_hyperlink"
 
9211
 
 
9212
                          if test "$enableval" = yes; then
 
9213
                            wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
 
9214
                          else
 
9215
                            wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
 
9216
                          fi
 
9217
 
 
9218
else
 
9219
 
 
9220
                          LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
 
9221
                          if test "x$LINE" != x ; then
 
9222
                            eval "DEFAULT_$LINE"
 
9223
                          else
 
9224
                            no_cache=1
 
9225
                          fi
 
9226
 
 
9227
                          wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
 
9228
 
 
9229
fi;
 
9230
 
 
9231
          eval "$wx_cv_use_hyperlink"
 
9232
          if test "$no_cache" != 1; then
 
9233
            echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
 
9234
          fi
 
9235
 
 
9236
          if test "$wxUSE_HYPERLINKCTRL" = yes; then
 
9237
            echo "$as_me:$LINENO: result: yes" >&5
 
9238
echo "${ECHO_T}yes" >&6
 
9239
          else
 
9240
            echo "$as_me:$LINENO: result: no" >&5
 
9241
echo "${ECHO_T}no" >&6
 
9242
          fi
 
9243
 
 
9244
 
 
9245
          enablestring=
 
9246
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
 
9247
echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
 
9248
          no_cache=0
 
9249
          # Check whether --enable-imaglist or --disable-imaglist was given.
 
9250
if test "${enable_imaglist+set}" = set; then
 
9251
  enableval="$enable_imaglist"
 
9252
 
 
9253
                          if test "$enableval" = yes; then
 
9254
                            wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
 
9255
                          else
 
9256
                            wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
 
9257
                          fi
 
9258
 
 
9259
else
 
9260
 
 
9261
                          LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
 
9262
                          if test "x$LINE" != x ; then
 
9263
                            eval "DEFAULT_$LINE"
 
9264
                          else
 
9265
                            no_cache=1
 
9266
                          fi
 
9267
 
 
9268
                          wx_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
 
9269
 
 
9270
fi;
 
9271
 
 
9272
          eval "$wx_cv_use_imaglist"
 
9273
          if test "$no_cache" != 1; then
 
9274
            echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
 
9275
          fi
 
9276
 
 
9277
          if test "$wxUSE_IMAGLIST" = yes; then
 
9278
            echo "$as_me:$LINENO: result: yes" >&5
 
9279
echo "${ECHO_T}yes" >&6
 
9280
          else
 
9281
            echo "$as_me:$LINENO: result: no" >&5
 
9282
echo "${ECHO_T}no" >&6
 
9283
          fi
 
9284
 
 
9285
 
 
9286
          enablestring=
 
9287
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
 
9288
echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
 
9289
          no_cache=0
 
9290
          # Check whether --enable-listbook or --disable-listbook was given.
 
9291
if test "${enable_listbook+set}" = set; then
 
9292
  enableval="$enable_listbook"
 
9293
 
 
9294
                          if test "$enableval" = yes; then
 
9295
                            wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
 
9296
                          else
 
9297
                            wx_cv_use_listbook='wxUSE_LISTBOOK=no'
 
9298
                          fi
 
9299
 
 
9300
else
 
9301
 
 
9302
                          LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
 
9303
                          if test "x$LINE" != x ; then
 
9304
                            eval "DEFAULT_$LINE"
 
9305
                          else
 
9306
                            no_cache=1
 
9307
                          fi
 
9308
 
 
9309
                          wx_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
 
9310
 
 
9311
fi;
 
9312
 
 
9313
          eval "$wx_cv_use_listbook"
 
9314
          if test "$no_cache" != 1; then
 
9315
            echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
 
9316
          fi
 
9317
 
 
9318
          if test "$wxUSE_LISTBOOK" = yes; then
 
9319
            echo "$as_me:$LINENO: result: yes" >&5
 
9320
echo "${ECHO_T}yes" >&6
 
9321
          else
 
9322
            echo "$as_me:$LINENO: result: no" >&5
 
9323
echo "${ECHO_T}no" >&6
 
9324
          fi
 
9325
 
 
9326
 
 
9327
          enablestring=
 
9328
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
 
9329
echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
 
9330
          no_cache=0
 
9331
          # Check whether --enable-listbox or --disable-listbox was given.
 
9332
if test "${enable_listbox+set}" = set; then
 
9333
  enableval="$enable_listbox"
 
9334
 
 
9335
                          if test "$enableval" = yes; then
 
9336
                            wx_cv_use_listbox='wxUSE_LISTBOX=yes'
 
9337
                          else
 
9338
                            wx_cv_use_listbox='wxUSE_LISTBOX=no'
 
9339
                          fi
 
9340
 
 
9341
else
 
9342
 
 
9343
                          LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
 
9344
                          if test "x$LINE" != x ; then
 
9345
                            eval "DEFAULT_$LINE"
 
9346
                          else
 
9347
                            no_cache=1
 
9348
                          fi
 
9349
 
 
9350
                          wx_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
 
9351
 
 
9352
fi;
 
9353
 
 
9354
          eval "$wx_cv_use_listbox"
 
9355
          if test "$no_cache" != 1; then
 
9356
            echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
 
9357
          fi
 
9358
 
 
9359
          if test "$wxUSE_LISTBOX" = yes; then
 
9360
            echo "$as_me:$LINENO: result: yes" >&5
 
9361
echo "${ECHO_T}yes" >&6
 
9362
          else
 
9363
            echo "$as_me:$LINENO: result: no" >&5
 
9364
echo "${ECHO_T}no" >&6
 
9365
          fi
 
9366
 
 
9367
 
 
9368
          enablestring=
 
9369
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
 
9370
echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
 
9371
          no_cache=0
 
9372
          # Check whether --enable-listctrl or --disable-listctrl was given.
 
9373
if test "${enable_listctrl+set}" = set; then
 
9374
  enableval="$enable_listctrl"
 
9375
 
 
9376
                          if test "$enableval" = yes; then
 
9377
                            wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
 
9378
                          else
 
9379
                            wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
 
9380
                          fi
 
9381
 
 
9382
else
 
9383
 
 
9384
                          LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
 
9385
                          if test "x$LINE" != x ; then
 
9386
                            eval "DEFAULT_$LINE"
 
9387
                          else
 
9388
                            no_cache=1
 
9389
                          fi
 
9390
 
 
9391
                          wx_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
 
9392
 
 
9393
fi;
 
9394
 
 
9395
          eval "$wx_cv_use_listctrl"
 
9396
          if test "$no_cache" != 1; then
 
9397
            echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
 
9398
          fi
 
9399
 
 
9400
          if test "$wxUSE_LISTCTRL" = yes; then
 
9401
            echo "$as_me:$LINENO: result: yes" >&5
 
9402
echo "${ECHO_T}yes" >&6
 
9403
          else
 
9404
            echo "$as_me:$LINENO: result: no" >&5
 
9405
echo "${ECHO_T}no" >&6
 
9406
          fi
 
9407
 
 
9408
 
 
9409
          enablestring=
 
9410
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
 
9411
echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
 
9412
          no_cache=0
 
9413
          # Check whether --enable-notebook or --disable-notebook was given.
 
9414
if test "${enable_notebook+set}" = set; then
 
9415
  enableval="$enable_notebook"
 
9416
 
 
9417
                          if test "$enableval" = yes; then
 
9418
                            wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
 
9419
                          else
 
9420
                            wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
 
9421
                          fi
 
9422
 
 
9423
else
 
9424
 
 
9425
                          LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
 
9426
                          if test "x$LINE" != x ; then
 
9427
                            eval "DEFAULT_$LINE"
 
9428
                          else
 
9429
                            no_cache=1
 
9430
                          fi
 
9431
 
 
9432
                          wx_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
 
9433
 
 
9434
fi;
 
9435
 
 
9436
          eval "$wx_cv_use_notebook"
 
9437
          if test "$no_cache" != 1; then
 
9438
            echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
 
9439
          fi
 
9440
 
 
9441
          if test "$wxUSE_NOTEBOOK" = yes; then
 
9442
            echo "$as_me:$LINENO: result: yes" >&5
 
9443
echo "${ECHO_T}yes" >&6
 
9444
          else
 
9445
            echo "$as_me:$LINENO: result: no" >&5
 
9446
echo "${ECHO_T}no" >&6
 
9447
          fi
 
9448
 
 
9449
 
 
9450
          enablestring=
 
9451
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
 
9452
echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
 
9453
          no_cache=0
 
9454
          # Check whether --enable-odcombobox or --disable-odcombobox was given.
 
9455
if test "${enable_odcombobox+set}" = set; then
 
9456
  enableval="$enable_odcombobox"
 
9457
 
 
9458
                          if test "$enableval" = yes; then
 
9459
                            wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
 
9460
                          else
 
9461
                            wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
 
9462
                          fi
 
9463
 
 
9464
else
 
9465
 
 
9466
                          LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
 
9467
                          if test "x$LINE" != x ; then
 
9468
                            eval "DEFAULT_$LINE"
 
9469
                          else
 
9470
                            no_cache=1
 
9471
                          fi
 
9472
 
 
9473
                          wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
 
9474
 
 
9475
fi;
 
9476
 
 
9477
          eval "$wx_cv_use_odcombobox"
 
9478
          if test "$no_cache" != 1; then
 
9479
            echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
 
9480
          fi
 
9481
 
 
9482
          if test "$wxUSE_ODCOMBOBOX" = yes; then
 
9483
            echo "$as_me:$LINENO: result: yes" >&5
 
9484
echo "${ECHO_T}yes" >&6
 
9485
          else
 
9486
            echo "$as_me:$LINENO: result: no" >&5
 
9487
echo "${ECHO_T}no" >&6
 
9488
          fi
 
9489
 
 
9490
 
 
9491
          enablestring=
 
9492
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
 
9493
echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
 
9494
          no_cache=0
 
9495
          # Check whether --enable-radiobox or --disable-radiobox was given.
 
9496
if test "${enable_radiobox+set}" = set; then
 
9497
  enableval="$enable_radiobox"
 
9498
 
 
9499
                          if test "$enableval" = yes; then
 
9500
                            wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
 
9501
                          else
 
9502
                            wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
 
9503
                          fi
 
9504
 
 
9505
else
 
9506
 
 
9507
                          LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
 
9508
                          if test "x$LINE" != x ; then
 
9509
                            eval "DEFAULT_$LINE"
 
9510
                          else
 
9511
                            no_cache=1
 
9512
                          fi
 
9513
 
 
9514
                          wx_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
 
9515
 
 
9516
fi;
 
9517
 
 
9518
          eval "$wx_cv_use_radiobox"
 
9519
          if test "$no_cache" != 1; then
 
9520
            echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
 
9521
          fi
 
9522
 
 
9523
          if test "$wxUSE_RADIOBOX" = yes; then
 
9524
            echo "$as_me:$LINENO: result: yes" >&5
 
9525
echo "${ECHO_T}yes" >&6
 
9526
          else
 
9527
            echo "$as_me:$LINENO: result: no" >&5
 
9528
echo "${ECHO_T}no" >&6
 
9529
          fi
 
9530
 
 
9531
 
 
9532
          enablestring=
 
9533
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
 
9534
echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
 
9535
          no_cache=0
 
9536
          # Check whether --enable-radiobtn or --disable-radiobtn was given.
 
9537
if test "${enable_radiobtn+set}" = set; then
 
9538
  enableval="$enable_radiobtn"
 
9539
 
 
9540
                          if test "$enableval" = yes; then
 
9541
                            wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
 
9542
                          else
 
9543
                            wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
 
9544
                          fi
 
9545
 
 
9546
else
 
9547
 
 
9548
                          LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
 
9549
                          if test "x$LINE" != x ; then
 
9550
                            eval "DEFAULT_$LINE"
 
9551
                          else
 
9552
                            no_cache=1
 
9553
                          fi
 
9554
 
 
9555
                          wx_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
 
9556
 
 
9557
fi;
 
9558
 
 
9559
          eval "$wx_cv_use_radiobtn"
 
9560
          if test "$no_cache" != 1; then
 
9561
            echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
 
9562
          fi
 
9563
 
 
9564
          if test "$wxUSE_RADIOBTN" = yes; then
 
9565
            echo "$as_me:$LINENO: result: yes" >&5
 
9566
echo "${ECHO_T}yes" >&6
 
9567
          else
 
9568
            echo "$as_me:$LINENO: result: no" >&5
 
9569
echo "${ECHO_T}no" >&6
 
9570
          fi
 
9571
 
 
9572
 
 
9573
          enablestring=
 
9574
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
 
9575
echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
 
9576
          no_cache=0
 
9577
          # Check whether --enable-sash or --disable-sash was given.
 
9578
if test "${enable_sash+set}" = set; then
 
9579
  enableval="$enable_sash"
 
9580
 
 
9581
                          if test "$enableval" = yes; then
 
9582
                            wx_cv_use_sash='wxUSE_SASH=yes'
 
9583
                          else
 
9584
                            wx_cv_use_sash='wxUSE_SASH=no'
 
9585
                          fi
 
9586
 
 
9587
else
 
9588
 
 
9589
                          LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
 
9590
                          if test "x$LINE" != x ; then
 
9591
                            eval "DEFAULT_$LINE"
 
9592
                          else
 
9593
                            no_cache=1
 
9594
                          fi
 
9595
 
 
9596
                          wx_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
 
9597
 
 
9598
fi;
 
9599
 
 
9600
          eval "$wx_cv_use_sash"
 
9601
          if test "$no_cache" != 1; then
 
9602
            echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
 
9603
          fi
 
9604
 
 
9605
          if test "$wxUSE_SASH" = yes; then
 
9606
            echo "$as_me:$LINENO: result: yes" >&5
 
9607
echo "${ECHO_T}yes" >&6
 
9608
          else
 
9609
            echo "$as_me:$LINENO: result: no" >&5
 
9610
echo "${ECHO_T}no" >&6
 
9611
          fi
 
9612
 
 
9613
 
 
9614
          enablestring=
 
9615
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
 
9616
echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
 
9617
          no_cache=0
 
9618
          # Check whether --enable-scrollbar or --disable-scrollbar was given.
 
9619
if test "${enable_scrollbar+set}" = set; then
 
9620
  enableval="$enable_scrollbar"
 
9621
 
 
9622
                          if test "$enableval" = yes; then
 
9623
                            wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
 
9624
                          else
 
9625
                            wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
 
9626
                          fi
 
9627
 
 
9628
else
 
9629
 
 
9630
                          LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
 
9631
                          if test "x$LINE" != x ; then
 
9632
                            eval "DEFAULT_$LINE"
 
9633
                          else
 
9634
                            no_cache=1
 
9635
                          fi
 
9636
 
 
9637
                          wx_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
 
9638
 
 
9639
fi;
 
9640
 
 
9641
          eval "$wx_cv_use_scrollbar"
 
9642
          if test "$no_cache" != 1; then
 
9643
            echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
 
9644
          fi
 
9645
 
 
9646
          if test "$wxUSE_SCROLLBAR" = yes; then
 
9647
            echo "$as_me:$LINENO: result: yes" >&5
 
9648
echo "${ECHO_T}yes" >&6
 
9649
          else
 
9650
            echo "$as_me:$LINENO: result: no" >&5
 
9651
echo "${ECHO_T}no" >&6
 
9652
          fi
 
9653
 
 
9654
 
 
9655
          enablestring=
 
9656
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
 
9657
echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
 
9658
          no_cache=0
 
9659
          # Check whether --enable-searchctrl or --disable-searchctrl was given.
 
9660
if test "${enable_searchctrl+set}" = set; then
 
9661
  enableval="$enable_searchctrl"
 
9662
 
 
9663
                          if test "$enableval" = yes; then
 
9664
                            wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
 
9665
                          else
 
9666
                            wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
 
9667
                          fi
 
9668
 
 
9669
else
 
9670
 
 
9671
                          LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
 
9672
                          if test "x$LINE" != x ; then
 
9673
                            eval "DEFAULT_$LINE"
 
9674
                          else
 
9675
                            no_cache=1
 
9676
                          fi
 
9677
 
 
9678
                          wx_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
 
9679
 
 
9680
fi;
 
9681
 
 
9682
          eval "$wx_cv_use_searchctrl"
 
9683
          if test "$no_cache" != 1; then
 
9684
            echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
 
9685
          fi
 
9686
 
 
9687
          if test "$wxUSE_SEARCHCTRL" = yes; then
 
9688
            echo "$as_me:$LINENO: result: yes" >&5
 
9689
echo "${ECHO_T}yes" >&6
 
9690
          else
 
9691
            echo "$as_me:$LINENO: result: no" >&5
 
9692
echo "${ECHO_T}no" >&6
 
9693
          fi
 
9694
 
 
9695
 
 
9696
          enablestring=
 
9697
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
 
9698
echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
 
9699
          no_cache=0
 
9700
          # Check whether --enable-slider or --disable-slider was given.
 
9701
if test "${enable_slider+set}" = set; then
 
9702
  enableval="$enable_slider"
 
9703
 
 
9704
                          if test "$enableval" = yes; then
 
9705
                            wx_cv_use_slider='wxUSE_SLIDER=yes'
 
9706
                          else
 
9707
                            wx_cv_use_slider='wxUSE_SLIDER=no'
 
9708
                          fi
 
9709
 
 
9710
else
 
9711
 
 
9712
                          LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
 
9713
                          if test "x$LINE" != x ; then
 
9714
                            eval "DEFAULT_$LINE"
 
9715
                          else
 
9716
                            no_cache=1
 
9717
                          fi
 
9718
 
 
9719
                          wx_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
 
9720
 
 
9721
fi;
 
9722
 
 
9723
          eval "$wx_cv_use_slider"
 
9724
          if test "$no_cache" != 1; then
 
9725
            echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
 
9726
          fi
 
9727
 
 
9728
          if test "$wxUSE_SLIDER" = yes; then
 
9729
            echo "$as_me:$LINENO: result: yes" >&5
 
9730
echo "${ECHO_T}yes" >&6
 
9731
          else
 
9732
            echo "$as_me:$LINENO: result: no" >&5
 
9733
echo "${ECHO_T}no" >&6
 
9734
          fi
 
9735
 
 
9736
 
 
9737
          enablestring=
 
9738
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
 
9739
echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
 
9740
          no_cache=0
 
9741
          # Check whether --enable-spinbtn or --disable-spinbtn was given.
 
9742
if test "${enable_spinbtn+set}" = set; then
 
9743
  enableval="$enable_spinbtn"
 
9744
 
 
9745
                          if test "$enableval" = yes; then
 
9746
                            wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
 
9747
                          else
 
9748
                            wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
 
9749
                          fi
 
9750
 
 
9751
else
 
9752
 
 
9753
                          LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
 
9754
                          if test "x$LINE" != x ; then
 
9755
                            eval "DEFAULT_$LINE"
 
9756
                          else
 
9757
                            no_cache=1
 
9758
                          fi
 
9759
 
 
9760
                          wx_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
 
9761
 
 
9762
fi;
 
9763
 
 
9764
          eval "$wx_cv_use_spinbtn"
 
9765
          if test "$no_cache" != 1; then
 
9766
            echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
 
9767
          fi
 
9768
 
 
9769
          if test "$wxUSE_SPINBTN" = yes; then
 
9770
            echo "$as_me:$LINENO: result: yes" >&5
 
9771
echo "${ECHO_T}yes" >&6
 
9772
          else
 
9773
            echo "$as_me:$LINENO: result: no" >&5
 
9774
echo "${ECHO_T}no" >&6
 
9775
          fi
 
9776
 
 
9777
 
 
9778
          enablestring=
 
9779
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
 
9780
echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
 
9781
          no_cache=0
 
9782
          # Check whether --enable-spinctrl or --disable-spinctrl was given.
 
9783
if test "${enable_spinctrl+set}" = set; then
 
9784
  enableval="$enable_spinctrl"
 
9785
 
 
9786
                          if test "$enableval" = yes; then
 
9787
                            wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
 
9788
                          else
 
9789
                            wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
 
9790
                          fi
 
9791
 
 
9792
else
 
9793
 
 
9794
                          LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
 
9795
                          if test "x$LINE" != x ; then
 
9796
                            eval "DEFAULT_$LINE"
 
9797
                          else
 
9798
                            no_cache=1
 
9799
                          fi
 
9800
 
 
9801
                          wx_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
 
9802
 
 
9803
fi;
 
9804
 
 
9805
          eval "$wx_cv_use_spinctrl"
 
9806
          if test "$no_cache" != 1; then
 
9807
            echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
 
9808
          fi
 
9809
 
 
9810
          if test "$wxUSE_SPINCTRL" = yes; then
 
9811
            echo "$as_me:$LINENO: result: yes" >&5
 
9812
echo "${ECHO_T}yes" >&6
 
9813
          else
 
9814
            echo "$as_me:$LINENO: result: no" >&5
 
9815
echo "${ECHO_T}no" >&6
 
9816
          fi
 
9817
 
 
9818
 
 
9819
          enablestring=
 
9820
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
 
9821
echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
 
9822
          no_cache=0
 
9823
          # Check whether --enable-splitter or --disable-splitter was given.
 
9824
if test "${enable_splitter+set}" = set; then
 
9825
  enableval="$enable_splitter"
 
9826
 
 
9827
                          if test "$enableval" = yes; then
 
9828
                            wx_cv_use_splitter='wxUSE_SPLITTER=yes'
 
9829
                          else
 
9830
                            wx_cv_use_splitter='wxUSE_SPLITTER=no'
 
9831
                          fi
 
9832
 
 
9833
else
 
9834
 
 
9835
                          LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
 
9836
                          if test "x$LINE" != x ; then
 
9837
                            eval "DEFAULT_$LINE"
 
9838
                          else
 
9839
                            no_cache=1
 
9840
                          fi
 
9841
 
 
9842
                          wx_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
 
9843
 
 
9844
fi;
 
9845
 
 
9846
          eval "$wx_cv_use_splitter"
 
9847
          if test "$no_cache" != 1; then
 
9848
            echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
 
9849
          fi
 
9850
 
 
9851
          if test "$wxUSE_SPLITTER" = yes; then
 
9852
            echo "$as_me:$LINENO: result: yes" >&5
 
9853
echo "${ECHO_T}yes" >&6
 
9854
          else
 
9855
            echo "$as_me:$LINENO: result: no" >&5
 
9856
echo "${ECHO_T}no" >&6
 
9857
          fi
 
9858
 
 
9859
 
 
9860
          enablestring=
 
9861
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
 
9862
echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
 
9863
          no_cache=0
 
9864
          # Check whether --enable-statbmp or --disable-statbmp was given.
 
9865
if test "${enable_statbmp+set}" = set; then
 
9866
  enableval="$enable_statbmp"
 
9867
 
 
9868
                          if test "$enableval" = yes; then
 
9869
                            wx_cv_use_statbmp='wxUSE_STATBMP=yes'
 
9870
                          else
 
9871
                            wx_cv_use_statbmp='wxUSE_STATBMP=no'
 
9872
                          fi
 
9873
 
 
9874
else
 
9875
 
 
9876
                          LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
 
9877
                          if test "x$LINE" != x ; then
 
9878
                            eval "DEFAULT_$LINE"
 
9879
                          else
 
9880
                            no_cache=1
 
9881
                          fi
 
9882
 
 
9883
                          wx_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
 
9884
 
 
9885
fi;
 
9886
 
 
9887
          eval "$wx_cv_use_statbmp"
 
9888
          if test "$no_cache" != 1; then
 
9889
            echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
 
9890
          fi
 
9891
 
 
9892
          if test "$wxUSE_STATBMP" = yes; then
 
9893
            echo "$as_me:$LINENO: result: yes" >&5
 
9894
echo "${ECHO_T}yes" >&6
 
9895
          else
 
9896
            echo "$as_me:$LINENO: result: no" >&5
 
9897
echo "${ECHO_T}no" >&6
 
9898
          fi
 
9899
 
 
9900
 
 
9901
          enablestring=
 
9902
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
 
9903
echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
 
9904
          no_cache=0
 
9905
          # Check whether --enable-statbox or --disable-statbox was given.
 
9906
if test "${enable_statbox+set}" = set; then
 
9907
  enableval="$enable_statbox"
 
9908
 
 
9909
                          if test "$enableval" = yes; then
 
9910
                            wx_cv_use_statbox='wxUSE_STATBOX=yes'
 
9911
                          else
 
9912
                            wx_cv_use_statbox='wxUSE_STATBOX=no'
 
9913
                          fi
 
9914
 
 
9915
else
 
9916
 
 
9917
                          LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
 
9918
                          if test "x$LINE" != x ; then
 
9919
                            eval "DEFAULT_$LINE"
 
9920
                          else
 
9921
                            no_cache=1
 
9922
                          fi
 
9923
 
 
9924
                          wx_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
 
9925
 
 
9926
fi;
 
9927
 
 
9928
          eval "$wx_cv_use_statbox"
 
9929
          if test "$no_cache" != 1; then
 
9930
            echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
 
9931
          fi
 
9932
 
 
9933
          if test "$wxUSE_STATBOX" = yes; then
 
9934
            echo "$as_me:$LINENO: result: yes" >&5
 
9935
echo "${ECHO_T}yes" >&6
 
9936
          else
 
9937
            echo "$as_me:$LINENO: result: no" >&5
 
9938
echo "${ECHO_T}no" >&6
 
9939
          fi
 
9940
 
 
9941
 
 
9942
          enablestring=
 
9943
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
 
9944
echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
 
9945
          no_cache=0
 
9946
          # Check whether --enable-statline or --disable-statline was given.
 
9947
if test "${enable_statline+set}" = set; then
 
9948
  enableval="$enable_statline"
 
9949
 
 
9950
                          if test "$enableval" = yes; then
 
9951
                            wx_cv_use_statline='wxUSE_STATLINE=yes'
 
9952
                          else
 
9953
                            wx_cv_use_statline='wxUSE_STATLINE=no'
 
9954
                          fi
 
9955
 
 
9956
else
 
9957
 
 
9958
                          LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
 
9959
                          if test "x$LINE" != x ; then
 
9960
                            eval "DEFAULT_$LINE"
 
9961
                          else
 
9962
                            no_cache=1
 
9963
                          fi
 
9964
 
 
9965
                          wx_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
 
9966
 
 
9967
fi;
 
9968
 
 
9969
          eval "$wx_cv_use_statline"
 
9970
          if test "$no_cache" != 1; then
 
9971
            echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
 
9972
          fi
 
9973
 
 
9974
          if test "$wxUSE_STATLINE" = yes; then
 
9975
            echo "$as_me:$LINENO: result: yes" >&5
 
9976
echo "${ECHO_T}yes" >&6
 
9977
          else
 
9978
            echo "$as_me:$LINENO: result: no" >&5
 
9979
echo "${ECHO_T}no" >&6
 
9980
          fi
 
9981
 
 
9982
 
 
9983
          enablestring=
 
9984
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
 
9985
echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
 
9986
          no_cache=0
 
9987
          # Check whether --enable-stattext or --disable-stattext was given.
 
9988
if test "${enable_stattext+set}" = set; then
 
9989
  enableval="$enable_stattext"
 
9990
 
 
9991
                          if test "$enableval" = yes; then
 
9992
                            wx_cv_use_stattext='wxUSE_STATTEXT=yes'
 
9993
                          else
 
9994
                            wx_cv_use_stattext='wxUSE_STATTEXT=no'
 
9995
                          fi
 
9996
 
 
9997
else
 
9998
 
 
9999
                          LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
 
10000
                          if test "x$LINE" != x ; then
 
10001
                            eval "DEFAULT_$LINE"
 
10002
                          else
 
10003
                            no_cache=1
 
10004
                          fi
 
10005
 
 
10006
                          wx_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
 
10007
 
 
10008
fi;
 
10009
 
 
10010
          eval "$wx_cv_use_stattext"
 
10011
          if test "$no_cache" != 1; then
 
10012
            echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
 
10013
          fi
 
10014
 
 
10015
          if test "$wxUSE_STATTEXT" = yes; then
 
10016
            echo "$as_me:$LINENO: result: yes" >&5
 
10017
echo "${ECHO_T}yes" >&6
 
10018
          else
 
10019
            echo "$as_me:$LINENO: result: no" >&5
 
10020
echo "${ECHO_T}no" >&6
 
10021
          fi
 
10022
 
 
10023
 
 
10024
          enablestring=
 
10025
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
 
10026
echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
 
10027
          no_cache=0
 
10028
          # Check whether --enable-statusbar or --disable-statusbar was given.
 
10029
if test "${enable_statusbar+set}" = set; then
 
10030
  enableval="$enable_statusbar"
 
10031
 
 
10032
                          if test "$enableval" = yes; then
 
10033
                            wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
 
10034
                          else
 
10035
                            wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
 
10036
                          fi
 
10037
 
 
10038
else
 
10039
 
 
10040
                          LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
 
10041
                          if test "x$LINE" != x ; then
 
10042
                            eval "DEFAULT_$LINE"
 
10043
                          else
 
10044
                            no_cache=1
 
10045
                          fi
 
10046
 
 
10047
                          wx_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
 
10048
 
 
10049
fi;
 
10050
 
 
10051
          eval "$wx_cv_use_statusbar"
 
10052
          if test "$no_cache" != 1; then
 
10053
            echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
 
10054
          fi
 
10055
 
 
10056
          if test "$wxUSE_STATUSBAR" = yes; then
 
10057
            echo "$as_me:$LINENO: result: yes" >&5
 
10058
echo "${ECHO_T}yes" >&6
 
10059
          else
 
10060
            echo "$as_me:$LINENO: result: no" >&5
 
10061
echo "${ECHO_T}no" >&6
 
10062
          fi
 
10063
 
 
10064
 
 
10065
          enablestring=
 
10066
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
 
10067
echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
 
10068
          no_cache=0
 
10069
          # Check whether --enable-tabdialog or --disable-tabdialog was given.
 
10070
if test "${enable_tabdialog+set}" = set; then
 
10071
  enableval="$enable_tabdialog"
 
10072
 
 
10073
                          if test "$enableval" = yes; then
 
10074
                            wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
 
10075
                          else
 
10076
                            wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
 
10077
                          fi
 
10078
 
 
10079
else
 
10080
 
 
10081
                          LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
 
10082
                          if test "x$LINE" != x ; then
 
10083
                            eval "DEFAULT_$LINE"
 
10084
                          else
 
10085
                            no_cache=1
 
10086
                          fi
 
10087
 
 
10088
                          wx_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
 
10089
 
 
10090
fi;
 
10091
 
 
10092
          eval "$wx_cv_use_tabdialog"
 
10093
          if test "$no_cache" != 1; then
 
10094
            echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
 
10095
          fi
 
10096
 
 
10097
          if test "$wxUSE_TAB_DIALOG" = yes; then
 
10098
            echo "$as_me:$LINENO: result: yes" >&5
 
10099
echo "${ECHO_T}yes" >&6
 
10100
          else
 
10101
            echo "$as_me:$LINENO: result: no" >&5
 
10102
echo "${ECHO_T}no" >&6
 
10103
          fi
 
10104
 
 
10105
 
 
10106
          enablestring=
 
10107
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
 
10108
echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
 
10109
          no_cache=0
 
10110
          # Check whether --enable-textctrl or --disable-textctrl was given.
 
10111
if test "${enable_textctrl+set}" = set; then
 
10112
  enableval="$enable_textctrl"
 
10113
 
 
10114
                          if test "$enableval" = yes; then
 
10115
                            wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
 
10116
                          else
 
10117
                            wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
 
10118
                          fi
 
10119
 
 
10120
else
 
10121
 
 
10122
                          LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
 
10123
                          if test "x$LINE" != x ; then
 
10124
                            eval "DEFAULT_$LINE"
 
10125
                          else
 
10126
                            no_cache=1
 
10127
                          fi
 
10128
 
 
10129
                          wx_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
 
10130
 
 
10131
fi;
 
10132
 
 
10133
          eval "$wx_cv_use_textctrl"
 
10134
          if test "$no_cache" != 1; then
 
10135
            echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
 
10136
          fi
 
10137
 
 
10138
          if test "$wxUSE_TEXTCTRL" = yes; then
 
10139
            echo "$as_me:$LINENO: result: yes" >&5
 
10140
echo "${ECHO_T}yes" >&6
 
10141
          else
 
10142
            echo "$as_me:$LINENO: result: no" >&5
 
10143
echo "${ECHO_T}no" >&6
 
10144
          fi
 
10145
 
 
10146
 
 
10147
          enablestring=
 
10148
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
 
10149
echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
 
10150
          no_cache=0
 
10151
          # Check whether --enable-togglebtn or --disable-togglebtn was given.
 
10152
if test "${enable_togglebtn+set}" = set; then
 
10153
  enableval="$enable_togglebtn"
 
10154
 
 
10155
                          if test "$enableval" = yes; then
 
10156
                            wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
 
10157
                          else
 
10158
                            wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
 
10159
                          fi
 
10160
 
 
10161
else
 
10162
 
 
10163
                          LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
 
10164
                          if test "x$LINE" != x ; then
 
10165
                            eval "DEFAULT_$LINE"
 
10166
                          else
 
10167
                            no_cache=1
 
10168
                          fi
 
10169
 
 
10170
                          wx_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
 
10171
 
 
10172
fi;
 
10173
 
 
10174
          eval "$wx_cv_use_togglebtn"
 
10175
          if test "$no_cache" != 1; then
 
10176
            echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
 
10177
          fi
 
10178
 
 
10179
          if test "$wxUSE_TOGGLEBTN" = yes; then
 
10180
            echo "$as_me:$LINENO: result: yes" >&5
 
10181
echo "${ECHO_T}yes" >&6
 
10182
          else
 
10183
            echo "$as_me:$LINENO: result: no" >&5
 
10184
echo "${ECHO_T}no" >&6
 
10185
          fi
 
10186
 
 
10187
 
 
10188
          enablestring=
 
10189
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
 
10190
echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
 
10191
          no_cache=0
 
10192
          # Check whether --enable-toolbar or --disable-toolbar was given.
 
10193
if test "${enable_toolbar+set}" = set; then
 
10194
  enableval="$enable_toolbar"
 
10195
 
 
10196
                          if test "$enableval" = yes; then
 
10197
                            wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
 
10198
                          else
 
10199
                            wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
 
10200
                          fi
 
10201
 
 
10202
else
 
10203
 
 
10204
                          LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
 
10205
                          if test "x$LINE" != x ; then
 
10206
                            eval "DEFAULT_$LINE"
 
10207
                          else
 
10208
                            no_cache=1
 
10209
                          fi
 
10210
 
 
10211
                          wx_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
 
10212
 
 
10213
fi;
 
10214
 
 
10215
          eval "$wx_cv_use_toolbar"
 
10216
          if test "$no_cache" != 1; then
 
10217
            echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
 
10218
          fi
 
10219
 
 
10220
          if test "$wxUSE_TOOLBAR" = yes; then
 
10221
            echo "$as_me:$LINENO: result: yes" >&5
 
10222
echo "${ECHO_T}yes" >&6
 
10223
          else
 
10224
            echo "$as_me:$LINENO: result: no" >&5
 
10225
echo "${ECHO_T}no" >&6
 
10226
          fi
 
10227
 
 
10228
 
 
10229
          enablestring=
 
10230
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
 
10231
echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
 
10232
          no_cache=0
 
10233
          # Check whether --enable-tbarnative or --disable-tbarnative was given.
 
10234
if test "${enable_tbarnative+set}" = set; then
 
10235
  enableval="$enable_tbarnative"
 
10236
 
 
10237
                          if test "$enableval" = yes; then
 
10238
                            wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
 
10239
                          else
 
10240
                            wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
 
10241
                          fi
 
10242
 
 
10243
else
 
10244
 
 
10245
                          LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
 
10246
                          if test "x$LINE" != x ; then
 
10247
                            eval "DEFAULT_$LINE"
 
10248
                          else
 
10249
                            no_cache=1
 
10250
                          fi
 
10251
 
 
10252
                          wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
 
10253
 
 
10254
fi;
 
10255
 
 
10256
          eval "$wx_cv_use_tbarnative"
 
10257
          if test "$no_cache" != 1; then
 
10258
            echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
 
10259
          fi
 
10260
 
 
10261
          if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
 
10262
            echo "$as_me:$LINENO: result: yes" >&5
 
10263
echo "${ECHO_T}yes" >&6
 
10264
          else
 
10265
            echo "$as_me:$LINENO: result: no" >&5
 
10266
echo "${ECHO_T}no" >&6
 
10267
          fi
 
10268
 
 
10269
 
 
10270
          enablestring=
 
10271
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
 
10272
echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
 
10273
          no_cache=0
 
10274
          # Check whether --enable-treebook or --disable-treebook was given.
 
10275
if test "${enable_treebook+set}" = set; then
 
10276
  enableval="$enable_treebook"
 
10277
 
 
10278
                          if test "$enableval" = yes; then
 
10279
                            wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
 
10280
                          else
 
10281
                            wx_cv_use_treebook='wxUSE_TREEBOOK=no'
 
10282
                          fi
 
10283
 
 
10284
else
 
10285
 
 
10286
                          LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
 
10287
                          if test "x$LINE" != x ; then
 
10288
                            eval "DEFAULT_$LINE"
 
10289
                          else
 
10290
                            no_cache=1
 
10291
                          fi
 
10292
 
 
10293
                          wx_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
 
10294
 
 
10295
fi;
 
10296
 
 
10297
          eval "$wx_cv_use_treebook"
 
10298
          if test "$no_cache" != 1; then
 
10299
            echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
 
10300
          fi
 
10301
 
 
10302
          if test "$wxUSE_TREEBOOK" = yes; then
 
10303
            echo "$as_me:$LINENO: result: yes" >&5
 
10304
echo "${ECHO_T}yes" >&6
 
10305
          else
 
10306
            echo "$as_me:$LINENO: result: no" >&5
 
10307
echo "${ECHO_T}no" >&6
 
10308
          fi
 
10309
 
 
10310
 
 
10311
          enablestring=
 
10312
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
 
10313
echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
 
10314
          no_cache=0
 
10315
          # Check whether --enable-toolbook or --disable-toolbook was given.
 
10316
if test "${enable_toolbook+set}" = set; then
 
10317
  enableval="$enable_toolbook"
 
10318
 
 
10319
                          if test "$enableval" = yes; then
 
10320
                            wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
 
10321
                          else
 
10322
                            wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
 
10323
                          fi
 
10324
 
 
10325
else
 
10326
 
 
10327
                          LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
 
10328
                          if test "x$LINE" != x ; then
 
10329
                            eval "DEFAULT_$LINE"
 
10330
                          else
 
10331
                            no_cache=1
 
10332
                          fi
 
10333
 
 
10334
                          wx_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
 
10335
 
 
10336
fi;
 
10337
 
 
10338
          eval "$wx_cv_use_toolbook"
 
10339
          if test "$no_cache" != 1; then
 
10340
            echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
 
10341
          fi
 
10342
 
 
10343
          if test "$wxUSE_TOOLBOOK" = yes; then
 
10344
            echo "$as_me:$LINENO: result: yes" >&5
 
10345
echo "${ECHO_T}yes" >&6
 
10346
          else
 
10347
            echo "$as_me:$LINENO: result: no" >&5
 
10348
echo "${ECHO_T}no" >&6
 
10349
          fi
 
10350
 
 
10351
 
 
10352
          enablestring=
 
10353
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
 
10354
echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
 
10355
          no_cache=0
 
10356
          # Check whether --enable-treectrl or --disable-treectrl was given.
 
10357
if test "${enable_treectrl+set}" = set; then
 
10358
  enableval="$enable_treectrl"
 
10359
 
 
10360
                          if test "$enableval" = yes; then
 
10361
                            wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
 
10362
                          else
 
10363
                            wx_cv_use_treectrl='wxUSE_TREECTRL=no'
 
10364
                          fi
 
10365
 
 
10366
else
 
10367
 
 
10368
                          LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
 
10369
                          if test "x$LINE" != x ; then
 
10370
                            eval "DEFAULT_$LINE"
 
10371
                          else
 
10372
                            no_cache=1
 
10373
                          fi
 
10374
 
 
10375
                          wx_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
 
10376
 
 
10377
fi;
 
10378
 
 
10379
          eval "$wx_cv_use_treectrl"
 
10380
          if test "$no_cache" != 1; then
 
10381
            echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
 
10382
          fi
 
10383
 
 
10384
          if test "$wxUSE_TREECTRL" = yes; then
 
10385
            echo "$as_me:$LINENO: result: yes" >&5
 
10386
echo "${ECHO_T}yes" >&6
 
10387
          else
 
10388
            echo "$as_me:$LINENO: result: no" >&5
 
10389
echo "${ECHO_T}no" >&6
 
10390
          fi
 
10391
 
 
10392
 
 
10393
          enablestring=
 
10394
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
 
10395
echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
 
10396
          no_cache=0
 
10397
          # Check whether --enable-tipwindow or --disable-tipwindow was given.
 
10398
if test "${enable_tipwindow+set}" = set; then
 
10399
  enableval="$enable_tipwindow"
 
10400
 
 
10401
                          if test "$enableval" = yes; then
 
10402
                            wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
 
10403
                          else
 
10404
                            wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
 
10405
                          fi
 
10406
 
 
10407
else
 
10408
 
 
10409
                          LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
 
10410
                          if test "x$LINE" != x ; then
 
10411
                            eval "DEFAULT_$LINE"
 
10412
                          else
 
10413
                            no_cache=1
 
10414
                          fi
 
10415
 
 
10416
                          wx_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
 
10417
 
 
10418
fi;
 
10419
 
 
10420
          eval "$wx_cv_use_tipwindow"
 
10421
          if test "$no_cache" != 1; then
 
10422
            echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
 
10423
          fi
 
10424
 
 
10425
          if test "$wxUSE_TIPWINDOW" = yes; then
 
10426
            echo "$as_me:$LINENO: result: yes" >&5
 
10427
echo "${ECHO_T}yes" >&6
 
10428
          else
 
10429
            echo "$as_me:$LINENO: result: no" >&5
 
10430
echo "${ECHO_T}no" >&6
 
10431
          fi
 
10432
 
 
10433
 
 
10434
          enablestring=
 
10435
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
 
10436
echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
 
10437
          no_cache=0
 
10438
          # Check whether --enable-popupwin or --disable-popupwin was given.
 
10439
if test "${enable_popupwin+set}" = set; then
 
10440
  enableval="$enable_popupwin"
 
10441
 
 
10442
                          if test "$enableval" = yes; then
 
10443
                            wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
 
10444
                          else
 
10445
                            wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
 
10446
                          fi
 
10447
 
 
10448
else
 
10449
 
 
10450
                          LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
 
10451
                          if test "x$LINE" != x ; then
 
10452
                            eval "DEFAULT_$LINE"
 
10453
                          else
 
10454
                            no_cache=1
 
10455
                          fi
 
10456
 
 
10457
                          wx_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
 
10458
 
 
10459
fi;
 
10460
 
 
10461
          eval "$wx_cv_use_popupwin"
 
10462
          if test "$no_cache" != 1; then
 
10463
            echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
 
10464
          fi
 
10465
 
 
10466
          if test "$wxUSE_POPUPWIN" = yes; then
 
10467
            echo "$as_me:$LINENO: result: yes" >&5
 
10468
echo "${ECHO_T}yes" >&6
 
10469
          else
 
10470
            echo "$as_me:$LINENO: result: no" >&5
 
10471
echo "${ECHO_T}no" >&6
 
10472
          fi
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
          enablestring=
 
10478
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
 
10479
echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
 
10480
          no_cache=0
 
10481
          # Check whether --enable-commondlg or --disable-commondlg was given.
 
10482
if test "${enable_commondlg+set}" = set; then
 
10483
  enableval="$enable_commondlg"
 
10484
 
 
10485
                          if test "$enableval" = yes; then
 
10486
                            wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
 
10487
                          else
 
10488
                            wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
 
10489
                          fi
 
10490
 
 
10491
else
 
10492
 
 
10493
                          LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
 
10494
                          if test "x$LINE" != x ; then
 
10495
                            eval "DEFAULT_$LINE"
 
10496
                          else
 
10497
                            no_cache=1
 
10498
                          fi
 
10499
 
 
10500
                          wx_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
 
10501
 
 
10502
fi;
 
10503
 
 
10504
          eval "$wx_cv_use_commondlg"
 
10505
          if test "$no_cache" != 1; then
 
10506
            echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
 
10507
          fi
 
10508
 
 
10509
          if test "$wxUSE_COMMONDLGS" = yes; then
 
10510
            echo "$as_me:$LINENO: result: yes" >&5
 
10511
echo "${ECHO_T}yes" >&6
 
10512
          else
 
10513
            echo "$as_me:$LINENO: result: no" >&5
 
10514
echo "${ECHO_T}no" >&6
 
10515
          fi
 
10516
 
 
10517
 
 
10518
          enablestring=
 
10519
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
 
10520
echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
 
10521
          no_cache=0
 
10522
          # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
 
10523
if test "${enable_aboutdlg+set}" = set; then
 
10524
  enableval="$enable_aboutdlg"
 
10525
 
 
10526
                          if test "$enableval" = yes; then
 
10527
                            wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
 
10528
                          else
 
10529
                            wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
 
10530
                          fi
 
10531
 
 
10532
else
 
10533
 
 
10534
                          LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
 
10535
                          if test "x$LINE" != x ; then
 
10536
                            eval "DEFAULT_$LINE"
 
10537
                          else
 
10538
                            no_cache=1
 
10539
                          fi
 
10540
 
 
10541
                          wx_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
 
10542
 
 
10543
fi;
 
10544
 
 
10545
          eval "$wx_cv_use_aboutdlg"
 
10546
          if test "$no_cache" != 1; then
 
10547
            echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
 
10548
          fi
 
10549
 
 
10550
          if test "$wxUSE_ABOUTDLG" = yes; then
 
10551
            echo "$as_me:$LINENO: result: yes" >&5
 
10552
echo "${ECHO_T}yes" >&6
 
10553
          else
 
10554
            echo "$as_me:$LINENO: result: no" >&5
 
10555
echo "${ECHO_T}no" >&6
 
10556
          fi
 
10557
 
 
10558
 
 
10559
          enablestring=
 
10560
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
 
10561
echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
 
10562
          no_cache=0
 
10563
          # Check whether --enable-choicedlg or --disable-choicedlg was given.
 
10564
if test "${enable_choicedlg+set}" = set; then
 
10565
  enableval="$enable_choicedlg"
 
10566
 
 
10567
                          if test "$enableval" = yes; then
 
10568
                            wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
 
10569
                          else
 
10570
                            wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
 
10571
                          fi
 
10572
 
 
10573
else
 
10574
 
 
10575
                          LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
 
10576
                          if test "x$LINE" != x ; then
 
10577
                            eval "DEFAULT_$LINE"
 
10578
                          else
 
10579
                            no_cache=1
 
10580
                          fi
 
10581
 
 
10582
                          wx_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
 
10583
 
 
10584
fi;
 
10585
 
 
10586
          eval "$wx_cv_use_choicedlg"
 
10587
          if test "$no_cache" != 1; then
 
10588
            echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
 
10589
          fi
 
10590
 
 
10591
          if test "$wxUSE_CHOICEDLG" = yes; then
 
10592
            echo "$as_me:$LINENO: result: yes" >&5
 
10593
echo "${ECHO_T}yes" >&6
 
10594
          else
 
10595
            echo "$as_me:$LINENO: result: no" >&5
 
10596
echo "${ECHO_T}no" >&6
 
10597
          fi
 
10598
 
 
10599
 
 
10600
          enablestring=
 
10601
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
 
10602
echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
 
10603
          no_cache=0
 
10604
          # Check whether --enable-coldlg or --disable-coldlg was given.
 
10605
if test "${enable_coldlg+set}" = set; then
 
10606
  enableval="$enable_coldlg"
 
10607
 
 
10608
                          if test "$enableval" = yes; then
 
10609
                            wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
 
10610
                          else
 
10611
                            wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
 
10612
                          fi
 
10613
 
 
10614
else
 
10615
 
 
10616
                          LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
 
10617
                          if test "x$LINE" != x ; then
 
10618
                            eval "DEFAULT_$LINE"
 
10619
                          else
 
10620
                            no_cache=1
 
10621
                          fi
 
10622
 
 
10623
                          wx_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
 
10624
 
 
10625
fi;
 
10626
 
 
10627
          eval "$wx_cv_use_coldlg"
 
10628
          if test "$no_cache" != 1; then
 
10629
            echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
 
10630
          fi
 
10631
 
 
10632
          if test "$wxUSE_COLOURDLG" = yes; then
 
10633
            echo "$as_me:$LINENO: result: yes" >&5
 
10634
echo "${ECHO_T}yes" >&6
 
10635
          else
 
10636
            echo "$as_me:$LINENO: result: no" >&5
 
10637
echo "${ECHO_T}no" >&6
 
10638
          fi
 
10639
 
 
10640
 
 
10641
          enablestring=
 
10642
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
 
10643
echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
 
10644
          no_cache=0
 
10645
          # Check whether --enable-filedlg or --disable-filedlg was given.
 
10646
if test "${enable_filedlg+set}" = set; then
 
10647
  enableval="$enable_filedlg"
 
10648
 
 
10649
                          if test "$enableval" = yes; then
 
10650
                            wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
 
10651
                          else
 
10652
                            wx_cv_use_filedlg='wxUSE_FILEDLG=no'
 
10653
                          fi
 
10654
 
 
10655
else
 
10656
 
 
10657
                          LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
 
10658
                          if test "x$LINE" != x ; then
 
10659
                            eval "DEFAULT_$LINE"
 
10660
                          else
 
10661
                            no_cache=1
 
10662
                          fi
 
10663
 
 
10664
                          wx_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
 
10665
 
 
10666
fi;
 
10667
 
 
10668
          eval "$wx_cv_use_filedlg"
 
10669
          if test "$no_cache" != 1; then
 
10670
            echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
 
10671
          fi
 
10672
 
 
10673
          if test "$wxUSE_FILEDLG" = yes; then
 
10674
            echo "$as_me:$LINENO: result: yes" >&5
 
10675
echo "${ECHO_T}yes" >&6
 
10676
          else
 
10677
            echo "$as_me:$LINENO: result: no" >&5
 
10678
echo "${ECHO_T}no" >&6
 
10679
          fi
 
10680
 
 
10681
 
 
10682
          enablestring=
 
10683
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
 
10684
echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
 
10685
          no_cache=0
 
10686
          # Check whether --enable-finddlg or --disable-finddlg was given.
 
10687
if test "${enable_finddlg+set}" = set; then
 
10688
  enableval="$enable_finddlg"
 
10689
 
 
10690
                          if test "$enableval" = yes; then
 
10691
                            wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
 
10692
                          else
 
10693
                            wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
 
10694
                          fi
 
10695
 
 
10696
else
 
10697
 
 
10698
                          LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
 
10699
                          if test "x$LINE" != x ; then
 
10700
                            eval "DEFAULT_$LINE"
 
10701
                          else
 
10702
                            no_cache=1
 
10703
                          fi
 
10704
 
 
10705
                          wx_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
 
10706
 
 
10707
fi;
 
10708
 
 
10709
          eval "$wx_cv_use_finddlg"
 
10710
          if test "$no_cache" != 1; then
 
10711
            echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
 
10712
          fi
 
10713
 
 
10714
          if test "$wxUSE_FINDREPLDLG" = yes; then
 
10715
            echo "$as_me:$LINENO: result: yes" >&5
 
10716
echo "${ECHO_T}yes" >&6
 
10717
          else
 
10718
            echo "$as_me:$LINENO: result: no" >&5
 
10719
echo "${ECHO_T}no" >&6
 
10720
          fi
 
10721
 
 
10722
 
 
10723
          enablestring=
 
10724
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
 
10725
echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
 
10726
          no_cache=0
 
10727
          # Check whether --enable-fontdlg or --disable-fontdlg was given.
 
10728
if test "${enable_fontdlg+set}" = set; then
 
10729
  enableval="$enable_fontdlg"
 
10730
 
 
10731
                          if test "$enableval" = yes; then
 
10732
                            wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
 
10733
                          else
 
10734
                            wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
 
10735
                          fi
 
10736
 
 
10737
else
 
10738
 
 
10739
                          LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
 
10740
                          if test "x$LINE" != x ; then
 
10741
                            eval "DEFAULT_$LINE"
 
10742
                          else
 
10743
                            no_cache=1
 
10744
                          fi
 
10745
 
 
10746
                          wx_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
 
10747
 
 
10748
fi;
 
10749
 
 
10750
          eval "$wx_cv_use_fontdlg"
 
10751
          if test "$no_cache" != 1; then
 
10752
            echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
 
10753
          fi
 
10754
 
 
10755
          if test "$wxUSE_FONTDLG" = yes; then
 
10756
            echo "$as_me:$LINENO: result: yes" >&5
 
10757
echo "${ECHO_T}yes" >&6
 
10758
          else
 
10759
            echo "$as_me:$LINENO: result: no" >&5
 
10760
echo "${ECHO_T}no" >&6
 
10761
          fi
 
10762
 
 
10763
 
 
10764
          enablestring=
 
10765
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
 
10766
echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
 
10767
          no_cache=0
 
10768
          # Check whether --enable-dirdlg or --disable-dirdlg was given.
 
10769
if test "${enable_dirdlg+set}" = set; then
 
10770
  enableval="$enable_dirdlg"
 
10771
 
 
10772
                          if test "$enableval" = yes; then
 
10773
                            wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
 
10774
                          else
 
10775
                            wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
 
10776
                          fi
 
10777
 
 
10778
else
 
10779
 
 
10780
                          LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
 
10781
                          if test "x$LINE" != x ; then
 
10782
                            eval "DEFAULT_$LINE"
 
10783
                          else
 
10784
                            no_cache=1
 
10785
                          fi
 
10786
 
 
10787
                          wx_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
 
10788
 
 
10789
fi;
 
10790
 
 
10791
          eval "$wx_cv_use_dirdlg"
 
10792
          if test "$no_cache" != 1; then
 
10793
            echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
 
10794
          fi
 
10795
 
 
10796
          if test "$wxUSE_DIRDLG" = yes; then
 
10797
            echo "$as_me:$LINENO: result: yes" >&5
 
10798
echo "${ECHO_T}yes" >&6
 
10799
          else
 
10800
            echo "$as_me:$LINENO: result: no" >&5
 
10801
echo "${ECHO_T}no" >&6
 
10802
          fi
 
10803
 
 
10804
 
 
10805
          enablestring=
 
10806
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
 
10807
echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
 
10808
          no_cache=0
 
10809
          # Check whether --enable-msgdlg or --disable-msgdlg was given.
 
10810
if test "${enable_msgdlg+set}" = set; then
 
10811
  enableval="$enable_msgdlg"
 
10812
 
 
10813
                          if test "$enableval" = yes; then
 
10814
                            wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
 
10815
                          else
 
10816
                            wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
 
10817
                          fi
 
10818
 
 
10819
else
 
10820
 
 
10821
                          LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
 
10822
                          if test "x$LINE" != x ; then
 
10823
                            eval "DEFAULT_$LINE"
 
10824
                          else
 
10825
                            no_cache=1
 
10826
                          fi
 
10827
 
 
10828
                          wx_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
 
10829
 
 
10830
fi;
 
10831
 
 
10832
          eval "$wx_cv_use_msgdlg"
 
10833
          if test "$no_cache" != 1; then
 
10834
            echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
 
10835
          fi
 
10836
 
 
10837
          if test "$wxUSE_MSGDLG" = yes; then
 
10838
            echo "$as_me:$LINENO: result: yes" >&5
 
10839
echo "${ECHO_T}yes" >&6
 
10840
          else
 
10841
            echo "$as_me:$LINENO: result: no" >&5
 
10842
echo "${ECHO_T}no" >&6
 
10843
          fi
 
10844
 
 
10845
 
 
10846
          enablestring=
 
10847
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
 
10848
echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
 
10849
          no_cache=0
 
10850
          # Check whether --enable-numberdlg or --disable-numberdlg was given.
 
10851
if test "${enable_numberdlg+set}" = set; then
 
10852
  enableval="$enable_numberdlg"
 
10853
 
 
10854
                          if test "$enableval" = yes; then
 
10855
                            wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
 
10856
                          else
 
10857
                            wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
 
10858
                          fi
 
10859
 
 
10860
else
 
10861
 
 
10862
                          LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
 
10863
                          if test "x$LINE" != x ; then
 
10864
                            eval "DEFAULT_$LINE"
 
10865
                          else
 
10866
                            no_cache=1
 
10867
                          fi
 
10868
 
 
10869
                          wx_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
 
10870
 
 
10871
fi;
 
10872
 
 
10873
          eval "$wx_cv_use_numberdlg"
 
10874
          if test "$no_cache" != 1; then
 
10875
            echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
 
10876
          fi
 
10877
 
 
10878
          if test "$wxUSE_NUMBERDLG" = yes; then
 
10879
            echo "$as_me:$LINENO: result: yes" >&5
 
10880
echo "${ECHO_T}yes" >&6
 
10881
          else
 
10882
            echo "$as_me:$LINENO: result: no" >&5
 
10883
echo "${ECHO_T}no" >&6
 
10884
          fi
 
10885
 
 
10886
 
 
10887
          enablestring=
 
10888
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
 
10889
echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
 
10890
          no_cache=0
 
10891
          # Check whether --enable-splash or --disable-splash was given.
 
10892
if test "${enable_splash+set}" = set; then
 
10893
  enableval="$enable_splash"
 
10894
 
 
10895
                          if test "$enableval" = yes; then
 
10896
                            wx_cv_use_splash='wxUSE_SPLASH=yes'
 
10897
                          else
 
10898
                            wx_cv_use_splash='wxUSE_SPLASH=no'
 
10899
                          fi
 
10900
 
 
10901
else
 
10902
 
 
10903
                          LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
 
10904
                          if test "x$LINE" != x ; then
 
10905
                            eval "DEFAULT_$LINE"
 
10906
                          else
 
10907
                            no_cache=1
 
10908
                          fi
 
10909
 
 
10910
                          wx_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
 
10911
 
 
10912
fi;
 
10913
 
 
10914
          eval "$wx_cv_use_splash"
 
10915
          if test "$no_cache" != 1; then
 
10916
            echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
 
10917
          fi
 
10918
 
 
10919
          if test "$wxUSE_SPLASH" = yes; then
 
10920
            echo "$as_me:$LINENO: result: yes" >&5
 
10921
echo "${ECHO_T}yes" >&6
 
10922
          else
 
10923
            echo "$as_me:$LINENO: result: no" >&5
 
10924
echo "${ECHO_T}no" >&6
 
10925
          fi
 
10926
 
 
10927
 
 
10928
          enablestring=
 
10929
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
 
10930
echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
 
10931
          no_cache=0
 
10932
          # Check whether --enable-textdlg or --disable-textdlg was given.
 
10933
if test "${enable_textdlg+set}" = set; then
 
10934
  enableval="$enable_textdlg"
 
10935
 
 
10936
                          if test "$enableval" = yes; then
 
10937
                            wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
 
10938
                          else
 
10939
                            wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
 
10940
                          fi
 
10941
 
 
10942
else
 
10943
 
 
10944
                          LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
 
10945
                          if test "x$LINE" != x ; then
 
10946
                            eval "DEFAULT_$LINE"
 
10947
                          else
 
10948
                            no_cache=1
 
10949
                          fi
 
10950
 
 
10951
                          wx_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
 
10952
 
 
10953
fi;
 
10954
 
 
10955
          eval "$wx_cv_use_textdlg"
 
10956
          if test "$no_cache" != 1; then
 
10957
            echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
 
10958
          fi
 
10959
 
 
10960
          if test "$wxUSE_TEXTDLG" = yes; then
 
10961
            echo "$as_me:$LINENO: result: yes" >&5
 
10962
echo "${ECHO_T}yes" >&6
 
10963
          else
 
10964
            echo "$as_me:$LINENO: result: no" >&5
 
10965
echo "${ECHO_T}no" >&6
 
10966
          fi
 
10967
 
 
10968
 
 
10969
          enablestring=
 
10970
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
 
10971
echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
 
10972
          no_cache=0
 
10973
          # Check whether --enable-tipdlg or --disable-tipdlg was given.
 
10974
if test "${enable_tipdlg+set}" = set; then
 
10975
  enableval="$enable_tipdlg"
 
10976
 
 
10977
                          if test "$enableval" = yes; then
 
10978
                            wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
 
10979
                          else
 
10980
                            wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
 
10981
                          fi
 
10982
 
 
10983
else
 
10984
 
 
10985
                          LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
 
10986
                          if test "x$LINE" != x ; then
 
10987
                            eval "DEFAULT_$LINE"
 
10988
                          else
 
10989
                            no_cache=1
 
10990
                          fi
 
10991
 
 
10992
                          wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
 
10993
 
 
10994
fi;
 
10995
 
 
10996
          eval "$wx_cv_use_tipdlg"
 
10997
          if test "$no_cache" != 1; then
 
10998
            echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
 
10999
          fi
 
11000
 
 
11001
          if test "$wxUSE_STARTUP_TIPS" = yes; then
 
11002
            echo "$as_me:$LINENO: result: yes" >&5
 
11003
echo "${ECHO_T}yes" >&6
 
11004
          else
 
11005
            echo "$as_me:$LINENO: result: no" >&5
 
11006
echo "${ECHO_T}no" >&6
 
11007
          fi
 
11008
 
 
11009
 
 
11010
          enablestring=
 
11011
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
 
11012
echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
 
11013
          no_cache=0
 
11014
          # Check whether --enable-progressdlg or --disable-progressdlg was given.
 
11015
if test "${enable_progressdlg+set}" = set; then
 
11016
  enableval="$enable_progressdlg"
 
11017
 
 
11018
                          if test "$enableval" = yes; then
 
11019
                            wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
 
11020
                          else
 
11021
                            wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
 
11022
                          fi
 
11023
 
 
11024
else
 
11025
 
 
11026
                          LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
 
11027
                          if test "x$LINE" != x ; then
 
11028
                            eval "DEFAULT_$LINE"
 
11029
                          else
 
11030
                            no_cache=1
 
11031
                          fi
 
11032
 
 
11033
                          wx_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
 
11034
 
 
11035
fi;
 
11036
 
 
11037
          eval "$wx_cv_use_progressdlg"
 
11038
          if test "$no_cache" != 1; then
 
11039
            echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
 
11040
          fi
 
11041
 
 
11042
          if test "$wxUSE_PROGRESSDLG" = yes; then
 
11043
            echo "$as_me:$LINENO: result: yes" >&5
 
11044
echo "${ECHO_T}yes" >&6
 
11045
          else
 
11046
            echo "$as_me:$LINENO: result: no" >&5
 
11047
echo "${ECHO_T}no" >&6
 
11048
          fi
 
11049
 
 
11050
 
 
11051
          enablestring=
 
11052
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
 
11053
echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
 
11054
          no_cache=0
 
11055
          # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
 
11056
if test "${enable_wizarddlg+set}" = set; then
 
11057
  enableval="$enable_wizarddlg"
 
11058
 
 
11059
                          if test "$enableval" = yes; then
 
11060
                            wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
 
11061
                          else
 
11062
                            wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
 
11063
                          fi
 
11064
 
 
11065
else
 
11066
 
 
11067
                          LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
 
11068
                          if test "x$LINE" != x ; then
 
11069
                            eval "DEFAULT_$LINE"
 
11070
                          else
 
11071
                            no_cache=1
 
11072
                          fi
 
11073
 
 
11074
                          wx_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
 
11075
 
 
11076
fi;
 
11077
 
 
11078
          eval "$wx_cv_use_wizarddlg"
 
11079
          if test "$no_cache" != 1; then
 
11080
            echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
 
11081
          fi
 
11082
 
 
11083
          if test "$wxUSE_WIZARDDLG" = yes; then
 
11084
            echo "$as_me:$LINENO: result: yes" >&5
 
11085
echo "${ECHO_T}yes" >&6
 
11086
          else
 
11087
            echo "$as_me:$LINENO: result: no" >&5
 
11088
echo "${ECHO_T}no" >&6
 
11089
          fi
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
          enablestring=
 
11095
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
 
11096
echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
 
11097
          no_cache=0
 
11098
          # Check whether --enable-menus or --disable-menus was given.
 
11099
if test "${enable_menus+set}" = set; then
 
11100
  enableval="$enable_menus"
 
11101
 
 
11102
                          if test "$enableval" = yes; then
 
11103
                            wx_cv_use_menus='wxUSE_MENUS=yes'
 
11104
                          else
 
11105
                            wx_cv_use_menus='wxUSE_MENUS=no'
 
11106
                          fi
 
11107
 
 
11108
else
 
11109
 
 
11110
                          LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
 
11111
                          if test "x$LINE" != x ; then
 
11112
                            eval "DEFAULT_$LINE"
 
11113
                          else
 
11114
                            no_cache=1
 
11115
                          fi
 
11116
 
 
11117
                          wx_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
 
11118
 
 
11119
fi;
 
11120
 
 
11121
          eval "$wx_cv_use_menus"
 
11122
          if test "$no_cache" != 1; then
 
11123
            echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
 
11124
          fi
 
11125
 
 
11126
          if test "$wxUSE_MENUS" = yes; then
 
11127
            echo "$as_me:$LINENO: result: yes" >&5
 
11128
echo "${ECHO_T}yes" >&6
 
11129
          else
 
11130
            echo "$as_me:$LINENO: result: no" >&5
 
11131
echo "${ECHO_T}no" >&6
 
11132
          fi
 
11133
 
 
11134
 
 
11135
          enablestring=
 
11136
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
 
11137
echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
 
11138
          no_cache=0
 
11139
          # Check whether --enable-miniframe or --disable-miniframe was given.
 
11140
if test "${enable_miniframe+set}" = set; then
 
11141
  enableval="$enable_miniframe"
 
11142
 
 
11143
                          if test "$enableval" = yes; then
 
11144
                            wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
 
11145
                          else
 
11146
                            wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
 
11147
                          fi
 
11148
 
 
11149
else
 
11150
 
 
11151
                          LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
 
11152
                          if test "x$LINE" != x ; then
 
11153
                            eval "DEFAULT_$LINE"
 
11154
                          else
 
11155
                            no_cache=1
 
11156
                          fi
 
11157
 
 
11158
                          wx_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
 
11159
 
 
11160
fi;
 
11161
 
 
11162
          eval "$wx_cv_use_miniframe"
 
11163
          if test "$no_cache" != 1; then
 
11164
            echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
 
11165
          fi
 
11166
 
 
11167
          if test "$wxUSE_MINIFRAME" = yes; then
 
11168
            echo "$as_me:$LINENO: result: yes" >&5
 
11169
echo "${ECHO_T}yes" >&6
 
11170
          else
 
11171
            echo "$as_me:$LINENO: result: no" >&5
 
11172
echo "${ECHO_T}no" >&6
 
11173
          fi
 
11174
 
 
11175
 
 
11176
          enablestring=
 
11177
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
 
11178
echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
 
11179
          no_cache=0
 
11180
          # Check whether --enable-tooltips or --disable-tooltips was given.
 
11181
if test "${enable_tooltips+set}" = set; then
 
11182
  enableval="$enable_tooltips"
 
11183
 
 
11184
                          if test "$enableval" = yes; then
 
11185
                            wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
 
11186
                          else
 
11187
                            wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
 
11188
                          fi
 
11189
 
 
11190
else
 
11191
 
 
11192
                          LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
 
11193
                          if test "x$LINE" != x ; then
 
11194
                            eval "DEFAULT_$LINE"
 
11195
                          else
 
11196
                            no_cache=1
 
11197
                          fi
 
11198
 
 
11199
                          wx_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
 
11200
 
 
11201
fi;
 
11202
 
 
11203
          eval "$wx_cv_use_tooltips"
 
11204
          if test "$no_cache" != 1; then
 
11205
            echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
 
11206
          fi
 
11207
 
 
11208
          if test "$wxUSE_TOOLTIPS" = yes; then
 
11209
            echo "$as_me:$LINENO: result: yes" >&5
 
11210
echo "${ECHO_T}yes" >&6
 
11211
          else
 
11212
            echo "$as_me:$LINENO: result: no" >&5
 
11213
echo "${ECHO_T}no" >&6
 
11214
          fi
 
11215
 
 
11216
 
 
11217
          enablestring=
 
11218
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
 
11219
echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
 
11220
          no_cache=0
 
11221
          # Check whether --enable-splines or --disable-splines was given.
 
11222
if test "${enable_splines+set}" = set; then
 
11223
  enableval="$enable_splines"
 
11224
 
 
11225
                          if test "$enableval" = yes; then
 
11226
                            wx_cv_use_splines='wxUSE_SPLINES=yes'
 
11227
                          else
 
11228
                            wx_cv_use_splines='wxUSE_SPLINES=no'
 
11229
                          fi
 
11230
 
 
11231
else
 
11232
 
 
11233
                          LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
 
11234
                          if test "x$LINE" != x ; then
 
11235
                            eval "DEFAULT_$LINE"
 
11236
                          else
 
11237
                            no_cache=1
 
11238
                          fi
 
11239
 
 
11240
                          wx_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
 
11241
 
 
11242
fi;
 
11243
 
 
11244
          eval "$wx_cv_use_splines"
 
11245
          if test "$no_cache" != 1; then
 
11246
            echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
 
11247
          fi
 
11248
 
 
11249
          if test "$wxUSE_SPLINES" = yes; then
 
11250
            echo "$as_me:$LINENO: result: yes" >&5
 
11251
echo "${ECHO_T}yes" >&6
 
11252
          else
 
11253
            echo "$as_me:$LINENO: result: no" >&5
 
11254
echo "${ECHO_T}no" >&6
 
11255
          fi
 
11256
 
 
11257
 
 
11258
          enablestring=
 
11259
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
 
11260
echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
 
11261
          no_cache=0
 
11262
          # Check whether --enable-mousewheel or --disable-mousewheel was given.
 
11263
if test "${enable_mousewheel+set}" = set; then
 
11264
  enableval="$enable_mousewheel"
 
11265
 
 
11266
                          if test "$enableval" = yes; then
 
11267
                            wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
 
11268
                          else
 
11269
                            wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
 
11270
                          fi
 
11271
 
 
11272
else
 
11273
 
 
11274
                          LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
 
11275
                          if test "x$LINE" != x ; then
 
11276
                            eval "DEFAULT_$LINE"
 
11277
                          else
 
11278
                            no_cache=1
 
11279
                          fi
 
11280
 
 
11281
                          wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
 
11282
 
 
11283
fi;
 
11284
 
 
11285
          eval "$wx_cv_use_mousewheel"
 
11286
          if test "$no_cache" != 1; then
 
11287
            echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
 
11288
          fi
 
11289
 
 
11290
          if test "$wxUSE_MOUSEWHEEL" = yes; then
 
11291
            echo "$as_me:$LINENO: result: yes" >&5
 
11292
echo "${ECHO_T}yes" >&6
 
11293
          else
 
11294
            echo "$as_me:$LINENO: result: no" >&5
 
11295
echo "${ECHO_T}no" >&6
 
11296
          fi
 
11297
 
 
11298
 
 
11299
          enablestring=
 
11300
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
 
11301
echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
 
11302
          no_cache=0
 
11303
          # Check whether --enable-validators or --disable-validators was given.
 
11304
if test "${enable_validators+set}" = set; then
 
11305
  enableval="$enable_validators"
 
11306
 
 
11307
                          if test "$enableval" = yes; then
 
11308
                            wx_cv_use_validators='wxUSE_VALIDATORS=yes'
 
11309
                          else
 
11310
                            wx_cv_use_validators='wxUSE_VALIDATORS=no'
 
11311
                          fi
 
11312
 
 
11313
else
 
11314
 
 
11315
                          LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
 
11316
                          if test "x$LINE" != x ; then
 
11317
                            eval "DEFAULT_$LINE"
 
11318
                          else
 
11319
                            no_cache=1
 
11320
                          fi
 
11321
 
 
11322
                          wx_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
 
11323
 
 
11324
fi;
 
11325
 
 
11326
          eval "$wx_cv_use_validators"
 
11327
          if test "$no_cache" != 1; then
 
11328
            echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
 
11329
          fi
 
11330
 
 
11331
          if test "$wxUSE_VALIDATORS" = yes; then
 
11332
            echo "$as_me:$LINENO: result: yes" >&5
 
11333
echo "${ECHO_T}yes" >&6
 
11334
          else
 
11335
            echo "$as_me:$LINENO: result: no" >&5
 
11336
echo "${ECHO_T}no" >&6
 
11337
          fi
 
11338
 
 
11339
 
 
11340
          enablestring=
 
11341
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
 
11342
echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
 
11343
          no_cache=0
 
11344
          # Check whether --enable-busyinfo or --disable-busyinfo was given.
 
11345
if test "${enable_busyinfo+set}" = set; then
 
11346
  enableval="$enable_busyinfo"
 
11347
 
 
11348
                          if test "$enableval" = yes; then
 
11349
                            wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
 
11350
                          else
 
11351
                            wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
 
11352
                          fi
 
11353
 
 
11354
else
 
11355
 
 
11356
                          LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
 
11357
                          if test "x$LINE" != x ; then
 
11358
                            eval "DEFAULT_$LINE"
 
11359
                          else
 
11360
                            no_cache=1
 
11361
                          fi
 
11362
 
 
11363
                          wx_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
 
11364
 
 
11365
fi;
 
11366
 
 
11367
          eval "$wx_cv_use_busyinfo"
 
11368
          if test "$no_cache" != 1; then
 
11369
            echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
 
11370
          fi
 
11371
 
 
11372
          if test "$wxUSE_BUSYINFO" = yes; then
 
11373
            echo "$as_me:$LINENO: result: yes" >&5
 
11374
echo "${ECHO_T}yes" >&6
 
11375
          else
 
11376
            echo "$as_me:$LINENO: result: no" >&5
 
11377
echo "${ECHO_T}no" >&6
 
11378
          fi
 
11379
 
 
11380
 
 
11381
          enablestring=
 
11382
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
 
11383
echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
 
11384
          no_cache=0
 
11385
          # Check whether --enable-joystick or --disable-joystick was given.
 
11386
if test "${enable_joystick+set}" = set; then
 
11387
  enableval="$enable_joystick"
 
11388
 
 
11389
                          if test "$enableval" = yes; then
 
11390
                            wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
 
11391
                          else
 
11392
                            wx_cv_use_joystick='wxUSE_JOYSTICK=no'
 
11393
                          fi
 
11394
 
 
11395
else
 
11396
 
 
11397
                          LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
 
11398
                          if test "x$LINE" != x ; then
 
11399
                            eval "DEFAULT_$LINE"
 
11400
                          else
 
11401
                            no_cache=1
 
11402
                          fi
 
11403
 
 
11404
                          wx_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
 
11405
 
 
11406
fi;
 
11407
 
 
11408
          eval "$wx_cv_use_joystick"
 
11409
          if test "$no_cache" != 1; then
 
11410
            echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
 
11411
          fi
 
11412
 
 
11413
          if test "$wxUSE_JOYSTICK" = yes; then
 
11414
            echo "$as_me:$LINENO: result: yes" >&5
 
11415
echo "${ECHO_T}yes" >&6
 
11416
          else
 
11417
            echo "$as_me:$LINENO: result: no" >&5
 
11418
echo "${ECHO_T}no" >&6
 
11419
          fi
 
11420
 
 
11421
 
 
11422
          enablestring=
 
11423
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
 
11424
echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
 
11425
          no_cache=0
 
11426
          # Check whether --enable-metafile or --disable-metafile was given.
 
11427
if test "${enable_metafile+set}" = set; then
 
11428
  enableval="$enable_metafile"
 
11429
 
 
11430
                          if test "$enableval" = yes; then
 
11431
                            wx_cv_use_metafile='wxUSE_METAFILE=yes'
 
11432
                          else
 
11433
                            wx_cv_use_metafile='wxUSE_METAFILE=no'
 
11434
                          fi
 
11435
 
 
11436
else
 
11437
 
 
11438
                          LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
 
11439
                          if test "x$LINE" != x ; then
 
11440
                            eval "DEFAULT_$LINE"
 
11441
                          else
 
11442
                            no_cache=1
 
11443
                          fi
 
11444
 
 
11445
                          wx_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
 
11446
 
 
11447
fi;
 
11448
 
 
11449
          eval "$wx_cv_use_metafile"
 
11450
          if test "$no_cache" != 1; then
 
11451
            echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
 
11452
          fi
 
11453
 
 
11454
          if test "$wxUSE_METAFILE" = yes; then
 
11455
            echo "$as_me:$LINENO: result: yes" >&5
 
11456
echo "${ECHO_T}yes" >&6
 
11457
          else
 
11458
            echo "$as_me:$LINENO: result: no" >&5
 
11459
echo "${ECHO_T}no" >&6
 
11460
          fi
 
11461
 
 
11462
 
 
11463
          enablestring=
 
11464
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
 
11465
echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
 
11466
          no_cache=0
 
11467
          # Check whether --enable-dragimage or --disable-dragimage was given.
 
11468
if test "${enable_dragimage+set}" = set; then
 
11469
  enableval="$enable_dragimage"
 
11470
 
 
11471
                          if test "$enableval" = yes; then
 
11472
                            wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
 
11473
                          else
 
11474
                            wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
 
11475
                          fi
 
11476
 
 
11477
else
 
11478
 
 
11479
                          LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
 
11480
                          if test "x$LINE" != x ; then
 
11481
                            eval "DEFAULT_$LINE"
 
11482
                          else
 
11483
                            no_cache=1
 
11484
                          fi
 
11485
 
 
11486
                          wx_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
 
11487
 
 
11488
fi;
 
11489
 
 
11490
          eval "$wx_cv_use_dragimage"
 
11491
          if test "$no_cache" != 1; then
 
11492
            echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
 
11493
          fi
 
11494
 
 
11495
          if test "$wxUSE_DRAGIMAGE" = yes; then
 
11496
            echo "$as_me:$LINENO: result: yes" >&5
 
11497
echo "${ECHO_T}yes" >&6
 
11498
          else
 
11499
            echo "$as_me:$LINENO: result: no" >&5
 
11500
echo "${ECHO_T}no" >&6
 
11501
          fi
 
11502
 
 
11503
 
 
11504
          enablestring=
 
11505
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
 
11506
echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
 
11507
          no_cache=0
 
11508
          # Check whether --enable-accessibility or --disable-accessibility was given.
 
11509
if test "${enable_accessibility+set}" = set; then
 
11510
  enableval="$enable_accessibility"
 
11511
 
 
11512
                          if test "$enableval" = yes; then
 
11513
                            wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
 
11514
                          else
 
11515
                            wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
 
11516
                          fi
 
11517
 
 
11518
else
 
11519
 
 
11520
                          LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
 
11521
                          if test "x$LINE" != x ; then
 
11522
                            eval "DEFAULT_$LINE"
 
11523
                          else
 
11524
                            no_cache=1
 
11525
                          fi
 
11526
 
 
11527
                          wx_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
 
11528
 
 
11529
fi;
 
11530
 
 
11531
          eval "$wx_cv_use_accessibility"
 
11532
          if test "$no_cache" != 1; then
 
11533
            echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
 
11534
          fi
 
11535
 
 
11536
          if test "$wxUSE_ACCESSIBILITY" = yes; then
 
11537
            echo "$as_me:$LINENO: result: yes" >&5
 
11538
echo "${ECHO_T}yes" >&6
 
11539
          else
 
11540
            echo "$as_me:$LINENO: result: no" >&5
 
11541
echo "${ECHO_T}no" >&6
 
11542
          fi
 
11543
 
 
11544
 
 
11545
if test "$wxUSE_MSW" = "1"; then
 
11546
 
 
11547
          enablestring=
 
11548
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
 
11549
echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
 
11550
          no_cache=0
 
11551
          # Check whether --enable-dccache or --disable-dccache was given.
 
11552
if test "${enable_dccache+set}" = set; then
 
11553
  enableval="$enable_dccache"
 
11554
 
 
11555
                          if test "$enableval" = yes; then
 
11556
                            wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
 
11557
                          else
 
11558
                            wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
 
11559
                          fi
 
11560
 
 
11561
else
 
11562
 
 
11563
                          LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
 
11564
                          if test "x$LINE" != x ; then
 
11565
                            eval "DEFAULT_$LINE"
 
11566
                          else
 
11567
                            no_cache=1
 
11568
                          fi
 
11569
 
 
11570
                          wx_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
 
11571
 
 
11572
fi;
 
11573
 
 
11574
          eval "$wx_cv_use_dccache"
 
11575
          if test "$no_cache" != 1; then
 
11576
            echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
 
11577
          fi
 
11578
 
 
11579
          if test "$wxUSE_DC_CACHEING" = yes; then
 
11580
            echo "$as_me:$LINENO: result: yes" >&5
 
11581
echo "${ECHO_T}yes" >&6
 
11582
          else
 
11583
            echo "$as_me:$LINENO: result: no" >&5
 
11584
echo "${ECHO_T}no" >&6
 
11585
          fi
 
11586
 
 
11587
fi
 
11588
 
 
11589
 
 
11590
 
 
11591
          enablestring=
 
11592
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
 
11593
echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
 
11594
          no_cache=0
 
11595
          # Check whether --enable-palette or --disable-palette was given.
 
11596
if test "${enable_palette+set}" = set; then
 
11597
  enableval="$enable_palette"
 
11598
 
 
11599
                          if test "$enableval" = yes; then
 
11600
                            wx_cv_use_palette='wxUSE_PALETTE=yes'
 
11601
                          else
 
11602
                            wx_cv_use_palette='wxUSE_PALETTE=no'
 
11603
                          fi
 
11604
 
 
11605
else
 
11606
 
 
11607
                          LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
 
11608
                          if test "x$LINE" != x ; then
 
11609
                            eval "DEFAULT_$LINE"
 
11610
                          else
 
11611
                            no_cache=1
 
11612
                          fi
 
11613
 
 
11614
                          wx_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
 
11615
 
 
11616
fi;
 
11617
 
 
11618
          eval "$wx_cv_use_palette"
 
11619
          if test "$no_cache" != 1; then
 
11620
            echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
 
11621
          fi
 
11622
 
 
11623
          if test "$wxUSE_PALETTE" = yes; then
 
11624
            echo "$as_me:$LINENO: result: yes" >&5
 
11625
echo "${ECHO_T}yes" >&6
 
11626
          else
 
11627
            echo "$as_me:$LINENO: result: no" >&5
 
11628
echo "${ECHO_T}no" >&6
 
11629
          fi
 
11630
 
 
11631
 
 
11632
          enablestring=
 
11633
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
 
11634
echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
 
11635
          no_cache=0
 
11636
          # Check whether --enable-image or --disable-image was given.
 
11637
if test "${enable_image+set}" = set; then
 
11638
  enableval="$enable_image"
 
11639
 
 
11640
                          if test "$enableval" = yes; then
 
11641
                            wx_cv_use_image='wxUSE_IMAGE=yes'
 
11642
                          else
 
11643
                            wx_cv_use_image='wxUSE_IMAGE=no'
 
11644
                          fi
 
11645
 
 
11646
else
 
11647
 
 
11648
                          LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
 
11649
                          if test "x$LINE" != x ; then
 
11650
                            eval "DEFAULT_$LINE"
 
11651
                          else
 
11652
                            no_cache=1
 
11653
                          fi
 
11654
 
 
11655
                          wx_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
 
11656
 
 
11657
fi;
 
11658
 
 
11659
          eval "$wx_cv_use_image"
 
11660
          if test "$no_cache" != 1; then
 
11661
            echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
 
11662
          fi
 
11663
 
 
11664
          if test "$wxUSE_IMAGE" = yes; then
 
11665
            echo "$as_me:$LINENO: result: yes" >&5
 
11666
echo "${ECHO_T}yes" >&6
 
11667
          else
 
11668
            echo "$as_me:$LINENO: result: no" >&5
 
11669
echo "${ECHO_T}no" >&6
 
11670
          fi
 
11671
 
 
11672
 
 
11673
          enablestring=
 
11674
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
 
11675
echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
 
11676
          no_cache=0
 
11677
          # Check whether --enable-gif or --disable-gif was given.
 
11678
if test "${enable_gif+set}" = set; then
 
11679
  enableval="$enable_gif"
 
11680
 
 
11681
                          if test "$enableval" = yes; then
 
11682
                            wx_cv_use_gif='wxUSE_GIF=yes'
 
11683
                          else
 
11684
                            wx_cv_use_gif='wxUSE_GIF=no'
 
11685
                          fi
 
11686
 
 
11687
else
 
11688
 
 
11689
                          LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
 
11690
                          if test "x$LINE" != x ; then
 
11691
                            eval "DEFAULT_$LINE"
 
11692
                          else
 
11693
                            no_cache=1
 
11694
                          fi
 
11695
 
 
11696
                          wx_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
 
11697
 
 
11698
fi;
 
11699
 
 
11700
          eval "$wx_cv_use_gif"
 
11701
          if test "$no_cache" != 1; then
 
11702
            echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
 
11703
          fi
 
11704
 
 
11705
          if test "$wxUSE_GIF" = yes; then
 
11706
            echo "$as_me:$LINENO: result: yes" >&5
 
11707
echo "${ECHO_T}yes" >&6
 
11708
          else
 
11709
            echo "$as_me:$LINENO: result: no" >&5
 
11710
echo "${ECHO_T}no" >&6
 
11711
          fi
 
11712
 
 
11713
 
 
11714
          enablestring=
 
11715
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
 
11716
echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
 
11717
          no_cache=0
 
11718
          # Check whether --enable-pcx or --disable-pcx was given.
 
11719
if test "${enable_pcx+set}" = set; then
 
11720
  enableval="$enable_pcx"
 
11721
 
 
11722
                          if test "$enableval" = yes; then
 
11723
                            wx_cv_use_pcx='wxUSE_PCX=yes'
 
11724
                          else
 
11725
                            wx_cv_use_pcx='wxUSE_PCX=no'
 
11726
                          fi
 
11727
 
 
11728
else
 
11729
 
 
11730
                          LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
 
11731
                          if test "x$LINE" != x ; then
 
11732
                            eval "DEFAULT_$LINE"
 
11733
                          else
 
11734
                            no_cache=1
 
11735
                          fi
 
11736
 
 
11737
                          wx_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
 
11738
 
 
11739
fi;
 
11740
 
 
11741
          eval "$wx_cv_use_pcx"
 
11742
          if test "$no_cache" != 1; then
 
11743
            echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
 
11744
          fi
 
11745
 
 
11746
          if test "$wxUSE_PCX" = yes; then
 
11747
            echo "$as_me:$LINENO: result: yes" >&5
 
11748
echo "${ECHO_T}yes" >&6
 
11749
          else
 
11750
            echo "$as_me:$LINENO: result: no" >&5
 
11751
echo "${ECHO_T}no" >&6
 
11752
          fi
 
11753
 
 
11754
 
 
11755
          enablestring=
 
11756
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
 
11757
echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
 
11758
          no_cache=0
 
11759
          # Check whether --enable-tga or --disable-tga was given.
 
11760
if test "${enable_tga+set}" = set; then
 
11761
  enableval="$enable_tga"
 
11762
 
 
11763
                          if test "$enableval" = yes; then
 
11764
                            wx_cv_use_tga='wxUSE_TGA=yes'
 
11765
                          else
 
11766
                            wx_cv_use_tga='wxUSE_TGA=no'
 
11767
                          fi
 
11768
 
 
11769
else
 
11770
 
 
11771
                          LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
 
11772
                          if test "x$LINE" != x ; then
 
11773
                            eval "DEFAULT_$LINE"
 
11774
                          else
 
11775
                            no_cache=1
 
11776
                          fi
 
11777
 
 
11778
                          wx_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
 
11779
 
 
11780
fi;
 
11781
 
 
11782
          eval "$wx_cv_use_tga"
 
11783
          if test "$no_cache" != 1; then
 
11784
            echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
 
11785
          fi
 
11786
 
 
11787
          if test "$wxUSE_TGA" = yes; then
 
11788
            echo "$as_me:$LINENO: result: yes" >&5
 
11789
echo "${ECHO_T}yes" >&6
 
11790
          else
 
11791
            echo "$as_me:$LINENO: result: no" >&5
 
11792
echo "${ECHO_T}no" >&6
 
11793
          fi
 
11794
 
 
11795
 
 
11796
          enablestring=
 
11797
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
 
11798
echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
 
11799
          no_cache=0
 
11800
          # Check whether --enable-iff or --disable-iff was given.
 
11801
if test "${enable_iff+set}" = set; then
 
11802
  enableval="$enable_iff"
 
11803
 
 
11804
                          if test "$enableval" = yes; then
 
11805
                            wx_cv_use_iff='wxUSE_IFF=yes'
 
11806
                          else
 
11807
                            wx_cv_use_iff='wxUSE_IFF=no'
 
11808
                          fi
 
11809
 
 
11810
else
 
11811
 
 
11812
                          LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
 
11813
                          if test "x$LINE" != x ; then
 
11814
                            eval "DEFAULT_$LINE"
 
11815
                          else
 
11816
                            no_cache=1
 
11817
                          fi
 
11818
 
 
11819
                          wx_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
 
11820
 
 
11821
fi;
 
11822
 
 
11823
          eval "$wx_cv_use_iff"
 
11824
          if test "$no_cache" != 1; then
 
11825
            echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
 
11826
          fi
 
11827
 
 
11828
          if test "$wxUSE_IFF" = yes; then
 
11829
            echo "$as_me:$LINENO: result: yes" >&5
 
11830
echo "${ECHO_T}yes" >&6
 
11831
          else
 
11832
            echo "$as_me:$LINENO: result: no" >&5
 
11833
echo "${ECHO_T}no" >&6
 
11834
          fi
 
11835
 
 
11836
 
 
11837
          enablestring=
 
11838
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
 
11839
echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
 
11840
          no_cache=0
 
11841
          # Check whether --enable-pnm or --disable-pnm was given.
 
11842
if test "${enable_pnm+set}" = set; then
 
11843
  enableval="$enable_pnm"
 
11844
 
 
11845
                          if test "$enableval" = yes; then
 
11846
                            wx_cv_use_pnm='wxUSE_PNM=yes'
 
11847
                          else
 
11848
                            wx_cv_use_pnm='wxUSE_PNM=no'
 
11849
                          fi
 
11850
 
 
11851
else
 
11852
 
 
11853
                          LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
 
11854
                          if test "x$LINE" != x ; then
 
11855
                            eval "DEFAULT_$LINE"
 
11856
                          else
 
11857
                            no_cache=1
 
11858
                          fi
 
11859
 
 
11860
                          wx_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
 
11861
 
 
11862
fi;
 
11863
 
 
11864
          eval "$wx_cv_use_pnm"
 
11865
          if test "$no_cache" != 1; then
 
11866
            echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
 
11867
          fi
 
11868
 
 
11869
          if test "$wxUSE_PNM" = yes; then
 
11870
            echo "$as_me:$LINENO: result: yes" >&5
 
11871
echo "${ECHO_T}yes" >&6
 
11872
          else
 
11873
            echo "$as_me:$LINENO: result: no" >&5
 
11874
echo "${ECHO_T}no" >&6
 
11875
          fi
 
11876
 
 
11877
 
 
11878
          enablestring=
 
11879
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
 
11880
echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
 
11881
          no_cache=0
 
11882
          # Check whether --enable-xpm or --disable-xpm was given.
 
11883
if test "${enable_xpm+set}" = set; then
 
11884
  enableval="$enable_xpm"
 
11885
 
 
11886
                          if test "$enableval" = yes; then
 
11887
                            wx_cv_use_xpm='wxUSE_XPM=yes'
 
11888
                          else
 
11889
                            wx_cv_use_xpm='wxUSE_XPM=no'
 
11890
                          fi
 
11891
 
 
11892
else
 
11893
 
 
11894
                          LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
 
11895
                          if test "x$LINE" != x ; then
 
11896
                            eval "DEFAULT_$LINE"
 
11897
                          else
 
11898
                            no_cache=1
 
11899
                          fi
 
11900
 
 
11901
                          wx_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
 
11902
 
 
11903
fi;
 
11904
 
 
11905
          eval "$wx_cv_use_xpm"
 
11906
          if test "$no_cache" != 1; then
 
11907
            echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
 
11908
          fi
 
11909
 
 
11910
          if test "$wxUSE_XPM" = yes; then
 
11911
            echo "$as_me:$LINENO: result: yes" >&5
 
11912
echo "${ECHO_T}yes" >&6
 
11913
          else
 
11914
            echo "$as_me:$LINENO: result: no" >&5
 
11915
echo "${ECHO_T}no" >&6
 
11916
          fi
 
11917
 
 
11918
 
 
11919
          enablestring=
 
11920
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
 
11921
echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
 
11922
          no_cache=0
 
11923
          # Check whether --enable-ico_cur or --disable-ico_cur was given.
 
11924
if test "${enable_ico_cur+set}" = set; then
 
11925
  enableval="$enable_ico_cur"
 
11926
 
 
11927
                          if test "$enableval" = yes; then
 
11928
                            wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
 
11929
                          else
 
11930
                            wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
 
11931
                          fi
 
11932
 
 
11933
else
 
11934
 
 
11935
                          LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
 
11936
                          if test "x$LINE" != x ; then
 
11937
                            eval "DEFAULT_$LINE"
 
11938
                          else
 
11939
                            no_cache=1
 
11940
                          fi
 
11941
 
 
11942
                          wx_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
 
11943
 
 
11944
fi;
 
11945
 
 
11946
          eval "$wx_cv_use_ico_cur"
 
11947
          if test "$no_cache" != 1; then
 
11948
            echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
 
11949
          fi
 
11950
 
 
11951
          if test "$wxUSE_ICO_CUR" = yes; then
 
11952
            echo "$as_me:$LINENO: result: yes" >&5
 
11953
echo "${ECHO_T}yes" >&6
 
11954
          else
 
11955
            echo "$as_me:$LINENO: result: no" >&5
 
11956
echo "${ECHO_T}no" >&6
 
11957
          fi
 
11958
 
 
11959
 
 
11960
fi
 
11961
 
 
11962
 
 
11963
 
 
11964
# Check whether --with-flavour or --without-flavour was given.
 
11965
if test "${with_flavour+set}" = set; then
 
11966
  withval="$with_flavour"
 
11967
  WX_FLAVOUR="$withval"
 
11968
fi;
 
11969
 
 
11970
 
 
11971
 
 
11972
          enablestring=
 
11973
          echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
 
11974
echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
 
11975
          no_cache=0
 
11976
          # Check whether --enable-official_build or --disable-official_build was given.
 
11977
if test "${enable_official_build+set}" = set; then
 
11978
  enableval="$enable_official_build"
 
11979
 
 
11980
                          if test "$enableval" = yes; then
 
11981
                            wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
 
11982
                          else
 
11983
                            wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
 
11984
                          fi
 
11985
 
 
11986
else
 
11987
 
 
11988
                          LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
 
11989
                          if test "x$LINE" != x ; then
 
11990
                            eval "DEFAULT_$LINE"
 
11991
                          else
 
11992
                            no_cache=1
 
11993
                          fi
 
11994
 
 
11995
                          wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
 
11996
 
 
11997
fi;
 
11998
 
 
11999
          eval "$wx_cv_use_official_build"
 
12000
          if test "$no_cache" != 1; then
 
12001
            echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
 
12002
          fi
 
12003
 
 
12004
          if test "$wxUSE_OFFICIAL_BUILD" = yes; then
 
12005
            echo "$as_me:$LINENO: result: yes" >&5
 
12006
echo "${ECHO_T}yes" >&6
 
12007
          else
 
12008
            echo "$as_me:$LINENO: result: no" >&5
 
12009
echo "${ECHO_T}no" >&6
 
12010
          fi
 
12011
 
 
12012
# Check whether --enable-vendor or --disable-vendor was given.
 
12013
if test "${enable_vendor+set}" = set; then
 
12014
  enableval="$enable_vendor"
 
12015
  VENDOR="$enableval"
 
12016
fi;
 
12017
if test "x$VENDOR" = "x"; then
 
12018
    VENDOR="custom"
 
12019
fi
 
12020
 
 
12021
 
 
12022
 
 
12023
 
 
12024
          echo "saving argument cache $wx_arg_cache_file"
 
12025
          mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
 
12026
 
 
12027
 
 
12028
 
 
12029
echo "$as_me:$LINENO: checking for toolkit" >&5
 
12030
echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
 
12031
 
 
12032
# In Wine, we need to default to MSW, not GTK or MOTIF
 
12033
if test "$wxUSE_WINE" = "yes"; then
 
12034
    DEFAULT_DEFAULT_wxUSE_GTK=0
 
12035
    DEFAULT_DEFAULT_wxUSE_MOTIF=0
 
12036
    DEFAULT_DEFAULT_wxUSE_MSW=1
 
12037
    wxUSE_SHARED=no
 
12038
    CC=${CC:-winegcc}
 
12039
    CXX=${CXX:-wineg++}
 
12040
fi
 
12041
 
 
12042
 
 
12043
if test "$wxUSE_GUI" = "yes"; then
 
12044
 
 
12045
    if test "$USE_BEOS" = 1; then
 
12046
        { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
 
12047
echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
 
12048
   { (exit 1); exit 1; }; }
 
12049
    fi
 
12050
 
 
12051
    if test "$TOOLKIT_GIVEN" = 1; then
 
12052
            for toolkit in `echo $ALL_TOOLKITS`; do
 
12053
        var=wxUSE_$toolkit
 
12054
        eval "value=\$${var}"
 
12055
        if test "x$value" = "xno"; then
 
12056
          eval "$var=0"
 
12057
        elif test "x$value" != "x"; then
 
12058
          eval "$var=1"
 
12059
        fi
 
12060
 
 
12061
        if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
 
12062
          eval "wx${toolkit}_VERSION=$value"
 
12063
        fi
 
12064
      done
 
12065
    else
 
12066
            for toolkit in `echo $ALL_TOOLKITS`; do
 
12067
        if test "$has_toolkit_in_cache" != 1; then
 
12068
          var=DEFAULT_DEFAULT_wxUSE_$toolkit
 
12069
        else
 
12070
          var=DEFAULT_wxUSE_$toolkit
 
12071
 
 
12072
          eval "version=\$DEFAULT_wx${toolkit}_VERSION"
 
12073
          if test "x$version" != "x"; then
 
12074
            eval "wx${toolkit}_VERSION=$version"
 
12075
          fi
 
12076
        fi
 
12077
        eval "wxUSE_$toolkit=\$${var}"
 
12078
      done
 
12079
    fi
 
12080
 
 
12081
            NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
 
12082
                  + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
 
12083
                  + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
 
12084
 
 
12085
        case "${host}" in
 
12086
      *-pc-os2_emx | *-pc-os2-emx )
 
12087
        NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
 
12088
    esac
 
12089
 
 
12090
    case "$NUM_TOOLKITS" in
 
12091
      1)
 
12092
      ;;
 
12093
      0)
 
12094
        { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
 
12095
echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
 
12096
   { (exit 1); exit 1; }; }
 
12097
      ;;
 
12098
      *)
 
12099
        { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
 
12100
echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
 
12101
   { (exit 1); exit 1; }; }
 
12102
    esac
 
12103
 
 
12104
    # to be removed when --disable-gtk2 isn't needed
 
12105
    if test "x$wxUSE_GTK2" = "xyes"; then
 
12106
        wxGTK_VERSION=2
 
12107
    elif test "x$wxUSE_GTK2" = "xno"; then
 
12108
        wxGTK_VERSION=1
 
12109
    fi
 
12110
 
 
12111
        for toolkit in `echo $ALL_TOOLKITS`; do
 
12112
      var=wxUSE_$toolkit
 
12113
      eval "value=\$${var}"
 
12114
      if test "x$value" != x; then
 
12115
        cache_var=CACHE_$toolkit
 
12116
        eval "cache=\$${cache_var}"
 
12117
        if test "$cache" = 1; then
 
12118
          echo "$var=$value" >> ${wx_arg_cache_file}
 
12119
          eval "version=\$wx${toolkit}_VERSION"
 
12120
          if test "x$version" != "x"; then
 
12121
            echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
 
12122
          fi
 
12123
        fi
 
12124
        if test "$value" = 1; then
 
12125
          toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
 
12126
          echo "$as_me:$LINENO: result: $toolkit_echo" >&5
 
12127
echo "${ECHO_T}$toolkit_echo" >&6
 
12128
        fi
 
12129
      fi
 
12130
    done
 
12131
else
 
12132
    if test "x$host_alias" != "x"; then
 
12133
        echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
 
12134
echo "${ECHO_T}base ($host_alias hosted) only" >&6
 
12135
    else
 
12136
        echo "$as_me:$LINENO: result: base only" >&5
 
12137
echo "${ECHO_T}base only" >&6
 
12138
    fi
 
12139
fi
 
12140
 
 
12141
 
 
12142
cat >confcache <<\_ACEOF
 
12143
# This file is a shell script that caches the results of configure
 
12144
# tests run on this system so they can be shared between configure
 
12145
# scripts and configure runs, see configure's option --config-cache.
 
12146
# It is not useful on other systems.  If it contains results you don't
 
12147
# want to keep, you may remove or edit it.
 
12148
#
 
12149
# config.status only pays attention to the cache file if you give it
 
12150
# the --recheck option to rerun configure.
 
12151
#
 
12152
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
12153
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
12154
# following values.
 
12155
 
 
12156
_ACEOF
 
12157
 
 
12158
# The following way of writing the cache mishandles newlines in values,
 
12159
# but we know of no workaround that is simple, portable, and efficient.
 
12160
# So, don't put newlines in cache variables' values.
 
12161
# Ultrix sh set writes to stderr and can't be redirected directly,
 
12162
# and sets the high bit in the cache file unless we assign to the vars.
 
12163
{
 
12164
  (set) 2>&1 |
 
12165
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
12166
    *ac_space=\ *)
 
12167
      # `set' does not quote correctly, so add quotes (double-quote
 
12168
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
12169
      sed -n \
 
12170
        "s/'/'\\\\''/g;
 
12171
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
12172
      ;;
 
12173
    *)
 
12174
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
12175
      sed -n \
 
12176
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
12177
      ;;
 
12178
    esac;
 
12179
} |
 
12180
  sed '
 
12181
     t clear
 
12182
     : clear
 
12183
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
12184
     t end
 
12185
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
12186
     : end' >>confcache
 
12187
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
12188
  if test -w $cache_file; then
 
12189
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
12190
    cat confcache >$cache_file
 
12191
  else
 
12192
    echo "not updating unwritable cache $cache_file"
 
12193
  fi
 
12194
fi
 
12195
rm -f confcache
 
12196
 
 
12197
CFLAGS=${CFLAGS:=}
 
12198
 
 
12199
 
 
12200
 
 
12201
    ac_ext=c
 
12202
ac_cpp='$CPP $CPPFLAGS'
 
12203
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12204
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12205
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12206
if test -n "$ac_tool_prefix"; then
 
12207
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
12208
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
12209
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12210
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12211
if test "${ac_cv_prog_CC+set}" = set; then
 
12212
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12213
else
 
12214
  if test -n "$CC"; then
 
12215
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
12216
else
 
12217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12218
for as_dir in $PATH
 
12219
do
 
12220
  IFS=$as_save_IFS
 
12221
  test -z "$as_dir" && as_dir=.
 
12222
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12223
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12224
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
12225
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12226
    break 2
 
12227
  fi
 
12228
done
 
12229
done
 
12230
 
 
12231
fi
 
12232
fi
 
12233
CC=$ac_cv_prog_CC
 
12234
if test -n "$CC"; then
 
12235
  echo "$as_me:$LINENO: result: $CC" >&5
 
12236
echo "${ECHO_T}$CC" >&6
 
12237
else
 
12238
  echo "$as_me:$LINENO: result: no" >&5
 
12239
echo "${ECHO_T}no" >&6
 
12240
fi
 
12241
 
 
12242
fi
 
12243
if test -z "$ac_cv_prog_CC"; then
 
12244
  ac_ct_CC=$CC
 
12245
  # Extract the first word of "gcc", so it can be a program name with args.
 
12246
set dummy gcc; ac_word=$2
 
12247
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12248
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12249
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
12250
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12251
else
 
12252
  if test -n "$ac_ct_CC"; then
 
12253
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
12254
else
 
12255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12256
for as_dir in $PATH
 
12257
do
 
12258
  IFS=$as_save_IFS
 
12259
  test -z "$as_dir" && as_dir=.
 
12260
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12261
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12262
    ac_cv_prog_ac_ct_CC="gcc"
 
12263
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12264
    break 2
 
12265
  fi
 
12266
done
 
12267
done
 
12268
 
 
12269
fi
 
12270
fi
 
12271
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
12272
if test -n "$ac_ct_CC"; then
 
12273
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
12274
echo "${ECHO_T}$ac_ct_CC" >&6
 
12275
else
 
12276
  echo "$as_me:$LINENO: result: no" >&5
 
12277
echo "${ECHO_T}no" >&6
 
12278
fi
 
12279
 
 
12280
  CC=$ac_ct_CC
 
12281
else
 
12282
  CC="$ac_cv_prog_CC"
 
12283
fi
 
12284
 
 
12285
if test -z "$CC"; then
 
12286
  if test -n "$ac_tool_prefix"; then
 
12287
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
12288
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
12289
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12290
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12291
if test "${ac_cv_prog_CC+set}" = set; then
 
12292
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12293
else
 
12294
  if test -n "$CC"; then
 
12295
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
12296
else
 
12297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12298
for as_dir in $PATH
 
12299
do
 
12300
  IFS=$as_save_IFS
 
12301
  test -z "$as_dir" && as_dir=.
 
12302
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12303
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12304
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
12305
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12306
    break 2
 
12307
  fi
 
12308
done
 
12309
done
 
12310
 
 
12311
fi
 
12312
fi
 
12313
CC=$ac_cv_prog_CC
 
12314
if test -n "$CC"; then
 
12315
  echo "$as_me:$LINENO: result: $CC" >&5
 
12316
echo "${ECHO_T}$CC" >&6
 
12317
else
 
12318
  echo "$as_me:$LINENO: result: no" >&5
 
12319
echo "${ECHO_T}no" >&6
 
12320
fi
 
12321
 
 
12322
fi
 
12323
if test -z "$ac_cv_prog_CC"; then
 
12324
  ac_ct_CC=$CC
 
12325
  # Extract the first word of "cc", so it can be a program name with args.
 
12326
set dummy cc; ac_word=$2
 
12327
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12328
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12329
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
12330
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12331
else
 
12332
  if test -n "$ac_ct_CC"; then
 
12333
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
12334
else
 
12335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12336
for as_dir in $PATH
 
12337
do
 
12338
  IFS=$as_save_IFS
 
12339
  test -z "$as_dir" && as_dir=.
 
12340
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12341
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12342
    ac_cv_prog_ac_ct_CC="cc"
 
12343
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12344
    break 2
 
12345
  fi
 
12346
done
 
12347
done
 
12348
 
 
12349
fi
 
12350
fi
 
12351
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
12352
if test -n "$ac_ct_CC"; then
 
12353
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
12354
echo "${ECHO_T}$ac_ct_CC" >&6
 
12355
else
 
12356
  echo "$as_me:$LINENO: result: no" >&5
 
12357
echo "${ECHO_T}no" >&6
 
12358
fi
 
12359
 
 
12360
  CC=$ac_ct_CC
 
12361
else
 
12362
  CC="$ac_cv_prog_CC"
 
12363
fi
 
12364
 
 
12365
fi
 
12366
if test -z "$CC"; then
 
12367
  # Extract the first word of "cc", so it can be a program name with args.
 
12368
set dummy cc; ac_word=$2
 
12369
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12370
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12371
if test "${ac_cv_prog_CC+set}" = set; then
 
12372
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12373
else
 
12374
  if test -n "$CC"; then
 
12375
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
12376
else
 
12377
  ac_prog_rejected=no
 
12378
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12379
for as_dir in $PATH
 
12380
do
 
12381
  IFS=$as_save_IFS
 
12382
  test -z "$as_dir" && as_dir=.
 
12383
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12384
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12385
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
12386
       ac_prog_rejected=yes
 
12387
       continue
 
12388
     fi
 
12389
    ac_cv_prog_CC="cc"
 
12390
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12391
    break 2
 
12392
  fi
 
12393
done
 
12394
done
 
12395
 
 
12396
if test $ac_prog_rejected = yes; then
 
12397
  # We found a bogon in the path, so make sure we never use it.
 
12398
  set dummy $ac_cv_prog_CC
 
12399
  shift
 
12400
  if test $# != 0; then
 
12401
    # We chose a different compiler from the bogus one.
 
12402
    # However, it has the same basename, so the bogon will be chosen
 
12403
    # first if we set CC to just the basename; use the full file name.
 
12404
    shift
 
12405
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
12406
  fi
 
12407
fi
 
12408
fi
 
12409
fi
 
12410
CC=$ac_cv_prog_CC
 
12411
if test -n "$CC"; then
 
12412
  echo "$as_me:$LINENO: result: $CC" >&5
 
12413
echo "${ECHO_T}$CC" >&6
 
12414
else
 
12415
  echo "$as_me:$LINENO: result: no" >&5
 
12416
echo "${ECHO_T}no" >&6
 
12417
fi
 
12418
 
 
12419
fi
 
12420
if test -z "$CC"; then
 
12421
  if test -n "$ac_tool_prefix"; then
 
12422
  for ac_prog in cl
 
12423
  do
 
12424
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
12425
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
12426
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12427
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12428
if test "${ac_cv_prog_CC+set}" = set; then
 
12429
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12430
else
 
12431
  if test -n "$CC"; then
 
12432
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
12433
else
 
12434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12435
for as_dir in $PATH
 
12436
do
 
12437
  IFS=$as_save_IFS
 
12438
  test -z "$as_dir" && as_dir=.
 
12439
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12440
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12441
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
12442
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12443
    break 2
 
12444
  fi
 
12445
done
 
12446
done
 
12447
 
 
12448
fi
 
12449
fi
 
12450
CC=$ac_cv_prog_CC
 
12451
if test -n "$CC"; then
 
12452
  echo "$as_me:$LINENO: result: $CC" >&5
 
12453
echo "${ECHO_T}$CC" >&6
 
12454
else
 
12455
  echo "$as_me:$LINENO: result: no" >&5
 
12456
echo "${ECHO_T}no" >&6
 
12457
fi
 
12458
 
 
12459
    test -n "$CC" && break
 
12460
  done
 
12461
fi
 
12462
if test -z "$CC"; then
 
12463
  ac_ct_CC=$CC
 
12464
  for ac_prog in cl
 
12465
do
 
12466
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12467
set dummy $ac_prog; ac_word=$2
 
12468
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12470
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
12471
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12472
else
 
12473
  if test -n "$ac_ct_CC"; then
 
12474
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
12475
else
 
12476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12477
for as_dir in $PATH
 
12478
do
 
12479
  IFS=$as_save_IFS
 
12480
  test -z "$as_dir" && as_dir=.
 
12481
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12482
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12483
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
12484
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12485
    break 2
 
12486
  fi
 
12487
done
 
12488
done
 
12489
 
 
12490
fi
 
12491
fi
 
12492
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
12493
if test -n "$ac_ct_CC"; then
 
12494
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
12495
echo "${ECHO_T}$ac_ct_CC" >&6
 
12496
else
 
12497
  echo "$as_me:$LINENO: result: no" >&5
 
12498
echo "${ECHO_T}no" >&6
 
12499
fi
 
12500
 
 
12501
  test -n "$ac_ct_CC" && break
 
12502
done
 
12503
 
 
12504
  CC=$ac_ct_CC
 
12505
fi
 
12506
 
 
12507
fi
 
12508
 
 
12509
 
 
12510
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
12511
See \`config.log' for more details." >&5
 
12512
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
12513
See \`config.log' for more details." >&2;}
 
12514
   { (exit 1); exit 1; }; }
 
12515
 
 
12516
# Provide some information about the compiler.
 
12517
echo "$as_me:$LINENO:" \
 
12518
     "checking for C compiler version" >&5
 
12519
ac_compiler=`set X $ac_compile; echo $2`
 
12520
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
12521
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
12522
  ac_status=$?
 
12523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12524
  (exit $ac_status); }
 
12525
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
12526
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
12527
  ac_status=$?
 
12528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12529
  (exit $ac_status); }
 
12530
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
12531
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
12532
  ac_status=$?
 
12533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12534
  (exit $ac_status); }
 
12535
 
 
12536
cat >conftest.$ac_ext <<_ACEOF
 
12537
/* confdefs.h.  */
 
12538
_ACEOF
 
12539
cat confdefs.h >>conftest.$ac_ext
 
12540
cat >>conftest.$ac_ext <<_ACEOF
 
12541
/* end confdefs.h.  */
 
12542
 
 
12543
int
 
12544
main ()
 
12545
{
 
12546
 
 
12547
  ;
 
12548
  return 0;
 
12549
}
 
12550
_ACEOF
 
12551
ac_clean_files_save=$ac_clean_files
 
12552
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
12553
# Try to create an executable without -o first, disregard a.out.
 
12554
# It will help us diagnose broken compilers, and finding out an intuition
 
12555
# of exeext.
 
12556
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
12557
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
12558
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
12559
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
12560
  (eval $ac_link_default) 2>&5
 
12561
  ac_status=$?
 
12562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12563
  (exit $ac_status); }; then
 
12564
  # Find the output, starting from the most likely.  This scheme is
 
12565
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
12566
# resort.
 
12567
 
 
12568
# Be careful to initialize this variable, since it used to be cached.
 
12569
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
12570
ac_cv_exeext=
 
12571
# b.out is created by i960 compilers.
 
12572
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
12573
do
 
12574
  test -f "$ac_file" || continue
 
12575
  case $ac_file in
 
12576
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
12577
        ;;
 
12578
    conftest.$ac_ext )
 
12579
        # This is the source file.
 
12580
        ;;
 
12581
    [ab].out )
 
12582
        # We found the default executable, but exeext='' is most
 
12583
        # certainly right.
 
12584
        break;;
 
12585
    *.* )
 
12586
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
12587
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
12588
        # but it would be cool to find out if it's true.  Does anybody
 
12589
        # maintain Libtool? --akim.
 
12590
        export ac_cv_exeext
 
12591
        break;;
 
12592
    * )
 
12593
        break;;
 
12594
  esac
 
12595
done
 
12596
else
 
12597
  echo "$as_me: failed program was:" >&5
 
12598
sed 's/^/| /' conftest.$ac_ext >&5
 
12599
 
 
12600
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
12601
See \`config.log' for more details." >&5
 
12602
echo "$as_me: error: C compiler cannot create executables
 
12603
See \`config.log' for more details." >&2;}
 
12604
   { (exit 77); exit 77; }; }
 
12605
fi
 
12606
 
 
12607
ac_exeext=$ac_cv_exeext
 
12608
echo "$as_me:$LINENO: result: $ac_file" >&5
 
12609
echo "${ECHO_T}$ac_file" >&6
 
12610
 
 
12611
# Check the compiler produces executables we can run.  If not, either
 
12612
# the compiler is broken, or we cross compile.
 
12613
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
12614
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
12615
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
12616
# If not cross compiling, check that we can run a simple program.
 
12617
if test "$cross_compiling" != yes; then
 
12618
  if { ac_try='./$ac_file'
 
12619
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12620
  (eval $ac_try) 2>&5
 
12621
  ac_status=$?
 
12622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12623
  (exit $ac_status); }; }; then
 
12624
    cross_compiling=no
 
12625
  else
 
12626
    if test "$cross_compiling" = maybe; then
 
12627
        cross_compiling=yes
 
12628
    else
 
12629
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
12630
If you meant to cross compile, use \`--host'.
 
12631
See \`config.log' for more details." >&5
 
12632
echo "$as_me: error: cannot run C compiled programs.
 
12633
If you meant to cross compile, use \`--host'.
 
12634
See \`config.log' for more details." >&2;}
 
12635
   { (exit 1); exit 1; }; }
 
12636
    fi
 
12637
  fi
 
12638
fi
 
12639
echo "$as_me:$LINENO: result: yes" >&5
 
12640
echo "${ECHO_T}yes" >&6
 
12641
 
 
12642
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
12643
ac_clean_files=$ac_clean_files_save
 
12644
# Check the compiler produces executables we can run.  If not, either
 
12645
# the compiler is broken, or we cross compile.
 
12646
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
12647
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
12648
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
12649
echo "${ECHO_T}$cross_compiling" >&6
 
12650
 
 
12651
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
12652
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
12653
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12654
  (eval $ac_link) 2>&5
 
12655
  ac_status=$?
 
12656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12657
  (exit $ac_status); }; then
 
12658
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
12659
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
12660
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
12661
# `rm'.
 
12662
for ac_file in conftest.exe conftest conftest.*; do
 
12663
  test -f "$ac_file" || continue
 
12664
  case $ac_file in
 
12665
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
12666
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
12667
          export ac_cv_exeext
 
12668
          break;;
 
12669
    * ) break;;
 
12670
  esac
 
12671
done
 
12672
else
 
12673
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
12674
See \`config.log' for more details." >&5
 
12675
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
12676
See \`config.log' for more details." >&2;}
 
12677
   { (exit 1); exit 1; }; }
 
12678
fi
 
12679
 
 
12680
rm -f conftest$ac_cv_exeext
 
12681
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
12682
echo "${ECHO_T}$ac_cv_exeext" >&6
 
12683
 
 
12684
rm -f conftest.$ac_ext
 
12685
EXEEXT=$ac_cv_exeext
 
12686
ac_exeext=$EXEEXT
 
12687
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
12688
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
12689
if test "${ac_cv_objext+set}" = set; then
 
12690
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12691
else
 
12692
  cat >conftest.$ac_ext <<_ACEOF
 
12693
/* confdefs.h.  */
 
12694
_ACEOF
 
12695
cat confdefs.h >>conftest.$ac_ext
 
12696
cat >>conftest.$ac_ext <<_ACEOF
 
12697
/* end confdefs.h.  */
 
12698
 
 
12699
int
 
12700
main ()
 
12701
{
 
12702
 
 
12703
  ;
 
12704
  return 0;
 
12705
}
 
12706
_ACEOF
 
12707
rm -f conftest.o conftest.obj
 
12708
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12709
  (eval $ac_compile) 2>&5
 
12710
  ac_status=$?
 
12711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12712
  (exit $ac_status); }; then
 
12713
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
12714
  case $ac_file in
 
12715
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
12716
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
12717
       break;;
 
12718
  esac
 
12719
done
 
12720
else
 
12721
  echo "$as_me: failed program was:" >&5
 
12722
sed 's/^/| /' conftest.$ac_ext >&5
 
12723
 
 
12724
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
12725
See \`config.log' for more details." >&5
 
12726
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
12727
See \`config.log' for more details." >&2;}
 
12728
   { (exit 1); exit 1; }; }
 
12729
fi
 
12730
 
 
12731
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
12732
fi
 
12733
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
12734
echo "${ECHO_T}$ac_cv_objext" >&6
 
12735
OBJEXT=$ac_cv_objext
 
12736
ac_objext=$OBJEXT
 
12737
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
12738
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
12739
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
12740
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12741
else
 
12742
  cat >conftest.$ac_ext <<_ACEOF
 
12743
/* confdefs.h.  */
 
12744
_ACEOF
 
12745
cat confdefs.h >>conftest.$ac_ext
 
12746
cat >>conftest.$ac_ext <<_ACEOF
 
12747
/* end confdefs.h.  */
 
12748
 
 
12749
int
 
12750
main ()
 
12751
{
 
12752
#ifndef __GNUC__
 
12753
       choke me
 
12754
#endif
 
12755
 
 
12756
  ;
 
12757
  return 0;
 
12758
}
 
12759
_ACEOF
 
12760
rm -f conftest.$ac_objext
 
12761
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12762
  (eval $ac_compile) 2>conftest.er1
 
12763
  ac_status=$?
 
12764
  grep -v '^ *+' conftest.er1 >conftest.err
 
12765
  rm -f conftest.er1
 
12766
  cat conftest.err >&5
 
12767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12768
  (exit $ac_status); } &&
 
12769
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
12770
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12771
  (eval $ac_try) 2>&5
 
12772
  ac_status=$?
 
12773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12774
  (exit $ac_status); }; } &&
 
12775
         { ac_try='test -s conftest.$ac_objext'
 
12776
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12777
  (eval $ac_try) 2>&5
 
12778
  ac_status=$?
 
12779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12780
  (exit $ac_status); }; }; then
 
12781
  ac_compiler_gnu=yes
 
12782
else
 
12783
  echo "$as_me: failed program was:" >&5
 
12784
sed 's/^/| /' conftest.$ac_ext >&5
 
12785
 
 
12786
ac_compiler_gnu=no
 
12787
fi
 
12788
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12789
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
12790
 
 
12791
fi
 
12792
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
12793
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
12794
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
12795
ac_test_CFLAGS=${CFLAGS+set}
 
12796
ac_save_CFLAGS=$CFLAGS
 
12797
CFLAGS="$CFLAGS -g"
 
12798
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
12799
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
12800
if test "${ac_cv_prog_cc_g+set}" = set; then
 
12801
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12802
else
 
12803
  cat >conftest.$ac_ext <<_ACEOF
 
12804
/* confdefs.h.  */
 
12805
_ACEOF
 
12806
cat confdefs.h >>conftest.$ac_ext
 
12807
cat >>conftest.$ac_ext <<_ACEOF
 
12808
/* end confdefs.h.  */
 
12809
 
 
12810
int
 
12811
main ()
 
12812
{
 
12813
 
 
12814
  ;
 
12815
  return 0;
 
12816
}
 
12817
_ACEOF
 
12818
rm -f conftest.$ac_objext
 
12819
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12820
  (eval $ac_compile) 2>conftest.er1
 
12821
  ac_status=$?
 
12822
  grep -v '^ *+' conftest.er1 >conftest.err
 
12823
  rm -f conftest.er1
 
12824
  cat conftest.err >&5
 
12825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12826
  (exit $ac_status); } &&
 
12827
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
12828
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12829
  (eval $ac_try) 2>&5
 
12830
  ac_status=$?
 
12831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12832
  (exit $ac_status); }; } &&
 
12833
         { ac_try='test -s conftest.$ac_objext'
 
12834
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12835
  (eval $ac_try) 2>&5
 
12836
  ac_status=$?
 
12837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12838
  (exit $ac_status); }; }; then
 
12839
  ac_cv_prog_cc_g=yes
 
12840
else
 
12841
  echo "$as_me: failed program was:" >&5
 
12842
sed 's/^/| /' conftest.$ac_ext >&5
 
12843
 
 
12844
ac_cv_prog_cc_g=no
 
12845
fi
 
12846
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12847
fi
 
12848
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
12849
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
12850
if test "$ac_test_CFLAGS" = set; then
 
12851
  CFLAGS=$ac_save_CFLAGS
 
12852
elif test $ac_cv_prog_cc_g = yes; then
 
12853
  if test "$GCC" = yes; then
 
12854
    CFLAGS="-g -O2"
 
12855
  else
 
12856
    CFLAGS="-g"
 
12857
  fi
 
12858
else
 
12859
  if test "$GCC" = yes; then
 
12860
    CFLAGS="-O2"
 
12861
  else
 
12862
    CFLAGS=
 
12863
  fi
 
12864
fi
 
12865
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
12866
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
12867
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
12868
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12869
else
 
12870
  ac_cv_prog_cc_stdc=no
 
12871
ac_save_CC=$CC
 
12872
cat >conftest.$ac_ext <<_ACEOF
 
12873
/* confdefs.h.  */
 
12874
_ACEOF
 
12875
cat confdefs.h >>conftest.$ac_ext
 
12876
cat >>conftest.$ac_ext <<_ACEOF
 
12877
/* end confdefs.h.  */
 
12878
#include <stdarg.h>
 
12879
#include <stdio.h>
 
12880
#include <sys/types.h>
 
12881
#include <sys/stat.h>
 
12882
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
12883
struct buf { int x; };
 
12884
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
12885
static char *e (p, i)
 
12886
     char **p;
 
12887
     int i;
 
12888
{
 
12889
  return p[i];
 
12890
}
 
12891
static char *f (char * (*g) (char **, int), char **p, ...)
 
12892
{
 
12893
  char *s;
 
12894
  va_list v;
 
12895
  va_start (v,p);
 
12896
  s = g (p, va_arg (v,int));
 
12897
  va_end (v);
 
12898
  return s;
 
12899
}
 
12900
 
 
12901
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
12902
   function prototypes and stuff, but not '\xHH' hex character constants.
 
12903
   These don't provoke an error unfortunately, instead are silently treated
 
12904
   as 'x'.  The following induces an error, until -std1 is added to get
 
12905
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
12906
   array size at least.  It's necessary to write '\x00'==0 to get something
 
12907
   that's true only with -std1.  */
 
12908
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
12909
 
 
12910
int test (int i, double x);
 
12911
struct s1 {int (*f) (int a);};
 
12912
struct s2 {int (*f) (double a);};
 
12913
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
12914
int argc;
 
12915
char **argv;
 
12916
int
 
12917
main ()
 
12918
{
 
12919
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
12920
  ;
 
12921
  return 0;
 
12922
}
 
12923
_ACEOF
 
12924
# Don't try gcc -ansi; that turns off useful extensions and
 
12925
# breaks some systems' header files.
 
12926
# AIX                   -qlanglvl=ansi
 
12927
# Ultrix and OSF/1      -std1
 
12928
# HP-UX 10.20 and later -Ae
 
12929
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
12930
# SVR4                  -Xc -D__EXTENSIONS__
 
12931
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
12932
do
 
12933
  CC="$ac_save_CC $ac_arg"
 
12934
  rm -f conftest.$ac_objext
 
12935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12936
  (eval $ac_compile) 2>conftest.er1
 
12937
  ac_status=$?
 
12938
  grep -v '^ *+' conftest.er1 >conftest.err
 
12939
  rm -f conftest.er1
 
12940
  cat conftest.err >&5
 
12941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12942
  (exit $ac_status); } &&
 
12943
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
12944
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12945
  (eval $ac_try) 2>&5
 
12946
  ac_status=$?
 
12947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12948
  (exit $ac_status); }; } &&
 
12949
         { ac_try='test -s conftest.$ac_objext'
 
12950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12951
  (eval $ac_try) 2>&5
 
12952
  ac_status=$?
 
12953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12954
  (exit $ac_status); }; }; then
 
12955
  ac_cv_prog_cc_stdc=$ac_arg
 
12956
break
 
12957
else
 
12958
  echo "$as_me: failed program was:" >&5
 
12959
sed 's/^/| /' conftest.$ac_ext >&5
 
12960
 
 
12961
fi
 
12962
rm -f conftest.err conftest.$ac_objext
 
12963
done
 
12964
rm -f conftest.$ac_ext conftest.$ac_objext
 
12965
CC=$ac_save_CC
 
12966
 
 
12967
fi
 
12968
 
 
12969
case "x$ac_cv_prog_cc_stdc" in
 
12970
  x|xno)
 
12971
    echo "$as_me:$LINENO: result: none needed" >&5
 
12972
echo "${ECHO_T}none needed" >&6 ;;
 
12973
  *)
 
12974
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
12975
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
12976
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
12977
esac
 
12978
 
 
12979
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
12980
# in C++ we need to declare it.  In case someone uses the same compiler
 
12981
# for both compiling C and C++ we need to have the C++ compiler decide
 
12982
# the declaration of exit, since it's the most demanding environment.
 
12983
cat >conftest.$ac_ext <<_ACEOF
 
12984
#ifndef __cplusplus
 
12985
  choke me
 
12986
#endif
 
12987
_ACEOF
 
12988
rm -f conftest.$ac_objext
 
12989
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12990
  (eval $ac_compile) 2>conftest.er1
 
12991
  ac_status=$?
 
12992
  grep -v '^ *+' conftest.er1 >conftest.err
 
12993
  rm -f conftest.er1
 
12994
  cat conftest.err >&5
 
12995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12996
  (exit $ac_status); } &&
 
12997
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
12998
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
12999
  (eval $ac_try) 2>&5
 
13000
  ac_status=$?
 
13001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13002
  (exit $ac_status); }; } &&
 
13003
         { ac_try='test -s conftest.$ac_objext'
 
13004
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13005
  (eval $ac_try) 2>&5
 
13006
  ac_status=$?
 
13007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13008
  (exit $ac_status); }; }; then
 
13009
  for ac_declaration in \
 
13010
   '' \
 
13011
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
13012
   'extern "C" void std::exit (int); using std::exit;' \
 
13013
   'extern "C" void exit (int) throw ();' \
 
13014
   'extern "C" void exit (int);' \
 
13015
   'void exit (int);'
 
13016
do
 
13017
  cat >conftest.$ac_ext <<_ACEOF
 
13018
/* confdefs.h.  */
 
13019
_ACEOF
 
13020
cat confdefs.h >>conftest.$ac_ext
 
13021
cat >>conftest.$ac_ext <<_ACEOF
 
13022
/* end confdefs.h.  */
 
13023
$ac_declaration
 
13024
#include <stdlib.h>
 
13025
int
 
13026
main ()
 
13027
{
 
13028
exit (42);
 
13029
  ;
 
13030
  return 0;
 
13031
}
 
13032
_ACEOF
 
13033
rm -f conftest.$ac_objext
 
13034
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13035
  (eval $ac_compile) 2>conftest.er1
 
13036
  ac_status=$?
 
13037
  grep -v '^ *+' conftest.er1 >conftest.err
 
13038
  rm -f conftest.er1
 
13039
  cat conftest.err >&5
 
13040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13041
  (exit $ac_status); } &&
 
13042
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13043
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13044
  (eval $ac_try) 2>&5
 
13045
  ac_status=$?
 
13046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13047
  (exit $ac_status); }; } &&
 
13048
         { ac_try='test -s conftest.$ac_objext'
 
13049
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13050
  (eval $ac_try) 2>&5
 
13051
  ac_status=$?
 
13052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13053
  (exit $ac_status); }; }; then
 
13054
  :
 
13055
else
 
13056
  echo "$as_me: failed program was:" >&5
 
13057
sed 's/^/| /' conftest.$ac_ext >&5
 
13058
 
 
13059
continue
 
13060
fi
 
13061
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13062
  cat >conftest.$ac_ext <<_ACEOF
 
13063
/* confdefs.h.  */
 
13064
_ACEOF
 
13065
cat confdefs.h >>conftest.$ac_ext
 
13066
cat >>conftest.$ac_ext <<_ACEOF
 
13067
/* end confdefs.h.  */
 
13068
$ac_declaration
 
13069
int
 
13070
main ()
 
13071
{
 
13072
exit (42);
 
13073
  ;
 
13074
  return 0;
 
13075
}
 
13076
_ACEOF
 
13077
rm -f conftest.$ac_objext
 
13078
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13079
  (eval $ac_compile) 2>conftest.er1
 
13080
  ac_status=$?
 
13081
  grep -v '^ *+' conftest.er1 >conftest.err
 
13082
  rm -f conftest.er1
 
13083
  cat conftest.err >&5
 
13084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13085
  (exit $ac_status); } &&
 
13086
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13087
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13088
  (eval $ac_try) 2>&5
 
13089
  ac_status=$?
 
13090
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13091
  (exit $ac_status); }; } &&
 
13092
         { ac_try='test -s conftest.$ac_objext'
 
13093
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13094
  (eval $ac_try) 2>&5
 
13095
  ac_status=$?
 
13096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13097
  (exit $ac_status); }; }; then
 
13098
  break
 
13099
else
 
13100
  echo "$as_me: failed program was:" >&5
 
13101
sed 's/^/| /' conftest.$ac_ext >&5
 
13102
 
 
13103
fi
 
13104
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13105
done
 
13106
rm -f conftest*
 
13107
if test -n "$ac_declaration"; then
 
13108
  echo '#ifdef __cplusplus' >>confdefs.h
 
13109
  echo $ac_declaration      >>confdefs.h
 
13110
  echo '#endif'             >>confdefs.h
 
13111
fi
 
13112
 
 
13113
else
 
13114
  echo "$as_me: failed program was:" >&5
 
13115
sed 's/^/| /' conftest.$ac_ext >&5
 
13116
 
 
13117
fi
 
13118
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13119
ac_ext=c
 
13120
ac_cpp='$CPP $CPPFLAGS'
 
13121
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13122
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13123
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13124
 
 
13125
 
 
13126
 
 
13127
 
 
13128
    ac_ext=c
 
13129
ac_cpp='$CPP $CPPFLAGS'
 
13130
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13131
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13132
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13133
 
 
13134
    echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
 
13135
echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
 
13136
if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
 
13137
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13138
else
 
13139
  cat >conftest.$ac_ext <<_ACEOF
 
13140
/* confdefs.h.  */
 
13141
_ACEOF
 
13142
cat confdefs.h >>conftest.$ac_ext
 
13143
cat >>conftest.$ac_ext <<_ACEOF
 
13144
/* end confdefs.h.  */
 
13145
 
 
13146
int
 
13147
main ()
 
13148
{
 
13149
 
 
13150
             #ifndef __INTEL_COMPILER
 
13151
                choke me
 
13152
             #endif
 
13153
 
 
13154
  ;
 
13155
  return 0;
 
13156
}
 
13157
_ACEOF
 
13158
rm -f conftest.$ac_objext
 
13159
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13160
  (eval $ac_compile) 2>conftest.er1
 
13161
  ac_status=$?
 
13162
  grep -v '^ *+' conftest.er1 >conftest.err
 
13163
  rm -f conftest.er1
 
13164
  cat conftest.err >&5
 
13165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13166
  (exit $ac_status); } &&
 
13167
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13168
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13169
  (eval $ac_try) 2>&5
 
13170
  ac_status=$?
 
13171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13172
  (exit $ac_status); }; } &&
 
13173
         { ac_try='test -s conftest.$ac_objext'
 
13174
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13175
  (eval $ac_try) 2>&5
 
13176
  ac_status=$?
 
13177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13178
  (exit $ac_status); }; }; then
 
13179
  bakefile_cv_c_compiler___INTEL_COMPILER=yes
 
13180
else
 
13181
  echo "$as_me: failed program was:" >&5
 
13182
sed 's/^/| /' conftest.$ac_ext >&5
 
13183
 
 
13184
bakefile_cv_c_compiler___INTEL_COMPILER=no
 
13185
 
 
13186
fi
 
13187
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13188
 
 
13189
 
 
13190
fi
 
13191
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
 
13192
echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
 
13193
    if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
 
13194
        :; INTELCC=yes
 
13195
    else
 
13196
        :;
 
13197
    fi
 
13198
    ac_ext=c
 
13199
ac_cpp='$CPP $CPPFLAGS'
 
13200
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13201
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13202
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13203
 
 
13204
 
 
13205
 
 
13206
 
 
13207
        if test "$INTELCC" = "yes"; then
 
13208
 
 
13209
 
 
13210
    ac_ext=c
 
13211
ac_cpp='$CPP $CPPFLAGS'
 
13212
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13213
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13214
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13215
 
 
13216
    echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
 
13217
echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6
 
13218
if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
 
13219
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13220
else
 
13221
  cat >conftest.$ac_ext <<_ACEOF
 
13222
/* confdefs.h.  */
 
13223
_ACEOF
 
13224
cat confdefs.h >>conftest.$ac_ext
 
13225
cat >>conftest.$ac_ext <<_ACEOF
 
13226
/* end confdefs.h.  */
 
13227
 
 
13228
int
 
13229
main ()
 
13230
{
 
13231
 
 
13232
             #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
 
13233
                choke me
 
13234
             #endif
 
13235
 
 
13236
  ;
 
13237
  return 0;
 
13238
}
 
13239
_ACEOF
 
13240
rm -f conftest.$ac_objext
 
13241
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13242
  (eval $ac_compile) 2>conftest.er1
 
13243
  ac_status=$?
 
13244
  grep -v '^ *+' conftest.er1 >conftest.err
 
13245
  rm -f conftest.er1
 
13246
  cat conftest.err >&5
 
13247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13248
  (exit $ac_status); } &&
 
13249
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13250
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13251
  (eval $ac_try) 2>&5
 
13252
  ac_status=$?
 
13253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13254
  (exit $ac_status); }; } &&
 
13255
         { ac_try='test -s conftest.$ac_objext'
 
13256
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13257
  (eval $ac_try) 2>&5
 
13258
  ac_status=$?
 
13259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13260
  (exit $ac_status); }; }; then
 
13261
  bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
 
13262
else
 
13263
  echo "$as_me: failed program was:" >&5
 
13264
sed 's/^/| /' conftest.$ac_ext >&5
 
13265
 
 
13266
bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
 
13267
 
 
13268
fi
 
13269
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13270
 
 
13271
 
 
13272
fi
 
13273
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
 
13274
echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6
 
13275
    if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
 
13276
        :; INTELCC8=yes
 
13277
    else
 
13278
        :;
 
13279
    fi
 
13280
    ac_ext=c
 
13281
ac_cpp='$CPP $CPPFLAGS'
 
13282
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13283
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13284
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13285
 
 
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
    ac_ext=c
 
13291
ac_cpp='$CPP $CPPFLAGS'
 
13292
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13293
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13295
 
 
13296
    echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
 
13297
echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6
 
13298
if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
 
13299
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13300
else
 
13301
  cat >conftest.$ac_ext <<_ACEOF
 
13302
/* confdefs.h.  */
 
13303
_ACEOF
 
13304
cat confdefs.h >>conftest.$ac_ext
 
13305
cat >>conftest.$ac_ext <<_ACEOF
 
13306
/* end confdefs.h.  */
 
13307
 
 
13308
int
 
13309
main ()
 
13310
{
 
13311
 
 
13312
             #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
 
13313
                choke me
 
13314
             #endif
 
13315
 
 
13316
  ;
 
13317
  return 0;
 
13318
}
 
13319
_ACEOF
 
13320
rm -f conftest.$ac_objext
 
13321
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13322
  (eval $ac_compile) 2>conftest.er1
 
13323
  ac_status=$?
 
13324
  grep -v '^ *+' conftest.er1 >conftest.err
 
13325
  rm -f conftest.er1
 
13326
  cat conftest.err >&5
 
13327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13328
  (exit $ac_status); } &&
 
13329
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13330
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13331
  (eval $ac_try) 2>&5
 
13332
  ac_status=$?
 
13333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13334
  (exit $ac_status); }; } &&
 
13335
         { ac_try='test -s conftest.$ac_objext'
 
13336
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13337
  (eval $ac_try) 2>&5
 
13338
  ac_status=$?
 
13339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13340
  (exit $ac_status); }; }; then
 
13341
  bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
 
13342
else
 
13343
  echo "$as_me: failed program was:" >&5
 
13344
sed 's/^/| /' conftest.$ac_ext >&5
 
13345
 
 
13346
bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
 
13347
 
 
13348
fi
 
13349
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13350
 
 
13351
 
 
13352
fi
 
13353
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
 
13354
echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6
 
13355
    if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
 
13356
        :; INTELCC10=yes
 
13357
    else
 
13358
        :;
 
13359
    fi
 
13360
    ac_ext=c
 
13361
ac_cpp='$CPP $CPPFLAGS'
 
13362
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13363
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13364
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13365
 
 
13366
 
 
13367
 
 
13368
    fi
 
13369
 
 
13370
        if test "x$GCC" != "xyes"; then
 
13371
        if test "xCC" = "xC"; then
 
13372
            echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
 
13373
echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
 
13374
if test "${bakefile_cv_c_exto+set}" = set; then
 
13375
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13376
else
 
13377
  cat >conftest.$ac_ext <<_ACEOF
 
13378
/* confdefs.h.  */
 
13379
_ACEOF
 
13380
cat confdefs.h >>conftest.$ac_ext
 
13381
cat >>conftest.$ac_ext <<_ACEOF
 
13382
/* end confdefs.h.  */
 
13383
 
 
13384
int
 
13385
main ()
 
13386
{
 
13387
 
 
13388
  ;
 
13389
  return 0;
 
13390
}
 
13391
_ACEOF
 
13392
rm -f conftest.$ac_objext conftest.$ac_ext.o
 
13393
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13394
  (eval $ac_compile) 2>&5
 
13395
  ac_status=$?
 
13396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13397
  (exit $ac_status); }; then
 
13398
  for ac_file in `(ls conftest.* 2>/dev/null)`; do
 
13399
    case $ac_file in
 
13400
        conftest.$ac_ext.o)
 
13401
            bakefile_cv_c_exto="-ext o"
 
13402
            ;;
 
13403
        *)
 
13404
            ;;
 
13405
    esac
 
13406
done
 
13407
else
 
13408
  { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
 
13409
See \`config.log' for more details." >&5
 
13410
echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
 
13411
See \`config.log' for more details." >&2;}
 
13412
   { (exit 1); exit 1; }; }
 
13413
 
 
13414
fi
 
13415
 
 
13416
rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
 
13417
 
 
13418
fi
 
13419
echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
 
13420
echo "${ECHO_T}$bakefile_cv_c_exto" >&6
 
13421
if test "x$bakefile_cv_c_exto" '!=' "x"; then
 
13422
    if test "c" = "c"; then
 
13423
        CFLAGS="$bakefile_cv_c_exto $CFLAGS"
 
13424
    fi
 
13425
    if test "c" = "cxx"; then
 
13426
        CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
 
13427
    fi
 
13428
fi
 
13429
 
 
13430
            if test "x$bakefile_cv_c_exto" '!=' "x"; then
 
13431
                unset ac_cv_prog_cc_g
 
13432
                ac_test_CFLAGS=${CFLAGS+set}
 
13433
ac_save_CFLAGS=$CFLAGS
 
13434
CFLAGS="$CFLAGS -g"
 
13435
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
13436
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
13437
if test "${ac_cv_prog_cc_g+set}" = set; then
 
13438
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13439
else
 
13440
  cat >conftest.$ac_ext <<_ACEOF
 
13441
/* confdefs.h.  */
 
13442
_ACEOF
 
13443
cat confdefs.h >>conftest.$ac_ext
 
13444
cat >>conftest.$ac_ext <<_ACEOF
 
13445
/* end confdefs.h.  */
 
13446
 
 
13447
int
 
13448
main ()
 
13449
{
 
13450
 
 
13451
  ;
 
13452
  return 0;
 
13453
}
 
13454
_ACEOF
 
13455
rm -f conftest.$ac_objext
 
13456
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13457
  (eval $ac_compile) 2>conftest.er1
 
13458
  ac_status=$?
 
13459
  grep -v '^ *+' conftest.er1 >conftest.err
 
13460
  rm -f conftest.er1
 
13461
  cat conftest.err >&5
 
13462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13463
  (exit $ac_status); } &&
 
13464
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13465
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13466
  (eval $ac_try) 2>&5
 
13467
  ac_status=$?
 
13468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13469
  (exit $ac_status); }; } &&
 
13470
         { ac_try='test -s conftest.$ac_objext'
 
13471
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13472
  (eval $ac_try) 2>&5
 
13473
  ac_status=$?
 
13474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13475
  (exit $ac_status); }; }; then
 
13476
  ac_cv_prog_cc_g=yes
 
13477
else
 
13478
  echo "$as_me: failed program was:" >&5
 
13479
sed 's/^/| /' conftest.$ac_ext >&5
 
13480
 
 
13481
ac_cv_prog_cc_g=no
 
13482
fi
 
13483
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13484
fi
 
13485
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
13486
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
13487
if test "$ac_test_CFLAGS" = set; then
 
13488
  CFLAGS=$ac_save_CFLAGS
 
13489
elif test $ac_cv_prog_cc_g = yes; then
 
13490
  if test "$GCC" = yes; then
 
13491
    CFLAGS="-g -O2"
 
13492
  else
 
13493
    CFLAGS="-g"
 
13494
  fi
 
13495
else
 
13496
  if test "$GCC" = yes; then
 
13497
    CFLAGS="-O2"
 
13498
  else
 
13499
    CFLAGS=
 
13500
  fi
 
13501
fi
 
13502
            fi
 
13503
        fi
 
13504
 
 
13505
                        case `uname -s` in
 
13506
            AIX*)
 
13507
 
 
13508
 
 
13509
    ac_ext=c
 
13510
ac_cpp='$CPP $CPPFLAGS'
 
13511
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13512
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13513
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13514
 
 
13515
    echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
 
13516
echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
 
13517
if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
 
13518
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13519
else
 
13520
  cat >conftest.$ac_ext <<_ACEOF
 
13521
/* confdefs.h.  */
 
13522
_ACEOF
 
13523
cat confdefs.h >>conftest.$ac_ext
 
13524
cat >>conftest.$ac_ext <<_ACEOF
 
13525
/* end confdefs.h.  */
 
13526
 
 
13527
int
 
13528
main ()
 
13529
{
 
13530
 
 
13531
             #ifndef __xlC__
 
13532
                choke me
 
13533
             #endif
 
13534
 
 
13535
  ;
 
13536
  return 0;
 
13537
}
 
13538
_ACEOF
 
13539
rm -f conftest.$ac_objext
 
13540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13541
  (eval $ac_compile) 2>conftest.er1
 
13542
  ac_status=$?
 
13543
  grep -v '^ *+' conftest.er1 >conftest.err
 
13544
  rm -f conftest.er1
 
13545
  cat conftest.err >&5
 
13546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13547
  (exit $ac_status); } &&
 
13548
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13549
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13550
  (eval $ac_try) 2>&5
 
13551
  ac_status=$?
 
13552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13553
  (exit $ac_status); }; } &&
 
13554
         { ac_try='test -s conftest.$ac_objext'
 
13555
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13556
  (eval $ac_try) 2>&5
 
13557
  ac_status=$?
 
13558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13559
  (exit $ac_status); }; }; then
 
13560
  bakefile_cv_c_compiler___xlC__=yes
 
13561
else
 
13562
  echo "$as_me: failed program was:" >&5
 
13563
sed 's/^/| /' conftest.$ac_ext >&5
 
13564
 
 
13565
bakefile_cv_c_compiler___xlC__=no
 
13566
 
 
13567
fi
 
13568
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13569
 
 
13570
 
 
13571
fi
 
13572
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
 
13573
echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
 
13574
    if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
 
13575
        :; XLCC=yes
 
13576
    else
 
13577
        :;
 
13578
    fi
 
13579
    ac_ext=c
 
13580
ac_cpp='$CPP $CPPFLAGS'
 
13581
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13582
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13583
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13584
 
 
13585
 
 
13586
 
 
13587
                ;;
 
13588
 
 
13589
            Darwin)
 
13590
 
 
13591
 
 
13592
    ac_ext=c
 
13593
ac_cpp='$CPP $CPPFLAGS'
 
13594
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13595
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13596
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13597
 
 
13598
    echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
 
13599
echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
 
13600
if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
 
13601
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13602
else
 
13603
  cat >conftest.$ac_ext <<_ACEOF
 
13604
/* confdefs.h.  */
 
13605
_ACEOF
 
13606
cat confdefs.h >>conftest.$ac_ext
 
13607
cat >>conftest.$ac_ext <<_ACEOF
 
13608
/* end confdefs.h.  */
 
13609
 
 
13610
int
 
13611
main ()
 
13612
{
 
13613
 
 
13614
             #ifndef __MWERKS__
 
13615
                choke me
 
13616
             #endif
 
13617
 
 
13618
  ;
 
13619
  return 0;
 
13620
}
 
13621
_ACEOF
 
13622
rm -f conftest.$ac_objext
 
13623
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13624
  (eval $ac_compile) 2>conftest.er1
 
13625
  ac_status=$?
 
13626
  grep -v '^ *+' conftest.er1 >conftest.err
 
13627
  rm -f conftest.er1
 
13628
  cat conftest.err >&5
 
13629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13630
  (exit $ac_status); } &&
 
13631
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13632
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13633
  (eval $ac_try) 2>&5
 
13634
  ac_status=$?
 
13635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13636
  (exit $ac_status); }; } &&
 
13637
         { ac_try='test -s conftest.$ac_objext'
 
13638
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13639
  (eval $ac_try) 2>&5
 
13640
  ac_status=$?
 
13641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13642
  (exit $ac_status); }; }; then
 
13643
  bakefile_cv_c_compiler___MWERKS__=yes
 
13644
else
 
13645
  echo "$as_me: failed program was:" >&5
 
13646
sed 's/^/| /' conftest.$ac_ext >&5
 
13647
 
 
13648
bakefile_cv_c_compiler___MWERKS__=no
 
13649
 
 
13650
fi
 
13651
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13652
 
 
13653
 
 
13654
fi
 
13655
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
 
13656
echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
 
13657
    if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
 
13658
        :; MWCC=yes
 
13659
    else
 
13660
        :;
 
13661
    fi
 
13662
    ac_ext=c
 
13663
ac_cpp='$CPP $CPPFLAGS'
 
13664
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13665
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13666
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13667
 
 
13668
 
 
13669
 
 
13670
                if test "$MWCC" != "yes"; then
 
13671
 
 
13672
 
 
13673
    ac_ext=c
 
13674
ac_cpp='$CPP $CPPFLAGS'
 
13675
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13676
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13677
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13678
 
 
13679
    echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
 
13680
echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
 
13681
if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
 
13682
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13683
else
 
13684
  cat >conftest.$ac_ext <<_ACEOF
 
13685
/* confdefs.h.  */
 
13686
_ACEOF
 
13687
cat confdefs.h >>conftest.$ac_ext
 
13688
cat >>conftest.$ac_ext <<_ACEOF
 
13689
/* end confdefs.h.  */
 
13690
 
 
13691
int
 
13692
main ()
 
13693
{
 
13694
 
 
13695
             #ifndef __xlC__
 
13696
                choke me
 
13697
             #endif
 
13698
 
 
13699
  ;
 
13700
  return 0;
 
13701
}
 
13702
_ACEOF
 
13703
rm -f conftest.$ac_objext
 
13704
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13705
  (eval $ac_compile) 2>conftest.er1
 
13706
  ac_status=$?
 
13707
  grep -v '^ *+' conftest.er1 >conftest.err
 
13708
  rm -f conftest.er1
 
13709
  cat conftest.err >&5
 
13710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13711
  (exit $ac_status); } &&
 
13712
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13713
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13714
  (eval $ac_try) 2>&5
 
13715
  ac_status=$?
 
13716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13717
  (exit $ac_status); }; } &&
 
13718
         { ac_try='test -s conftest.$ac_objext'
 
13719
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13720
  (eval $ac_try) 2>&5
 
13721
  ac_status=$?
 
13722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13723
  (exit $ac_status); }; }; then
 
13724
  bakefile_cv_c_compiler___xlC__=yes
 
13725
else
 
13726
  echo "$as_me: failed program was:" >&5
 
13727
sed 's/^/| /' conftest.$ac_ext >&5
 
13728
 
 
13729
bakefile_cv_c_compiler___xlC__=no
 
13730
 
 
13731
fi
 
13732
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13733
 
 
13734
 
 
13735
fi
 
13736
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
 
13737
echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
 
13738
    if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
 
13739
        :; XLCC=yes
 
13740
    else
 
13741
        :;
 
13742
    fi
 
13743
    ac_ext=c
 
13744
ac_cpp='$CPP $CPPFLAGS'
 
13745
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13746
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13747
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13748
 
 
13749
 
 
13750
 
 
13751
                fi
 
13752
                ;;
 
13753
 
 
13754
            IRIX*)
 
13755
 
 
13756
 
 
13757
    ac_ext=c
 
13758
ac_cpp='$CPP $CPPFLAGS'
 
13759
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13760
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13761
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13762
 
 
13763
    echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
 
13764
echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
 
13765
if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
 
13766
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13767
else
 
13768
  cat >conftest.$ac_ext <<_ACEOF
 
13769
/* confdefs.h.  */
 
13770
_ACEOF
 
13771
cat confdefs.h >>conftest.$ac_ext
 
13772
cat >>conftest.$ac_ext <<_ACEOF
 
13773
/* end confdefs.h.  */
 
13774
 
 
13775
int
 
13776
main ()
 
13777
{
 
13778
 
 
13779
             #ifndef _SGI_COMPILER_VERSION
 
13780
                choke me
 
13781
             #endif
 
13782
 
 
13783
  ;
 
13784
  return 0;
 
13785
}
 
13786
_ACEOF
 
13787
rm -f conftest.$ac_objext
 
13788
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13789
  (eval $ac_compile) 2>conftest.er1
 
13790
  ac_status=$?
 
13791
  grep -v '^ *+' conftest.er1 >conftest.err
 
13792
  rm -f conftest.er1
 
13793
  cat conftest.err >&5
 
13794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13795
  (exit $ac_status); } &&
 
13796
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13797
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13798
  (eval $ac_try) 2>&5
 
13799
  ac_status=$?
 
13800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13801
  (exit $ac_status); }; } &&
 
13802
         { ac_try='test -s conftest.$ac_objext'
 
13803
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13804
  (eval $ac_try) 2>&5
 
13805
  ac_status=$?
 
13806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13807
  (exit $ac_status); }; }; then
 
13808
  bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
 
13809
else
 
13810
  echo "$as_me: failed program was:" >&5
 
13811
sed 's/^/| /' conftest.$ac_ext >&5
 
13812
 
 
13813
bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
 
13814
 
 
13815
fi
 
13816
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13817
 
 
13818
 
 
13819
fi
 
13820
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
 
13821
echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
 
13822
    if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
 
13823
        :; SGICC=yes
 
13824
    else
 
13825
        :;
 
13826
    fi
 
13827
    ac_ext=c
 
13828
ac_cpp='$CPP $CPPFLAGS'
 
13829
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13830
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13831
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13832
 
 
13833
 
 
13834
 
 
13835
                ;;
 
13836
 
 
13837
            Linux*)
 
13838
                                                if test "$INTELCC" != "yes"; then
 
13839
 
 
13840
 
 
13841
    ac_ext=c
 
13842
ac_cpp='$CPP $CPPFLAGS'
 
13843
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13844
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13845
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13846
 
 
13847
    echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
 
13848
echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
 
13849
if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
 
13850
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13851
else
 
13852
  cat >conftest.$ac_ext <<_ACEOF
 
13853
/* confdefs.h.  */
 
13854
_ACEOF
 
13855
cat confdefs.h >>conftest.$ac_ext
 
13856
cat >>conftest.$ac_ext <<_ACEOF
 
13857
/* end confdefs.h.  */
 
13858
 
 
13859
int
 
13860
main ()
 
13861
{
 
13862
 
 
13863
             #ifndef __SUNPRO_C
 
13864
                choke me
 
13865
             #endif
 
13866
 
 
13867
  ;
 
13868
  return 0;
 
13869
}
 
13870
_ACEOF
 
13871
rm -f conftest.$ac_objext
 
13872
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13873
  (eval $ac_compile) 2>conftest.er1
 
13874
  ac_status=$?
 
13875
  grep -v '^ *+' conftest.er1 >conftest.err
 
13876
  rm -f conftest.er1
 
13877
  cat conftest.err >&5
 
13878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13879
  (exit $ac_status); } &&
 
13880
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13881
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13882
  (eval $ac_try) 2>&5
 
13883
  ac_status=$?
 
13884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13885
  (exit $ac_status); }; } &&
 
13886
         { ac_try='test -s conftest.$ac_objext'
 
13887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13888
  (eval $ac_try) 2>&5
 
13889
  ac_status=$?
 
13890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13891
  (exit $ac_status); }; }; then
 
13892
  bakefile_cv_c_compiler___SUNPRO_C=yes
 
13893
else
 
13894
  echo "$as_me: failed program was:" >&5
 
13895
sed 's/^/| /' conftest.$ac_ext >&5
 
13896
 
 
13897
bakefile_cv_c_compiler___SUNPRO_C=no
 
13898
 
 
13899
fi
 
13900
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13901
 
 
13902
 
 
13903
fi
 
13904
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
 
13905
echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
 
13906
    if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
 
13907
        :; SUNCC=yes
 
13908
    else
 
13909
        :;
 
13910
    fi
 
13911
    ac_ext=c
 
13912
ac_cpp='$CPP $CPPFLAGS'
 
13913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13916
 
 
13917
 
 
13918
 
 
13919
                fi
 
13920
                ;;
 
13921
 
 
13922
            HP-UX*)
 
13923
 
 
13924
 
 
13925
    ac_ext=c
 
13926
ac_cpp='$CPP $CPPFLAGS'
 
13927
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13928
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13929
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13930
 
 
13931
    echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
 
13932
echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
 
13933
if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
 
13934
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13935
else
 
13936
  cat >conftest.$ac_ext <<_ACEOF
 
13937
/* confdefs.h.  */
 
13938
_ACEOF
 
13939
cat confdefs.h >>conftest.$ac_ext
 
13940
cat >>conftest.$ac_ext <<_ACEOF
 
13941
/* end confdefs.h.  */
 
13942
 
 
13943
int
 
13944
main ()
 
13945
{
 
13946
 
 
13947
             #ifndef __HP_cc
 
13948
                choke me
 
13949
             #endif
 
13950
 
 
13951
  ;
 
13952
  return 0;
 
13953
}
 
13954
_ACEOF
 
13955
rm -f conftest.$ac_objext
 
13956
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13957
  (eval $ac_compile) 2>conftest.er1
 
13958
  ac_status=$?
 
13959
  grep -v '^ *+' conftest.er1 >conftest.err
 
13960
  rm -f conftest.er1
 
13961
  cat conftest.err >&5
 
13962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13963
  (exit $ac_status); } &&
 
13964
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
13965
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13966
  (eval $ac_try) 2>&5
 
13967
  ac_status=$?
 
13968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13969
  (exit $ac_status); }; } &&
 
13970
         { ac_try='test -s conftest.$ac_objext'
 
13971
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13972
  (eval $ac_try) 2>&5
 
13973
  ac_status=$?
 
13974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13975
  (exit $ac_status); }; }; then
 
13976
  bakefile_cv_c_compiler___HP_cc=yes
 
13977
else
 
13978
  echo "$as_me: failed program was:" >&5
 
13979
sed 's/^/| /' conftest.$ac_ext >&5
 
13980
 
 
13981
bakefile_cv_c_compiler___HP_cc=no
 
13982
 
 
13983
fi
 
13984
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13985
 
 
13986
 
 
13987
fi
 
13988
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
 
13989
echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
 
13990
    if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
 
13991
        :; HPCC=yes
 
13992
    else
 
13993
        :;
 
13994
    fi
 
13995
    ac_ext=c
 
13996
ac_cpp='$CPP $CPPFLAGS'
 
13997
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13998
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13999
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14000
 
 
14001
 
 
14002
 
 
14003
                ;;
 
14004
 
 
14005
            OSF1)
 
14006
 
 
14007
 
 
14008
    ac_ext=c
 
14009
ac_cpp='$CPP $CPPFLAGS'
 
14010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14011
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14012
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14013
 
 
14014
    echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
 
14015
echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
 
14016
if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
 
14017
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14018
else
 
14019
  cat >conftest.$ac_ext <<_ACEOF
 
14020
/* confdefs.h.  */
 
14021
_ACEOF
 
14022
cat confdefs.h >>conftest.$ac_ext
 
14023
cat >>conftest.$ac_ext <<_ACEOF
 
14024
/* end confdefs.h.  */
 
14025
 
 
14026
int
 
14027
main ()
 
14028
{
 
14029
 
 
14030
             #ifndef __DECC
 
14031
                choke me
 
14032
             #endif
 
14033
 
 
14034
  ;
 
14035
  return 0;
 
14036
}
 
14037
_ACEOF
 
14038
rm -f conftest.$ac_objext
 
14039
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14040
  (eval $ac_compile) 2>conftest.er1
 
14041
  ac_status=$?
 
14042
  grep -v '^ *+' conftest.er1 >conftest.err
 
14043
  rm -f conftest.er1
 
14044
  cat conftest.err >&5
 
14045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14046
  (exit $ac_status); } &&
 
14047
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
14048
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14049
  (eval $ac_try) 2>&5
 
14050
  ac_status=$?
 
14051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14052
  (exit $ac_status); }; } &&
 
14053
         { ac_try='test -s conftest.$ac_objext'
 
14054
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14055
  (eval $ac_try) 2>&5
 
14056
  ac_status=$?
 
14057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14058
  (exit $ac_status); }; }; then
 
14059
  bakefile_cv_c_compiler___DECC=yes
 
14060
else
 
14061
  echo "$as_me: failed program was:" >&5
 
14062
sed 's/^/| /' conftest.$ac_ext >&5
 
14063
 
 
14064
bakefile_cv_c_compiler___DECC=no
 
14065
 
 
14066
fi
 
14067
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14068
 
 
14069
 
 
14070
fi
 
14071
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
 
14072
echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
 
14073
    if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
 
14074
        :; COMPAQCC=yes
 
14075
    else
 
14076
        :;
 
14077
    fi
 
14078
    ac_ext=c
 
14079
ac_cpp='$CPP $CPPFLAGS'
 
14080
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14081
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14082
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14083
 
 
14084
 
 
14085
 
 
14086
                ;;
 
14087
 
 
14088
            SunOS)
 
14089
 
 
14090
 
 
14091
    ac_ext=c
 
14092
ac_cpp='$CPP $CPPFLAGS'
 
14093
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14094
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14095
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14096
 
 
14097
    echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
 
14098
echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
 
14099
if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
 
14100
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14101
else
 
14102
  cat >conftest.$ac_ext <<_ACEOF
 
14103
/* confdefs.h.  */
 
14104
_ACEOF
 
14105
cat confdefs.h >>conftest.$ac_ext
 
14106
cat >>conftest.$ac_ext <<_ACEOF
 
14107
/* end confdefs.h.  */
 
14108
 
 
14109
int
 
14110
main ()
 
14111
{
 
14112
 
 
14113
             #ifndef __SUNPRO_C
 
14114
                choke me
 
14115
             #endif
 
14116
 
 
14117
  ;
 
14118
  return 0;
 
14119
}
 
14120
_ACEOF
 
14121
rm -f conftest.$ac_objext
 
14122
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14123
  (eval $ac_compile) 2>conftest.er1
 
14124
  ac_status=$?
 
14125
  grep -v '^ *+' conftest.er1 >conftest.err
 
14126
  rm -f conftest.er1
 
14127
  cat conftest.err >&5
 
14128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14129
  (exit $ac_status); } &&
 
14130
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
14131
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14132
  (eval $ac_try) 2>&5
 
14133
  ac_status=$?
 
14134
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14135
  (exit $ac_status); }; } &&
 
14136
         { ac_try='test -s conftest.$ac_objext'
 
14137
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14138
  (eval $ac_try) 2>&5
 
14139
  ac_status=$?
 
14140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14141
  (exit $ac_status); }; }; then
 
14142
  bakefile_cv_c_compiler___SUNPRO_C=yes
 
14143
else
 
14144
  echo "$as_me: failed program was:" >&5
 
14145
sed 's/^/| /' conftest.$ac_ext >&5
 
14146
 
 
14147
bakefile_cv_c_compiler___SUNPRO_C=no
 
14148
 
 
14149
fi
 
14150
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14151
 
 
14152
 
 
14153
fi
 
14154
echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
 
14155
echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
 
14156
    if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
 
14157
        :; SUNCC=yes
 
14158
    else
 
14159
        :;
 
14160
    fi
 
14161
    ac_ext=c
 
14162
ac_cpp='$CPP $CPPFLAGS'
 
14163
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14164
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14165
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14166
 
 
14167
 
 
14168
 
 
14169
                ;;
 
14170
        esac
 
14171
    fi
 
14172
 
 
14173
 
 
14174
 
 
14175
ac_ext=c
 
14176
ac_cpp='$CPP $CPPFLAGS'
 
14177
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14178
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14179
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14180
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
14181
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
14182
# On Suns, sometimes $CPP names a directory.
 
14183
if test -n "$CPP" && test -d "$CPP"; then
 
14184
  CPP=
 
14185
fi
 
14186
if test -z "$CPP"; then
 
14187
  if test "${ac_cv_prog_CPP+set}" = set; then
 
14188
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14189
else
 
14190
      # Double quotes because CPP needs to be expanded
 
14191
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
14192
    do
 
14193
      ac_preproc_ok=false
 
14194
for ac_c_preproc_warn_flag in '' yes
 
14195
do
 
14196
  # Use a header file that comes with gcc, so configuring glibc
 
14197
  # with a fresh cross-compiler works.
 
14198
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14199
  # <limits.h> exists even on freestanding compilers.
 
14200
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
14201
  # not just through cpp. "Syntax error" is here to catch this case.
 
14202
  cat >conftest.$ac_ext <<_ACEOF
 
14203
/* confdefs.h.  */
 
14204
_ACEOF
 
14205
cat confdefs.h >>conftest.$ac_ext
 
14206
cat >>conftest.$ac_ext <<_ACEOF
 
14207
/* end confdefs.h.  */
 
14208
#ifdef __STDC__
 
14209
# include <limits.h>
 
14210
#else
 
14211
# include <assert.h>
 
14212
#endif
 
14213
                     Syntax error
 
14214
_ACEOF
 
14215
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
14216
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
14217
  ac_status=$?
 
14218
  grep -v '^ *+' conftest.er1 >conftest.err
 
14219
  rm -f conftest.er1
 
14220
  cat conftest.err >&5
 
14221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14222
  (exit $ac_status); } >/dev/null; then
 
14223
  if test -s conftest.err; then
 
14224
    ac_cpp_err=$ac_c_preproc_warn_flag
 
14225
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
14226
  else
 
14227
    ac_cpp_err=
 
14228
  fi
 
14229
else
 
14230
  ac_cpp_err=yes
 
14231
fi
 
14232
if test -z "$ac_cpp_err"; then
 
14233
  :
 
14234
else
 
14235
  echo "$as_me: failed program was:" >&5
 
14236
sed 's/^/| /' conftest.$ac_ext >&5
 
14237
 
 
14238
  # Broken: fails on valid input.
 
14239
continue
 
14240
fi
 
14241
rm -f conftest.err conftest.$ac_ext
 
14242
 
 
14243
  # OK, works on sane cases.  Now check whether non-existent headers
 
14244
  # can be detected and how.
 
14245
  cat >conftest.$ac_ext <<_ACEOF
 
14246
/* confdefs.h.  */
 
14247
_ACEOF
 
14248
cat confdefs.h >>conftest.$ac_ext
 
14249
cat >>conftest.$ac_ext <<_ACEOF
 
14250
/* end confdefs.h.  */
 
14251
#include <ac_nonexistent.h>
 
14252
_ACEOF
 
14253
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
14254
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
14255
  ac_status=$?
 
14256
  grep -v '^ *+' conftest.er1 >conftest.err
 
14257
  rm -f conftest.er1
 
14258
  cat conftest.err >&5
 
14259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14260
  (exit $ac_status); } >/dev/null; then
 
14261
  if test -s conftest.err; then
 
14262
    ac_cpp_err=$ac_c_preproc_warn_flag
 
14263
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
14264
  else
 
14265
    ac_cpp_err=
 
14266
  fi
 
14267
else
 
14268
  ac_cpp_err=yes
 
14269
fi
 
14270
if test -z "$ac_cpp_err"; then
 
14271
  # Broken: success on invalid input.
 
14272
continue
 
14273
else
 
14274
  echo "$as_me: failed program was:" >&5
 
14275
sed 's/^/| /' conftest.$ac_ext >&5
 
14276
 
 
14277
  # Passes both tests.
 
14278
ac_preproc_ok=:
 
14279
break
 
14280
fi
 
14281
rm -f conftest.err conftest.$ac_ext
 
14282
 
 
14283
done
 
14284
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
14285
rm -f conftest.err conftest.$ac_ext
 
14286
if $ac_preproc_ok; then
 
14287
  break
 
14288
fi
 
14289
 
 
14290
    done
 
14291
    ac_cv_prog_CPP=$CPP
 
14292
 
 
14293
fi
 
14294
  CPP=$ac_cv_prog_CPP
 
14295
else
 
14296
  ac_cv_prog_CPP=$CPP
 
14297
fi
 
14298
echo "$as_me:$LINENO: result: $CPP" >&5
 
14299
echo "${ECHO_T}$CPP" >&6
 
14300
ac_preproc_ok=false
 
14301
for ac_c_preproc_warn_flag in '' yes
 
14302
do
 
14303
  # Use a header file that comes with gcc, so configuring glibc
 
14304
  # with a fresh cross-compiler works.
 
14305
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14306
  # <limits.h> exists even on freestanding compilers.
 
14307
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
14308
  # not just through cpp. "Syntax error" is here to catch this case.
 
14309
  cat >conftest.$ac_ext <<_ACEOF
 
14310
/* confdefs.h.  */
 
14311
_ACEOF
 
14312
cat confdefs.h >>conftest.$ac_ext
 
14313
cat >>conftest.$ac_ext <<_ACEOF
 
14314
/* end confdefs.h.  */
 
14315
#ifdef __STDC__
 
14316
# include <limits.h>
 
14317
#else
 
14318
# include <assert.h>
 
14319
#endif
 
14320
                     Syntax error
 
14321
_ACEOF
 
14322
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
14323
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
14324
  ac_status=$?
 
14325
  grep -v '^ *+' conftest.er1 >conftest.err
 
14326
  rm -f conftest.er1
 
14327
  cat conftest.err >&5
 
14328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14329
  (exit $ac_status); } >/dev/null; then
 
14330
  if test -s conftest.err; then
 
14331
    ac_cpp_err=$ac_c_preproc_warn_flag
 
14332
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
14333
  else
 
14334
    ac_cpp_err=
 
14335
  fi
 
14336
else
 
14337
  ac_cpp_err=yes
 
14338
fi
 
14339
if test -z "$ac_cpp_err"; then
 
14340
  :
 
14341
else
 
14342
  echo "$as_me: failed program was:" >&5
 
14343
sed 's/^/| /' conftest.$ac_ext >&5
 
14344
 
 
14345
  # Broken: fails on valid input.
 
14346
continue
 
14347
fi
 
14348
rm -f conftest.err conftest.$ac_ext
 
14349
 
 
14350
  # OK, works on sane cases.  Now check whether non-existent headers
 
14351
  # can be detected and how.
 
14352
  cat >conftest.$ac_ext <<_ACEOF
 
14353
/* confdefs.h.  */
 
14354
_ACEOF
 
14355
cat confdefs.h >>conftest.$ac_ext
 
14356
cat >>conftest.$ac_ext <<_ACEOF
 
14357
/* end confdefs.h.  */
 
14358
#include <ac_nonexistent.h>
 
14359
_ACEOF
 
14360
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
14361
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
14362
  ac_status=$?
 
14363
  grep -v '^ *+' conftest.er1 >conftest.err
 
14364
  rm -f conftest.er1
 
14365
  cat conftest.err >&5
 
14366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14367
  (exit $ac_status); } >/dev/null; then
 
14368
  if test -s conftest.err; then
 
14369
    ac_cpp_err=$ac_c_preproc_warn_flag
 
14370
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
14371
  else
 
14372
    ac_cpp_err=
 
14373
  fi
 
14374
else
 
14375
  ac_cpp_err=yes
 
14376
fi
 
14377
if test -z "$ac_cpp_err"; then
 
14378
  # Broken: success on invalid input.
 
14379
continue
 
14380
else
 
14381
  echo "$as_me: failed program was:" >&5
 
14382
sed 's/^/| /' conftest.$ac_ext >&5
 
14383
 
 
14384
  # Passes both tests.
 
14385
ac_preproc_ok=:
 
14386
break
 
14387
fi
 
14388
rm -f conftest.err conftest.$ac_ext
 
14389
 
 
14390
done
 
14391
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
14392
rm -f conftest.err conftest.$ac_ext
 
14393
if $ac_preproc_ok; then
 
14394
  :
 
14395
else
 
14396
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
14397
See \`config.log' for more details." >&5
 
14398
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
14399
See \`config.log' for more details." >&2;}
 
14400
   { (exit 1); exit 1; }; }
 
14401
fi
 
14402
 
 
14403
ac_ext=c
 
14404
ac_cpp='$CPP $CPPFLAGS'
 
14405
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14406
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14407
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14408
 
 
14409
 
 
14410
echo "$as_me:$LINENO: checking for egrep" >&5
 
14411
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
14412
if test "${ac_cv_prog_egrep+set}" = set; then
 
14413
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14414
else
 
14415
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
14416
    then ac_cv_prog_egrep='grep -E'
 
14417
    else ac_cv_prog_egrep='egrep'
 
14418
    fi
 
14419
fi
 
14420
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
14421
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
14422
 EGREP=$ac_cv_prog_egrep
 
14423
 
 
14424
 
 
14425
if test $ac_cv_c_compiler_gnu = yes; then
 
14426
    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
 
14427
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
 
14428
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
 
14429
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14430
else
 
14431
    ac_pattern="Autoconf.*'x'"
 
14432
  cat >conftest.$ac_ext <<_ACEOF
 
14433
/* confdefs.h.  */
 
14434
_ACEOF
 
14435
cat confdefs.h >>conftest.$ac_ext
 
14436
cat >>conftest.$ac_ext <<_ACEOF
 
14437
/* end confdefs.h.  */
 
14438
#include <sgtty.h>
 
14439
Autoconf TIOCGETP
 
14440
_ACEOF
 
14441
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
14442
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
14443
  ac_cv_prog_gcc_traditional=yes
 
14444
else
 
14445
  ac_cv_prog_gcc_traditional=no
 
14446
fi
 
14447
rm -f conftest*
 
14448
 
 
14449
 
 
14450
  if test $ac_cv_prog_gcc_traditional = no; then
 
14451
    cat >conftest.$ac_ext <<_ACEOF
 
14452
/* confdefs.h.  */
 
14453
_ACEOF
 
14454
cat confdefs.h >>conftest.$ac_ext
 
14455
cat >>conftest.$ac_ext <<_ACEOF
 
14456
/* end confdefs.h.  */
 
14457
#include <termio.h>
 
14458
Autoconf TCGETA
 
14459
_ACEOF
 
14460
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
14461
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
14462
  ac_cv_prog_gcc_traditional=yes
 
14463
fi
 
14464
rm -f conftest*
 
14465
 
 
14466
  fi
 
14467
fi
 
14468
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
 
14469
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
 
14470
  if test $ac_cv_prog_gcc_traditional = yes; then
 
14471
    CC="$CC -traditional"
 
14472
  fi
 
14473
fi
 
14474
 
 
14475
 
 
14476
CXXFLAGS=${CXXFLAGS:=}
 
14477
 
 
14478
 
 
14479
 
 
14480
    ac_ext=cc
 
14481
ac_cpp='$CXXCPP $CPPFLAGS'
 
14482
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14483
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14484
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14485
if test -n "$ac_tool_prefix"; then
 
14486
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
14487
  do
 
14488
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
14489
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
14490
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14491
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
14492
if test "${ac_cv_prog_CXX+set}" = set; then
 
14493
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14494
else
 
14495
  if test -n "$CXX"; then
 
14496
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
14497
else
 
14498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14499
for as_dir in $PATH
 
14500
do
 
14501
  IFS=$as_save_IFS
 
14502
  test -z "$as_dir" && as_dir=.
 
14503
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14504
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14505
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
14506
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14507
    break 2
 
14508
  fi
 
14509
done
 
14510
done
 
14511
 
 
14512
fi
 
14513
fi
 
14514
CXX=$ac_cv_prog_CXX
 
14515
if test -n "$CXX"; then
 
14516
  echo "$as_me:$LINENO: result: $CXX" >&5
 
14517
echo "${ECHO_T}$CXX" >&6
 
14518
else
 
14519
  echo "$as_me:$LINENO: result: no" >&5
 
14520
echo "${ECHO_T}no" >&6
 
14521
fi
 
14522
 
 
14523
    test -n "$CXX" && break
 
14524
  done
 
14525
fi
 
14526
if test -z "$CXX"; then
 
14527
  ac_ct_CXX=$CXX
 
14528
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
14529
do
 
14530
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
14531
set dummy $ac_prog; ac_word=$2
 
14532
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14533
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
14534
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
14535
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14536
else
 
14537
  if test -n "$ac_ct_CXX"; then
 
14538
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
14539
else
 
14540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14541
for as_dir in $PATH
 
14542
do
 
14543
  IFS=$as_save_IFS
 
14544
  test -z "$as_dir" && as_dir=.
 
14545
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14546
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14547
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
14548
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14549
    break 2
 
14550
  fi
 
14551
done
 
14552
done
 
14553
 
 
14554
fi
 
14555
fi
 
14556
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
14557
if test -n "$ac_ct_CXX"; then
 
14558
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
14559
echo "${ECHO_T}$ac_ct_CXX" >&6
 
14560
else
 
14561
  echo "$as_me:$LINENO: result: no" >&5
 
14562
echo "${ECHO_T}no" >&6
 
14563
fi
 
14564
 
 
14565
  test -n "$ac_ct_CXX" && break
 
14566
done
 
14567
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 
14568
 
 
14569
  CXX=$ac_ct_CXX
 
14570
fi
 
14571
 
 
14572
 
 
14573
# Provide some information about the compiler.
 
14574
echo "$as_me:$LINENO:" \
 
14575
     "checking for C++ compiler version" >&5
 
14576
ac_compiler=`set X $ac_compile; echo $2`
 
14577
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
14578
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
14579
  ac_status=$?
 
14580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14581
  (exit $ac_status); }
 
14582
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
14583
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
14584
  ac_status=$?
 
14585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14586
  (exit $ac_status); }
 
14587
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
14588
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
14589
  ac_status=$?
 
14590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14591
  (exit $ac_status); }
 
14592
 
 
14593
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
14594
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
14595
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
14596
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14597
else
 
14598
  cat >conftest.$ac_ext <<_ACEOF
 
14599
/* confdefs.h.  */
 
14600
_ACEOF
 
14601
cat confdefs.h >>conftest.$ac_ext
 
14602
cat >>conftest.$ac_ext <<_ACEOF
 
14603
/* end confdefs.h.  */
 
14604
 
 
14605
int
 
14606
main ()
 
14607
{
 
14608
#ifndef __GNUC__
 
14609
       choke me
 
14610
#endif
 
14611
 
 
14612
  ;
 
14613
  return 0;
 
14614
}
 
14615
_ACEOF
 
14616
rm -f conftest.$ac_objext
 
14617
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14618
  (eval $ac_compile) 2>conftest.er1
 
14619
  ac_status=$?
 
14620
  grep -v '^ *+' conftest.er1 >conftest.err
 
14621
  rm -f conftest.er1
 
14622
  cat conftest.err >&5
 
14623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14624
  (exit $ac_status); } &&
 
14625
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
14626
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14627
  (eval $ac_try) 2>&5
 
14628
  ac_status=$?
 
14629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14630
  (exit $ac_status); }; } &&
 
14631
         { ac_try='test -s conftest.$ac_objext'
 
14632
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14633
  (eval $ac_try) 2>&5
 
14634
  ac_status=$?
 
14635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14636
  (exit $ac_status); }; }; then
 
14637
  ac_compiler_gnu=yes
 
14638
else
 
14639
  echo "$as_me: failed program was:" >&5
 
14640
sed 's/^/| /' conftest.$ac_ext >&5
 
14641
 
 
14642
ac_compiler_gnu=no
 
14643
fi
 
14644
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14645
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
14646
 
 
14647
fi
 
14648
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
14649
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
14650
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
14651
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
14652
ac_save_CXXFLAGS=$CXXFLAGS
 
14653
CXXFLAGS="-g"
 
14654
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
14655
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
14656
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
14657
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14658
else
 
14659
  cat >conftest.$ac_ext <<_ACEOF
 
14660
/* confdefs.h.  */
 
14661
_ACEOF
 
14662
cat confdefs.h >>conftest.$ac_ext
 
14663
cat >>conftest.$ac_ext <<_ACEOF
 
14664
/* end confdefs.h.  */
 
14665
 
 
14666
int
 
14667
main ()
 
14668
{
 
14669
 
 
14670
  ;
 
14671
  return 0;
 
14672
}
 
14673
_ACEOF
 
14674
rm -f conftest.$ac_objext
 
14675
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14676
  (eval $ac_compile) 2>conftest.er1
 
14677
  ac_status=$?
 
14678
  grep -v '^ *+' conftest.er1 >conftest.err
 
14679
  rm -f conftest.er1
 
14680
  cat conftest.err >&5
 
14681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14682
  (exit $ac_status); } &&
 
14683
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
14684
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14685
  (eval $ac_try) 2>&5
 
14686
  ac_status=$?
 
14687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14688
  (exit $ac_status); }; } &&
 
14689
         { ac_try='test -s conftest.$ac_objext'
 
14690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14691
  (eval $ac_try) 2>&5
 
14692
  ac_status=$?
 
14693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14694
  (exit $ac_status); }; }; then
 
14695
  ac_cv_prog_cxx_g=yes
 
14696
else
 
14697
  echo "$as_me: failed program was:" >&5
 
14698
sed 's/^/| /' conftest.$ac_ext >&5
 
14699
 
 
14700
ac_cv_prog_cxx_g=no
 
14701
fi
 
14702
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14703
fi
 
14704
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
14705
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
14706
if test "$ac_test_CXXFLAGS" = set; then
 
14707
  CXXFLAGS=$ac_save_CXXFLAGS
 
14708
elif test $ac_cv_prog_cxx_g = yes; then
 
14709
  if test "$GXX" = yes; then
 
14710
    CXXFLAGS="$CXXFLAGS -g -O2"
 
14711
  else
 
14712
    CXXFLAGS="$CXXFLAGS -g"
 
14713
  fi
 
14714
else
 
14715
  if test "$GXX" = yes; then
 
14716
    CXXFLAGS="-O2"
 
14717
  else
 
14718
    CXXFLAGS=
 
14719
  fi
 
14720
fi
 
14721
for ac_declaration in \
 
14722
   '' \
 
14723
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
14724
   'extern "C" void std::exit (int); using std::exit;' \
 
14725
   'extern "C" void exit (int) throw ();' \
 
14726
   'extern "C" void exit (int);' \
 
14727
   'void exit (int);'
 
14728
do
 
14729
  cat >conftest.$ac_ext <<_ACEOF
 
14730
/* confdefs.h.  */
 
14731
_ACEOF
 
14732
cat confdefs.h >>conftest.$ac_ext
 
14733
cat >>conftest.$ac_ext <<_ACEOF
 
14734
/* end confdefs.h.  */
 
14735
$ac_declaration
 
14736
#include <stdlib.h>
 
14737
int
 
14738
main ()
 
14739
{
 
14740
exit (42);
 
14741
  ;
 
14742
  return 0;
 
14743
}
 
14744
_ACEOF
 
14745
rm -f conftest.$ac_objext
 
14746
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14747
  (eval $ac_compile) 2>conftest.er1
 
14748
  ac_status=$?
 
14749
  grep -v '^ *+' conftest.er1 >conftest.err
 
14750
  rm -f conftest.er1
 
14751
  cat conftest.err >&5
 
14752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14753
  (exit $ac_status); } &&
 
14754
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
14755
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14756
  (eval $ac_try) 2>&5
 
14757
  ac_status=$?
 
14758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14759
  (exit $ac_status); }; } &&
 
14760
         { ac_try='test -s conftest.$ac_objext'
 
14761
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14762
  (eval $ac_try) 2>&5
 
14763
  ac_status=$?
 
14764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14765
  (exit $ac_status); }; }; then
 
14766
  :
 
14767
else
 
14768
  echo "$as_me: failed program was:" >&5
 
14769
sed 's/^/| /' conftest.$ac_ext >&5
 
14770
 
 
14771
continue
 
14772
fi
 
14773
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14774
  cat >conftest.$ac_ext <<_ACEOF
 
14775
/* confdefs.h.  */
 
14776
_ACEOF
 
14777
cat confdefs.h >>conftest.$ac_ext
 
14778
cat >>conftest.$ac_ext <<_ACEOF
 
14779
/* end confdefs.h.  */
 
14780
$ac_declaration
 
14781
int
 
14782
main ()
 
14783
{
 
14784
exit (42);
 
14785
  ;
 
14786
  return 0;
 
14787
}
 
14788
_ACEOF
 
14789
rm -f conftest.$ac_objext
 
14790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14791
  (eval $ac_compile) 2>conftest.er1
 
14792
  ac_status=$?
 
14793
  grep -v '^ *+' conftest.er1 >conftest.err
 
14794
  rm -f conftest.er1
 
14795
  cat conftest.err >&5
 
14796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14797
  (exit $ac_status); } &&
 
14798
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
14799
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14800
  (eval $ac_try) 2>&5
 
14801
  ac_status=$?
 
14802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14803
  (exit $ac_status); }; } &&
 
14804
         { ac_try='test -s conftest.$ac_objext'
 
14805
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14806
  (eval $ac_try) 2>&5
 
14807
  ac_status=$?
 
14808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14809
  (exit $ac_status); }; }; then
 
14810
  break
 
14811
else
 
14812
  echo "$as_me: failed program was:" >&5
 
14813
sed 's/^/| /' conftest.$ac_ext >&5
 
14814
 
 
14815
fi
 
14816
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14817
done
 
14818
rm -f conftest*
 
14819
if test -n "$ac_declaration"; then
 
14820
  echo '#ifdef __cplusplus' >>confdefs.h
 
14821
  echo $ac_declaration      >>confdefs.h
 
14822
  echo '#endif'             >>confdefs.h
 
14823
fi
 
14824
 
 
14825
ac_ext=c
 
14826
ac_cpp='$CPP $CPPFLAGS'
 
14827
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14828
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14829
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14830
 
 
14831
 
 
14832
 
 
14833
 
 
14834
    ac_ext=cc
 
14835
ac_cpp='$CXXCPP $CPPFLAGS'
 
14836
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14837
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14838
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14839
 
 
14840
    echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
 
14841
echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
 
14842
if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
 
14843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14844
else
 
14845
  cat >conftest.$ac_ext <<_ACEOF
 
14846
/* confdefs.h.  */
 
14847
_ACEOF
 
14848
cat confdefs.h >>conftest.$ac_ext
 
14849
cat >>conftest.$ac_ext <<_ACEOF
 
14850
/* end confdefs.h.  */
 
14851
 
 
14852
int
 
14853
main ()
 
14854
{
 
14855
 
 
14856
             #ifndef __INTEL_COMPILER
 
14857
                choke me
 
14858
             #endif
 
14859
 
 
14860
  ;
 
14861
  return 0;
 
14862
}
 
14863
_ACEOF
 
14864
rm -f conftest.$ac_objext
 
14865
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14866
  (eval $ac_compile) 2>conftest.er1
 
14867
  ac_status=$?
 
14868
  grep -v '^ *+' conftest.er1 >conftest.err
 
14869
  rm -f conftest.er1
 
14870
  cat conftest.err >&5
 
14871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14872
  (exit $ac_status); } &&
 
14873
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
14874
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14875
  (eval $ac_try) 2>&5
 
14876
  ac_status=$?
 
14877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14878
  (exit $ac_status); }; } &&
 
14879
         { ac_try='test -s conftest.$ac_objext'
 
14880
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14881
  (eval $ac_try) 2>&5
 
14882
  ac_status=$?
 
14883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14884
  (exit $ac_status); }; }; then
 
14885
  bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
 
14886
else
 
14887
  echo "$as_me: failed program was:" >&5
 
14888
sed 's/^/| /' conftest.$ac_ext >&5
 
14889
 
 
14890
bakefile_cv_cxx_compiler___INTEL_COMPILER=no
 
14891
 
 
14892
fi
 
14893
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14894
 
 
14895
 
 
14896
fi
 
14897
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
 
14898
echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
 
14899
    if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
 
14900
        :; INTELCXX=yes
 
14901
    else
 
14902
        :;
 
14903
    fi
 
14904
    ac_ext=c
 
14905
ac_cpp='$CPP $CPPFLAGS'
 
14906
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14907
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14908
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14909
 
 
14910
 
 
14911
 
 
14912
 
 
14913
        if test "$INTELCXX" = "yes"; then
 
14914
 
 
14915
 
 
14916
    ac_ext=cc
 
14917
ac_cpp='$CXXCPP $CPPFLAGS'
 
14918
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14919
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14920
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14921
 
 
14922
    echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
 
14923
echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6
 
14924
if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
 
14925
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14926
else
 
14927
  cat >conftest.$ac_ext <<_ACEOF
 
14928
/* confdefs.h.  */
 
14929
_ACEOF
 
14930
cat confdefs.h >>conftest.$ac_ext
 
14931
cat >>conftest.$ac_ext <<_ACEOF
 
14932
/* end confdefs.h.  */
 
14933
 
 
14934
int
 
14935
main ()
 
14936
{
 
14937
 
 
14938
             #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
 
14939
                choke me
 
14940
             #endif
 
14941
 
 
14942
  ;
 
14943
  return 0;
 
14944
}
 
14945
_ACEOF
 
14946
rm -f conftest.$ac_objext
 
14947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14948
  (eval $ac_compile) 2>conftest.er1
 
14949
  ac_status=$?
 
14950
  grep -v '^ *+' conftest.er1 >conftest.err
 
14951
  rm -f conftest.er1
 
14952
  cat conftest.err >&5
 
14953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14954
  (exit $ac_status); } &&
 
14955
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
14956
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14957
  (eval $ac_try) 2>&5
 
14958
  ac_status=$?
 
14959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14960
  (exit $ac_status); }; } &&
 
14961
         { ac_try='test -s conftest.$ac_objext'
 
14962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
14963
  (eval $ac_try) 2>&5
 
14964
  ac_status=$?
 
14965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14966
  (exit $ac_status); }; }; then
 
14967
  bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
 
14968
else
 
14969
  echo "$as_me: failed program was:" >&5
 
14970
sed 's/^/| /' conftest.$ac_ext >&5
 
14971
 
 
14972
bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
 
14973
 
 
14974
fi
 
14975
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14976
 
 
14977
 
 
14978
fi
 
14979
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
 
14980
echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6
 
14981
    if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
 
14982
        :; INTELCXX8=yes
 
14983
    else
 
14984
        :;
 
14985
    fi
 
14986
    ac_ext=c
 
14987
ac_cpp='$CPP $CPPFLAGS'
 
14988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14989
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14991
 
 
14992
 
 
14993
 
 
14994
 
 
14995
 
 
14996
    ac_ext=cc
 
14997
ac_cpp='$CXXCPP $CPPFLAGS'
 
14998
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14999
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15000
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15001
 
 
15002
    echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
 
15003
echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6
 
15004
if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
 
15005
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15006
else
 
15007
  cat >conftest.$ac_ext <<_ACEOF
 
15008
/* confdefs.h.  */
 
15009
_ACEOF
 
15010
cat confdefs.h >>conftest.$ac_ext
 
15011
cat >>conftest.$ac_ext <<_ACEOF
 
15012
/* end confdefs.h.  */
 
15013
 
 
15014
int
 
15015
main ()
 
15016
{
 
15017
 
 
15018
             #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
 
15019
                choke me
 
15020
             #endif
 
15021
 
 
15022
  ;
 
15023
  return 0;
 
15024
}
 
15025
_ACEOF
 
15026
rm -f conftest.$ac_objext
 
15027
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15028
  (eval $ac_compile) 2>conftest.er1
 
15029
  ac_status=$?
 
15030
  grep -v '^ *+' conftest.er1 >conftest.err
 
15031
  rm -f conftest.er1
 
15032
  cat conftest.err >&5
 
15033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15034
  (exit $ac_status); } &&
 
15035
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15036
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15037
  (eval $ac_try) 2>&5
 
15038
  ac_status=$?
 
15039
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15040
  (exit $ac_status); }; } &&
 
15041
         { ac_try='test -s conftest.$ac_objext'
 
15042
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15043
  (eval $ac_try) 2>&5
 
15044
  ac_status=$?
 
15045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15046
  (exit $ac_status); }; }; then
 
15047
  bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
 
15048
else
 
15049
  echo "$as_me: failed program was:" >&5
 
15050
sed 's/^/| /' conftest.$ac_ext >&5
 
15051
 
 
15052
bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
 
15053
 
 
15054
fi
 
15055
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15056
 
 
15057
 
 
15058
fi
 
15059
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
 
15060
echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6
 
15061
    if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
 
15062
        :; INTELCXX10=yes
 
15063
    else
 
15064
        :;
 
15065
    fi
 
15066
    ac_ext=c
 
15067
ac_cpp='$CPP $CPPFLAGS'
 
15068
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15069
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15070
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15071
 
 
15072
 
 
15073
 
 
15074
    fi
 
15075
 
 
15076
        if test "x$GCXX" != "xyes"; then
 
15077
        if test "xCXX" = "xC"; then
 
15078
            echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
 
15079
echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
 
15080
if test "${bakefile_cv_c_exto+set}" = set; then
 
15081
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15082
else
 
15083
  cat >conftest.$ac_ext <<_ACEOF
 
15084
/* confdefs.h.  */
 
15085
_ACEOF
 
15086
cat confdefs.h >>conftest.$ac_ext
 
15087
cat >>conftest.$ac_ext <<_ACEOF
 
15088
/* end confdefs.h.  */
 
15089
 
 
15090
int
 
15091
main ()
 
15092
{
 
15093
 
 
15094
  ;
 
15095
  return 0;
 
15096
}
 
15097
_ACEOF
 
15098
rm -f conftest.$ac_objext conftest.$ac_ext.o
 
15099
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15100
  (eval $ac_compile) 2>&5
 
15101
  ac_status=$?
 
15102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15103
  (exit $ac_status); }; then
 
15104
  for ac_file in `(ls conftest.* 2>/dev/null)`; do
 
15105
    case $ac_file in
 
15106
        conftest.$ac_ext.o)
 
15107
            bakefile_cv_c_exto="-ext o"
 
15108
            ;;
 
15109
        *)
 
15110
            ;;
 
15111
    esac
 
15112
done
 
15113
else
 
15114
  { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
 
15115
See \`config.log' for more details." >&5
 
15116
echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
 
15117
See \`config.log' for more details." >&2;}
 
15118
   { (exit 1); exit 1; }; }
 
15119
 
 
15120
fi
 
15121
 
 
15122
rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
 
15123
 
 
15124
fi
 
15125
echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
 
15126
echo "${ECHO_T}$bakefile_cv_c_exto" >&6
 
15127
if test "x$bakefile_cv_c_exto" '!=' "x"; then
 
15128
    if test "c" = "c"; then
 
15129
        CFLAGS="$bakefile_cv_c_exto $CFLAGS"
 
15130
    fi
 
15131
    if test "c" = "cxx"; then
 
15132
        CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
 
15133
    fi
 
15134
fi
 
15135
 
 
15136
            if test "x$bakefile_cv_c_exto" '!=' "x"; then
 
15137
                unset ac_cv_prog_cc_g
 
15138
                ac_test_CFLAGS=${CFLAGS+set}
 
15139
ac_save_CFLAGS=$CFLAGS
 
15140
CFLAGS="$CFLAGS -g"
 
15141
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
15142
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
15143
if test "${ac_cv_prog_cc_g+set}" = set; then
 
15144
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15145
else
 
15146
  cat >conftest.$ac_ext <<_ACEOF
 
15147
/* confdefs.h.  */
 
15148
_ACEOF
 
15149
cat confdefs.h >>conftest.$ac_ext
 
15150
cat >>conftest.$ac_ext <<_ACEOF
 
15151
/* end confdefs.h.  */
 
15152
 
 
15153
int
 
15154
main ()
 
15155
{
 
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>conftest.er1
 
15164
  ac_status=$?
 
15165
  grep -v '^ *+' conftest.er1 >conftest.err
 
15166
  rm -f conftest.er1
 
15167
  cat conftest.err >&5
 
15168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15169
  (exit $ac_status); } &&
 
15170
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
15171
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15172
  (eval $ac_try) 2>&5
 
15173
  ac_status=$?
 
15174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15175
  (exit $ac_status); }; } &&
 
15176
         { ac_try='test -s conftest.$ac_objext'
 
15177
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15178
  (eval $ac_try) 2>&5
 
15179
  ac_status=$?
 
15180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15181
  (exit $ac_status); }; }; then
 
15182
  ac_cv_prog_cc_g=yes
 
15183
else
 
15184
  echo "$as_me: failed program was:" >&5
 
15185
sed 's/^/| /' conftest.$ac_ext >&5
 
15186
 
 
15187
ac_cv_prog_cc_g=no
 
15188
fi
 
15189
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15190
fi
 
15191
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
15192
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
15193
if test "$ac_test_CFLAGS" = set; then
 
15194
  CFLAGS=$ac_save_CFLAGS
 
15195
elif test $ac_cv_prog_cc_g = yes; then
 
15196
  if test "$GCC" = yes; then
 
15197
    CFLAGS="-g -O2"
 
15198
  else
 
15199
    CFLAGS="-g"
 
15200
  fi
 
15201
else
 
15202
  if test "$GCC" = yes; then
 
15203
    CFLAGS="-O2"
 
15204
  else
 
15205
    CFLAGS=
 
15206
  fi
 
15207
fi
 
15208
            fi
 
15209
        fi
 
15210
 
 
15211
                        case `uname -s` in
 
15212
            AIX*)
 
15213
 
 
15214
 
 
15215
    ac_ext=cc
 
15216
ac_cpp='$CXXCPP $CPPFLAGS'
 
15217
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15218
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15219
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15220
 
 
15221
    echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
 
15222
echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
 
15223
if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
 
15224
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15225
else
 
15226
  cat >conftest.$ac_ext <<_ACEOF
 
15227
/* confdefs.h.  */
 
15228
_ACEOF
 
15229
cat confdefs.h >>conftest.$ac_ext
 
15230
cat >>conftest.$ac_ext <<_ACEOF
 
15231
/* end confdefs.h.  */
 
15232
 
 
15233
int
 
15234
main ()
 
15235
{
 
15236
 
 
15237
             #ifndef __xlC__
 
15238
                choke me
 
15239
             #endif
 
15240
 
 
15241
  ;
 
15242
  return 0;
 
15243
}
 
15244
_ACEOF
 
15245
rm -f conftest.$ac_objext
 
15246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15247
  (eval $ac_compile) 2>conftest.er1
 
15248
  ac_status=$?
 
15249
  grep -v '^ *+' conftest.er1 >conftest.err
 
15250
  rm -f conftest.er1
 
15251
  cat conftest.err >&5
 
15252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15253
  (exit $ac_status); } &&
 
15254
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15255
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15256
  (eval $ac_try) 2>&5
 
15257
  ac_status=$?
 
15258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15259
  (exit $ac_status); }; } &&
 
15260
         { ac_try='test -s conftest.$ac_objext'
 
15261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15262
  (eval $ac_try) 2>&5
 
15263
  ac_status=$?
 
15264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15265
  (exit $ac_status); }; }; then
 
15266
  bakefile_cv_cxx_compiler___xlC__=yes
 
15267
else
 
15268
  echo "$as_me: failed program was:" >&5
 
15269
sed 's/^/| /' conftest.$ac_ext >&5
 
15270
 
 
15271
bakefile_cv_cxx_compiler___xlC__=no
 
15272
 
 
15273
fi
 
15274
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15275
 
 
15276
 
 
15277
fi
 
15278
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
 
15279
echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
 
15280
    if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
 
15281
        :; XLCXX=yes
 
15282
    else
 
15283
        :;
 
15284
    fi
 
15285
    ac_ext=c
 
15286
ac_cpp='$CPP $CPPFLAGS'
 
15287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15288
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15290
 
 
15291
 
 
15292
 
 
15293
                ;;
 
15294
 
 
15295
            Darwin)
 
15296
 
 
15297
 
 
15298
    ac_ext=cc
 
15299
ac_cpp='$CXXCPP $CPPFLAGS'
 
15300
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15301
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15302
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15303
 
 
15304
    echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
 
15305
echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
 
15306
if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
 
15307
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15308
else
 
15309
  cat >conftest.$ac_ext <<_ACEOF
 
15310
/* confdefs.h.  */
 
15311
_ACEOF
 
15312
cat confdefs.h >>conftest.$ac_ext
 
15313
cat >>conftest.$ac_ext <<_ACEOF
 
15314
/* end confdefs.h.  */
 
15315
 
 
15316
int
 
15317
main ()
 
15318
{
 
15319
 
 
15320
             #ifndef __MWERKS__
 
15321
                choke me
 
15322
             #endif
 
15323
 
 
15324
  ;
 
15325
  return 0;
 
15326
}
 
15327
_ACEOF
 
15328
rm -f conftest.$ac_objext
 
15329
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15330
  (eval $ac_compile) 2>conftest.er1
 
15331
  ac_status=$?
 
15332
  grep -v '^ *+' conftest.er1 >conftest.err
 
15333
  rm -f conftest.er1
 
15334
  cat conftest.err >&5
 
15335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15336
  (exit $ac_status); } &&
 
15337
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15338
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15339
  (eval $ac_try) 2>&5
 
15340
  ac_status=$?
 
15341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15342
  (exit $ac_status); }; } &&
 
15343
         { ac_try='test -s conftest.$ac_objext'
 
15344
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15345
  (eval $ac_try) 2>&5
 
15346
  ac_status=$?
 
15347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15348
  (exit $ac_status); }; }; then
 
15349
  bakefile_cv_cxx_compiler___MWERKS__=yes
 
15350
else
 
15351
  echo "$as_me: failed program was:" >&5
 
15352
sed 's/^/| /' conftest.$ac_ext >&5
 
15353
 
 
15354
bakefile_cv_cxx_compiler___MWERKS__=no
 
15355
 
 
15356
fi
 
15357
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15358
 
 
15359
 
 
15360
fi
 
15361
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
 
15362
echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
 
15363
    if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
 
15364
        :; MWCXX=yes
 
15365
    else
 
15366
        :;
 
15367
    fi
 
15368
    ac_ext=c
 
15369
ac_cpp='$CPP $CPPFLAGS'
 
15370
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15371
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15372
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15373
 
 
15374
 
 
15375
 
 
15376
                if test "$MWCXX" != "yes"; then
 
15377
 
 
15378
 
 
15379
    ac_ext=cc
 
15380
ac_cpp='$CXXCPP $CPPFLAGS'
 
15381
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15382
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15383
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15384
 
 
15385
    echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
 
15386
echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
 
15387
if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
 
15388
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15389
else
 
15390
  cat >conftest.$ac_ext <<_ACEOF
 
15391
/* confdefs.h.  */
 
15392
_ACEOF
 
15393
cat confdefs.h >>conftest.$ac_ext
 
15394
cat >>conftest.$ac_ext <<_ACEOF
 
15395
/* end confdefs.h.  */
 
15396
 
 
15397
int
 
15398
main ()
 
15399
{
 
15400
 
 
15401
             #ifndef __xlC__
 
15402
                choke me
 
15403
             #endif
 
15404
 
 
15405
  ;
 
15406
  return 0;
 
15407
}
 
15408
_ACEOF
 
15409
rm -f conftest.$ac_objext
 
15410
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15411
  (eval $ac_compile) 2>conftest.er1
 
15412
  ac_status=$?
 
15413
  grep -v '^ *+' conftest.er1 >conftest.err
 
15414
  rm -f conftest.er1
 
15415
  cat conftest.err >&5
 
15416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15417
  (exit $ac_status); } &&
 
15418
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15419
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15420
  (eval $ac_try) 2>&5
 
15421
  ac_status=$?
 
15422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15423
  (exit $ac_status); }; } &&
 
15424
         { ac_try='test -s conftest.$ac_objext'
 
15425
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15426
  (eval $ac_try) 2>&5
 
15427
  ac_status=$?
 
15428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15429
  (exit $ac_status); }; }; then
 
15430
  bakefile_cv_cxx_compiler___xlC__=yes
 
15431
else
 
15432
  echo "$as_me: failed program was:" >&5
 
15433
sed 's/^/| /' conftest.$ac_ext >&5
 
15434
 
 
15435
bakefile_cv_cxx_compiler___xlC__=no
 
15436
 
 
15437
fi
 
15438
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15439
 
 
15440
 
 
15441
fi
 
15442
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
 
15443
echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
 
15444
    if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
 
15445
        :; XLCXX=yes
 
15446
    else
 
15447
        :;
 
15448
    fi
 
15449
    ac_ext=c
 
15450
ac_cpp='$CPP $CPPFLAGS'
 
15451
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15452
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15453
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15454
 
 
15455
 
 
15456
 
 
15457
                fi
 
15458
                ;;
 
15459
 
 
15460
            IRIX*)
 
15461
 
 
15462
 
 
15463
    ac_ext=cc
 
15464
ac_cpp='$CXXCPP $CPPFLAGS'
 
15465
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15466
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15467
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15468
 
 
15469
    echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
 
15470
echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
 
15471
if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
 
15472
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15473
else
 
15474
  cat >conftest.$ac_ext <<_ACEOF
 
15475
/* confdefs.h.  */
 
15476
_ACEOF
 
15477
cat confdefs.h >>conftest.$ac_ext
 
15478
cat >>conftest.$ac_ext <<_ACEOF
 
15479
/* end confdefs.h.  */
 
15480
 
 
15481
int
 
15482
main ()
 
15483
{
 
15484
 
 
15485
             #ifndef _SGI_COMPILER_VERSION
 
15486
                choke me
 
15487
             #endif
 
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>conftest.er1
 
15496
  ac_status=$?
 
15497
  grep -v '^ *+' conftest.er1 >conftest.err
 
15498
  rm -f conftest.er1
 
15499
  cat conftest.err >&5
 
15500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15501
  (exit $ac_status); } &&
 
15502
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15503
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15504
  (eval $ac_try) 2>&5
 
15505
  ac_status=$?
 
15506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15507
  (exit $ac_status); }; } &&
 
15508
         { ac_try='test -s conftest.$ac_objext'
 
15509
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15510
  (eval $ac_try) 2>&5
 
15511
  ac_status=$?
 
15512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15513
  (exit $ac_status); }; }; then
 
15514
  bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
 
15515
else
 
15516
  echo "$as_me: failed program was:" >&5
 
15517
sed 's/^/| /' conftest.$ac_ext >&5
 
15518
 
 
15519
bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
 
15520
 
 
15521
fi
 
15522
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15523
 
 
15524
 
 
15525
fi
 
15526
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
 
15527
echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
 
15528
    if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
 
15529
        :; SGICXX=yes
 
15530
    else
 
15531
        :;
 
15532
    fi
 
15533
    ac_ext=c
 
15534
ac_cpp='$CPP $CPPFLAGS'
 
15535
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15536
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15537
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15538
 
 
15539
 
 
15540
 
 
15541
                ;;
 
15542
 
 
15543
            Linux*)
 
15544
                                                if test "$INTELCXX" != "yes"; then
 
15545
 
 
15546
 
 
15547
    ac_ext=cc
 
15548
ac_cpp='$CXXCPP $CPPFLAGS'
 
15549
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15550
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15551
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15552
 
 
15553
    echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
 
15554
echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
 
15555
if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
 
15556
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15557
else
 
15558
  cat >conftest.$ac_ext <<_ACEOF
 
15559
/* confdefs.h.  */
 
15560
_ACEOF
 
15561
cat confdefs.h >>conftest.$ac_ext
 
15562
cat >>conftest.$ac_ext <<_ACEOF
 
15563
/* end confdefs.h.  */
 
15564
 
 
15565
int
 
15566
main ()
 
15567
{
 
15568
 
 
15569
             #ifndef __SUNPRO_CC
 
15570
                choke me
 
15571
             #endif
 
15572
 
 
15573
  ;
 
15574
  return 0;
 
15575
}
 
15576
_ACEOF
 
15577
rm -f conftest.$ac_objext
 
15578
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15579
  (eval $ac_compile) 2>conftest.er1
 
15580
  ac_status=$?
 
15581
  grep -v '^ *+' conftest.er1 >conftest.err
 
15582
  rm -f conftest.er1
 
15583
  cat conftest.err >&5
 
15584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15585
  (exit $ac_status); } &&
 
15586
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15587
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15588
  (eval $ac_try) 2>&5
 
15589
  ac_status=$?
 
15590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15591
  (exit $ac_status); }; } &&
 
15592
         { ac_try='test -s conftest.$ac_objext'
 
15593
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15594
  (eval $ac_try) 2>&5
 
15595
  ac_status=$?
 
15596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15597
  (exit $ac_status); }; }; then
 
15598
  bakefile_cv_cxx_compiler___SUNPRO_CC=yes
 
15599
else
 
15600
  echo "$as_me: failed program was:" >&5
 
15601
sed 's/^/| /' conftest.$ac_ext >&5
 
15602
 
 
15603
bakefile_cv_cxx_compiler___SUNPRO_CC=no
 
15604
 
 
15605
fi
 
15606
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15607
 
 
15608
 
 
15609
fi
 
15610
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
 
15611
echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
 
15612
    if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
 
15613
        :; SUNCXX=yes
 
15614
    else
 
15615
        :;
 
15616
    fi
 
15617
    ac_ext=c
 
15618
ac_cpp='$CPP $CPPFLAGS'
 
15619
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15620
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15621
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15622
 
 
15623
 
 
15624
 
 
15625
                fi
 
15626
                ;;
 
15627
 
 
15628
            HP-UX*)
 
15629
 
 
15630
 
 
15631
    ac_ext=cc
 
15632
ac_cpp='$CXXCPP $CPPFLAGS'
 
15633
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15634
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15635
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15636
 
 
15637
    echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
 
15638
echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
 
15639
if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
 
15640
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15641
else
 
15642
  cat >conftest.$ac_ext <<_ACEOF
 
15643
/* confdefs.h.  */
 
15644
_ACEOF
 
15645
cat confdefs.h >>conftest.$ac_ext
 
15646
cat >>conftest.$ac_ext <<_ACEOF
 
15647
/* end confdefs.h.  */
 
15648
 
 
15649
int
 
15650
main ()
 
15651
{
 
15652
 
 
15653
             #ifndef __HP_aCC
 
15654
                choke me
 
15655
             #endif
 
15656
 
 
15657
  ;
 
15658
  return 0;
 
15659
}
 
15660
_ACEOF
 
15661
rm -f conftest.$ac_objext
 
15662
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15663
  (eval $ac_compile) 2>conftest.er1
 
15664
  ac_status=$?
 
15665
  grep -v '^ *+' conftest.er1 >conftest.err
 
15666
  rm -f conftest.er1
 
15667
  cat conftest.err >&5
 
15668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15669
  (exit $ac_status); } &&
 
15670
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15671
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15672
  (eval $ac_try) 2>&5
 
15673
  ac_status=$?
 
15674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15675
  (exit $ac_status); }; } &&
 
15676
         { ac_try='test -s conftest.$ac_objext'
 
15677
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15678
  (eval $ac_try) 2>&5
 
15679
  ac_status=$?
 
15680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15681
  (exit $ac_status); }; }; then
 
15682
  bakefile_cv_cxx_compiler___HP_aCC=yes
 
15683
else
 
15684
  echo "$as_me: failed program was:" >&5
 
15685
sed 's/^/| /' conftest.$ac_ext >&5
 
15686
 
 
15687
bakefile_cv_cxx_compiler___HP_aCC=no
 
15688
 
 
15689
fi
 
15690
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15691
 
 
15692
 
 
15693
fi
 
15694
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
 
15695
echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
 
15696
    if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
 
15697
        :; HPCXX=yes
 
15698
    else
 
15699
        :;
 
15700
    fi
 
15701
    ac_ext=c
 
15702
ac_cpp='$CPP $CPPFLAGS'
 
15703
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15704
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15705
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15706
 
 
15707
 
 
15708
 
 
15709
                ;;
 
15710
 
 
15711
            OSF1)
 
15712
 
 
15713
 
 
15714
    ac_ext=cc
 
15715
ac_cpp='$CXXCPP $CPPFLAGS'
 
15716
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15717
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15718
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15719
 
 
15720
    echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
 
15721
echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
 
15722
if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
 
15723
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15724
else
 
15725
  cat >conftest.$ac_ext <<_ACEOF
 
15726
/* confdefs.h.  */
 
15727
_ACEOF
 
15728
cat confdefs.h >>conftest.$ac_ext
 
15729
cat >>conftest.$ac_ext <<_ACEOF
 
15730
/* end confdefs.h.  */
 
15731
 
 
15732
int
 
15733
main ()
 
15734
{
 
15735
 
 
15736
             #ifndef __DECCXX
 
15737
                choke me
 
15738
             #endif
 
15739
 
 
15740
  ;
 
15741
  return 0;
 
15742
}
 
15743
_ACEOF
 
15744
rm -f conftest.$ac_objext
 
15745
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15746
  (eval $ac_compile) 2>conftest.er1
 
15747
  ac_status=$?
 
15748
  grep -v '^ *+' conftest.er1 >conftest.err
 
15749
  rm -f conftest.er1
 
15750
  cat conftest.err >&5
 
15751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15752
  (exit $ac_status); } &&
 
15753
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15754
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15755
  (eval $ac_try) 2>&5
 
15756
  ac_status=$?
 
15757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15758
  (exit $ac_status); }; } &&
 
15759
         { ac_try='test -s conftest.$ac_objext'
 
15760
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15761
  (eval $ac_try) 2>&5
 
15762
  ac_status=$?
 
15763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15764
  (exit $ac_status); }; }; then
 
15765
  bakefile_cv_cxx_compiler___DECCXX=yes
 
15766
else
 
15767
  echo "$as_me: failed program was:" >&5
 
15768
sed 's/^/| /' conftest.$ac_ext >&5
 
15769
 
 
15770
bakefile_cv_cxx_compiler___DECCXX=no
 
15771
 
 
15772
fi
 
15773
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15774
 
 
15775
 
 
15776
fi
 
15777
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
 
15778
echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
 
15779
    if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
 
15780
        :; COMPAQCXX=yes
 
15781
    else
 
15782
        :;
 
15783
    fi
 
15784
    ac_ext=c
 
15785
ac_cpp='$CPP $CPPFLAGS'
 
15786
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15787
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15788
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15789
 
 
15790
 
 
15791
 
 
15792
                ;;
 
15793
 
 
15794
            SunOS)
 
15795
 
 
15796
 
 
15797
    ac_ext=cc
 
15798
ac_cpp='$CXXCPP $CPPFLAGS'
 
15799
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15800
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15801
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15802
 
 
15803
    echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
 
15804
echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
 
15805
if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
 
15806
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15807
else
 
15808
  cat >conftest.$ac_ext <<_ACEOF
 
15809
/* confdefs.h.  */
 
15810
_ACEOF
 
15811
cat confdefs.h >>conftest.$ac_ext
 
15812
cat >>conftest.$ac_ext <<_ACEOF
 
15813
/* end confdefs.h.  */
 
15814
 
 
15815
int
 
15816
main ()
 
15817
{
 
15818
 
 
15819
             #ifndef __SUNPRO_CC
 
15820
                choke me
 
15821
             #endif
 
15822
 
 
15823
  ;
 
15824
  return 0;
 
15825
}
 
15826
_ACEOF
 
15827
rm -f conftest.$ac_objext
 
15828
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15829
  (eval $ac_compile) 2>conftest.er1
 
15830
  ac_status=$?
 
15831
  grep -v '^ *+' conftest.er1 >conftest.err
 
15832
  rm -f conftest.er1
 
15833
  cat conftest.err >&5
 
15834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15835
  (exit $ac_status); } &&
 
15836
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
15837
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15838
  (eval $ac_try) 2>&5
 
15839
  ac_status=$?
 
15840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15841
  (exit $ac_status); }; } &&
 
15842
         { ac_try='test -s conftest.$ac_objext'
 
15843
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15844
  (eval $ac_try) 2>&5
 
15845
  ac_status=$?
 
15846
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15847
  (exit $ac_status); }; }; then
 
15848
  bakefile_cv_cxx_compiler___SUNPRO_CC=yes
 
15849
else
 
15850
  echo "$as_me: failed program was:" >&5
 
15851
sed 's/^/| /' conftest.$ac_ext >&5
 
15852
 
 
15853
bakefile_cv_cxx_compiler___SUNPRO_CC=no
 
15854
 
 
15855
fi
 
15856
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
15857
 
 
15858
 
 
15859
fi
 
15860
echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
 
15861
echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
 
15862
    if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
 
15863
        :; SUNCXX=yes
 
15864
    else
 
15865
        :;
 
15866
    fi
 
15867
    ac_ext=c
 
15868
ac_cpp='$CPP $CPPFLAGS'
 
15869
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15870
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15871
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15872
 
 
15873
 
 
15874
 
 
15875
                ;;
 
15876
        esac
 
15877
    fi
 
15878
 
 
15879
 
 
15880
 
 
15881
if test -n "$ac_tool_prefix"; then
 
15882
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
15883
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
15884
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
15886
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
15887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15888
else
 
15889
  if test -n "$RANLIB"; then
 
15890
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
15891
else
 
15892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15893
for as_dir in $PATH
 
15894
do
 
15895
  IFS=$as_save_IFS
 
15896
  test -z "$as_dir" && as_dir=.
 
15897
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15898
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15899
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
15900
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15901
    break 2
 
15902
  fi
 
15903
done
 
15904
done
 
15905
 
 
15906
fi
 
15907
fi
 
15908
RANLIB=$ac_cv_prog_RANLIB
 
15909
if test -n "$RANLIB"; then
 
15910
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
15911
echo "${ECHO_T}$RANLIB" >&6
 
15912
else
 
15913
  echo "$as_me:$LINENO: result: no" >&5
 
15914
echo "${ECHO_T}no" >&6
 
15915
fi
 
15916
 
 
15917
fi
 
15918
if test -z "$ac_cv_prog_RANLIB"; then
 
15919
  ac_ct_RANLIB=$RANLIB
 
15920
  # Extract the first word of "ranlib", so it can be a program name with args.
 
15921
set dummy ranlib; ac_word=$2
 
15922
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15923
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
15924
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
15925
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15926
else
 
15927
  if test -n "$ac_ct_RANLIB"; then
 
15928
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
15929
else
 
15930
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15931
for as_dir in $PATH
 
15932
do
 
15933
  IFS=$as_save_IFS
 
15934
  test -z "$as_dir" && as_dir=.
 
15935
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15936
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15937
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
15938
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15939
    break 2
 
15940
  fi
 
15941
done
 
15942
done
 
15943
 
 
15944
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
15945
fi
 
15946
fi
 
15947
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
15948
if test -n "$ac_ct_RANLIB"; then
 
15949
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
15950
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
15951
else
 
15952
  echo "$as_me:$LINENO: result: no" >&5
 
15953
echo "${ECHO_T}no" >&6
 
15954
fi
 
15955
 
 
15956
  RANLIB=$ac_ct_RANLIB
 
15957
else
 
15958
  RANLIB="$ac_cv_prog_RANLIB"
 
15959
fi
 
15960
 
 
15961
 
 
15962
if test "x$SUNCXX" != xyes; then
 
15963
    if test -n "$ac_tool_prefix"; then
 
15964
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
15965
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
15966
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15967
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
15968
if test "${ac_cv_prog_AR+set}" = set; then
 
15969
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15970
else
 
15971
  if test -n "$AR"; then
 
15972
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
15973
else
 
15974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15975
for as_dir in $PATH
 
15976
do
 
15977
  IFS=$as_save_IFS
 
15978
  test -z "$as_dir" && as_dir=.
 
15979
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15980
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15981
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
15982
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15983
    break 2
 
15984
  fi
 
15985
done
 
15986
done
 
15987
 
 
15988
fi
 
15989
fi
 
15990
AR=$ac_cv_prog_AR
 
15991
if test -n "$AR"; then
 
15992
  echo "$as_me:$LINENO: result: $AR" >&5
 
15993
echo "${ECHO_T}$AR" >&6
 
15994
else
 
15995
  echo "$as_me:$LINENO: result: no" >&5
 
15996
echo "${ECHO_T}no" >&6
 
15997
fi
 
15998
 
 
15999
fi
 
16000
if test -z "$ac_cv_prog_AR"; then
 
16001
  ac_ct_AR=$AR
 
16002
  # Extract the first word of "ar", so it can be a program name with args.
 
16003
set dummy ar; ac_word=$2
 
16004
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16005
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16006
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
16007
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16008
else
 
16009
  if test -n "$ac_ct_AR"; then
 
16010
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
16011
else
 
16012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16013
for as_dir in $PATH
 
16014
do
 
16015
  IFS=$as_save_IFS
 
16016
  test -z "$as_dir" && as_dir=.
 
16017
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16018
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16019
    ac_cv_prog_ac_ct_AR="ar"
 
16020
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16021
    break 2
 
16022
  fi
 
16023
done
 
16024
done
 
16025
 
 
16026
fi
 
16027
fi
 
16028
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
16029
if test -n "$ac_ct_AR"; then
 
16030
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
16031
echo "${ECHO_T}$ac_ct_AR" >&6
 
16032
else
 
16033
  echo "$as_me:$LINENO: result: no" >&5
 
16034
echo "${ECHO_T}no" >&6
 
16035
fi
 
16036
 
 
16037
  AR=$ac_ct_AR
 
16038
else
 
16039
  AR="$ac_cv_prog_AR"
 
16040
fi
 
16041
 
 
16042
    if test "x$AR" = "x" ; then
 
16043
        { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
 
16044
echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
 
16045
   { (exit 1); exit 1; }; }
 
16046
    fi
 
16047
fi
 
16048
 
 
16049
# Find a good install program.  We prefer a C program (faster),
 
16050
# so one script is as good as another.  But avoid the broken or
 
16051
# incompatible versions:
 
16052
# SysV /etc/install, /usr/sbin/install
 
16053
# SunOS /usr/etc/install
 
16054
# IRIX /sbin/install
 
16055
# AIX /bin/install
 
16056
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
16057
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
16058
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
16059
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
16060
# OS/2's system install, which has a completely different semantic
 
16061
# ./install, which can be erroneously created by make from ./install.sh.
 
16062
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
16063
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
16064
if test -z "$INSTALL"; then
 
16065
if test "${ac_cv_path_install+set}" = set; then
 
16066
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16067
else
 
16068
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16069
for as_dir in $PATH
 
16070
do
 
16071
  IFS=$as_save_IFS
 
16072
  test -z "$as_dir" && as_dir=.
 
16073
  # Account for people who put trailing slashes in PATH elements.
 
16074
case $as_dir/ in
 
16075
  ./ | .// | /cC/* | \
 
16076
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
16077
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
16078
  /usr/ucb/* ) ;;
 
16079
  *)
 
16080
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
16081
    # Don't use installbsd from OSF since it installs stuff as root
 
16082
    # by default.
 
16083
    for ac_prog in ginstall scoinst install; do
 
16084
      for ac_exec_ext in '' $ac_executable_extensions; do
 
16085
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
16086
          if test $ac_prog = install &&
 
16087
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
16088
            # AIX install.  It has an incompatible calling convention.
 
16089
            :
 
16090
          elif test $ac_prog = install &&
 
16091
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
16092
            # program-specific install script used by HP pwplus--don't use.
 
16093
            :
 
16094
          else
 
16095
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
16096
            break 3
 
16097
          fi
 
16098
        fi
 
16099
      done
 
16100
    done
 
16101
    ;;
 
16102
esac
 
16103
done
 
16104
 
 
16105
 
 
16106
fi
 
16107
  if test "${ac_cv_path_install+set}" = set; then
 
16108
    INSTALL=$ac_cv_path_install
 
16109
  else
 
16110
    # As a last resort, use the slow shell script.  We don't cache a
 
16111
    # path for INSTALL within a source directory, because that will
 
16112
    # break other packages using the cache if that directory is
 
16113
    # removed, or if the path is relative.
 
16114
    INSTALL=$ac_install_sh
 
16115
  fi
 
16116
fi
 
16117
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
16118
echo "${ECHO_T}$INSTALL" >&6
 
16119
 
 
16120
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
16121
# It thinks the first close brace ends the variable substitution.
 
16122
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
16123
 
 
16124
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
16125
 
 
16126
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
16127
 
 
16128
 
 
16129
case ${INSTALL} in
 
16130
  /* ) # Absolute
 
16131
     ;;
 
16132
  ?:* ) # Drive letter, considered as absolute.
 
16133
     ;;
 
16134
  *)
 
16135
     INSTALL=`pwd`/${INSTALL} ;;
 
16136
esac
 
16137
 
 
16138
retest_macosx_linking=no
 
16139
 
 
16140
#if test "$wxUSE_MAC" = 1; then
 
16141
    if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
 
16142
                        if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
 
16143
            # Implicitly turn on the new --with-macosx-sdk using the default
 
16144
            # SDK which provides the behavior this option has always had.
 
16145
            if test "x$wxUSE_MACOSX_SDK" = "x"; then
 
16146
                { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
 
16147
echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
 
16148
                { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
 
16149
echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
 
16150
                wxUSE_MACOSX_SDK=yes
 
16151
            fi
 
16152
        else
 
16153
            # Complain to user if he specified an argument to --enable-universal_binary
 
16154
            # and also 1) specified --with-macosx-sdk using the default (yes) or
 
16155
            # 2) specified --with-macosx-sdk using a path or 3) specified
 
16156
            # --without-macosx-sdk (no).
 
16157
            if test "x$wxUSE_MACOSX_SDK" != "x" ; then
 
16158
                { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
 
16159
See \`config.log' for more details." >&5
 
16160
echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
 
16161
See \`config.log' for more details." >&2;}
 
16162
   { (exit 1); exit 1; }; }
 
16163
            else
 
16164
                # Put the SDK path into the wxUSE_MACOSX_SDK.  We don't have to
 
16165
                # special-case the empty string because the below test simply
 
16166
                # converts "no" to the empty string anyway.
 
16167
                wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
 
16168
                                { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
 
16169
echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
 
16170
            fi
 
16171
        fi
 
16172
                OSX_UNIV_OPTS="-arch ppc -arch i386"
 
16173
        CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
 
16174
        CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
 
16175
        OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
 
16176
        OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
 
16177
        LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
 
16178
                                                                                                                retest_macosx_linking=yes
 
16179
 
 
16180
                                        { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
 
16181
echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
 
16182
        bk_use_pch=no
 
16183
    fi
 
16184
#fi
 
16185
 
 
16186
if test "x$wxUSE_MACOSX_SDK" = "xno"; then
 
16187
    wxUSE_MACOSX_SDK=
 
16188
elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
 
16189
    # TODO: Search for most recent SDK and use it.
 
16190
    wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
 
16191
fi
 
16192
 
 
16193
 
 
16194
if test "x$wxUSE_MACOSX_SDK" != "x"; then
 
16195
    echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
 
16196
echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6
 
16197
    if ! test -d "$wxUSE_MACOSX_SDK"; then
 
16198
        { { echo "$as_me:$LINENO: error: not found
 
16199
See \`config.log' for more details." >&5
 
16200
echo "$as_me: error: not found
 
16201
See \`config.log' for more details." >&2;}
 
16202
   { (exit 1); exit 1; }; }
 
16203
    else
 
16204
        echo "$as_me:$LINENO: result: exists" >&5
 
16205
echo "${ECHO_T}exists" >&6
 
16206
    fi
 
16207
    MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
 
16208
    eval "CC=\"$CC $MACOSX_SDK_OPTS\""
 
16209
    eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
 
16210
    eval "LD=\"$LD $MACOSX_SDK_OPTS\""
 
16211
    retest_macosx_linking=yes
 
16212
            fi
 
16213
 
 
16214
if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
 
16215
    wxUSE_MACOSX_VERSION_MIN=
 
16216
elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
 
16217
    if test "x$wxUSE_MACOSX_SDK" != "x"; then
 
16218
        echo "$as_me:$LINENO: checking SDK deployment version" >&5
 
16219
echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6
 
16220
 
 
16221
        MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
 
16222
 
 
16223
        # If that failed, try again with the new key
 
16224
        if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
 
16225
 
 
16226
            MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
 
16227
 
 
16228
        fi
 
16229
 
 
16230
        if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
 
16231
            wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
 
16232
            echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
 
16233
echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6
 
16234
        else
 
16235
            { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
 
16236
echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
 
16237
            wxUSE_MACOSX_VERSION_MIN=
 
16238
        fi
 
16239
    else
 
16240
        wxUSE_MACOSX_VERSION_MIN=
 
16241
    fi
 
16242
fi
 
16243
 
 
16244
if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
 
16245
    MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
 
16246
    eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
 
16247
    eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
 
16248
    eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
 
16249
    retest_macosx_linking=yes
 
16250
fi
 
16251
 
 
16252
if test "x$retest_macosx_linking" = "xyes"; then
 
16253
    ac_ext=c
 
16254
ac_cpp='$CPP $CPPFLAGS'
 
16255
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16256
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16257
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16258
 
 
16259
    echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
 
16260
echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6
 
16261
    cat >conftest.$ac_ext <<_ACEOF
 
16262
/* confdefs.h.  */
 
16263
_ACEOF
 
16264
cat confdefs.h >>conftest.$ac_ext
 
16265
cat >>conftest.$ac_ext <<_ACEOF
 
16266
/* end confdefs.h.  */
 
16267
 
 
16268
int
 
16269
main ()
 
16270
{
 
16271
 
 
16272
  ;
 
16273
  return 0;
 
16274
}
 
16275
_ACEOF
 
16276
rm -f conftest.$ac_objext conftest$ac_exeext
 
16277
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
16278
  (eval $ac_link) 2>conftest.er1
 
16279
  ac_status=$?
 
16280
  grep -v '^ *+' conftest.er1 >conftest.err
 
16281
  rm -f conftest.er1
 
16282
  cat conftest.err >&5
 
16283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16284
  (exit $ac_status); } &&
 
16285
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16286
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16287
  (eval $ac_try) 2>&5
 
16288
  ac_status=$?
 
16289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16290
  (exit $ac_status); }; } &&
 
16291
         { ac_try='test -s conftest$ac_exeext'
 
16292
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16293
  (eval $ac_try) 2>&5
 
16294
  ac_status=$?
 
16295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16296
  (exit $ac_status); }; }; then
 
16297
  echo "$as_me:$LINENO: result: yes" >&5
 
16298
echo "${ECHO_T}yes" >&6
 
16299
else
 
16300
  echo "$as_me: failed program was:" >&5
 
16301
sed 's/^/| /' conftest.$ac_ext >&5
 
16302
 
 
16303
{ { echo "$as_me:$LINENO: error: no.  Try a different SDK
 
16304
See \`config.log' for more details." >&5
 
16305
echo "$as_me: error: no.  Try a different SDK
 
16306
See \`config.log' for more details." >&2;}
 
16307
   { (exit 1); exit 1; }; }; exit 1
 
16308
fi
 
16309
rm -f conftest.err conftest.$ac_objext \
 
16310
      conftest$ac_exeext conftest.$ac_ext
 
16311
    ac_ext=c
 
16312
ac_cpp='$CPP $CPPFLAGS'
 
16313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16316
 
 
16317
 
 
16318
    ac_ext=cc
 
16319
ac_cpp='$CXXCPP $CPPFLAGS'
 
16320
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16321
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16322
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
16323
 
 
16324
    echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
 
16325
echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6
 
16326
    cat >conftest.$ac_ext <<_ACEOF
 
16327
/* confdefs.h.  */
 
16328
_ACEOF
 
16329
cat confdefs.h >>conftest.$ac_ext
 
16330
cat >>conftest.$ac_ext <<_ACEOF
 
16331
/* end confdefs.h.  */
 
16332
 
 
16333
int
 
16334
main ()
 
16335
{
 
16336
 
 
16337
  ;
 
16338
  return 0;
 
16339
}
 
16340
_ACEOF
 
16341
rm -f conftest.$ac_objext conftest$ac_exeext
 
16342
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
16343
  (eval $ac_link) 2>conftest.er1
 
16344
  ac_status=$?
 
16345
  grep -v '^ *+' conftest.er1 >conftest.err
 
16346
  rm -f conftest.er1
 
16347
  cat conftest.err >&5
 
16348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16349
  (exit $ac_status); } &&
 
16350
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
16351
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16352
  (eval $ac_try) 2>&5
 
16353
  ac_status=$?
 
16354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16355
  (exit $ac_status); }; } &&
 
16356
         { ac_try='test -s conftest$ac_exeext'
 
16357
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16358
  (eval $ac_try) 2>&5
 
16359
  ac_status=$?
 
16360
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16361
  (exit $ac_status); }; }; then
 
16362
  echo "$as_me:$LINENO: result: yes" >&5
 
16363
echo "${ECHO_T}yes" >&6
 
16364
else
 
16365
  echo "$as_me: failed program was:" >&5
 
16366
sed 's/^/| /' conftest.$ac_ext >&5
 
16367
 
 
16368
{ { echo "$as_me:$LINENO: error: no.  Try a different SDK
 
16369
See \`config.log' for more details." >&5
 
16370
echo "$as_me: error: no.  Try a different SDK
 
16371
See \`config.log' for more details." >&2;}
 
16372
   { (exit 1); exit 1; }; }; exit 1
 
16373
fi
 
16374
rm -f conftest.err conftest.$ac_objext \
 
16375
      conftest$ac_exeext conftest.$ac_ext
 
16376
    ac_ext=c
 
16377
ac_cpp='$CPP $CPPFLAGS'
 
16378
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16379
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16380
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16381
 
 
16382
fi
 
16383
 
 
16384
 
 
16385
case "${host}" in
 
16386
 
 
16387
                *-*-darwin* )
 
16388
        INSTALL_PROGRAM="cp -fp"
 
16389
        INSTALL_DATA="cp -fp"
 
16390
        ;;
 
16391
    *)
 
16392
        ;;
 
16393
esac
 
16394
 
 
16395
if test -n "$ac_tool_prefix"; then
 
16396
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
16397
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
16398
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16399
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16400
if test "${ac_cv_prog_STRIP+set}" = set; then
 
16401
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16402
else
 
16403
  if test -n "$STRIP"; then
 
16404
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
16405
else
 
16406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16407
for as_dir in $PATH
 
16408
do
 
16409
  IFS=$as_save_IFS
 
16410
  test -z "$as_dir" && as_dir=.
 
16411
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16412
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16413
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
16414
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16415
    break 2
 
16416
  fi
 
16417
done
 
16418
done
 
16419
 
 
16420
fi
 
16421
fi
 
16422
STRIP=$ac_cv_prog_STRIP
 
16423
if test -n "$STRIP"; then
 
16424
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
16425
echo "${ECHO_T}$STRIP" >&6
 
16426
else
 
16427
  echo "$as_me:$LINENO: result: no" >&5
 
16428
echo "${ECHO_T}no" >&6
 
16429
fi
 
16430
 
 
16431
fi
 
16432
if test -z "$ac_cv_prog_STRIP"; then
 
16433
  ac_ct_STRIP=$STRIP
 
16434
  # Extract the first word of "strip", so it can be a program name with args.
 
16435
set dummy strip; ac_word=$2
 
16436
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16437
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16438
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
16439
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16440
else
 
16441
  if test -n "$ac_ct_STRIP"; then
 
16442
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
16443
else
 
16444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16445
for as_dir in $PATH
 
16446
do
 
16447
  IFS=$as_save_IFS
 
16448
  test -z "$as_dir" && as_dir=.
 
16449
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16450
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16451
    ac_cv_prog_ac_ct_STRIP="strip"
 
16452
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16453
    break 2
 
16454
  fi
 
16455
done
 
16456
done
 
16457
 
 
16458
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
 
16459
fi
 
16460
fi
 
16461
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
16462
if test -n "$ac_ct_STRIP"; then
 
16463
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
16464
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
16465
else
 
16466
  echo "$as_me:$LINENO: result: no" >&5
 
16467
echo "${ECHO_T}no" >&6
 
16468
fi
 
16469
 
 
16470
  STRIP=$ac_ct_STRIP
 
16471
else
 
16472
  STRIP="$ac_cv_prog_STRIP"
 
16473
fi
 
16474
 
 
16475
 
 
16476
if test "$wxUSE_WINE" = "yes"; then
 
16477
    if test -n "$ac_tool_prefix"; then
 
16478
  # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
 
16479
set dummy ${ac_tool_prefix}wrc; ac_word=$2
 
16480
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16481
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16482
if test "${ac_cv_prog_WINDRES+set}" = set; then
 
16483
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16484
else
 
16485
  if test -n "$WINDRES"; then
 
16486
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
 
16487
else
 
16488
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16489
for as_dir in $PATH
 
16490
do
 
16491
  IFS=$as_save_IFS
 
16492
  test -z "$as_dir" && as_dir=.
 
16493
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16494
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16495
    ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
 
16496
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16497
    break 2
 
16498
  fi
 
16499
done
 
16500
done
 
16501
 
 
16502
fi
 
16503
fi
 
16504
WINDRES=$ac_cv_prog_WINDRES
 
16505
if test -n "$WINDRES"; then
 
16506
  echo "$as_me:$LINENO: result: $WINDRES" >&5
 
16507
echo "${ECHO_T}$WINDRES" >&6
 
16508
else
 
16509
  echo "$as_me:$LINENO: result: no" >&5
 
16510
echo "${ECHO_T}no" >&6
 
16511
fi
 
16512
 
 
16513
fi
 
16514
if test -z "$ac_cv_prog_WINDRES"; then
 
16515
  ac_ct_WINDRES=$WINDRES
 
16516
  # Extract the first word of "wrc", so it can be a program name with args.
 
16517
set dummy wrc; ac_word=$2
 
16518
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16519
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16520
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
 
16521
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16522
else
 
16523
  if test -n "$ac_ct_WINDRES"; then
 
16524
  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
 
16525
else
 
16526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16527
for as_dir in $PATH
 
16528
do
 
16529
  IFS=$as_save_IFS
 
16530
  test -z "$as_dir" && as_dir=.
 
16531
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16532
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16533
    ac_cv_prog_ac_ct_WINDRES="wrc"
 
16534
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16535
    break 2
 
16536
  fi
 
16537
done
 
16538
done
 
16539
 
 
16540
fi
 
16541
fi
 
16542
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
 
16543
if test -n "$ac_ct_WINDRES"; then
 
16544
  echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
 
16545
echo "${ECHO_T}$ac_ct_WINDRES" >&6
 
16546
else
 
16547
  echo "$as_me:$LINENO: result: no" >&5
 
16548
echo "${ECHO_T}no" >&6
 
16549
fi
 
16550
 
 
16551
  WINDRES=$ac_ct_WINDRES
 
16552
else
 
16553
  WINDRES="$ac_cv_prog_WINDRES"
 
16554
fi
 
16555
 
 
16556
    RESCOMP="$WINDRES"
 
16557
else
 
16558
    case "${host}" in
 
16559
    *-*-cygwin* | *-*-mingw32* )
 
16560
                                if test -n "$ac_tool_prefix"; then
 
16561
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
 
16562
set dummy ${ac_tool_prefix}windres; ac_word=$2
 
16563
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16564
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16565
if test "${ac_cv_prog_WINDRES+set}" = set; then
 
16566
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16567
else
 
16568
  if test -n "$WINDRES"; then
 
16569
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
 
16570
else
 
16571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16572
for as_dir in $PATH
 
16573
do
 
16574
  IFS=$as_save_IFS
 
16575
  test -z "$as_dir" && as_dir=.
 
16576
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16577
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16578
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
 
16579
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16580
    break 2
 
16581
  fi
 
16582
done
 
16583
done
 
16584
 
 
16585
fi
 
16586
fi
 
16587
WINDRES=$ac_cv_prog_WINDRES
 
16588
if test -n "$WINDRES"; then
 
16589
  echo "$as_me:$LINENO: result: $WINDRES" >&5
 
16590
echo "${ECHO_T}$WINDRES" >&6
 
16591
else
 
16592
  echo "$as_me:$LINENO: result: no" >&5
 
16593
echo "${ECHO_T}no" >&6
 
16594
fi
 
16595
 
 
16596
fi
 
16597
if test -z "$ac_cv_prog_WINDRES"; then
 
16598
  ac_ct_WINDRES=$WINDRES
 
16599
  # Extract the first word of "windres", so it can be a program name with args.
 
16600
set dummy windres; ac_word=$2
 
16601
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16602
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16603
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
 
16604
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16605
else
 
16606
  if test -n "$ac_ct_WINDRES"; then
 
16607
  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
 
16608
else
 
16609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16610
for as_dir in $PATH
 
16611
do
 
16612
  IFS=$as_save_IFS
 
16613
  test -z "$as_dir" && as_dir=.
 
16614
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16615
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16616
    ac_cv_prog_ac_ct_WINDRES="windres"
 
16617
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16618
    break 2
 
16619
  fi
 
16620
done
 
16621
done
 
16622
 
 
16623
fi
 
16624
fi
 
16625
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
 
16626
if test -n "$ac_ct_WINDRES"; then
 
16627
  echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
 
16628
echo "${ECHO_T}$ac_ct_WINDRES" >&6
 
16629
else
 
16630
  echo "$as_me:$LINENO: result: no" >&5
 
16631
echo "${ECHO_T}no" >&6
 
16632
fi
 
16633
 
 
16634
  WINDRES=$ac_ct_WINDRES
 
16635
else
 
16636
  WINDRES="$ac_cv_prog_WINDRES"
 
16637
fi
 
16638
 
 
16639
        RESCOMP="$WINDRES"
 
16640
        if test -n "$ac_tool_prefix"; then
 
16641
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
16642
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
16643
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16644
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16645
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
16646
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16647
else
 
16648
  if test -n "$DLLTOOL"; then
 
16649
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
16650
else
 
16651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16652
for as_dir in $PATH
 
16653
do
 
16654
  IFS=$as_save_IFS
 
16655
  test -z "$as_dir" && as_dir=.
 
16656
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16657
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16658
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
16659
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16660
    break 2
 
16661
  fi
 
16662
done
 
16663
done
 
16664
 
 
16665
fi
 
16666
fi
 
16667
DLLTOOL=$ac_cv_prog_DLLTOOL
 
16668
if test -n "$DLLTOOL"; then
 
16669
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
16670
echo "${ECHO_T}$DLLTOOL" >&6
 
16671
else
 
16672
  echo "$as_me:$LINENO: result: no" >&5
 
16673
echo "${ECHO_T}no" >&6
 
16674
fi
 
16675
 
 
16676
fi
 
16677
if test -z "$ac_cv_prog_DLLTOOL"; then
 
16678
  ac_ct_DLLTOOL=$DLLTOOL
 
16679
  # Extract the first word of "dlltool", so it can be a program name with args.
 
16680
set dummy dlltool; ac_word=$2
 
16681
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16682
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16683
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
16684
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16685
else
 
16686
  if test -n "$ac_ct_DLLTOOL"; then
 
16687
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
16688
else
 
16689
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16690
for as_dir in $PATH
 
16691
do
 
16692
  IFS=$as_save_IFS
 
16693
  test -z "$as_dir" && as_dir=.
 
16694
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16695
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16696
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
16697
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16698
    break 2
 
16699
  fi
 
16700
done
 
16701
done
 
16702
 
 
16703
fi
 
16704
fi
 
16705
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
16706
if test -n "$ac_ct_DLLTOOL"; then
 
16707
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
16708
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 
16709
else
 
16710
  echo "$as_me:$LINENO: result: no" >&5
 
16711
echo "${ECHO_T}no" >&6
 
16712
fi
 
16713
 
 
16714
  DLLTOOL=$ac_ct_DLLTOOL
 
16715
else
 
16716
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
16717
fi
 
16718
 
 
16719
        ;;
 
16720
    esac
 
16721
fi
 
16722
 
 
16723
echo "$as_me:$LINENO: checking if make is GNU make" >&5
 
16724
echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
 
16725
if test "${wx_cv_prog_makeisgnu+set}" = set; then
 
16726
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16727
else
 
16728
 
 
16729
    if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
 
16730
            $EGREP -s GNU > /dev/null); then
 
16731
        wx_cv_prog_makeisgnu="yes"
 
16732
    else
 
16733
        wx_cv_prog_makeisgnu="no"
 
16734
    fi
 
16735
 
 
16736
fi
 
16737
echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
 
16738
echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
 
16739
 
 
16740
if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
 
16741
    IF_GNU_MAKE=""
 
16742
else
 
16743
    IF_GNU_MAKE="#"
 
16744
fi
 
16745
 
 
16746
 
 
16747
 
 
16748
if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
 
16749
echo "$as_me:$LINENO: checking if make supports VPATH" >&5
 
16750
echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
 
16751
if test "${wx_cv_prog_makevpath+set}" = set; then
 
16752
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16753
else
 
16754
 
 
16755
cat - << EOF > confMake
 
16756
check : file
 
16757
        cp \$? \$@
 
16758
        cp \$? final_file
 
16759
EOF
 
16760
 
 
16761
if test ! -d sub ; then
 
16762
  mkdir sub
 
16763
fi
 
16764
echo dummy > sub/file
 
16765
${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
 
16766
RESULT=$?
 
16767
rm -f sub/file check final_file confMake
 
16768
rmdir sub
 
16769
if test "$RESULT" = 0; then
 
16770
  wx_cv_prog_makevpath="yes"
 
16771
else
 
16772
  wx_cv_prog_makevpath="no"
 
16773
fi
 
16774
 
 
16775
fi
 
16776
echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
 
16777
echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
 
16778
 
 
16779
if test "x$wx_cv_prog_makevpath" != "xyes"; then
 
16780
{ { echo "$as_me:$LINENO: error:
 
16781
You need a make-utility that is able to use the variable
 
16782
VPATH correctly.
 
16783
If your version of make does not support VPATH correctly,
 
16784
please install GNU-make (possibly as gmake), and start
 
16785
configure with the following command:
 
16786
export MAKE=gmake; ./configure  for sh-type shells
 
16787
setenv MAKE gmake; ./configure  for csh-type shells
 
16788
Also please do remember to use gmake in this case every time
 
16789
you are trying to compile.
 
16790
" >&5
 
16791
echo "$as_me: error:
 
16792
You need a make-utility that is able to use the variable
 
16793
VPATH correctly.
 
16794
If your version of make does not support VPATH correctly,
 
16795
please install GNU-make (possibly as gmake), and start
 
16796
configure with the following command:
 
16797
export MAKE=gmake; ./configure  for sh-type shells
 
16798
setenv MAKE gmake; ./configure  for csh-type shells
 
16799
Also please do remember to use gmake in this case every time
 
16800
you are trying to compile.
 
16801
" >&2;}
 
16802
   { (exit 1); exit 1; }; }
 
16803
fi fi
 
16804
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
16805
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
16806
LN_S=$as_ln_s
 
16807
if test "$LN_S" = "ln -s"; then
 
16808
  echo "$as_me:$LINENO: result: yes" >&5
 
16809
echo "${ECHO_T}yes" >&6
 
16810
else
 
16811
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
16812
echo "${ECHO_T}no, using $LN_S" >&6
 
16813
fi
 
16814
 
 
16815
 
 
16816
 
 
16817
 
 
16818
if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
 
16819
    CXXFLAGS="-qunique $CXXFLAGS"
 
16820
fi
 
16821
 
 
16822
case "${host}" in
 
16823
  powerpc-*-darwin* )
 
16824
    echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
 
16825
echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
 
16826
    cat >conftest.$ac_ext <<_ACEOF
 
16827
/* confdefs.h.  */
 
16828
_ACEOF
 
16829
cat confdefs.h >>conftest.$ac_ext
 
16830
cat >>conftest.$ac_ext <<_ACEOF
 
16831
/* end confdefs.h.  */
 
16832
 
 
16833
int
 
16834
main ()
 
16835
{
 
16836
#ifndef __POWERPC__
 
16837
        choke me for lack of PowerPC
 
16838
#endif
 
16839
 
 
16840
  ;
 
16841
  return 0;
 
16842
}
 
16843
_ACEOF
 
16844
rm -f conftest.$ac_objext
 
16845
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16846
  (eval $ac_compile) 2>conftest.er1
 
16847
  ac_status=$?
 
16848
  grep -v '^ *+' conftest.er1 >conftest.err
 
16849
  rm -f conftest.er1
 
16850
  cat conftest.err >&5
 
16851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16852
  (exit $ac_status); } &&
 
16853
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16854
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16855
  (eval $ac_try) 2>&5
 
16856
  ac_status=$?
 
16857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16858
  (exit $ac_status); }; } &&
 
16859
         { ac_try='test -s conftest.$ac_objext'
 
16860
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16861
  (eval $ac_try) 2>&5
 
16862
  ac_status=$?
 
16863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16864
  (exit $ac_status); }; }; then
 
16865
  echo "$as_me:$LINENO: result: yes" >&5
 
16866
echo "${ECHO_T}yes" >&6
 
16867
else
 
16868
  echo "$as_me: failed program was:" >&5
 
16869
sed 's/^/| /' conftest.$ac_ext >&5
 
16870
 
 
16871
echo "$as_me:$LINENO: result: no" >&5
 
16872
echo "${ECHO_T}no" >&6
 
16873
        cat >>confdefs.h <<\_ACEOF
 
16874
#define __POWERPC__ 1
 
16875
_ACEOF
 
16876
 
 
16877
 
 
16878
fi
 
16879
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16880
  ;;
 
16881
esac
 
16882
 
 
16883
case "${host}" in
 
16884
  *-*-darwin* )
 
16885
    echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
 
16886
echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
 
16887
    cat >conftest.$ac_ext <<_ACEOF
 
16888
/* confdefs.h.  */
 
16889
_ACEOF
 
16890
cat confdefs.h >>conftest.$ac_ext
 
16891
cat >>conftest.$ac_ext <<_ACEOF
 
16892
/* end confdefs.h.  */
 
16893
#include <CoreFoundation/CFBase.h>
 
16894
 
 
16895
int
 
16896
main ()
 
16897
{
 
16898
 
 
16899
  ;
 
16900
  return 0;
 
16901
}
 
16902
_ACEOF
 
16903
rm -f conftest.$ac_objext
 
16904
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16905
  (eval $ac_compile) 2>conftest.er1
 
16906
  ac_status=$?
 
16907
  grep -v '^ *+' conftest.er1 >conftest.err
 
16908
  rm -f conftest.er1
 
16909
  cat conftest.err >&5
 
16910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16911
  (exit $ac_status); } &&
 
16912
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16913
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16914
  (eval $ac_try) 2>&5
 
16915
  ac_status=$?
 
16916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16917
  (exit $ac_status); }; } &&
 
16918
         { ac_try='test -s conftest.$ac_objext'
 
16919
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16920
  (eval $ac_try) 2>&5
 
16921
  ac_status=$?
 
16922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16923
  (exit $ac_status); }; }; then
 
16924
  echo "$as_me:$LINENO: result: yes" >&5
 
16925
echo "${ECHO_T}yes" >&6
 
16926
else
 
16927
  echo "$as_me: failed program was:" >&5
 
16928
sed 's/^/| /' conftest.$ac_ext >&5
 
16929
 
 
16930
echo "$as_me:$LINENO: result: no" >&5
 
16931
echo "${ECHO_T}no" >&6
 
16932
        echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
 
16933
echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
 
16934
        cat >conftest.$ac_ext <<_ACEOF
 
16935
/* confdefs.h.  */
 
16936
_ACEOF
 
16937
cat confdefs.h >>conftest.$ac_ext
 
16938
cat >>conftest.$ac_ext <<_ACEOF
 
16939
/* end confdefs.h.  */
 
16940
#define __CF_USE_FRAMEWORK_INCLUDES__
 
16941
#include <CoreFoundation/CFBase.h>
 
16942
 
 
16943
int
 
16944
main ()
 
16945
{
 
16946
 
 
16947
  ;
 
16948
  return 0;
 
16949
}
 
16950
_ACEOF
 
16951
rm -f conftest.$ac_objext
 
16952
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16953
  (eval $ac_compile) 2>conftest.er1
 
16954
  ac_status=$?
 
16955
  grep -v '^ *+' conftest.er1 >conftest.err
 
16956
  rm -f conftest.er1
 
16957
  cat conftest.err >&5
 
16958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16959
  (exit $ac_status); } &&
 
16960
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16961
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16962
  (eval $ac_try) 2>&5
 
16963
  ac_status=$?
 
16964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16965
  (exit $ac_status); }; } &&
 
16966
         { ac_try='test -s conftest.$ac_objext'
 
16967
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16968
  (eval $ac_try) 2>&5
 
16969
  ac_status=$?
 
16970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16971
  (exit $ac_status); }; }; then
 
16972
  echo "$as_me:$LINENO: result: yes" >&5
 
16973
echo "${ECHO_T}yes" >&6
 
16974
                        CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
 
16975
else
 
16976
  echo "$as_me: failed program was:" >&5
 
16977
sed 's/^/| /' conftest.$ac_ext >&5
 
16978
 
 
16979
{ { echo "$as_me:$LINENO: error: no.  CoreFoundation not available.
 
16980
See \`config.log' for more details." >&5
 
16981
echo "$as_me: error: no.  CoreFoundation not available.
 
16982
See \`config.log' for more details." >&2;}
 
16983
   { (exit 1); exit 1; }; }
 
16984
 
 
16985
fi
 
16986
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16987
 
 
16988
 
 
16989
fi
 
16990
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16991
  ;;
 
16992
esac
 
16993
 
 
16994
wants_win32=0
 
16995
doesnt_want_win32=0
 
16996
case "${host}" in
 
16997
  *-*-cygwin*)
 
16998
      if test "$wxUSE_MSW" = 1 ; then
 
16999
        wants_win32=1
 
17000
      else
 
17001
                        echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
 
17002
echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
 
17003
if test "${wx_cv_nocygwin+set}" = set; then
 
17004
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17005
else
 
17006
 
 
17007
                cat >conftest.$ac_ext <<_ACEOF
 
17008
/* confdefs.h.  */
 
17009
_ACEOF
 
17010
cat confdefs.h >>conftest.$ac_ext
 
17011
cat >>conftest.$ac_ext <<_ACEOF
 
17012
/* end confdefs.h.  */
 
17013
 
 
17014
int
 
17015
main ()
 
17016
{
 
17017
 
 
17018
                        #ifdef __MINGW32__
 
17019
                            choke me
 
17020
                        #endif
 
17021
 
 
17022
  ;
 
17023
  return 0;
 
17024
}
 
17025
_ACEOF
 
17026
rm -f conftest.$ac_objext
 
17027
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17028
  (eval $ac_compile) 2>conftest.er1
 
17029
  ac_status=$?
 
17030
  grep -v '^ *+' conftest.er1 >conftest.err
 
17031
  rm -f conftest.er1
 
17032
  cat conftest.err >&5
 
17033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17034
  (exit $ac_status); } &&
 
17035
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17036
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17037
  (eval $ac_try) 2>&5
 
17038
  ac_status=$?
 
17039
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17040
  (exit $ac_status); }; } &&
 
17041
         { ac_try='test -s conftest.$ac_objext'
 
17042
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17043
  (eval $ac_try) 2>&5
 
17044
  ac_status=$?
 
17045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17046
  (exit $ac_status); }; }; then
 
17047
  wx_cv_nocygwin=no
 
17048
else
 
17049
  echo "$as_me: failed program was:" >&5
 
17050
sed 's/^/| /' conftest.$ac_ext >&5
 
17051
 
 
17052
wx_cv_nocygwin=yes
 
17053
 
 
17054
fi
 
17055
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17056
 
 
17057
 
 
17058
fi
 
17059
echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
 
17060
echo "${ECHO_T}$wx_cv_nocygwin" >&6
 
17061
 
 
17062
        if test "$wx_cv_nocygwin" = "yes"; then
 
17063
            wants_win32=1
 
17064
        else
 
17065
            doesnt_want_win32=1
 
17066
        fi
 
17067
      fi
 
17068
      if test "$wants_win32" = 1 ; then
 
17069
        BAKEFILE_FORCE_PLATFORM=win32
 
17070
      fi
 
17071
  ;;
 
17072
  *-*-mingw*)
 
17073
      wants_win32=1
 
17074
  ;;
 
17075
esac
 
17076
 
 
17077
if test "$wxUSE_WINE" = "yes"; then
 
17078
    wants_win32=1
 
17079
    LDFLAGS_GUI="-mwindows"
 
17080
fi
 
17081
 
 
17082
if test "$wants_win32" = 1 ; then
 
17083
    USE_UNIX=0
 
17084
    USE_WIN32=1
 
17085
    cat >>confdefs.h <<\_ACEOF
 
17086
#define __WIN32__ 1
 
17087
_ACEOF
 
17088
 
 
17089
    cat >>confdefs.h <<\_ACEOF
 
17090
#define __WIN95__ 1
 
17091
_ACEOF
 
17092
 
 
17093
    cat >>confdefs.h <<\_ACEOF
 
17094
#define __WINDOWS__ 1
 
17095
_ACEOF
 
17096
 
 
17097
    cat >>confdefs.h <<\_ACEOF
 
17098
#define __GNUWIN32__ 1
 
17099
_ACEOF
 
17100
 
 
17101
    cat >>confdefs.h <<\_ACEOF
 
17102
#define STRICT 1
 
17103
_ACEOF
 
17104
 
 
17105
fi
 
17106
if test "$doesnt_want_win32" = 1 ; then
 
17107
    USE_UNIX=1
 
17108
    USE_WIN32=0
 
17109
fi
 
17110
 
 
17111
if test "$USE_UNIX" = 1 ; then
 
17112
    wxUSE_UNIX=yes
 
17113
    cat >>confdefs.h <<\_ACEOF
 
17114
#define __UNIX__ 1
 
17115
_ACEOF
 
17116
 
 
17117
fi
 
17118
 
 
17119
case "${host}" in
 
17120
  *-pc-os2_emx | *-pc-os2-emx )
 
17121
                                                      if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
 
17122
                              echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
 
17123
echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
 
17124
if test "${ac_cv_lib_cExt_drand48+set}" = set; then
 
17125
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17126
else
 
17127
  ac_check_lib_save_LIBS=$LIBS
 
17128
LIBS="-lcExt  $LIBS"
 
17129
cat >conftest.$ac_ext <<_ACEOF
 
17130
/* confdefs.h.  */
 
17131
_ACEOF
 
17132
cat confdefs.h >>conftest.$ac_ext
 
17133
cat >>conftest.$ac_ext <<_ACEOF
 
17134
/* end confdefs.h.  */
 
17135
 
 
17136
/* Override any gcc2 internal prototype to avoid an error.  */
 
17137
#ifdef __cplusplus
 
17138
extern "C"
 
17139
#endif
 
17140
/* We use char because int might match the return type of a gcc2
 
17141
   builtin and then its argument prototype would still apply.  */
 
17142
char drand48 ();
 
17143
int
 
17144
main ()
 
17145
{
 
17146
drand48 ();
 
17147
  ;
 
17148
  return 0;
 
17149
}
 
17150
_ACEOF
 
17151
rm -f conftest.$ac_objext conftest$ac_exeext
 
17152
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17153
  (eval $ac_link) 2>conftest.er1
 
17154
  ac_status=$?
 
17155
  grep -v '^ *+' conftest.er1 >conftest.err
 
17156
  rm -f conftest.er1
 
17157
  cat conftest.err >&5
 
17158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17159
  (exit $ac_status); } &&
 
17160
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17161
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17162
  (eval $ac_try) 2>&5
 
17163
  ac_status=$?
 
17164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17165
  (exit $ac_status); }; } &&
 
17166
         { ac_try='test -s conftest$ac_exeext'
 
17167
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17168
  (eval $ac_try) 2>&5
 
17169
  ac_status=$?
 
17170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17171
  (exit $ac_status); }; }; then
 
17172
  ac_cv_lib_cExt_drand48=yes
 
17173
else
 
17174
  echo "$as_me: failed program was:" >&5
 
17175
sed 's/^/| /' conftest.$ac_ext >&5
 
17176
 
 
17177
ac_cv_lib_cExt_drand48=no
 
17178
fi
 
17179
rm -f conftest.err conftest.$ac_objext \
 
17180
      conftest$ac_exeext conftest.$ac_ext
 
17181
LIBS=$ac_check_lib_save_LIBS
 
17182
fi
 
17183
echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
 
17184
echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
 
17185
if test $ac_cv_lib_cExt_drand48 = yes; then
 
17186
  LIBS="$LIBS -lcExt"
 
17187
fi
 
17188
 
 
17189
      else
 
17190
                    RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
 
17191
      fi
 
17192
                                    echo "$as_me:$LINENO: checking for gcc/libc version" >&5
 
17193
echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
 
17194
if test "${wx_cv_gccversion+set}" = set; then
 
17195
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17196
else
 
17197
 
 
17198
          if test "$cross_compiling" = yes; then
 
17199
                wx_cv_gccversion="EMX2"
 
17200
 
 
17201
else
 
17202
  cat >conftest.$ac_ext <<_ACEOF
 
17203
/* confdefs.h.  */
 
17204
_ACEOF
 
17205
cat confdefs.h >>conftest.$ac_ext
 
17206
cat >>conftest.$ac_ext <<_ACEOF
 
17207
/* end confdefs.h.  */
 
17208
 
 
17209
                  #include <stdio.h>
 
17210
 
 
17211
                  int main()
 
17212
                  {
 
17213
                      FILE *f=fopen("conftestval", "w");
 
17214
                      if (!f) exit(1);
 
17215
                      fprintf(f,
 
17216
                  #if (__GNUC__ < 3)
 
17217
                              "EMX2"
 
17218
                  #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
 
17219
                              "EMX3"
 
17220
                  #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
 
17221
                              "Innotek5"
 
17222
                  #else
 
17223
                              "Innotek6"
 
17224
                  #endif
 
17225
                      );
 
17226
                      exit(0);
 
17227
                  }
 
17228
 
 
17229
_ACEOF
 
17230
rm -f conftest$ac_exeext
 
17231
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17232
  (eval $ac_link) 2>&5
 
17233
  ac_status=$?
 
17234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17235
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
17236
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17237
  (eval $ac_try) 2>&5
 
17238
  ac_status=$?
 
17239
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17240
  (exit $ac_status); }; }; then
 
17241
  wx_cv_gccversion=`cat conftestval`
 
17242
else
 
17243
  echo "$as_me: program exited with status $ac_status" >&5
 
17244
echo "$as_me: failed program was:" >&5
 
17245
sed 's/^/| /' conftest.$ac_ext >&5
 
17246
 
 
17247
( exit $ac_status )
 
17248
wx_cv_gccversion="EMX2"
 
17249
fi
 
17250
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17251
fi
 
17252
 
 
17253
fi
 
17254
echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
 
17255
echo "${ECHO_T}$wx_cv_gccversion" >&6
 
17256
      if test "$wx_cv_gccversion" = "EMX2"; then
 
17257
          LIBS="$LIBS -lstdcpp"
 
17258
          LDFLAGS="$LDFLAGS -Zsysv-signals"
 
17259
      else
 
17260
          if test "$wx_cv_gccversion" = "EMX3"; then
 
17261
              LIBS="$LIBS -lstdcxx -lgcc"
 
17262
              LDFLAGS="$LDFLAGS -Zsysv-signals"
 
17263
          else
 
17264
              LIBS="$LIBS -lstdc++"
 
17265
          fi
 
17266
      fi
 
17267
      if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
 
17268
        { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
 
17269
echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
 
17270
        wxUSE_OMF=yes
 
17271
        enable_omf=yes
 
17272
      fi
 
17273
        ;;
 
17274
  *)
 
17275
 
 
17276
      echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
 
17277
echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
 
17278
if test "${ac_cv_string_strcasecmp+set}" = set; then
 
17279
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17280
else
 
17281
 
 
17282
          cat >conftest.$ac_ext <<_ACEOF
 
17283
/* confdefs.h.  */
 
17284
_ACEOF
 
17285
cat confdefs.h >>conftest.$ac_ext
 
17286
cat >>conftest.$ac_ext <<_ACEOF
 
17287
/* end confdefs.h.  */
 
17288
 
 
17289
              #include <string.h>
 
17290
 
 
17291
int
 
17292
main ()
 
17293
{
 
17294
 
 
17295
                  strcasecmp("foo", "bar");
 
17296
 
 
17297
  ;
 
17298
  return 0;
 
17299
}
 
17300
_ACEOF
 
17301
rm -f conftest.$ac_objext conftest$ac_exeext
 
17302
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17303
  (eval $ac_link) 2>conftest.er1
 
17304
  ac_status=$?
 
17305
  grep -v '^ *+' conftest.er1 >conftest.err
 
17306
  rm -f conftest.er1
 
17307
  cat conftest.err >&5
 
17308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17309
  (exit $ac_status); } &&
 
17310
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17311
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17312
  (eval $ac_try) 2>&5
 
17313
  ac_status=$?
 
17314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17315
  (exit $ac_status); }; } &&
 
17316
         { ac_try='test -s conftest$ac_exeext'
 
17317
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17318
  (eval $ac_try) 2>&5
 
17319
  ac_status=$?
 
17320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17321
  (exit $ac_status); }; }; then
 
17322
  ac_cv_string_strcasecmp=yes
 
17323
else
 
17324
  echo "$as_me: failed program was:" >&5
 
17325
sed 's/^/| /' conftest.$ac_ext >&5
 
17326
 
 
17327
ac_cv_string_strcasecmp=no
 
17328
 
 
17329
fi
 
17330
rm -f conftest.err conftest.$ac_objext \
 
17331
      conftest$ac_exeext conftest.$ac_ext
 
17332
 
 
17333
fi
 
17334
echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
 
17335
echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
 
17336
 
 
17337
      if test x"$ac_cv_string_strcasecmp" = "xyes"; then
 
17338
          cat >>confdefs.h <<\_ACEOF
 
17339
#define HAVE_STRCASECMP_IN_STRING_H 1
 
17340
_ACEOF
 
17341
 
 
17342
      else
 
17343
          echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
 
17344
echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
 
17345
if test "${ac_cv_strings_strcasecmp+set}" = set; then
 
17346
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17347
else
 
17348
 
 
17349
              cat >conftest.$ac_ext <<_ACEOF
 
17350
/* confdefs.h.  */
 
17351
_ACEOF
 
17352
cat confdefs.h >>conftest.$ac_ext
 
17353
cat >>conftest.$ac_ext <<_ACEOF
 
17354
/* end confdefs.h.  */
 
17355
 
 
17356
                  #include <strings.h>
 
17357
 
 
17358
int
 
17359
main ()
 
17360
{
 
17361
 
 
17362
                      strcasecmp("foo", "bar");
 
17363
 
 
17364
  ;
 
17365
  return 0;
 
17366
}
 
17367
_ACEOF
 
17368
rm -f conftest.$ac_objext conftest$ac_exeext
 
17369
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17370
  (eval $ac_link) 2>conftest.er1
 
17371
  ac_status=$?
 
17372
  grep -v '^ *+' conftest.er1 >conftest.err
 
17373
  rm -f conftest.er1
 
17374
  cat conftest.err >&5
 
17375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17376
  (exit $ac_status); } &&
 
17377
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
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); }; } &&
 
17383
         { ac_try='test -s conftest$ac_exeext'
 
17384
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17385
  (eval $ac_try) 2>&5
 
17386
  ac_status=$?
 
17387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17388
  (exit $ac_status); }; }; then
 
17389
  ac_cv_strings_strcasecmp=yes
 
17390
else
 
17391
  echo "$as_me: failed program was:" >&5
 
17392
sed 's/^/| /' conftest.$ac_ext >&5
 
17393
 
 
17394
ac_cv_strings_strcasecmp=no
 
17395
 
 
17396
fi
 
17397
rm -f conftest.err conftest.$ac_objext \
 
17398
      conftest$ac_exeext conftest.$ac_ext
 
17399
 
 
17400
fi
 
17401
echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
 
17402
echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
 
17403
 
 
17404
          if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
 
17405
              cat >>confdefs.h <<\_ACEOF
 
17406
#define HAVE_STRCASECMP_IN_STRINGS_H 1
 
17407
_ACEOF
 
17408
 
 
17409
          else
 
17410
              { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
 
17411
echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
 
17412
   { (exit 1); exit 1; }; }
 
17413
          fi
 
17414
      fi
 
17415
 
 
17416
        ;;
 
17417
esac
 
17418
 
 
17419
 
 
17420
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
17421
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
17422
if test "${ac_cv_header_stdc+set}" = set; then
 
17423
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17424
else
 
17425
  cat >conftest.$ac_ext <<_ACEOF
 
17426
/* confdefs.h.  */
 
17427
_ACEOF
 
17428
cat confdefs.h >>conftest.$ac_ext
 
17429
cat >>conftest.$ac_ext <<_ACEOF
 
17430
/* end confdefs.h.  */
 
17431
#include <stdlib.h>
 
17432
#include <stdarg.h>
 
17433
#include <string.h>
 
17434
#include <float.h>
 
17435
 
 
17436
int
 
17437
main ()
 
17438
{
 
17439
 
 
17440
  ;
 
17441
  return 0;
 
17442
}
 
17443
_ACEOF
 
17444
rm -f conftest.$ac_objext
 
17445
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17446
  (eval $ac_compile) 2>conftest.er1
 
17447
  ac_status=$?
 
17448
  grep -v '^ *+' conftest.er1 >conftest.err
 
17449
  rm -f conftest.er1
 
17450
  cat conftest.err >&5
 
17451
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17452
  (exit $ac_status); } &&
 
17453
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17454
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17455
  (eval $ac_try) 2>&5
 
17456
  ac_status=$?
 
17457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17458
  (exit $ac_status); }; } &&
 
17459
         { ac_try='test -s conftest.$ac_objext'
 
17460
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17461
  (eval $ac_try) 2>&5
 
17462
  ac_status=$?
 
17463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17464
  (exit $ac_status); }; }; then
 
17465
  ac_cv_header_stdc=yes
 
17466
else
 
17467
  echo "$as_me: failed program was:" >&5
 
17468
sed 's/^/| /' conftest.$ac_ext >&5
 
17469
 
 
17470
ac_cv_header_stdc=no
 
17471
fi
 
17472
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17473
 
 
17474
if test $ac_cv_header_stdc = yes; then
 
17475
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
17476
  cat >conftest.$ac_ext <<_ACEOF
 
17477
/* confdefs.h.  */
 
17478
_ACEOF
 
17479
cat confdefs.h >>conftest.$ac_ext
 
17480
cat >>conftest.$ac_ext <<_ACEOF
 
17481
/* end confdefs.h.  */
 
17482
#include <string.h>
 
17483
 
 
17484
_ACEOF
 
17485
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
17486
  $EGREP "memchr" >/dev/null 2>&1; then
 
17487
  :
 
17488
else
 
17489
  ac_cv_header_stdc=no
 
17490
fi
 
17491
rm -f conftest*
 
17492
 
 
17493
fi
 
17494
 
 
17495
if test $ac_cv_header_stdc = yes; then
 
17496
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
17497
  cat >conftest.$ac_ext <<_ACEOF
 
17498
/* confdefs.h.  */
 
17499
_ACEOF
 
17500
cat confdefs.h >>conftest.$ac_ext
 
17501
cat >>conftest.$ac_ext <<_ACEOF
 
17502
/* end confdefs.h.  */
 
17503
#include <stdlib.h>
 
17504
 
 
17505
_ACEOF
 
17506
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
17507
  $EGREP "free" >/dev/null 2>&1; then
 
17508
  :
 
17509
else
 
17510
  ac_cv_header_stdc=no
 
17511
fi
 
17512
rm -f conftest*
 
17513
 
 
17514
fi
 
17515
 
 
17516
if test $ac_cv_header_stdc = yes; then
 
17517
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
17518
  if test "$cross_compiling" = yes; then
 
17519
  :
 
17520
else
 
17521
  cat >conftest.$ac_ext <<_ACEOF
 
17522
/* confdefs.h.  */
 
17523
_ACEOF
 
17524
cat confdefs.h >>conftest.$ac_ext
 
17525
cat >>conftest.$ac_ext <<_ACEOF
 
17526
/* end confdefs.h.  */
 
17527
#include <ctype.h>
 
17528
#if ((' ' & 0x0FF) == 0x020)
 
17529
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
17530
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
17531
#else
 
17532
# define ISLOWER(c) \
 
17533
                   (('a' <= (c) && (c) <= 'i') \
 
17534
                     || ('j' <= (c) && (c) <= 'r') \
 
17535
                     || ('s' <= (c) && (c) <= 'z'))
 
17536
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
17537
#endif
 
17538
 
 
17539
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
17540
int
 
17541
main ()
 
17542
{
 
17543
  int i;
 
17544
  for (i = 0; i < 256; i++)
 
17545
    if (XOR (islower (i), ISLOWER (i))
 
17546
        || toupper (i) != TOUPPER (i))
 
17547
      exit(2);
 
17548
  exit (0);
 
17549
}
 
17550
_ACEOF
 
17551
rm -f conftest$ac_exeext
 
17552
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17553
  (eval $ac_link) 2>&5
 
17554
  ac_status=$?
 
17555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17556
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
17557
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17558
  (eval $ac_try) 2>&5
 
17559
  ac_status=$?
 
17560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17561
  (exit $ac_status); }; }; then
 
17562
  :
 
17563
else
 
17564
  echo "$as_me: program exited with status $ac_status" >&5
 
17565
echo "$as_me: failed program was:" >&5
 
17566
sed 's/^/| /' conftest.$ac_ext >&5
 
17567
 
 
17568
( exit $ac_status )
 
17569
ac_cv_header_stdc=no
 
17570
fi
 
17571
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17572
fi
 
17573
fi
 
17574
fi
 
17575
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
17576
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
17577
if test $ac_cv_header_stdc = yes; then
 
17578
 
 
17579
cat >>confdefs.h <<\_ACEOF
 
17580
#define STDC_HEADERS 1
 
17581
_ACEOF
 
17582
 
 
17583
fi
 
17584
 
 
17585
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
17586
 
 
17587
 
 
17588
 
 
17589
 
 
17590
 
 
17591
 
 
17592
 
 
17593
 
 
17594
 
 
17595
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
17596
                  inttypes.h stdint.h unistd.h
 
17597
do
 
17598
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17599
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17600
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
17601
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
17602
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17603
else
 
17604
  cat >conftest.$ac_ext <<_ACEOF
 
17605
/* confdefs.h.  */
 
17606
_ACEOF
 
17607
cat confdefs.h >>conftest.$ac_ext
 
17608
cat >>conftest.$ac_ext <<_ACEOF
 
17609
/* end confdefs.h.  */
 
17610
$ac_includes_default
 
17611
 
 
17612
#include <$ac_header>
 
17613
_ACEOF
 
17614
rm -f conftest.$ac_objext
 
17615
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17616
  (eval $ac_compile) 2>conftest.er1
 
17617
  ac_status=$?
 
17618
  grep -v '^ *+' conftest.er1 >conftest.err
 
17619
  rm -f conftest.er1
 
17620
  cat conftest.err >&5
 
17621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17622
  (exit $ac_status); } &&
 
17623
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17624
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17625
  (eval $ac_try) 2>&5
 
17626
  ac_status=$?
 
17627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17628
  (exit $ac_status); }; } &&
 
17629
         { ac_try='test -s conftest.$ac_objext'
 
17630
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17631
  (eval $ac_try) 2>&5
 
17632
  ac_status=$?
 
17633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17634
  (exit $ac_status); }; }; then
 
17635
  eval "$as_ac_Header=yes"
 
17636
else
 
17637
  echo "$as_me: failed program was:" >&5
 
17638
sed 's/^/| /' conftest.$ac_ext >&5
 
17639
 
 
17640
eval "$as_ac_Header=no"
 
17641
fi
 
17642
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17643
fi
 
17644
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
17645
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
17646
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17647
  cat >>confdefs.h <<_ACEOF
 
17648
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17649
_ACEOF
 
17650
 
 
17651
fi
 
17652
 
 
17653
done
 
17654
 
 
17655
 
 
17656
 
 
17657
 
 
17658
 
 
17659
 
 
17660
 
 
17661
 
 
17662
for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
 
17663
do
 
17664
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17665
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17666
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
17667
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
17668
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17669
else
 
17670
  cat >conftest.$ac_ext <<_ACEOF
 
17671
/* confdefs.h.  */
 
17672
_ACEOF
 
17673
cat confdefs.h >>conftest.$ac_ext
 
17674
cat >>conftest.$ac_ext <<_ACEOF
 
17675
/* end confdefs.h.  */
 
17676
$ac_includes_default
 
17677
 
 
17678
#include <$ac_header>
 
17679
_ACEOF
 
17680
rm -f conftest.$ac_objext
 
17681
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17682
  (eval $ac_compile) 2>conftest.er1
 
17683
  ac_status=$?
 
17684
  grep -v '^ *+' conftest.er1 >conftest.err
 
17685
  rm -f conftest.er1
 
17686
  cat conftest.err >&5
 
17687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17688
  (exit $ac_status); } &&
 
17689
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17691
  (eval $ac_try) 2>&5
 
17692
  ac_status=$?
 
17693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17694
  (exit $ac_status); }; } &&
 
17695
         { ac_try='test -s conftest.$ac_objext'
 
17696
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17697
  (eval $ac_try) 2>&5
 
17698
  ac_status=$?
 
17699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17700
  (exit $ac_status); }; }; then
 
17701
  eval "$as_ac_Header=yes"
 
17702
else
 
17703
  echo "$as_me: failed program was:" >&5
 
17704
sed 's/^/| /' conftest.$ac_ext >&5
 
17705
 
 
17706
eval "$as_ac_Header=no"
 
17707
fi
 
17708
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17709
fi
 
17710
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
17711
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
17712
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17713
  cat >>confdefs.h <<_ACEOF
 
17714
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17715
_ACEOF
 
17716
 
 
17717
fi
 
17718
 
 
17719
done
 
17720
 
 
17721
 
 
17722
if test "$ac_cv_header_wchar_h" != "yes"; then
 
17723
 
 
17724
for ac_header in wcstr.h
 
17725
do
 
17726
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17727
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17728
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
17729
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
17730
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17731
else
 
17732
  cat >conftest.$ac_ext <<_ACEOF
 
17733
/* confdefs.h.  */
 
17734
_ACEOF
 
17735
cat confdefs.h >>conftest.$ac_ext
 
17736
cat >>conftest.$ac_ext <<_ACEOF
 
17737
/* end confdefs.h.  */
 
17738
$ac_includes_default
 
17739
 
 
17740
#include <$ac_header>
 
17741
_ACEOF
 
17742
rm -f conftest.$ac_objext
 
17743
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17744
  (eval $ac_compile) 2>conftest.er1
 
17745
  ac_status=$?
 
17746
  grep -v '^ *+' conftest.er1 >conftest.err
 
17747
  rm -f conftest.er1
 
17748
  cat conftest.err >&5
 
17749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17750
  (exit $ac_status); } &&
 
17751
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17752
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17753
  (eval $ac_try) 2>&5
 
17754
  ac_status=$?
 
17755
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17756
  (exit $ac_status); }; } &&
 
17757
         { ac_try='test -s conftest.$ac_objext'
 
17758
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17759
  (eval $ac_try) 2>&5
 
17760
  ac_status=$?
 
17761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17762
  (exit $ac_status); }; }; then
 
17763
  eval "$as_ac_Header=yes"
 
17764
else
 
17765
  echo "$as_me: failed program was:" >&5
 
17766
sed 's/^/| /' conftest.$ac_ext >&5
 
17767
 
 
17768
eval "$as_ac_Header=no"
 
17769
fi
 
17770
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17771
fi
 
17772
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
17773
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
17774
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17775
  cat >>confdefs.h <<_ACEOF
 
17776
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17777
_ACEOF
 
17778
 
 
17779
fi
 
17780
 
 
17781
done
 
17782
 
 
17783
fi
 
17784
 
 
17785
case "${host}" in
 
17786
  *-pc-os2_emx | *-pc-os2-emx )
 
17787
                  if test $ac_cv_header_langinfo_h = "yes" \
 
17788
                -a \(   "$wx_cv_gccversion" = "EMX2" \
 
17789
                     -o "$wx_cv_gccversion" = "EMX3" \
 
17790
                     -o "$wx_cv_gccversion" = "Innotek5" \); then
 
17791
          LIBS="$LIBS -lintl"
 
17792
      fi
 
17793
  ;;
 
17794
esac
 
17795
 
 
17796
if test "$USE_UNIX" = 1 ; then
 
17797
 
 
17798
for ac_header in sys/select.h
 
17799
do
 
17800
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17801
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17802
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
17803
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
17804
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17805
else
 
17806
  cat >conftest.$ac_ext <<_ACEOF
 
17807
/* confdefs.h.  */
 
17808
_ACEOF
 
17809
cat confdefs.h >>conftest.$ac_ext
 
17810
cat >>conftest.$ac_ext <<_ACEOF
 
17811
/* end confdefs.h.  */
 
17812
$ac_includes_default
 
17813
 
 
17814
#include <$ac_header>
 
17815
_ACEOF
 
17816
rm -f conftest.$ac_objext
 
17817
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17818
  (eval $ac_compile) 2>conftest.er1
 
17819
  ac_status=$?
 
17820
  grep -v '^ *+' conftest.er1 >conftest.err
 
17821
  rm -f conftest.er1
 
17822
  cat conftest.err >&5
 
17823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17824
  (exit $ac_status); } &&
 
17825
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17826
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17827
  (eval $ac_try) 2>&5
 
17828
  ac_status=$?
 
17829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17830
  (exit $ac_status); }; } &&
 
17831
         { ac_try='test -s conftest.$ac_objext'
 
17832
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17833
  (eval $ac_try) 2>&5
 
17834
  ac_status=$?
 
17835
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17836
  (exit $ac_status); }; }; then
 
17837
  eval "$as_ac_Header=yes"
 
17838
else
 
17839
  echo "$as_me: failed program was:" >&5
 
17840
sed 's/^/| /' conftest.$ac_ext >&5
 
17841
 
 
17842
eval "$as_ac_Header=no"
 
17843
fi
 
17844
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17845
fi
 
17846
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
17847
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
17848
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17849
  cat >>confdefs.h <<_ACEOF
 
17850
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17851
_ACEOF
 
17852
 
 
17853
fi
 
17854
 
 
17855
done
 
17856
 
 
17857
fi
 
17858
 
 
17859
 
 
17860
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
17861
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
17862
if test "${ac_cv_c_const+set}" = set; then
 
17863
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17864
else
 
17865
  cat >conftest.$ac_ext <<_ACEOF
 
17866
/* confdefs.h.  */
 
17867
_ACEOF
 
17868
cat confdefs.h >>conftest.$ac_ext
 
17869
cat >>conftest.$ac_ext <<_ACEOF
 
17870
/* end confdefs.h.  */
 
17871
 
 
17872
int
 
17873
main ()
 
17874
{
 
17875
/* FIXME: Include the comments suggested by Paul. */
 
17876
#ifndef __cplusplus
 
17877
  /* Ultrix mips cc rejects this.  */
 
17878
  typedef int charset[2];
 
17879
  const charset x;
 
17880
  /* SunOS 4.1.1 cc rejects this.  */
 
17881
  char const *const *ccp;
 
17882
  char **p;
 
17883
  /* NEC SVR4.0.2 mips cc rejects this.  */
 
17884
  struct point {int x, y;};
 
17885
  static struct point const zero = {0,0};
 
17886
  /* AIX XL C 1.02.0.0 rejects this.
 
17887
     It does not let you subtract one const X* pointer from another in
 
17888
     an arm of an if-expression whose if-part is not a constant
 
17889
     expression */
 
17890
  const char *g = "string";
 
17891
  ccp = &g + (g ? g-g : 0);
 
17892
  /* HPUX 7.0 cc rejects these. */
 
17893
  ++ccp;
 
17894
  p = (char**) ccp;
 
17895
  ccp = (char const *const *) p;
 
17896
  { /* SCO 3.2v4 cc rejects this.  */
 
17897
    char *t;
 
17898
    char const *s = 0 ? (char *) 0 : (char const *) 0;
 
17899
 
 
17900
    *t++ = 0;
 
17901
  }
 
17902
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 
17903
    int x[] = {25, 17};
 
17904
    const int *foo = &x[0];
 
17905
    ++foo;
 
17906
  }
 
17907
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 
17908
    typedef const int *iptr;
 
17909
    iptr p = 0;
 
17910
    ++p;
 
17911
  }
 
17912
  { /* AIX XL C 1.02.0.0 rejects this saying
 
17913
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 
17914
    struct s { int j; const int *ap[3]; };
 
17915
    struct s *b; b->j = 5;
 
17916
  }
 
17917
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 
17918
    const int foo = 10;
 
17919
  }
 
17920
#endif
 
17921
 
 
17922
  ;
 
17923
  return 0;
 
17924
}
 
17925
_ACEOF
 
17926
rm -f conftest.$ac_objext
 
17927
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17928
  (eval $ac_compile) 2>conftest.er1
 
17929
  ac_status=$?
 
17930
  grep -v '^ *+' conftest.er1 >conftest.err
 
17931
  rm -f conftest.er1
 
17932
  cat conftest.err >&5
 
17933
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17934
  (exit $ac_status); } &&
 
17935
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17936
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17937
  (eval $ac_try) 2>&5
 
17938
  ac_status=$?
 
17939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17940
  (exit $ac_status); }; } &&
 
17941
         { ac_try='test -s conftest.$ac_objext'
 
17942
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17943
  (eval $ac_try) 2>&5
 
17944
  ac_status=$?
 
17945
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17946
  (exit $ac_status); }; }; then
 
17947
  ac_cv_c_const=yes
 
17948
else
 
17949
  echo "$as_me: failed program was:" >&5
 
17950
sed 's/^/| /' conftest.$ac_ext >&5
 
17951
 
 
17952
ac_cv_c_const=no
 
17953
fi
 
17954
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17955
fi
 
17956
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
17957
echo "${ECHO_T}$ac_cv_c_const" >&6
 
17958
if test $ac_cv_c_const = no; then
 
17959
 
 
17960
cat >>confdefs.h <<\_ACEOF
 
17961
#define const
 
17962
_ACEOF
 
17963
 
 
17964
fi
 
17965
 
 
17966
echo "$as_me:$LINENO: checking for inline" >&5
 
17967
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
17968
if test "${ac_cv_c_inline+set}" = set; then
 
17969
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17970
else
 
17971
  ac_cv_c_inline=no
 
17972
for ac_kw in inline __inline__ __inline; do
 
17973
  cat >conftest.$ac_ext <<_ACEOF
 
17974
/* confdefs.h.  */
 
17975
_ACEOF
 
17976
cat confdefs.h >>conftest.$ac_ext
 
17977
cat >>conftest.$ac_ext <<_ACEOF
 
17978
/* end confdefs.h.  */
 
17979
#ifndef __cplusplus
 
17980
typedef int foo_t;
 
17981
static $ac_kw foo_t static_foo () {return 0; }
 
17982
$ac_kw foo_t foo () {return 0; }
 
17983
#endif
 
17984
 
 
17985
_ACEOF
 
17986
rm -f conftest.$ac_objext
 
17987
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17988
  (eval $ac_compile) 2>conftest.er1
 
17989
  ac_status=$?
 
17990
  grep -v '^ *+' conftest.er1 >conftest.err
 
17991
  rm -f conftest.er1
 
17992
  cat conftest.err >&5
 
17993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17994
  (exit $ac_status); } &&
 
17995
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17996
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17997
  (eval $ac_try) 2>&5
 
17998
  ac_status=$?
 
17999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18000
  (exit $ac_status); }; } &&
 
18001
         { ac_try='test -s conftest.$ac_objext'
 
18002
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18003
  (eval $ac_try) 2>&5
 
18004
  ac_status=$?
 
18005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18006
  (exit $ac_status); }; }; then
 
18007
  ac_cv_c_inline=$ac_kw; break
 
18008
else
 
18009
  echo "$as_me: failed program was:" >&5
 
18010
sed 's/^/| /' conftest.$ac_ext >&5
 
18011
 
 
18012
fi
 
18013
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18014
done
 
18015
 
 
18016
fi
 
18017
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
18018
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
18019
 
 
18020
 
 
18021
case $ac_cv_c_inline in
 
18022
  inline | yes) ;;
 
18023
  *)
 
18024
    case $ac_cv_c_inline in
 
18025
      no) ac_val=;;
 
18026
      *) ac_val=$ac_cv_c_inline;;
 
18027
    esac
 
18028
    cat >>confdefs.h <<_ACEOF
 
18029
#ifndef __cplusplus
 
18030
#define inline $ac_val
 
18031
#endif
 
18032
_ACEOF
 
18033
    ;;
 
18034
esac
 
18035
 
 
18036
 
 
18037
echo "$as_me:$LINENO: checking for char" >&5
 
18038
echo $ECHO_N "checking for char... $ECHO_C" >&6
 
18039
if test "${ac_cv_type_char+set}" = set; then
 
18040
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18041
else
 
18042
  cat >conftest.$ac_ext <<_ACEOF
 
18043
/* confdefs.h.  */
 
18044
_ACEOF
 
18045
cat confdefs.h >>conftest.$ac_ext
 
18046
cat >>conftest.$ac_ext <<_ACEOF
 
18047
/* end confdefs.h.  */
 
18048
$ac_includes_default
 
18049
int
 
18050
main ()
 
18051
{
 
18052
if ((char *) 0)
 
18053
  return 0;
 
18054
if (sizeof (char))
 
18055
  return 0;
 
18056
  ;
 
18057
  return 0;
 
18058
}
 
18059
_ACEOF
 
18060
rm -f conftest.$ac_objext
 
18061
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18062
  (eval $ac_compile) 2>conftest.er1
 
18063
  ac_status=$?
 
18064
  grep -v '^ *+' conftest.er1 >conftest.err
 
18065
  rm -f conftest.er1
 
18066
  cat conftest.err >&5
 
18067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18068
  (exit $ac_status); } &&
 
18069
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18070
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18071
  (eval $ac_try) 2>&5
 
18072
  ac_status=$?
 
18073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18074
  (exit $ac_status); }; } &&
 
18075
         { ac_try='test -s conftest.$ac_objext'
 
18076
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18077
  (eval $ac_try) 2>&5
 
18078
  ac_status=$?
 
18079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18080
  (exit $ac_status); }; }; then
 
18081
  ac_cv_type_char=yes
 
18082
else
 
18083
  echo "$as_me: failed program was:" >&5
 
18084
sed 's/^/| /' conftest.$ac_ext >&5
 
18085
 
 
18086
ac_cv_type_char=no
 
18087
fi
 
18088
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18089
fi
 
18090
echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
 
18091
echo "${ECHO_T}$ac_cv_type_char" >&6
 
18092
 
 
18093
echo "$as_me:$LINENO: checking size of char" >&5
 
18094
echo $ECHO_N "checking size of char... $ECHO_C" >&6
 
18095
if test "${ac_cv_sizeof_char+set}" = set; then
 
18096
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18097
else
 
18098
  if test "$ac_cv_type_char" = yes; then
 
18099
  # The cast to unsigned long works around a bug in the HP C Compiler
 
18100
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
18101
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
18102
  # This bug is HP SR number 8606223364.
 
18103
  if test "$cross_compiling" = yes; then
 
18104
  # Depending upon the size, compute the lo and hi bounds.
 
18105
cat >conftest.$ac_ext <<_ACEOF
 
18106
/* confdefs.h.  */
 
18107
_ACEOF
 
18108
cat confdefs.h >>conftest.$ac_ext
 
18109
cat >>conftest.$ac_ext <<_ACEOF
 
18110
/* end confdefs.h.  */
 
18111
$ac_includes_default
 
18112
int
 
18113
main ()
 
18114
{
 
18115
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
 
18116
test_array [0] = 0
 
18117
 
 
18118
  ;
 
18119
  return 0;
 
18120
}
 
18121
_ACEOF
 
18122
rm -f conftest.$ac_objext
 
18123
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18124
  (eval $ac_compile) 2>conftest.er1
 
18125
  ac_status=$?
 
18126
  grep -v '^ *+' conftest.er1 >conftest.err
 
18127
  rm -f conftest.er1
 
18128
  cat conftest.err >&5
 
18129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18130
  (exit $ac_status); } &&
 
18131
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18132
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18133
  (eval $ac_try) 2>&5
 
18134
  ac_status=$?
 
18135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18136
  (exit $ac_status); }; } &&
 
18137
         { ac_try='test -s conftest.$ac_objext'
 
18138
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18139
  (eval $ac_try) 2>&5
 
18140
  ac_status=$?
 
18141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18142
  (exit $ac_status); }; }; then
 
18143
  ac_lo=0 ac_mid=0
 
18144
  while :; do
 
18145
    cat >conftest.$ac_ext <<_ACEOF
 
18146
/* confdefs.h.  */
 
18147
_ACEOF
 
18148
cat confdefs.h >>conftest.$ac_ext
 
18149
cat >>conftest.$ac_ext <<_ACEOF
 
18150
/* end confdefs.h.  */
 
18151
$ac_includes_default
 
18152
int
 
18153
main ()
 
18154
{
 
18155
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
 
18156
test_array [0] = 0
 
18157
 
 
18158
  ;
 
18159
  return 0;
 
18160
}
 
18161
_ACEOF
 
18162
rm -f conftest.$ac_objext
 
18163
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18164
  (eval $ac_compile) 2>conftest.er1
 
18165
  ac_status=$?
 
18166
  grep -v '^ *+' conftest.er1 >conftest.err
 
18167
  rm -f conftest.er1
 
18168
  cat conftest.err >&5
 
18169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18170
  (exit $ac_status); } &&
 
18171
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18172
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18173
  (eval $ac_try) 2>&5
 
18174
  ac_status=$?
 
18175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18176
  (exit $ac_status); }; } &&
 
18177
         { ac_try='test -s conftest.$ac_objext'
 
18178
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18179
  (eval $ac_try) 2>&5
 
18180
  ac_status=$?
 
18181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18182
  (exit $ac_status); }; }; then
 
18183
  ac_hi=$ac_mid; break
 
18184
else
 
18185
  echo "$as_me: failed program was:" >&5
 
18186
sed 's/^/| /' conftest.$ac_ext >&5
 
18187
 
 
18188
ac_lo=`expr $ac_mid + 1`
 
18189
                    if test $ac_lo -le $ac_mid; then
 
18190
                      ac_lo= ac_hi=
 
18191
                      break
 
18192
                    fi
 
18193
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
18194
fi
 
18195
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18196
  done
 
18197
else
 
18198
  echo "$as_me: failed program was:" >&5
 
18199
sed 's/^/| /' conftest.$ac_ext >&5
 
18200
 
 
18201
cat >conftest.$ac_ext <<_ACEOF
 
18202
/* confdefs.h.  */
 
18203
_ACEOF
 
18204
cat confdefs.h >>conftest.$ac_ext
 
18205
cat >>conftest.$ac_ext <<_ACEOF
 
18206
/* end confdefs.h.  */
 
18207
$ac_includes_default
 
18208
int
 
18209
main ()
 
18210
{
 
18211
static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
 
18212
test_array [0] = 0
 
18213
 
 
18214
  ;
 
18215
  return 0;
 
18216
}
 
18217
_ACEOF
 
18218
rm -f conftest.$ac_objext
 
18219
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18220
  (eval $ac_compile) 2>conftest.er1
 
18221
  ac_status=$?
 
18222
  grep -v '^ *+' conftest.er1 >conftest.err
 
18223
  rm -f conftest.er1
 
18224
  cat conftest.err >&5
 
18225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18226
  (exit $ac_status); } &&
 
18227
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18228
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18229
  (eval $ac_try) 2>&5
 
18230
  ac_status=$?
 
18231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18232
  (exit $ac_status); }; } &&
 
18233
         { ac_try='test -s conftest.$ac_objext'
 
18234
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18235
  (eval $ac_try) 2>&5
 
18236
  ac_status=$?
 
18237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18238
  (exit $ac_status); }; }; then
 
18239
  ac_hi=-1 ac_mid=-1
 
18240
  while :; do
 
18241
    cat >conftest.$ac_ext <<_ACEOF
 
18242
/* confdefs.h.  */
 
18243
_ACEOF
 
18244
cat confdefs.h >>conftest.$ac_ext
 
18245
cat >>conftest.$ac_ext <<_ACEOF
 
18246
/* end confdefs.h.  */
 
18247
$ac_includes_default
 
18248
int
 
18249
main ()
 
18250
{
 
18251
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
 
18252
test_array [0] = 0
 
18253
 
 
18254
  ;
 
18255
  return 0;
 
18256
}
 
18257
_ACEOF
 
18258
rm -f conftest.$ac_objext
 
18259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18260
  (eval $ac_compile) 2>conftest.er1
 
18261
  ac_status=$?
 
18262
  grep -v '^ *+' conftest.er1 >conftest.err
 
18263
  rm -f conftest.er1
 
18264
  cat conftest.err >&5
 
18265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18266
  (exit $ac_status); } &&
 
18267
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18268
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18269
  (eval $ac_try) 2>&5
 
18270
  ac_status=$?
 
18271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18272
  (exit $ac_status); }; } &&
 
18273
         { ac_try='test -s conftest.$ac_objext'
 
18274
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18275
  (eval $ac_try) 2>&5
 
18276
  ac_status=$?
 
18277
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18278
  (exit $ac_status); }; }; then
 
18279
  ac_lo=$ac_mid; break
 
18280
else
 
18281
  echo "$as_me: failed program was:" >&5
 
18282
sed 's/^/| /' conftest.$ac_ext >&5
 
18283
 
 
18284
ac_hi=`expr '(' $ac_mid ')' - 1`
 
18285
                       if test $ac_mid -le $ac_hi; then
 
18286
                         ac_lo= ac_hi=
 
18287
                         break
 
18288
                       fi
 
18289
                       ac_mid=`expr 2 '*' $ac_mid`
 
18290
fi
 
18291
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18292
  done
 
18293
else
 
18294
  echo "$as_me: failed program was:" >&5
 
18295
sed 's/^/| /' conftest.$ac_ext >&5
 
18296
 
 
18297
ac_lo= ac_hi=
 
18298
fi
 
18299
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18300
fi
 
18301
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18302
# Binary search between lo and hi bounds.
 
18303
while test "x$ac_lo" != "x$ac_hi"; do
 
18304
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
18305
  cat >conftest.$ac_ext <<_ACEOF
 
18306
/* confdefs.h.  */
 
18307
_ACEOF
 
18308
cat confdefs.h >>conftest.$ac_ext
 
18309
cat >>conftest.$ac_ext <<_ACEOF
 
18310
/* end confdefs.h.  */
 
18311
$ac_includes_default
 
18312
int
 
18313
main ()
 
18314
{
 
18315
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
 
18316
test_array [0] = 0
 
18317
 
 
18318
  ;
 
18319
  return 0;
 
18320
}
 
18321
_ACEOF
 
18322
rm -f conftest.$ac_objext
 
18323
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18324
  (eval $ac_compile) 2>conftest.er1
 
18325
  ac_status=$?
 
18326
  grep -v '^ *+' conftest.er1 >conftest.err
 
18327
  rm -f conftest.er1
 
18328
  cat conftest.err >&5
 
18329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18330
  (exit $ac_status); } &&
 
18331
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18332
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18333
  (eval $ac_try) 2>&5
 
18334
  ac_status=$?
 
18335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18336
  (exit $ac_status); }; } &&
 
18337
         { ac_try='test -s conftest.$ac_objext'
 
18338
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18339
  (eval $ac_try) 2>&5
 
18340
  ac_status=$?
 
18341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18342
  (exit $ac_status); }; }; then
 
18343
  ac_hi=$ac_mid
 
18344
else
 
18345
  echo "$as_me: failed program was:" >&5
 
18346
sed 's/^/| /' conftest.$ac_ext >&5
 
18347
 
 
18348
ac_lo=`expr '(' $ac_mid ')' + 1`
 
18349
fi
 
18350
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18351
done
 
18352
case $ac_lo in
 
18353
?*) ac_cv_sizeof_char=$ac_lo;;
 
18354
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
 
18355
See \`config.log' for more details." >&5
 
18356
echo "$as_me: error: cannot compute sizeof (char), 77
 
18357
See \`config.log' for more details." >&2;}
 
18358
   { (exit 1); exit 1; }; } ;;
 
18359
esac
 
18360
else
 
18361
  if test "$cross_compiling" = yes; then
 
18362
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
18363
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
18364
   { (exit 1); exit 1; }; }
 
18365
else
 
18366
  cat >conftest.$ac_ext <<_ACEOF
 
18367
/* confdefs.h.  */
 
18368
_ACEOF
 
18369
cat confdefs.h >>conftest.$ac_ext
 
18370
cat >>conftest.$ac_ext <<_ACEOF
 
18371
/* end confdefs.h.  */
 
18372
$ac_includes_default
 
18373
long longval () { return (long) (sizeof (char)); }
 
18374
unsigned long ulongval () { return (long) (sizeof (char)); }
 
18375
#include <stdio.h>
 
18376
#include <stdlib.h>
 
18377
int
 
18378
main ()
 
18379
{
 
18380
 
 
18381
  FILE *f = fopen ("conftest.val", "w");
 
18382
  if (! f)
 
18383
    exit (1);
 
18384
  if (((long) (sizeof (char))) < 0)
 
18385
    {
 
18386
      long i = longval ();
 
18387
      if (i != ((long) (sizeof (char))))
 
18388
        exit (1);
 
18389
      fprintf (f, "%ld\n", i);
 
18390
    }
 
18391
  else
 
18392
    {
 
18393
      unsigned long i = ulongval ();
 
18394
      if (i != ((long) (sizeof (char))))
 
18395
        exit (1);
 
18396
      fprintf (f, "%lu\n", i);
 
18397
    }
 
18398
  exit (ferror (f) || fclose (f) != 0);
 
18399
 
 
18400
  ;
 
18401
  return 0;
 
18402
}
 
18403
_ACEOF
 
18404
rm -f conftest$ac_exeext
 
18405
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
18406
  (eval $ac_link) 2>&5
 
18407
  ac_status=$?
 
18408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18409
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
18410
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18411
  (eval $ac_try) 2>&5
 
18412
  ac_status=$?
 
18413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18414
  (exit $ac_status); }; }; then
 
18415
  ac_cv_sizeof_char=`cat conftest.val`
 
18416
else
 
18417
  echo "$as_me: program exited with status $ac_status" >&5
 
18418
echo "$as_me: failed program was:" >&5
 
18419
sed 's/^/| /' conftest.$ac_ext >&5
 
18420
 
 
18421
( exit $ac_status )
 
18422
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
 
18423
See \`config.log' for more details." >&5
 
18424
echo "$as_me: error: cannot compute sizeof (char), 77
 
18425
See \`config.log' for more details." >&2;}
 
18426
   { (exit 1); exit 1; }; }
 
18427
fi
 
18428
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
18429
fi
 
18430
fi
 
18431
rm -f conftest.val
 
18432
else
 
18433
  ac_cv_sizeof_char=0
 
18434
fi
 
18435
fi
 
18436
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
 
18437
echo "${ECHO_T}$ac_cv_sizeof_char" >&6
 
18438
cat >>confdefs.h <<_ACEOF
 
18439
#define SIZEOF_CHAR $ac_cv_sizeof_char
 
18440
_ACEOF
 
18441
 
 
18442
 
 
18443
echo "$as_me:$LINENO: checking for short" >&5
 
18444
echo $ECHO_N "checking for short... $ECHO_C" >&6
 
18445
if test "${ac_cv_type_short+set}" = set; then
 
18446
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18447
else
 
18448
  cat >conftest.$ac_ext <<_ACEOF
 
18449
/* confdefs.h.  */
 
18450
_ACEOF
 
18451
cat confdefs.h >>conftest.$ac_ext
 
18452
cat >>conftest.$ac_ext <<_ACEOF
 
18453
/* end confdefs.h.  */
 
18454
$ac_includes_default
 
18455
int
 
18456
main ()
 
18457
{
 
18458
if ((short *) 0)
 
18459
  return 0;
 
18460
if (sizeof (short))
 
18461
  return 0;
 
18462
  ;
 
18463
  return 0;
 
18464
}
 
18465
_ACEOF
 
18466
rm -f conftest.$ac_objext
 
18467
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18468
  (eval $ac_compile) 2>conftest.er1
 
18469
  ac_status=$?
 
18470
  grep -v '^ *+' conftest.er1 >conftest.err
 
18471
  rm -f conftest.er1
 
18472
  cat conftest.err >&5
 
18473
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18474
  (exit $ac_status); } &&
 
18475
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18476
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18477
  (eval $ac_try) 2>&5
 
18478
  ac_status=$?
 
18479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18480
  (exit $ac_status); }; } &&
 
18481
         { ac_try='test -s conftest.$ac_objext'
 
18482
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18483
  (eval $ac_try) 2>&5
 
18484
  ac_status=$?
 
18485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18486
  (exit $ac_status); }; }; then
 
18487
  ac_cv_type_short=yes
 
18488
else
 
18489
  echo "$as_me: failed program was:" >&5
 
18490
sed 's/^/| /' conftest.$ac_ext >&5
 
18491
 
 
18492
ac_cv_type_short=no
 
18493
fi
 
18494
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18495
fi
 
18496
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 
18497
echo "${ECHO_T}$ac_cv_type_short" >&6
 
18498
 
 
18499
echo "$as_me:$LINENO: checking size of short" >&5
 
18500
echo $ECHO_N "checking size of short... $ECHO_C" >&6
 
18501
if test "${ac_cv_sizeof_short+set}" = set; then
 
18502
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18503
else
 
18504
  if test "$ac_cv_type_short" = yes; then
 
18505
  # The cast to unsigned long works around a bug in the HP C Compiler
 
18506
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
18507
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
18508
  # This bug is HP SR number 8606223364.
 
18509
  if test "$cross_compiling" = yes; then
 
18510
  # Depending upon the size, compute the lo and hi bounds.
 
18511
cat >conftest.$ac_ext <<_ACEOF
 
18512
/* confdefs.h.  */
 
18513
_ACEOF
 
18514
cat confdefs.h >>conftest.$ac_ext
 
18515
cat >>conftest.$ac_ext <<_ACEOF
 
18516
/* end confdefs.h.  */
 
18517
$ac_includes_default
 
18518
int
 
18519
main ()
 
18520
{
 
18521
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 
18522
test_array [0] = 0
 
18523
 
 
18524
  ;
 
18525
  return 0;
 
18526
}
 
18527
_ACEOF
 
18528
rm -f conftest.$ac_objext
 
18529
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18530
  (eval $ac_compile) 2>conftest.er1
 
18531
  ac_status=$?
 
18532
  grep -v '^ *+' conftest.er1 >conftest.err
 
18533
  rm -f conftest.er1
 
18534
  cat conftest.err >&5
 
18535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18536
  (exit $ac_status); } &&
 
18537
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18538
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18539
  (eval $ac_try) 2>&5
 
18540
  ac_status=$?
 
18541
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18542
  (exit $ac_status); }; } &&
 
18543
         { ac_try='test -s conftest.$ac_objext'
 
18544
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18545
  (eval $ac_try) 2>&5
 
18546
  ac_status=$?
 
18547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18548
  (exit $ac_status); }; }; then
 
18549
  ac_lo=0 ac_mid=0
 
18550
  while :; do
 
18551
    cat >conftest.$ac_ext <<_ACEOF
 
18552
/* confdefs.h.  */
 
18553
_ACEOF
 
18554
cat confdefs.h >>conftest.$ac_ext
 
18555
cat >>conftest.$ac_ext <<_ACEOF
 
18556
/* end confdefs.h.  */
 
18557
$ac_includes_default
 
18558
int
 
18559
main ()
 
18560
{
 
18561
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
18562
test_array [0] = 0
 
18563
 
 
18564
  ;
 
18565
  return 0;
 
18566
}
 
18567
_ACEOF
 
18568
rm -f conftest.$ac_objext
 
18569
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18570
  (eval $ac_compile) 2>conftest.er1
 
18571
  ac_status=$?
 
18572
  grep -v '^ *+' conftest.er1 >conftest.err
 
18573
  rm -f conftest.er1
 
18574
  cat conftest.err >&5
 
18575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18576
  (exit $ac_status); } &&
 
18577
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18578
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18579
  (eval $ac_try) 2>&5
 
18580
  ac_status=$?
 
18581
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18582
  (exit $ac_status); }; } &&
 
18583
         { ac_try='test -s conftest.$ac_objext'
 
18584
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18585
  (eval $ac_try) 2>&5
 
18586
  ac_status=$?
 
18587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18588
  (exit $ac_status); }; }; then
 
18589
  ac_hi=$ac_mid; break
 
18590
else
 
18591
  echo "$as_me: failed program was:" >&5
 
18592
sed 's/^/| /' conftest.$ac_ext >&5
 
18593
 
 
18594
ac_lo=`expr $ac_mid + 1`
 
18595
                    if test $ac_lo -le $ac_mid; then
 
18596
                      ac_lo= ac_hi=
 
18597
                      break
 
18598
                    fi
 
18599
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
18600
fi
 
18601
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18602
  done
 
18603
else
 
18604
  echo "$as_me: failed program was:" >&5
 
18605
sed 's/^/| /' conftest.$ac_ext >&5
 
18606
 
 
18607
cat >conftest.$ac_ext <<_ACEOF
 
18608
/* confdefs.h.  */
 
18609
_ACEOF
 
18610
cat confdefs.h >>conftest.$ac_ext
 
18611
cat >>conftest.$ac_ext <<_ACEOF
 
18612
/* end confdefs.h.  */
 
18613
$ac_includes_default
 
18614
int
 
18615
main ()
 
18616
{
 
18617
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 
18618
test_array [0] = 0
 
18619
 
 
18620
  ;
 
18621
  return 0;
 
18622
}
 
18623
_ACEOF
 
18624
rm -f conftest.$ac_objext
 
18625
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18626
  (eval $ac_compile) 2>conftest.er1
 
18627
  ac_status=$?
 
18628
  grep -v '^ *+' conftest.er1 >conftest.err
 
18629
  rm -f conftest.er1
 
18630
  cat conftest.err >&5
 
18631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18632
  (exit $ac_status); } &&
 
18633
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18634
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18635
  (eval $ac_try) 2>&5
 
18636
  ac_status=$?
 
18637
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18638
  (exit $ac_status); }; } &&
 
18639
         { ac_try='test -s conftest.$ac_objext'
 
18640
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18641
  (eval $ac_try) 2>&5
 
18642
  ac_status=$?
 
18643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18644
  (exit $ac_status); }; }; then
 
18645
  ac_hi=-1 ac_mid=-1
 
18646
  while :; do
 
18647
    cat >conftest.$ac_ext <<_ACEOF
 
18648
/* confdefs.h.  */
 
18649
_ACEOF
 
18650
cat confdefs.h >>conftest.$ac_ext
 
18651
cat >>conftest.$ac_ext <<_ACEOF
 
18652
/* end confdefs.h.  */
 
18653
$ac_includes_default
 
18654
int
 
18655
main ()
 
18656
{
 
18657
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 
18658
test_array [0] = 0
 
18659
 
 
18660
  ;
 
18661
  return 0;
 
18662
}
 
18663
_ACEOF
 
18664
rm -f conftest.$ac_objext
 
18665
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18666
  (eval $ac_compile) 2>conftest.er1
 
18667
  ac_status=$?
 
18668
  grep -v '^ *+' conftest.er1 >conftest.err
 
18669
  rm -f conftest.er1
 
18670
  cat conftest.err >&5
 
18671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18672
  (exit $ac_status); } &&
 
18673
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18674
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18675
  (eval $ac_try) 2>&5
 
18676
  ac_status=$?
 
18677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18678
  (exit $ac_status); }; } &&
 
18679
         { ac_try='test -s conftest.$ac_objext'
 
18680
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18681
  (eval $ac_try) 2>&5
 
18682
  ac_status=$?
 
18683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18684
  (exit $ac_status); }; }; then
 
18685
  ac_lo=$ac_mid; break
 
18686
else
 
18687
  echo "$as_me: failed program was:" >&5
 
18688
sed 's/^/| /' conftest.$ac_ext >&5
 
18689
 
 
18690
ac_hi=`expr '(' $ac_mid ')' - 1`
 
18691
                       if test $ac_mid -le $ac_hi; then
 
18692
                         ac_lo= ac_hi=
 
18693
                         break
 
18694
                       fi
 
18695
                       ac_mid=`expr 2 '*' $ac_mid`
 
18696
fi
 
18697
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18698
  done
 
18699
else
 
18700
  echo "$as_me: failed program was:" >&5
 
18701
sed 's/^/| /' conftest.$ac_ext >&5
 
18702
 
 
18703
ac_lo= ac_hi=
 
18704
fi
 
18705
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18706
fi
 
18707
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18708
# Binary search between lo and hi bounds.
 
18709
while test "x$ac_lo" != "x$ac_hi"; do
 
18710
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
18711
  cat >conftest.$ac_ext <<_ACEOF
 
18712
/* confdefs.h.  */
 
18713
_ACEOF
 
18714
cat confdefs.h >>conftest.$ac_ext
 
18715
cat >>conftest.$ac_ext <<_ACEOF
 
18716
/* end confdefs.h.  */
 
18717
$ac_includes_default
 
18718
int
 
18719
main ()
 
18720
{
 
18721
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
18722
test_array [0] = 0
 
18723
 
 
18724
  ;
 
18725
  return 0;
 
18726
}
 
18727
_ACEOF
 
18728
rm -f conftest.$ac_objext
 
18729
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18730
  (eval $ac_compile) 2>conftest.er1
 
18731
  ac_status=$?
 
18732
  grep -v '^ *+' conftest.er1 >conftest.err
 
18733
  rm -f conftest.er1
 
18734
  cat conftest.err >&5
 
18735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18736
  (exit $ac_status); } &&
 
18737
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18738
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18739
  (eval $ac_try) 2>&5
 
18740
  ac_status=$?
 
18741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18742
  (exit $ac_status); }; } &&
 
18743
         { ac_try='test -s conftest.$ac_objext'
 
18744
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18745
  (eval $ac_try) 2>&5
 
18746
  ac_status=$?
 
18747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18748
  (exit $ac_status); }; }; then
 
18749
  ac_hi=$ac_mid
 
18750
else
 
18751
  echo "$as_me: failed program was:" >&5
 
18752
sed 's/^/| /' conftest.$ac_ext >&5
 
18753
 
 
18754
ac_lo=`expr '(' $ac_mid ')' + 1`
 
18755
fi
 
18756
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18757
done
 
18758
case $ac_lo in
 
18759
?*) ac_cv_sizeof_short=$ac_lo;;
 
18760
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
18761
See \`config.log' for more details." >&5
 
18762
echo "$as_me: error: cannot compute sizeof (short), 77
 
18763
See \`config.log' for more details." >&2;}
 
18764
   { (exit 1); exit 1; }; } ;;
 
18765
esac
 
18766
else
 
18767
  if test "$cross_compiling" = yes; then
 
18768
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
18769
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
18770
   { (exit 1); exit 1; }; }
 
18771
else
 
18772
  cat >conftest.$ac_ext <<_ACEOF
 
18773
/* confdefs.h.  */
 
18774
_ACEOF
 
18775
cat confdefs.h >>conftest.$ac_ext
 
18776
cat >>conftest.$ac_ext <<_ACEOF
 
18777
/* end confdefs.h.  */
 
18778
$ac_includes_default
 
18779
long longval () { return (long) (sizeof (short)); }
 
18780
unsigned long ulongval () { return (long) (sizeof (short)); }
 
18781
#include <stdio.h>
 
18782
#include <stdlib.h>
 
18783
int
 
18784
main ()
 
18785
{
 
18786
 
 
18787
  FILE *f = fopen ("conftest.val", "w");
 
18788
  if (! f)
 
18789
    exit (1);
 
18790
  if (((long) (sizeof (short))) < 0)
 
18791
    {
 
18792
      long i = longval ();
 
18793
      if (i != ((long) (sizeof (short))))
 
18794
        exit (1);
 
18795
      fprintf (f, "%ld\n", i);
 
18796
    }
 
18797
  else
 
18798
    {
 
18799
      unsigned long i = ulongval ();
 
18800
      if (i != ((long) (sizeof (short))))
 
18801
        exit (1);
 
18802
      fprintf (f, "%lu\n", i);
 
18803
    }
 
18804
  exit (ferror (f) || fclose (f) != 0);
 
18805
 
 
18806
  ;
 
18807
  return 0;
 
18808
}
 
18809
_ACEOF
 
18810
rm -f conftest$ac_exeext
 
18811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
18812
  (eval $ac_link) 2>&5
 
18813
  ac_status=$?
 
18814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18815
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
18816
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18817
  (eval $ac_try) 2>&5
 
18818
  ac_status=$?
 
18819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18820
  (exit $ac_status); }; }; then
 
18821
  ac_cv_sizeof_short=`cat conftest.val`
 
18822
else
 
18823
  echo "$as_me: program exited with status $ac_status" >&5
 
18824
echo "$as_me: failed program was:" >&5
 
18825
sed 's/^/| /' conftest.$ac_ext >&5
 
18826
 
 
18827
( exit $ac_status )
 
18828
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
18829
See \`config.log' for more details." >&5
 
18830
echo "$as_me: error: cannot compute sizeof (short), 77
 
18831
See \`config.log' for more details." >&2;}
 
18832
   { (exit 1); exit 1; }; }
 
18833
fi
 
18834
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
18835
fi
 
18836
fi
 
18837
rm -f conftest.val
 
18838
else
 
18839
  ac_cv_sizeof_short=0
 
18840
fi
 
18841
fi
 
18842
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
18843
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 
18844
cat >>confdefs.h <<_ACEOF
 
18845
#define SIZEOF_SHORT $ac_cv_sizeof_short
 
18846
_ACEOF
 
18847
 
 
18848
 
 
18849
echo "$as_me:$LINENO: checking for void *" >&5
 
18850
echo $ECHO_N "checking for void *... $ECHO_C" >&6
 
18851
if test "${ac_cv_type_void_p+set}" = set; then
 
18852
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18853
else
 
18854
  cat >conftest.$ac_ext <<_ACEOF
 
18855
/* confdefs.h.  */
 
18856
_ACEOF
 
18857
cat confdefs.h >>conftest.$ac_ext
 
18858
cat >>conftest.$ac_ext <<_ACEOF
 
18859
/* end confdefs.h.  */
 
18860
$ac_includes_default
 
18861
int
 
18862
main ()
 
18863
{
 
18864
if ((void * *) 0)
 
18865
  return 0;
 
18866
if (sizeof (void *))
 
18867
  return 0;
 
18868
  ;
 
18869
  return 0;
 
18870
}
 
18871
_ACEOF
 
18872
rm -f conftest.$ac_objext
 
18873
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18874
  (eval $ac_compile) 2>conftest.er1
 
18875
  ac_status=$?
 
18876
  grep -v '^ *+' conftest.er1 >conftest.err
 
18877
  rm -f conftest.er1
 
18878
  cat conftest.err >&5
 
18879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18880
  (exit $ac_status); } &&
 
18881
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18882
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18883
  (eval $ac_try) 2>&5
 
18884
  ac_status=$?
 
18885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18886
  (exit $ac_status); }; } &&
 
18887
         { ac_try='test -s conftest.$ac_objext'
 
18888
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18889
  (eval $ac_try) 2>&5
 
18890
  ac_status=$?
 
18891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18892
  (exit $ac_status); }; }; then
 
18893
  ac_cv_type_void_p=yes
 
18894
else
 
18895
  echo "$as_me: failed program was:" >&5
 
18896
sed 's/^/| /' conftest.$ac_ext >&5
 
18897
 
 
18898
ac_cv_type_void_p=no
 
18899
fi
 
18900
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18901
fi
 
18902
echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
 
18903
echo "${ECHO_T}$ac_cv_type_void_p" >&6
 
18904
 
 
18905
echo "$as_me:$LINENO: checking size of void *" >&5
 
18906
echo $ECHO_N "checking size of void *... $ECHO_C" >&6
 
18907
if test "${ac_cv_sizeof_void_p+set}" = set; then
 
18908
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18909
else
 
18910
  if test "$ac_cv_type_void_p" = yes; then
 
18911
  # The cast to unsigned long works around a bug in the HP C Compiler
 
18912
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
18913
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
18914
  # This bug is HP SR number 8606223364.
 
18915
  if test "$cross_compiling" = yes; then
 
18916
  # Depending upon the size, compute the lo and hi bounds.
 
18917
cat >conftest.$ac_ext <<_ACEOF
 
18918
/* confdefs.h.  */
 
18919
_ACEOF
 
18920
cat confdefs.h >>conftest.$ac_ext
 
18921
cat >>conftest.$ac_ext <<_ACEOF
 
18922
/* end confdefs.h.  */
 
18923
$ac_includes_default
 
18924
int
 
18925
main ()
 
18926
{
 
18927
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
 
18928
test_array [0] = 0
 
18929
 
 
18930
  ;
 
18931
  return 0;
 
18932
}
 
18933
_ACEOF
 
18934
rm -f conftest.$ac_objext
 
18935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18936
  (eval $ac_compile) 2>conftest.er1
 
18937
  ac_status=$?
 
18938
  grep -v '^ *+' conftest.er1 >conftest.err
 
18939
  rm -f conftest.er1
 
18940
  cat conftest.err >&5
 
18941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18942
  (exit $ac_status); } &&
 
18943
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18944
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18945
  (eval $ac_try) 2>&5
 
18946
  ac_status=$?
 
18947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18948
  (exit $ac_status); }; } &&
 
18949
         { ac_try='test -s conftest.$ac_objext'
 
18950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18951
  (eval $ac_try) 2>&5
 
18952
  ac_status=$?
 
18953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18954
  (exit $ac_status); }; }; then
 
18955
  ac_lo=0 ac_mid=0
 
18956
  while :; do
 
18957
    cat >conftest.$ac_ext <<_ACEOF
 
18958
/* confdefs.h.  */
 
18959
_ACEOF
 
18960
cat confdefs.h >>conftest.$ac_ext
 
18961
cat >>conftest.$ac_ext <<_ACEOF
 
18962
/* end confdefs.h.  */
 
18963
$ac_includes_default
 
18964
int
 
18965
main ()
 
18966
{
 
18967
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
 
18968
test_array [0] = 0
 
18969
 
 
18970
  ;
 
18971
  return 0;
 
18972
}
 
18973
_ACEOF
 
18974
rm -f conftest.$ac_objext
 
18975
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18976
  (eval $ac_compile) 2>conftest.er1
 
18977
  ac_status=$?
 
18978
  grep -v '^ *+' conftest.er1 >conftest.err
 
18979
  rm -f conftest.er1
 
18980
  cat conftest.err >&5
 
18981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18982
  (exit $ac_status); } &&
 
18983
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18984
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18985
  (eval $ac_try) 2>&5
 
18986
  ac_status=$?
 
18987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18988
  (exit $ac_status); }; } &&
 
18989
         { ac_try='test -s conftest.$ac_objext'
 
18990
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18991
  (eval $ac_try) 2>&5
 
18992
  ac_status=$?
 
18993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18994
  (exit $ac_status); }; }; then
 
18995
  ac_hi=$ac_mid; break
 
18996
else
 
18997
  echo "$as_me: failed program was:" >&5
 
18998
sed 's/^/| /' conftest.$ac_ext >&5
 
18999
 
 
19000
ac_lo=`expr $ac_mid + 1`
 
19001
                    if test $ac_lo -le $ac_mid; then
 
19002
                      ac_lo= ac_hi=
 
19003
                      break
 
19004
                    fi
 
19005
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
19006
fi
 
19007
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19008
  done
 
19009
else
 
19010
  echo "$as_me: failed program was:" >&5
 
19011
sed 's/^/| /' conftest.$ac_ext >&5
 
19012
 
 
19013
cat >conftest.$ac_ext <<_ACEOF
 
19014
/* confdefs.h.  */
 
19015
_ACEOF
 
19016
cat confdefs.h >>conftest.$ac_ext
 
19017
cat >>conftest.$ac_ext <<_ACEOF
 
19018
/* end confdefs.h.  */
 
19019
$ac_includes_default
 
19020
int
 
19021
main ()
 
19022
{
 
19023
static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
 
19024
test_array [0] = 0
 
19025
 
 
19026
  ;
 
19027
  return 0;
 
19028
}
 
19029
_ACEOF
 
19030
rm -f conftest.$ac_objext
 
19031
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19032
  (eval $ac_compile) 2>conftest.er1
 
19033
  ac_status=$?
 
19034
  grep -v '^ *+' conftest.er1 >conftest.err
 
19035
  rm -f conftest.er1
 
19036
  cat conftest.err >&5
 
19037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19038
  (exit $ac_status); } &&
 
19039
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19040
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19041
  (eval $ac_try) 2>&5
 
19042
  ac_status=$?
 
19043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19044
  (exit $ac_status); }; } &&
 
19045
         { ac_try='test -s conftest.$ac_objext'
 
19046
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19047
  (eval $ac_try) 2>&5
 
19048
  ac_status=$?
 
19049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19050
  (exit $ac_status); }; }; then
 
19051
  ac_hi=-1 ac_mid=-1
 
19052
  while :; do
 
19053
    cat >conftest.$ac_ext <<_ACEOF
 
19054
/* confdefs.h.  */
 
19055
_ACEOF
 
19056
cat confdefs.h >>conftest.$ac_ext
 
19057
cat >>conftest.$ac_ext <<_ACEOF
 
19058
/* end confdefs.h.  */
 
19059
$ac_includes_default
 
19060
int
 
19061
main ()
 
19062
{
 
19063
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
 
19064
test_array [0] = 0
 
19065
 
 
19066
  ;
 
19067
  return 0;
 
19068
}
 
19069
_ACEOF
 
19070
rm -f conftest.$ac_objext
 
19071
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19072
  (eval $ac_compile) 2>conftest.er1
 
19073
  ac_status=$?
 
19074
  grep -v '^ *+' conftest.er1 >conftest.err
 
19075
  rm -f conftest.er1
 
19076
  cat conftest.err >&5
 
19077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19078
  (exit $ac_status); } &&
 
19079
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19080
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19081
  (eval $ac_try) 2>&5
 
19082
  ac_status=$?
 
19083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19084
  (exit $ac_status); }; } &&
 
19085
         { ac_try='test -s conftest.$ac_objext'
 
19086
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19087
  (eval $ac_try) 2>&5
 
19088
  ac_status=$?
 
19089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19090
  (exit $ac_status); }; }; then
 
19091
  ac_lo=$ac_mid; break
 
19092
else
 
19093
  echo "$as_me: failed program was:" >&5
 
19094
sed 's/^/| /' conftest.$ac_ext >&5
 
19095
 
 
19096
ac_hi=`expr '(' $ac_mid ')' - 1`
 
19097
                       if test $ac_mid -le $ac_hi; then
 
19098
                         ac_lo= ac_hi=
 
19099
                         break
 
19100
                       fi
 
19101
                       ac_mid=`expr 2 '*' $ac_mid`
 
19102
fi
 
19103
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19104
  done
 
19105
else
 
19106
  echo "$as_me: failed program was:" >&5
 
19107
sed 's/^/| /' conftest.$ac_ext >&5
 
19108
 
 
19109
ac_lo= ac_hi=
 
19110
fi
 
19111
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19112
fi
 
19113
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19114
# Binary search between lo and hi bounds.
 
19115
while test "x$ac_lo" != "x$ac_hi"; do
 
19116
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
19117
  cat >conftest.$ac_ext <<_ACEOF
 
19118
/* confdefs.h.  */
 
19119
_ACEOF
 
19120
cat confdefs.h >>conftest.$ac_ext
 
19121
cat >>conftest.$ac_ext <<_ACEOF
 
19122
/* end confdefs.h.  */
 
19123
$ac_includes_default
 
19124
int
 
19125
main ()
 
19126
{
 
19127
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
 
19128
test_array [0] = 0
 
19129
 
 
19130
  ;
 
19131
  return 0;
 
19132
}
 
19133
_ACEOF
 
19134
rm -f conftest.$ac_objext
 
19135
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19136
  (eval $ac_compile) 2>conftest.er1
 
19137
  ac_status=$?
 
19138
  grep -v '^ *+' conftest.er1 >conftest.err
 
19139
  rm -f conftest.er1
 
19140
  cat conftest.err >&5
 
19141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19142
  (exit $ac_status); } &&
 
19143
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19144
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19145
  (eval $ac_try) 2>&5
 
19146
  ac_status=$?
 
19147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19148
  (exit $ac_status); }; } &&
 
19149
         { ac_try='test -s conftest.$ac_objext'
 
19150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19151
  (eval $ac_try) 2>&5
 
19152
  ac_status=$?
 
19153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19154
  (exit $ac_status); }; }; then
 
19155
  ac_hi=$ac_mid
 
19156
else
 
19157
  echo "$as_me: failed program was:" >&5
 
19158
sed 's/^/| /' conftest.$ac_ext >&5
 
19159
 
 
19160
ac_lo=`expr '(' $ac_mid ')' + 1`
 
19161
fi
 
19162
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19163
done
 
19164
case $ac_lo in
 
19165
?*) ac_cv_sizeof_void_p=$ac_lo;;
 
19166
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
 
19167
See \`config.log' for more details." >&5
 
19168
echo "$as_me: error: cannot compute sizeof (void *), 77
 
19169
See \`config.log' for more details." >&2;}
 
19170
   { (exit 1); exit 1; }; } ;;
 
19171
esac
 
19172
else
 
19173
  if test "$cross_compiling" = yes; then
 
19174
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
19175
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
19176
   { (exit 1); exit 1; }; }
 
19177
else
 
19178
  cat >conftest.$ac_ext <<_ACEOF
 
19179
/* confdefs.h.  */
 
19180
_ACEOF
 
19181
cat confdefs.h >>conftest.$ac_ext
 
19182
cat >>conftest.$ac_ext <<_ACEOF
 
19183
/* end confdefs.h.  */
 
19184
$ac_includes_default
 
19185
long longval () { return (long) (sizeof (void *)); }
 
19186
unsigned long ulongval () { return (long) (sizeof (void *)); }
 
19187
#include <stdio.h>
 
19188
#include <stdlib.h>
 
19189
int
 
19190
main ()
 
19191
{
 
19192
 
 
19193
  FILE *f = fopen ("conftest.val", "w");
 
19194
  if (! f)
 
19195
    exit (1);
 
19196
  if (((long) (sizeof (void *))) < 0)
 
19197
    {
 
19198
      long i = longval ();
 
19199
      if (i != ((long) (sizeof (void *))))
 
19200
        exit (1);
 
19201
      fprintf (f, "%ld\n", i);
 
19202
    }
 
19203
  else
 
19204
    {
 
19205
      unsigned long i = ulongval ();
 
19206
      if (i != ((long) (sizeof (void *))))
 
19207
        exit (1);
 
19208
      fprintf (f, "%lu\n", i);
 
19209
    }
 
19210
  exit (ferror (f) || fclose (f) != 0);
 
19211
 
 
19212
  ;
 
19213
  return 0;
 
19214
}
 
19215
_ACEOF
 
19216
rm -f conftest$ac_exeext
 
19217
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19218
  (eval $ac_link) 2>&5
 
19219
  ac_status=$?
 
19220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19221
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
19222
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19223
  (eval $ac_try) 2>&5
 
19224
  ac_status=$?
 
19225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19226
  (exit $ac_status); }; }; then
 
19227
  ac_cv_sizeof_void_p=`cat conftest.val`
 
19228
else
 
19229
  echo "$as_me: program exited with status $ac_status" >&5
 
19230
echo "$as_me: failed program was:" >&5
 
19231
sed 's/^/| /' conftest.$ac_ext >&5
 
19232
 
 
19233
( exit $ac_status )
 
19234
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
 
19235
See \`config.log' for more details." >&5
 
19236
echo "$as_me: error: cannot compute sizeof (void *), 77
 
19237
See \`config.log' for more details." >&2;}
 
19238
   { (exit 1); exit 1; }; }
 
19239
fi
 
19240
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
19241
fi
 
19242
fi
 
19243
rm -f conftest.val
 
19244
else
 
19245
  ac_cv_sizeof_void_p=0
 
19246
fi
 
19247
fi
 
19248
echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
 
19249
echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
 
19250
cat >>confdefs.h <<_ACEOF
 
19251
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 
19252
_ACEOF
 
19253
 
 
19254
 
 
19255
echo "$as_me:$LINENO: checking for int" >&5
 
19256
echo $ECHO_N "checking for int... $ECHO_C" >&6
 
19257
if test "${ac_cv_type_int+set}" = set; then
 
19258
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19259
else
 
19260
  cat >conftest.$ac_ext <<_ACEOF
 
19261
/* confdefs.h.  */
 
19262
_ACEOF
 
19263
cat confdefs.h >>conftest.$ac_ext
 
19264
cat >>conftest.$ac_ext <<_ACEOF
 
19265
/* end confdefs.h.  */
 
19266
$ac_includes_default
 
19267
int
 
19268
main ()
 
19269
{
 
19270
if ((int *) 0)
 
19271
  return 0;
 
19272
if (sizeof (int))
 
19273
  return 0;
 
19274
  ;
 
19275
  return 0;
 
19276
}
 
19277
_ACEOF
 
19278
rm -f conftest.$ac_objext
 
19279
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19280
  (eval $ac_compile) 2>conftest.er1
 
19281
  ac_status=$?
 
19282
  grep -v '^ *+' conftest.er1 >conftest.err
 
19283
  rm -f conftest.er1
 
19284
  cat conftest.err >&5
 
19285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19286
  (exit $ac_status); } &&
 
19287
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19288
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19289
  (eval $ac_try) 2>&5
 
19290
  ac_status=$?
 
19291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19292
  (exit $ac_status); }; } &&
 
19293
         { ac_try='test -s conftest.$ac_objext'
 
19294
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19295
  (eval $ac_try) 2>&5
 
19296
  ac_status=$?
 
19297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19298
  (exit $ac_status); }; }; then
 
19299
  ac_cv_type_int=yes
 
19300
else
 
19301
  echo "$as_me: failed program was:" >&5
 
19302
sed 's/^/| /' conftest.$ac_ext >&5
 
19303
 
 
19304
ac_cv_type_int=no
 
19305
fi
 
19306
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19307
fi
 
19308
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 
19309
echo "${ECHO_T}$ac_cv_type_int" >&6
 
19310
 
 
19311
echo "$as_me:$LINENO: checking size of int" >&5
 
19312
echo $ECHO_N "checking size of int... $ECHO_C" >&6
 
19313
if test "${ac_cv_sizeof_int+set}" = set; then
 
19314
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19315
else
 
19316
  if test "$ac_cv_type_int" = yes; then
 
19317
  # The cast to unsigned long works around a bug in the HP C Compiler
 
19318
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
19319
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
19320
  # This bug is HP SR number 8606223364.
 
19321
  if test "$cross_compiling" = yes; then
 
19322
  # Depending upon the size, compute the lo and hi bounds.
 
19323
cat >conftest.$ac_ext <<_ACEOF
 
19324
/* confdefs.h.  */
 
19325
_ACEOF
 
19326
cat confdefs.h >>conftest.$ac_ext
 
19327
cat >>conftest.$ac_ext <<_ACEOF
 
19328
/* end confdefs.h.  */
 
19329
$ac_includes_default
 
19330
int
 
19331
main ()
 
19332
{
 
19333
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 
19334
test_array [0] = 0
 
19335
 
 
19336
  ;
 
19337
  return 0;
 
19338
}
 
19339
_ACEOF
 
19340
rm -f conftest.$ac_objext
 
19341
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19342
  (eval $ac_compile) 2>conftest.er1
 
19343
  ac_status=$?
 
19344
  grep -v '^ *+' conftest.er1 >conftest.err
 
19345
  rm -f conftest.er1
 
19346
  cat conftest.err >&5
 
19347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19348
  (exit $ac_status); } &&
 
19349
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19350
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19351
  (eval $ac_try) 2>&5
 
19352
  ac_status=$?
 
19353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19354
  (exit $ac_status); }; } &&
 
19355
         { ac_try='test -s conftest.$ac_objext'
 
19356
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19357
  (eval $ac_try) 2>&5
 
19358
  ac_status=$?
 
19359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19360
  (exit $ac_status); }; }; then
 
19361
  ac_lo=0 ac_mid=0
 
19362
  while :; do
 
19363
    cat >conftest.$ac_ext <<_ACEOF
 
19364
/* confdefs.h.  */
 
19365
_ACEOF
 
19366
cat confdefs.h >>conftest.$ac_ext
 
19367
cat >>conftest.$ac_ext <<_ACEOF
 
19368
/* end confdefs.h.  */
 
19369
$ac_includes_default
 
19370
int
 
19371
main ()
 
19372
{
 
19373
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
19374
test_array [0] = 0
 
19375
 
 
19376
  ;
 
19377
  return 0;
 
19378
}
 
19379
_ACEOF
 
19380
rm -f conftest.$ac_objext
 
19381
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19382
  (eval $ac_compile) 2>conftest.er1
 
19383
  ac_status=$?
 
19384
  grep -v '^ *+' conftest.er1 >conftest.err
 
19385
  rm -f conftest.er1
 
19386
  cat conftest.err >&5
 
19387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19388
  (exit $ac_status); } &&
 
19389
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19390
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19391
  (eval $ac_try) 2>&5
 
19392
  ac_status=$?
 
19393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19394
  (exit $ac_status); }; } &&
 
19395
         { ac_try='test -s conftest.$ac_objext'
 
19396
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19397
  (eval $ac_try) 2>&5
 
19398
  ac_status=$?
 
19399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19400
  (exit $ac_status); }; }; then
 
19401
  ac_hi=$ac_mid; break
 
19402
else
 
19403
  echo "$as_me: failed program was:" >&5
 
19404
sed 's/^/| /' conftest.$ac_ext >&5
 
19405
 
 
19406
ac_lo=`expr $ac_mid + 1`
 
19407
                    if test $ac_lo -le $ac_mid; then
 
19408
                      ac_lo= ac_hi=
 
19409
                      break
 
19410
                    fi
 
19411
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
19412
fi
 
19413
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19414
  done
 
19415
else
 
19416
  echo "$as_me: failed program was:" >&5
 
19417
sed 's/^/| /' conftest.$ac_ext >&5
 
19418
 
 
19419
cat >conftest.$ac_ext <<_ACEOF
 
19420
/* confdefs.h.  */
 
19421
_ACEOF
 
19422
cat confdefs.h >>conftest.$ac_ext
 
19423
cat >>conftest.$ac_ext <<_ACEOF
 
19424
/* end confdefs.h.  */
 
19425
$ac_includes_default
 
19426
int
 
19427
main ()
 
19428
{
 
19429
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 
19430
test_array [0] = 0
 
19431
 
 
19432
  ;
 
19433
  return 0;
 
19434
}
 
19435
_ACEOF
 
19436
rm -f conftest.$ac_objext
 
19437
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19438
  (eval $ac_compile) 2>conftest.er1
 
19439
  ac_status=$?
 
19440
  grep -v '^ *+' conftest.er1 >conftest.err
 
19441
  rm -f conftest.er1
 
19442
  cat conftest.err >&5
 
19443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19444
  (exit $ac_status); } &&
 
19445
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19446
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19447
  (eval $ac_try) 2>&5
 
19448
  ac_status=$?
 
19449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19450
  (exit $ac_status); }; } &&
 
19451
         { ac_try='test -s conftest.$ac_objext'
 
19452
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19453
  (eval $ac_try) 2>&5
 
19454
  ac_status=$?
 
19455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19456
  (exit $ac_status); }; }; then
 
19457
  ac_hi=-1 ac_mid=-1
 
19458
  while :; do
 
19459
    cat >conftest.$ac_ext <<_ACEOF
 
19460
/* confdefs.h.  */
 
19461
_ACEOF
 
19462
cat confdefs.h >>conftest.$ac_ext
 
19463
cat >>conftest.$ac_ext <<_ACEOF
 
19464
/* end confdefs.h.  */
 
19465
$ac_includes_default
 
19466
int
 
19467
main ()
 
19468
{
 
19469
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 
19470
test_array [0] = 0
 
19471
 
 
19472
  ;
 
19473
  return 0;
 
19474
}
 
19475
_ACEOF
 
19476
rm -f conftest.$ac_objext
 
19477
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19478
  (eval $ac_compile) 2>conftest.er1
 
19479
  ac_status=$?
 
19480
  grep -v '^ *+' conftest.er1 >conftest.err
 
19481
  rm -f conftest.er1
 
19482
  cat conftest.err >&5
 
19483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19484
  (exit $ac_status); } &&
 
19485
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19486
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19487
  (eval $ac_try) 2>&5
 
19488
  ac_status=$?
 
19489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19490
  (exit $ac_status); }; } &&
 
19491
         { ac_try='test -s conftest.$ac_objext'
 
19492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19493
  (eval $ac_try) 2>&5
 
19494
  ac_status=$?
 
19495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19496
  (exit $ac_status); }; }; then
 
19497
  ac_lo=$ac_mid; break
 
19498
else
 
19499
  echo "$as_me: failed program was:" >&5
 
19500
sed 's/^/| /' conftest.$ac_ext >&5
 
19501
 
 
19502
ac_hi=`expr '(' $ac_mid ')' - 1`
 
19503
                       if test $ac_mid -le $ac_hi; then
 
19504
                         ac_lo= ac_hi=
 
19505
                         break
 
19506
                       fi
 
19507
                       ac_mid=`expr 2 '*' $ac_mid`
 
19508
fi
 
19509
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19510
  done
 
19511
else
 
19512
  echo "$as_me: failed program was:" >&5
 
19513
sed 's/^/| /' conftest.$ac_ext >&5
 
19514
 
 
19515
ac_lo= ac_hi=
 
19516
fi
 
19517
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19518
fi
 
19519
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19520
# Binary search between lo and hi bounds.
 
19521
while test "x$ac_lo" != "x$ac_hi"; do
 
19522
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
19523
  cat >conftest.$ac_ext <<_ACEOF
 
19524
/* confdefs.h.  */
 
19525
_ACEOF
 
19526
cat confdefs.h >>conftest.$ac_ext
 
19527
cat >>conftest.$ac_ext <<_ACEOF
 
19528
/* end confdefs.h.  */
 
19529
$ac_includes_default
 
19530
int
 
19531
main ()
 
19532
{
 
19533
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
19534
test_array [0] = 0
 
19535
 
 
19536
  ;
 
19537
  return 0;
 
19538
}
 
19539
_ACEOF
 
19540
rm -f conftest.$ac_objext
 
19541
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19542
  (eval $ac_compile) 2>conftest.er1
 
19543
  ac_status=$?
 
19544
  grep -v '^ *+' conftest.er1 >conftest.err
 
19545
  rm -f conftest.er1
 
19546
  cat conftest.err >&5
 
19547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19548
  (exit $ac_status); } &&
 
19549
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19550
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19551
  (eval $ac_try) 2>&5
 
19552
  ac_status=$?
 
19553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19554
  (exit $ac_status); }; } &&
 
19555
         { ac_try='test -s conftest.$ac_objext'
 
19556
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19557
  (eval $ac_try) 2>&5
 
19558
  ac_status=$?
 
19559
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19560
  (exit $ac_status); }; }; then
 
19561
  ac_hi=$ac_mid
 
19562
else
 
19563
  echo "$as_me: failed program was:" >&5
 
19564
sed 's/^/| /' conftest.$ac_ext >&5
 
19565
 
 
19566
ac_lo=`expr '(' $ac_mid ')' + 1`
 
19567
fi
 
19568
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19569
done
 
19570
case $ac_lo in
 
19571
?*) ac_cv_sizeof_int=$ac_lo;;
 
19572
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
19573
See \`config.log' for more details." >&5
 
19574
echo "$as_me: error: cannot compute sizeof (int), 77
 
19575
See \`config.log' for more details." >&2;}
 
19576
   { (exit 1); exit 1; }; } ;;
 
19577
esac
 
19578
else
 
19579
  if test "$cross_compiling" = yes; then
 
19580
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
19581
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
19582
   { (exit 1); exit 1; }; }
 
19583
else
 
19584
  cat >conftest.$ac_ext <<_ACEOF
 
19585
/* confdefs.h.  */
 
19586
_ACEOF
 
19587
cat confdefs.h >>conftest.$ac_ext
 
19588
cat >>conftest.$ac_ext <<_ACEOF
 
19589
/* end confdefs.h.  */
 
19590
$ac_includes_default
 
19591
long longval () { return (long) (sizeof (int)); }
 
19592
unsigned long ulongval () { return (long) (sizeof (int)); }
 
19593
#include <stdio.h>
 
19594
#include <stdlib.h>
 
19595
int
 
19596
main ()
 
19597
{
 
19598
 
 
19599
  FILE *f = fopen ("conftest.val", "w");
 
19600
  if (! f)
 
19601
    exit (1);
 
19602
  if (((long) (sizeof (int))) < 0)
 
19603
    {
 
19604
      long i = longval ();
 
19605
      if (i != ((long) (sizeof (int))))
 
19606
        exit (1);
 
19607
      fprintf (f, "%ld\n", i);
 
19608
    }
 
19609
  else
 
19610
    {
 
19611
      unsigned long i = ulongval ();
 
19612
      if (i != ((long) (sizeof (int))))
 
19613
        exit (1);
 
19614
      fprintf (f, "%lu\n", i);
 
19615
    }
 
19616
  exit (ferror (f) || fclose (f) != 0);
 
19617
 
 
19618
  ;
 
19619
  return 0;
 
19620
}
 
19621
_ACEOF
 
19622
rm -f conftest$ac_exeext
 
19623
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19624
  (eval $ac_link) 2>&5
 
19625
  ac_status=$?
 
19626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19627
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
19628
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19629
  (eval $ac_try) 2>&5
 
19630
  ac_status=$?
 
19631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19632
  (exit $ac_status); }; }; then
 
19633
  ac_cv_sizeof_int=`cat conftest.val`
 
19634
else
 
19635
  echo "$as_me: program exited with status $ac_status" >&5
 
19636
echo "$as_me: failed program was:" >&5
 
19637
sed 's/^/| /' conftest.$ac_ext >&5
 
19638
 
 
19639
( exit $ac_status )
 
19640
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
19641
See \`config.log' for more details." >&5
 
19642
echo "$as_me: error: cannot compute sizeof (int), 77
 
19643
See \`config.log' for more details." >&2;}
 
19644
   { (exit 1); exit 1; }; }
 
19645
fi
 
19646
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
19647
fi
 
19648
fi
 
19649
rm -f conftest.val
 
19650
else
 
19651
  ac_cv_sizeof_int=0
 
19652
fi
 
19653
fi
 
19654
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
19655
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 
19656
cat >>confdefs.h <<_ACEOF
 
19657
#define SIZEOF_INT $ac_cv_sizeof_int
 
19658
_ACEOF
 
19659
 
 
19660
 
 
19661
echo "$as_me:$LINENO: checking for long" >&5
 
19662
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
19663
if test "${ac_cv_type_long+set}" = set; then
 
19664
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19665
else
 
19666
  cat >conftest.$ac_ext <<_ACEOF
 
19667
/* confdefs.h.  */
 
19668
_ACEOF
 
19669
cat confdefs.h >>conftest.$ac_ext
 
19670
cat >>conftest.$ac_ext <<_ACEOF
 
19671
/* end confdefs.h.  */
 
19672
$ac_includes_default
 
19673
int
 
19674
main ()
 
19675
{
 
19676
if ((long *) 0)
 
19677
  return 0;
 
19678
if (sizeof (long))
 
19679
  return 0;
 
19680
  ;
 
19681
  return 0;
 
19682
}
 
19683
_ACEOF
 
19684
rm -f conftest.$ac_objext
 
19685
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19686
  (eval $ac_compile) 2>conftest.er1
 
19687
  ac_status=$?
 
19688
  grep -v '^ *+' conftest.er1 >conftest.err
 
19689
  rm -f conftest.er1
 
19690
  cat conftest.err >&5
 
19691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19692
  (exit $ac_status); } &&
 
19693
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19694
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19695
  (eval $ac_try) 2>&5
 
19696
  ac_status=$?
 
19697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19698
  (exit $ac_status); }; } &&
 
19699
         { ac_try='test -s conftest.$ac_objext'
 
19700
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19701
  (eval $ac_try) 2>&5
 
19702
  ac_status=$?
 
19703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19704
  (exit $ac_status); }; }; then
 
19705
  ac_cv_type_long=yes
 
19706
else
 
19707
  echo "$as_me: failed program was:" >&5
 
19708
sed 's/^/| /' conftest.$ac_ext >&5
 
19709
 
 
19710
ac_cv_type_long=no
 
19711
fi
 
19712
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19713
fi
 
19714
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
19715
echo "${ECHO_T}$ac_cv_type_long" >&6
 
19716
 
 
19717
echo "$as_me:$LINENO: checking size of long" >&5
 
19718
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
19719
if test "${ac_cv_sizeof_long+set}" = set; then
 
19720
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19721
else
 
19722
  if test "$ac_cv_type_long" = yes; then
 
19723
  # The cast to unsigned long works around a bug in the HP C Compiler
 
19724
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
19725
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
19726
  # This bug is HP SR number 8606223364.
 
19727
  if test "$cross_compiling" = yes; then
 
19728
  # Depending upon the size, compute the lo and hi bounds.
 
19729
cat >conftest.$ac_ext <<_ACEOF
 
19730
/* confdefs.h.  */
 
19731
_ACEOF
 
19732
cat confdefs.h >>conftest.$ac_ext
 
19733
cat >>conftest.$ac_ext <<_ACEOF
 
19734
/* end confdefs.h.  */
 
19735
$ac_includes_default
 
19736
int
 
19737
main ()
 
19738
{
 
19739
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
19740
test_array [0] = 0
 
19741
 
 
19742
  ;
 
19743
  return 0;
 
19744
}
 
19745
_ACEOF
 
19746
rm -f conftest.$ac_objext
 
19747
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19748
  (eval $ac_compile) 2>conftest.er1
 
19749
  ac_status=$?
 
19750
  grep -v '^ *+' conftest.er1 >conftest.err
 
19751
  rm -f conftest.er1
 
19752
  cat conftest.err >&5
 
19753
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19754
  (exit $ac_status); } &&
 
19755
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19756
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19757
  (eval $ac_try) 2>&5
 
19758
  ac_status=$?
 
19759
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19760
  (exit $ac_status); }; } &&
 
19761
         { ac_try='test -s conftest.$ac_objext'
 
19762
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19763
  (eval $ac_try) 2>&5
 
19764
  ac_status=$?
 
19765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19766
  (exit $ac_status); }; }; then
 
19767
  ac_lo=0 ac_mid=0
 
19768
  while :; do
 
19769
    cat >conftest.$ac_ext <<_ACEOF
 
19770
/* confdefs.h.  */
 
19771
_ACEOF
 
19772
cat confdefs.h >>conftest.$ac_ext
 
19773
cat >>conftest.$ac_ext <<_ACEOF
 
19774
/* end confdefs.h.  */
 
19775
$ac_includes_default
 
19776
int
 
19777
main ()
 
19778
{
 
19779
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
19780
test_array [0] = 0
 
19781
 
 
19782
  ;
 
19783
  return 0;
 
19784
}
 
19785
_ACEOF
 
19786
rm -f conftest.$ac_objext
 
19787
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19788
  (eval $ac_compile) 2>conftest.er1
 
19789
  ac_status=$?
 
19790
  grep -v '^ *+' conftest.er1 >conftest.err
 
19791
  rm -f conftest.er1
 
19792
  cat conftest.err >&5
 
19793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19794
  (exit $ac_status); } &&
 
19795
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19796
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19797
  (eval $ac_try) 2>&5
 
19798
  ac_status=$?
 
19799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19800
  (exit $ac_status); }; } &&
 
19801
         { ac_try='test -s conftest.$ac_objext'
 
19802
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19803
  (eval $ac_try) 2>&5
 
19804
  ac_status=$?
 
19805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19806
  (exit $ac_status); }; }; then
 
19807
  ac_hi=$ac_mid; break
 
19808
else
 
19809
  echo "$as_me: failed program was:" >&5
 
19810
sed 's/^/| /' conftest.$ac_ext >&5
 
19811
 
 
19812
ac_lo=`expr $ac_mid + 1`
 
19813
                    if test $ac_lo -le $ac_mid; then
 
19814
                      ac_lo= ac_hi=
 
19815
                      break
 
19816
                    fi
 
19817
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
19818
fi
 
19819
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19820
  done
 
19821
else
 
19822
  echo "$as_me: failed program was:" >&5
 
19823
sed 's/^/| /' conftest.$ac_ext >&5
 
19824
 
 
19825
cat >conftest.$ac_ext <<_ACEOF
 
19826
/* confdefs.h.  */
 
19827
_ACEOF
 
19828
cat confdefs.h >>conftest.$ac_ext
 
19829
cat >>conftest.$ac_ext <<_ACEOF
 
19830
/* end confdefs.h.  */
 
19831
$ac_includes_default
 
19832
int
 
19833
main ()
 
19834
{
 
19835
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
19836
test_array [0] = 0
 
19837
 
 
19838
  ;
 
19839
  return 0;
 
19840
}
 
19841
_ACEOF
 
19842
rm -f conftest.$ac_objext
 
19843
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19844
  (eval $ac_compile) 2>conftest.er1
 
19845
  ac_status=$?
 
19846
  grep -v '^ *+' conftest.er1 >conftest.err
 
19847
  rm -f conftest.er1
 
19848
  cat conftest.err >&5
 
19849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19850
  (exit $ac_status); } &&
 
19851
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19852
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19853
  (eval $ac_try) 2>&5
 
19854
  ac_status=$?
 
19855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19856
  (exit $ac_status); }; } &&
 
19857
         { ac_try='test -s conftest.$ac_objext'
 
19858
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19859
  (eval $ac_try) 2>&5
 
19860
  ac_status=$?
 
19861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19862
  (exit $ac_status); }; }; then
 
19863
  ac_hi=-1 ac_mid=-1
 
19864
  while :; do
 
19865
    cat >conftest.$ac_ext <<_ACEOF
 
19866
/* confdefs.h.  */
 
19867
_ACEOF
 
19868
cat confdefs.h >>conftest.$ac_ext
 
19869
cat >>conftest.$ac_ext <<_ACEOF
 
19870
/* end confdefs.h.  */
 
19871
$ac_includes_default
 
19872
int
 
19873
main ()
 
19874
{
 
19875
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
19876
test_array [0] = 0
 
19877
 
 
19878
  ;
 
19879
  return 0;
 
19880
}
 
19881
_ACEOF
 
19882
rm -f conftest.$ac_objext
 
19883
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19884
  (eval $ac_compile) 2>conftest.er1
 
19885
  ac_status=$?
 
19886
  grep -v '^ *+' conftest.er1 >conftest.err
 
19887
  rm -f conftest.er1
 
19888
  cat conftest.err >&5
 
19889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19890
  (exit $ac_status); } &&
 
19891
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19892
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19893
  (eval $ac_try) 2>&5
 
19894
  ac_status=$?
 
19895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19896
  (exit $ac_status); }; } &&
 
19897
         { ac_try='test -s conftest.$ac_objext'
 
19898
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19899
  (eval $ac_try) 2>&5
 
19900
  ac_status=$?
 
19901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19902
  (exit $ac_status); }; }; then
 
19903
  ac_lo=$ac_mid; break
 
19904
else
 
19905
  echo "$as_me: failed program was:" >&5
 
19906
sed 's/^/| /' conftest.$ac_ext >&5
 
19907
 
 
19908
ac_hi=`expr '(' $ac_mid ')' - 1`
 
19909
                       if test $ac_mid -le $ac_hi; then
 
19910
                         ac_lo= ac_hi=
 
19911
                         break
 
19912
                       fi
 
19913
                       ac_mid=`expr 2 '*' $ac_mid`
 
19914
fi
 
19915
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19916
  done
 
19917
else
 
19918
  echo "$as_me: failed program was:" >&5
 
19919
sed 's/^/| /' conftest.$ac_ext >&5
 
19920
 
 
19921
ac_lo= ac_hi=
 
19922
fi
 
19923
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19924
fi
 
19925
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19926
# Binary search between lo and hi bounds.
 
19927
while test "x$ac_lo" != "x$ac_hi"; do
 
19928
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
19929
  cat >conftest.$ac_ext <<_ACEOF
 
19930
/* confdefs.h.  */
 
19931
_ACEOF
 
19932
cat confdefs.h >>conftest.$ac_ext
 
19933
cat >>conftest.$ac_ext <<_ACEOF
 
19934
/* end confdefs.h.  */
 
19935
$ac_includes_default
 
19936
int
 
19937
main ()
 
19938
{
 
19939
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
19940
test_array [0] = 0
 
19941
 
 
19942
  ;
 
19943
  return 0;
 
19944
}
 
19945
_ACEOF
 
19946
rm -f conftest.$ac_objext
 
19947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19948
  (eval $ac_compile) 2>conftest.er1
 
19949
  ac_status=$?
 
19950
  grep -v '^ *+' conftest.er1 >conftest.err
 
19951
  rm -f conftest.er1
 
19952
  cat conftest.err >&5
 
19953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19954
  (exit $ac_status); } &&
 
19955
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19956
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19957
  (eval $ac_try) 2>&5
 
19958
  ac_status=$?
 
19959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19960
  (exit $ac_status); }; } &&
 
19961
         { ac_try='test -s conftest.$ac_objext'
 
19962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19963
  (eval $ac_try) 2>&5
 
19964
  ac_status=$?
 
19965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19966
  (exit $ac_status); }; }; then
 
19967
  ac_hi=$ac_mid
 
19968
else
 
19969
  echo "$as_me: failed program was:" >&5
 
19970
sed 's/^/| /' conftest.$ac_ext >&5
 
19971
 
 
19972
ac_lo=`expr '(' $ac_mid ')' + 1`
 
19973
fi
 
19974
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19975
done
 
19976
case $ac_lo in
 
19977
?*) ac_cv_sizeof_long=$ac_lo;;
 
19978
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
19979
See \`config.log' for more details." >&5
 
19980
echo "$as_me: error: cannot compute sizeof (long), 77
 
19981
See \`config.log' for more details." >&2;}
 
19982
   { (exit 1); exit 1; }; } ;;
 
19983
esac
 
19984
else
 
19985
  if test "$cross_compiling" = yes; then
 
19986
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
19987
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
19988
   { (exit 1); exit 1; }; }
 
19989
else
 
19990
  cat >conftest.$ac_ext <<_ACEOF
 
19991
/* confdefs.h.  */
 
19992
_ACEOF
 
19993
cat confdefs.h >>conftest.$ac_ext
 
19994
cat >>conftest.$ac_ext <<_ACEOF
 
19995
/* end confdefs.h.  */
 
19996
$ac_includes_default
 
19997
long longval () { return (long) (sizeof (long)); }
 
19998
unsigned long ulongval () { return (long) (sizeof (long)); }
 
19999
#include <stdio.h>
 
20000
#include <stdlib.h>
 
20001
int
 
20002
main ()
 
20003
{
 
20004
 
 
20005
  FILE *f = fopen ("conftest.val", "w");
 
20006
  if (! f)
 
20007
    exit (1);
 
20008
  if (((long) (sizeof (long))) < 0)
 
20009
    {
 
20010
      long i = longval ();
 
20011
      if (i != ((long) (sizeof (long))))
 
20012
        exit (1);
 
20013
      fprintf (f, "%ld\n", i);
 
20014
    }
 
20015
  else
 
20016
    {
 
20017
      unsigned long i = ulongval ();
 
20018
      if (i != ((long) (sizeof (long))))
 
20019
        exit (1);
 
20020
      fprintf (f, "%lu\n", i);
 
20021
    }
 
20022
  exit (ferror (f) || fclose (f) != 0);
 
20023
 
 
20024
  ;
 
20025
  return 0;
 
20026
}
 
20027
_ACEOF
 
20028
rm -f conftest$ac_exeext
 
20029
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20030
  (eval $ac_link) 2>&5
 
20031
  ac_status=$?
 
20032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20033
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
20034
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20035
  (eval $ac_try) 2>&5
 
20036
  ac_status=$?
 
20037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20038
  (exit $ac_status); }; }; then
 
20039
  ac_cv_sizeof_long=`cat conftest.val`
 
20040
else
 
20041
  echo "$as_me: program exited with status $ac_status" >&5
 
20042
echo "$as_me: failed program was:" >&5
 
20043
sed 's/^/| /' conftest.$ac_ext >&5
 
20044
 
 
20045
( exit $ac_status )
 
20046
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
20047
See \`config.log' for more details." >&5
 
20048
echo "$as_me: error: cannot compute sizeof (long), 77
 
20049
See \`config.log' for more details." >&2;}
 
20050
   { (exit 1); exit 1; }; }
 
20051
fi
 
20052
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20053
fi
 
20054
fi
 
20055
rm -f conftest.val
 
20056
else
 
20057
  ac_cv_sizeof_long=0
 
20058
fi
 
20059
fi
 
20060
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
20061
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
20062
cat >>confdefs.h <<_ACEOF
 
20063
#define SIZEOF_LONG $ac_cv_sizeof_long
 
20064
_ACEOF
 
20065
 
 
20066
 
 
20067
echo "$as_me:$LINENO: checking for size_t" >&5
 
20068
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
20069
if test "${ac_cv_type_size_t+set}" = set; then
 
20070
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20071
else
 
20072
  cat >conftest.$ac_ext <<_ACEOF
 
20073
/* confdefs.h.  */
 
20074
_ACEOF
 
20075
cat confdefs.h >>conftest.$ac_ext
 
20076
cat >>conftest.$ac_ext <<_ACEOF
 
20077
/* end confdefs.h.  */
 
20078
$ac_includes_default
 
20079
int
 
20080
main ()
 
20081
{
 
20082
if ((size_t *) 0)
 
20083
  return 0;
 
20084
if (sizeof (size_t))
 
20085
  return 0;
 
20086
  ;
 
20087
  return 0;
 
20088
}
 
20089
_ACEOF
 
20090
rm -f conftest.$ac_objext
 
20091
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20092
  (eval $ac_compile) 2>conftest.er1
 
20093
  ac_status=$?
 
20094
  grep -v '^ *+' conftest.er1 >conftest.err
 
20095
  rm -f conftest.er1
 
20096
  cat conftest.err >&5
 
20097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20098
  (exit $ac_status); } &&
 
20099
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20100
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20101
  (eval $ac_try) 2>&5
 
20102
  ac_status=$?
 
20103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20104
  (exit $ac_status); }; } &&
 
20105
         { ac_try='test -s conftest.$ac_objext'
 
20106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20107
  (eval $ac_try) 2>&5
 
20108
  ac_status=$?
 
20109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20110
  (exit $ac_status); }; }; then
 
20111
  ac_cv_type_size_t=yes
 
20112
else
 
20113
  echo "$as_me: failed program was:" >&5
 
20114
sed 's/^/| /' conftest.$ac_ext >&5
 
20115
 
 
20116
ac_cv_type_size_t=no
 
20117
fi
 
20118
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20119
fi
 
20120
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
20121
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
20122
 
 
20123
echo "$as_me:$LINENO: checking size of size_t" >&5
 
20124
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
 
20125
if test "${ac_cv_sizeof_size_t+set}" = set; then
 
20126
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20127
else
 
20128
  if test "$ac_cv_type_size_t" = yes; then
 
20129
  # The cast to unsigned long works around a bug in the HP C Compiler
 
20130
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
20131
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
20132
  # This bug is HP SR number 8606223364.
 
20133
  if test "$cross_compiling" = yes; then
 
20134
  # Depending upon the size, compute the lo and hi bounds.
 
20135
cat >conftest.$ac_ext <<_ACEOF
 
20136
/* confdefs.h.  */
 
20137
_ACEOF
 
20138
cat confdefs.h >>conftest.$ac_ext
 
20139
cat >>conftest.$ac_ext <<_ACEOF
 
20140
/* end confdefs.h.  */
 
20141
$ac_includes_default
 
20142
int
 
20143
main ()
 
20144
{
 
20145
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
 
20146
test_array [0] = 0
 
20147
 
 
20148
  ;
 
20149
  return 0;
 
20150
}
 
20151
_ACEOF
 
20152
rm -f conftest.$ac_objext
 
20153
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20154
  (eval $ac_compile) 2>conftest.er1
 
20155
  ac_status=$?
 
20156
  grep -v '^ *+' conftest.er1 >conftest.err
 
20157
  rm -f conftest.er1
 
20158
  cat conftest.err >&5
 
20159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20160
  (exit $ac_status); } &&
 
20161
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20162
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20163
  (eval $ac_try) 2>&5
 
20164
  ac_status=$?
 
20165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20166
  (exit $ac_status); }; } &&
 
20167
         { ac_try='test -s conftest.$ac_objext'
 
20168
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20169
  (eval $ac_try) 2>&5
 
20170
  ac_status=$?
 
20171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20172
  (exit $ac_status); }; }; then
 
20173
  ac_lo=0 ac_mid=0
 
20174
  while :; do
 
20175
    cat >conftest.$ac_ext <<_ACEOF
 
20176
/* confdefs.h.  */
 
20177
_ACEOF
 
20178
cat confdefs.h >>conftest.$ac_ext
 
20179
cat >>conftest.$ac_ext <<_ACEOF
 
20180
/* end confdefs.h.  */
 
20181
$ac_includes_default
 
20182
int
 
20183
main ()
 
20184
{
 
20185
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
20186
test_array [0] = 0
 
20187
 
 
20188
  ;
 
20189
  return 0;
 
20190
}
 
20191
_ACEOF
 
20192
rm -f conftest.$ac_objext
 
20193
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20194
  (eval $ac_compile) 2>conftest.er1
 
20195
  ac_status=$?
 
20196
  grep -v '^ *+' conftest.er1 >conftest.err
 
20197
  rm -f conftest.er1
 
20198
  cat conftest.err >&5
 
20199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20200
  (exit $ac_status); } &&
 
20201
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20202
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20203
  (eval $ac_try) 2>&5
 
20204
  ac_status=$?
 
20205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20206
  (exit $ac_status); }; } &&
 
20207
         { ac_try='test -s conftest.$ac_objext'
 
20208
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20209
  (eval $ac_try) 2>&5
 
20210
  ac_status=$?
 
20211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20212
  (exit $ac_status); }; }; then
 
20213
  ac_hi=$ac_mid; break
 
20214
else
 
20215
  echo "$as_me: failed program was:" >&5
 
20216
sed 's/^/| /' conftest.$ac_ext >&5
 
20217
 
 
20218
ac_lo=`expr $ac_mid + 1`
 
20219
                    if test $ac_lo -le $ac_mid; then
 
20220
                      ac_lo= ac_hi=
 
20221
                      break
 
20222
                    fi
 
20223
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
20224
fi
 
20225
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20226
  done
 
20227
else
 
20228
  echo "$as_me: failed program was:" >&5
 
20229
sed 's/^/| /' conftest.$ac_ext >&5
 
20230
 
 
20231
cat >conftest.$ac_ext <<_ACEOF
 
20232
/* confdefs.h.  */
 
20233
_ACEOF
 
20234
cat confdefs.h >>conftest.$ac_ext
 
20235
cat >>conftest.$ac_ext <<_ACEOF
 
20236
/* end confdefs.h.  */
 
20237
$ac_includes_default
 
20238
int
 
20239
main ()
 
20240
{
 
20241
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
 
20242
test_array [0] = 0
 
20243
 
 
20244
  ;
 
20245
  return 0;
 
20246
}
 
20247
_ACEOF
 
20248
rm -f conftest.$ac_objext
 
20249
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20250
  (eval $ac_compile) 2>conftest.er1
 
20251
  ac_status=$?
 
20252
  grep -v '^ *+' conftest.er1 >conftest.err
 
20253
  rm -f conftest.er1
 
20254
  cat conftest.err >&5
 
20255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20256
  (exit $ac_status); } &&
 
20257
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20259
  (eval $ac_try) 2>&5
 
20260
  ac_status=$?
 
20261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20262
  (exit $ac_status); }; } &&
 
20263
         { ac_try='test -s conftest.$ac_objext'
 
20264
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20265
  (eval $ac_try) 2>&5
 
20266
  ac_status=$?
 
20267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20268
  (exit $ac_status); }; }; then
 
20269
  ac_hi=-1 ac_mid=-1
 
20270
  while :; do
 
20271
    cat >conftest.$ac_ext <<_ACEOF
 
20272
/* confdefs.h.  */
 
20273
_ACEOF
 
20274
cat confdefs.h >>conftest.$ac_ext
 
20275
cat >>conftest.$ac_ext <<_ACEOF
 
20276
/* end confdefs.h.  */
 
20277
$ac_includes_default
 
20278
int
 
20279
main ()
 
20280
{
 
20281
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
 
20282
test_array [0] = 0
 
20283
 
 
20284
  ;
 
20285
  return 0;
 
20286
}
 
20287
_ACEOF
 
20288
rm -f conftest.$ac_objext
 
20289
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20290
  (eval $ac_compile) 2>conftest.er1
 
20291
  ac_status=$?
 
20292
  grep -v '^ *+' conftest.er1 >conftest.err
 
20293
  rm -f conftest.er1
 
20294
  cat conftest.err >&5
 
20295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20296
  (exit $ac_status); } &&
 
20297
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20299
  (eval $ac_try) 2>&5
 
20300
  ac_status=$?
 
20301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20302
  (exit $ac_status); }; } &&
 
20303
         { ac_try='test -s conftest.$ac_objext'
 
20304
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20305
  (eval $ac_try) 2>&5
 
20306
  ac_status=$?
 
20307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20308
  (exit $ac_status); }; }; then
 
20309
  ac_lo=$ac_mid; break
 
20310
else
 
20311
  echo "$as_me: failed program was:" >&5
 
20312
sed 's/^/| /' conftest.$ac_ext >&5
 
20313
 
 
20314
ac_hi=`expr '(' $ac_mid ')' - 1`
 
20315
                       if test $ac_mid -le $ac_hi; then
 
20316
                         ac_lo= ac_hi=
 
20317
                         break
 
20318
                       fi
 
20319
                       ac_mid=`expr 2 '*' $ac_mid`
 
20320
fi
 
20321
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20322
  done
 
20323
else
 
20324
  echo "$as_me: failed program was:" >&5
 
20325
sed 's/^/| /' conftest.$ac_ext >&5
 
20326
 
 
20327
ac_lo= ac_hi=
 
20328
fi
 
20329
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20330
fi
 
20331
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20332
# Binary search between lo and hi bounds.
 
20333
while test "x$ac_lo" != "x$ac_hi"; do
 
20334
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
20335
  cat >conftest.$ac_ext <<_ACEOF
 
20336
/* confdefs.h.  */
 
20337
_ACEOF
 
20338
cat confdefs.h >>conftest.$ac_ext
 
20339
cat >>conftest.$ac_ext <<_ACEOF
 
20340
/* end confdefs.h.  */
 
20341
$ac_includes_default
 
20342
int
 
20343
main ()
 
20344
{
 
20345
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
20346
test_array [0] = 0
 
20347
 
 
20348
  ;
 
20349
  return 0;
 
20350
}
 
20351
_ACEOF
 
20352
rm -f conftest.$ac_objext
 
20353
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20354
  (eval $ac_compile) 2>conftest.er1
 
20355
  ac_status=$?
 
20356
  grep -v '^ *+' conftest.er1 >conftest.err
 
20357
  rm -f conftest.er1
 
20358
  cat conftest.err >&5
 
20359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20360
  (exit $ac_status); } &&
 
20361
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20362
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20363
  (eval $ac_try) 2>&5
 
20364
  ac_status=$?
 
20365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20366
  (exit $ac_status); }; } &&
 
20367
         { ac_try='test -s conftest.$ac_objext'
 
20368
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20369
  (eval $ac_try) 2>&5
 
20370
  ac_status=$?
 
20371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20372
  (exit $ac_status); }; }; then
 
20373
  ac_hi=$ac_mid
 
20374
else
 
20375
  echo "$as_me: failed program was:" >&5
 
20376
sed 's/^/| /' conftest.$ac_ext >&5
 
20377
 
 
20378
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20379
fi
 
20380
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20381
done
 
20382
case $ac_lo in
 
20383
?*) ac_cv_sizeof_size_t=$ac_lo;;
 
20384
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
20385
See \`config.log' for more details." >&5
 
20386
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
20387
See \`config.log' for more details." >&2;}
 
20388
   { (exit 1); exit 1; }; } ;;
 
20389
esac
 
20390
else
 
20391
  if test "$cross_compiling" = yes; then
 
20392
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
20393
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
20394
   { (exit 1); exit 1; }; }
 
20395
else
 
20396
  cat >conftest.$ac_ext <<_ACEOF
 
20397
/* confdefs.h.  */
 
20398
_ACEOF
 
20399
cat confdefs.h >>conftest.$ac_ext
 
20400
cat >>conftest.$ac_ext <<_ACEOF
 
20401
/* end confdefs.h.  */
 
20402
$ac_includes_default
 
20403
long longval () { return (long) (sizeof (size_t)); }
 
20404
unsigned long ulongval () { return (long) (sizeof (size_t)); }
 
20405
#include <stdio.h>
 
20406
#include <stdlib.h>
 
20407
int
 
20408
main ()
 
20409
{
 
20410
 
 
20411
  FILE *f = fopen ("conftest.val", "w");
 
20412
  if (! f)
 
20413
    exit (1);
 
20414
  if (((long) (sizeof (size_t))) < 0)
 
20415
    {
 
20416
      long i = longval ();
 
20417
      if (i != ((long) (sizeof (size_t))))
 
20418
        exit (1);
 
20419
      fprintf (f, "%ld\n", i);
 
20420
    }
 
20421
  else
 
20422
    {
 
20423
      unsigned long i = ulongval ();
 
20424
      if (i != ((long) (sizeof (size_t))))
 
20425
        exit (1);
 
20426
      fprintf (f, "%lu\n", i);
 
20427
    }
 
20428
  exit (ferror (f) || fclose (f) != 0);
 
20429
 
 
20430
  ;
 
20431
  return 0;
 
20432
}
 
20433
_ACEOF
 
20434
rm -f conftest$ac_exeext
 
20435
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20436
  (eval $ac_link) 2>&5
 
20437
  ac_status=$?
 
20438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20439
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
20440
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20441
  (eval $ac_try) 2>&5
 
20442
  ac_status=$?
 
20443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20444
  (exit $ac_status); }; }; then
 
20445
  ac_cv_sizeof_size_t=`cat conftest.val`
 
20446
else
 
20447
  echo "$as_me: program exited with status $ac_status" >&5
 
20448
echo "$as_me: failed program was:" >&5
 
20449
sed 's/^/| /' conftest.$ac_ext >&5
 
20450
 
 
20451
( exit $ac_status )
 
20452
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
20453
See \`config.log' for more details." >&5
 
20454
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
20455
See \`config.log' for more details." >&2;}
 
20456
   { (exit 1); exit 1; }; }
 
20457
fi
 
20458
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20459
fi
 
20460
fi
 
20461
rm -f conftest.val
 
20462
else
 
20463
  ac_cv_sizeof_size_t=0
 
20464
fi
 
20465
fi
 
20466
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
 
20467
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
 
20468
cat >>confdefs.h <<_ACEOF
 
20469
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
 
20470
_ACEOF
 
20471
 
 
20472
 
 
20473
 
 
20474
case "${host}" in
 
20475
    arm-*-linux* )
 
20476
        echo "$as_me:$LINENO: checking for long long" >&5
 
20477
echo $ECHO_N "checking for long long... $ECHO_C" >&6
 
20478
if test "${ac_cv_type_long_long+set}" = set; then
 
20479
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20480
else
 
20481
  cat >conftest.$ac_ext <<_ACEOF
 
20482
/* confdefs.h.  */
 
20483
_ACEOF
 
20484
cat confdefs.h >>conftest.$ac_ext
 
20485
cat >>conftest.$ac_ext <<_ACEOF
 
20486
/* end confdefs.h.  */
 
20487
$ac_includes_default
 
20488
int
 
20489
main ()
 
20490
{
 
20491
if ((long long *) 0)
 
20492
  return 0;
 
20493
if (sizeof (long long))
 
20494
  return 0;
 
20495
  ;
 
20496
  return 0;
 
20497
}
 
20498
_ACEOF
 
20499
rm -f conftest.$ac_objext
 
20500
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20501
  (eval $ac_compile) 2>conftest.er1
 
20502
  ac_status=$?
 
20503
  grep -v '^ *+' conftest.er1 >conftest.err
 
20504
  rm -f conftest.er1
 
20505
  cat conftest.err >&5
 
20506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20507
  (exit $ac_status); } &&
 
20508
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20509
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20510
  (eval $ac_try) 2>&5
 
20511
  ac_status=$?
 
20512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20513
  (exit $ac_status); }; } &&
 
20514
         { ac_try='test -s conftest.$ac_objext'
 
20515
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20516
  (eval $ac_try) 2>&5
 
20517
  ac_status=$?
 
20518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20519
  (exit $ac_status); }; }; then
 
20520
  ac_cv_type_long_long=yes
 
20521
else
 
20522
  echo "$as_me: failed program was:" >&5
 
20523
sed 's/^/| /' conftest.$ac_ext >&5
 
20524
 
 
20525
ac_cv_type_long_long=no
 
20526
fi
 
20527
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20528
fi
 
20529
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 
20530
echo "${ECHO_T}$ac_cv_type_long_long" >&6
 
20531
 
 
20532
echo "$as_me:$LINENO: checking size of long long" >&5
 
20533
echo $ECHO_N "checking size of long long... $ECHO_C" >&6
 
20534
if test "${ac_cv_sizeof_long_long+set}" = set; then
 
20535
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20536
else
 
20537
  if test "$ac_cv_type_long_long" = yes; then
 
20538
  # The cast to unsigned long works around a bug in the HP C Compiler
 
20539
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
20540
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
20541
  # This bug is HP SR number 8606223364.
 
20542
  if test "$cross_compiling" = yes; then
 
20543
  # Depending upon the size, compute the lo and hi bounds.
 
20544
cat >conftest.$ac_ext <<_ACEOF
 
20545
/* confdefs.h.  */
 
20546
_ACEOF
 
20547
cat confdefs.h >>conftest.$ac_ext
 
20548
cat >>conftest.$ac_ext <<_ACEOF
 
20549
/* end confdefs.h.  */
 
20550
$ac_includes_default
 
20551
int
 
20552
main ()
 
20553
{
 
20554
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
 
20555
test_array [0] = 0
 
20556
 
 
20557
  ;
 
20558
  return 0;
 
20559
}
 
20560
_ACEOF
 
20561
rm -f conftest.$ac_objext
 
20562
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20563
  (eval $ac_compile) 2>conftest.er1
 
20564
  ac_status=$?
 
20565
  grep -v '^ *+' conftest.er1 >conftest.err
 
20566
  rm -f conftest.er1
 
20567
  cat conftest.err >&5
 
20568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20569
  (exit $ac_status); } &&
 
20570
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20572
  (eval $ac_try) 2>&5
 
20573
  ac_status=$?
 
20574
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20575
  (exit $ac_status); }; } &&
 
20576
         { ac_try='test -s conftest.$ac_objext'
 
20577
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20578
  (eval $ac_try) 2>&5
 
20579
  ac_status=$?
 
20580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20581
  (exit $ac_status); }; }; then
 
20582
  ac_lo=0 ac_mid=0
 
20583
  while :; do
 
20584
    cat >conftest.$ac_ext <<_ACEOF
 
20585
/* confdefs.h.  */
 
20586
_ACEOF
 
20587
cat confdefs.h >>conftest.$ac_ext
 
20588
cat >>conftest.$ac_ext <<_ACEOF
 
20589
/* end confdefs.h.  */
 
20590
$ac_includes_default
 
20591
int
 
20592
main ()
 
20593
{
 
20594
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
20595
test_array [0] = 0
 
20596
 
 
20597
  ;
 
20598
  return 0;
 
20599
}
 
20600
_ACEOF
 
20601
rm -f conftest.$ac_objext
 
20602
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20603
  (eval $ac_compile) 2>conftest.er1
 
20604
  ac_status=$?
 
20605
  grep -v '^ *+' conftest.er1 >conftest.err
 
20606
  rm -f conftest.er1
 
20607
  cat conftest.err >&5
 
20608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20609
  (exit $ac_status); } &&
 
20610
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20611
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20612
  (eval $ac_try) 2>&5
 
20613
  ac_status=$?
 
20614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20615
  (exit $ac_status); }; } &&
 
20616
         { ac_try='test -s conftest.$ac_objext'
 
20617
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20618
  (eval $ac_try) 2>&5
 
20619
  ac_status=$?
 
20620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20621
  (exit $ac_status); }; }; then
 
20622
  ac_hi=$ac_mid; break
 
20623
else
 
20624
  echo "$as_me: failed program was:" >&5
 
20625
sed 's/^/| /' conftest.$ac_ext >&5
 
20626
 
 
20627
ac_lo=`expr $ac_mid + 1`
 
20628
                    if test $ac_lo -le $ac_mid; then
 
20629
                      ac_lo= ac_hi=
 
20630
                      break
 
20631
                    fi
 
20632
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
20633
fi
 
20634
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20635
  done
 
20636
else
 
20637
  echo "$as_me: failed program was:" >&5
 
20638
sed 's/^/| /' conftest.$ac_ext >&5
 
20639
 
 
20640
cat >conftest.$ac_ext <<_ACEOF
 
20641
/* confdefs.h.  */
 
20642
_ACEOF
 
20643
cat confdefs.h >>conftest.$ac_ext
 
20644
cat >>conftest.$ac_ext <<_ACEOF
 
20645
/* end confdefs.h.  */
 
20646
$ac_includes_default
 
20647
int
 
20648
main ()
 
20649
{
 
20650
static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
 
20651
test_array [0] = 0
 
20652
 
 
20653
  ;
 
20654
  return 0;
 
20655
}
 
20656
_ACEOF
 
20657
rm -f conftest.$ac_objext
 
20658
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20659
  (eval $ac_compile) 2>conftest.er1
 
20660
  ac_status=$?
 
20661
  grep -v '^ *+' conftest.er1 >conftest.err
 
20662
  rm -f conftest.er1
 
20663
  cat conftest.err >&5
 
20664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20665
  (exit $ac_status); } &&
 
20666
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20667
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20668
  (eval $ac_try) 2>&5
 
20669
  ac_status=$?
 
20670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20671
  (exit $ac_status); }; } &&
 
20672
         { ac_try='test -s conftest.$ac_objext'
 
20673
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20674
  (eval $ac_try) 2>&5
 
20675
  ac_status=$?
 
20676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20677
  (exit $ac_status); }; }; then
 
20678
  ac_hi=-1 ac_mid=-1
 
20679
  while :; do
 
20680
    cat >conftest.$ac_ext <<_ACEOF
 
20681
/* confdefs.h.  */
 
20682
_ACEOF
 
20683
cat confdefs.h >>conftest.$ac_ext
 
20684
cat >>conftest.$ac_ext <<_ACEOF
 
20685
/* end confdefs.h.  */
 
20686
$ac_includes_default
 
20687
int
 
20688
main ()
 
20689
{
 
20690
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
 
20691
test_array [0] = 0
 
20692
 
 
20693
  ;
 
20694
  return 0;
 
20695
}
 
20696
_ACEOF
 
20697
rm -f conftest.$ac_objext
 
20698
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20699
  (eval $ac_compile) 2>conftest.er1
 
20700
  ac_status=$?
 
20701
  grep -v '^ *+' conftest.er1 >conftest.err
 
20702
  rm -f conftest.er1
 
20703
  cat conftest.err >&5
 
20704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20705
  (exit $ac_status); } &&
 
20706
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20707
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20708
  (eval $ac_try) 2>&5
 
20709
  ac_status=$?
 
20710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20711
  (exit $ac_status); }; } &&
 
20712
         { ac_try='test -s conftest.$ac_objext'
 
20713
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20714
  (eval $ac_try) 2>&5
 
20715
  ac_status=$?
 
20716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20717
  (exit $ac_status); }; }; then
 
20718
  ac_lo=$ac_mid; break
 
20719
else
 
20720
  echo "$as_me: failed program was:" >&5
 
20721
sed 's/^/| /' conftest.$ac_ext >&5
 
20722
 
 
20723
ac_hi=`expr '(' $ac_mid ')' - 1`
 
20724
                       if test $ac_mid -le $ac_hi; then
 
20725
                         ac_lo= ac_hi=
 
20726
                         break
 
20727
                       fi
 
20728
                       ac_mid=`expr 2 '*' $ac_mid`
 
20729
fi
 
20730
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20731
  done
 
20732
else
 
20733
  echo "$as_me: failed program was:" >&5
 
20734
sed 's/^/| /' conftest.$ac_ext >&5
 
20735
 
 
20736
ac_lo= ac_hi=
 
20737
fi
 
20738
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20739
fi
 
20740
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20741
# Binary search between lo and hi bounds.
 
20742
while test "x$ac_lo" != "x$ac_hi"; do
 
20743
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
20744
  cat >conftest.$ac_ext <<_ACEOF
 
20745
/* confdefs.h.  */
 
20746
_ACEOF
 
20747
cat confdefs.h >>conftest.$ac_ext
 
20748
cat >>conftest.$ac_ext <<_ACEOF
 
20749
/* end confdefs.h.  */
 
20750
$ac_includes_default
 
20751
int
 
20752
main ()
 
20753
{
 
20754
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
20755
test_array [0] = 0
 
20756
 
 
20757
  ;
 
20758
  return 0;
 
20759
}
 
20760
_ACEOF
 
20761
rm -f conftest.$ac_objext
 
20762
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20763
  (eval $ac_compile) 2>conftest.er1
 
20764
  ac_status=$?
 
20765
  grep -v '^ *+' conftest.er1 >conftest.err
 
20766
  rm -f conftest.er1
 
20767
  cat conftest.err >&5
 
20768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20769
  (exit $ac_status); } &&
 
20770
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20771
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20772
  (eval $ac_try) 2>&5
 
20773
  ac_status=$?
 
20774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20775
  (exit $ac_status); }; } &&
 
20776
         { ac_try='test -s conftest.$ac_objext'
 
20777
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20778
  (eval $ac_try) 2>&5
 
20779
  ac_status=$?
 
20780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20781
  (exit $ac_status); }; }; then
 
20782
  ac_hi=$ac_mid
 
20783
else
 
20784
  echo "$as_me: failed program was:" >&5
 
20785
sed 's/^/| /' conftest.$ac_ext >&5
 
20786
 
 
20787
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20788
fi
 
20789
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20790
done
 
20791
case $ac_lo in
 
20792
?*) ac_cv_sizeof_long_long=$ac_lo;;
 
20793
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
20794
See \`config.log' for more details." >&5
 
20795
echo "$as_me: error: cannot compute sizeof (long long), 77
 
20796
See \`config.log' for more details." >&2;}
 
20797
   { (exit 1); exit 1; }; } ;;
 
20798
esac
 
20799
else
 
20800
  if test "$cross_compiling" = yes; then
 
20801
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
20802
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
20803
   { (exit 1); exit 1; }; }
 
20804
else
 
20805
  cat >conftest.$ac_ext <<_ACEOF
 
20806
/* confdefs.h.  */
 
20807
_ACEOF
 
20808
cat confdefs.h >>conftest.$ac_ext
 
20809
cat >>conftest.$ac_ext <<_ACEOF
 
20810
/* end confdefs.h.  */
 
20811
$ac_includes_default
 
20812
long longval () { return (long) (sizeof (long long)); }
 
20813
unsigned long ulongval () { return (long) (sizeof (long long)); }
 
20814
#include <stdio.h>
 
20815
#include <stdlib.h>
 
20816
int
 
20817
main ()
 
20818
{
 
20819
 
 
20820
  FILE *f = fopen ("conftest.val", "w");
 
20821
  if (! f)
 
20822
    exit (1);
 
20823
  if (((long) (sizeof (long long))) < 0)
 
20824
    {
 
20825
      long i = longval ();
 
20826
      if (i != ((long) (sizeof (long long))))
 
20827
        exit (1);
 
20828
      fprintf (f, "%ld\n", i);
 
20829
    }
 
20830
  else
 
20831
    {
 
20832
      unsigned long i = ulongval ();
 
20833
      if (i != ((long) (sizeof (long long))))
 
20834
        exit (1);
 
20835
      fprintf (f, "%lu\n", i);
 
20836
    }
 
20837
  exit (ferror (f) || fclose (f) != 0);
 
20838
 
 
20839
  ;
 
20840
  return 0;
 
20841
}
 
20842
_ACEOF
 
20843
rm -f conftest$ac_exeext
 
20844
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20845
  (eval $ac_link) 2>&5
 
20846
  ac_status=$?
 
20847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20848
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
20849
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20850
  (eval $ac_try) 2>&5
 
20851
  ac_status=$?
 
20852
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20853
  (exit $ac_status); }; }; then
 
20854
  ac_cv_sizeof_long_long=`cat conftest.val`
 
20855
else
 
20856
  echo "$as_me: program exited with status $ac_status" >&5
 
20857
echo "$as_me: failed program was:" >&5
 
20858
sed 's/^/| /' conftest.$ac_ext >&5
 
20859
 
 
20860
( exit $ac_status )
 
20861
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
20862
See \`config.log' for more details." >&5
 
20863
echo "$as_me: error: cannot compute sizeof (long long), 77
 
20864
See \`config.log' for more details." >&2;}
 
20865
   { (exit 1); exit 1; }; }
 
20866
fi
 
20867
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20868
fi
 
20869
fi
 
20870
rm -f conftest.val
 
20871
else
 
20872
  ac_cv_sizeof_long_long=0
 
20873
fi
 
20874
fi
 
20875
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
 
20876
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
 
20877
cat >>confdefs.h <<_ACEOF
 
20878
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
 
20879
_ACEOF
 
20880
 
 
20881
 
 
20882
    ;;
 
20883
    *-hp-hpux* )
 
20884
        echo "$as_me:$LINENO: checking for long long" >&5
 
20885
echo $ECHO_N "checking for long long... $ECHO_C" >&6
 
20886
if test "${ac_cv_type_long_long+set}" = set; then
 
20887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20888
else
 
20889
  cat >conftest.$ac_ext <<_ACEOF
 
20890
/* confdefs.h.  */
 
20891
_ACEOF
 
20892
cat confdefs.h >>conftest.$ac_ext
 
20893
cat >>conftest.$ac_ext <<_ACEOF
 
20894
/* end confdefs.h.  */
 
20895
$ac_includes_default
 
20896
int
 
20897
main ()
 
20898
{
 
20899
if ((long long *) 0)
 
20900
  return 0;
 
20901
if (sizeof (long long))
 
20902
  return 0;
 
20903
  ;
 
20904
  return 0;
 
20905
}
 
20906
_ACEOF
 
20907
rm -f conftest.$ac_objext
 
20908
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20909
  (eval $ac_compile) 2>conftest.er1
 
20910
  ac_status=$?
 
20911
  grep -v '^ *+' conftest.er1 >conftest.err
 
20912
  rm -f conftest.er1
 
20913
  cat conftest.err >&5
 
20914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20915
  (exit $ac_status); } &&
 
20916
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20917
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20918
  (eval $ac_try) 2>&5
 
20919
  ac_status=$?
 
20920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20921
  (exit $ac_status); }; } &&
 
20922
         { ac_try='test -s conftest.$ac_objext'
 
20923
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20924
  (eval $ac_try) 2>&5
 
20925
  ac_status=$?
 
20926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20927
  (exit $ac_status); }; }; then
 
20928
  ac_cv_type_long_long=yes
 
20929
else
 
20930
  echo "$as_me: failed program was:" >&5
 
20931
sed 's/^/| /' conftest.$ac_ext >&5
 
20932
 
 
20933
ac_cv_type_long_long=no
 
20934
fi
 
20935
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20936
fi
 
20937
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 
20938
echo "${ECHO_T}$ac_cv_type_long_long" >&6
 
20939
 
 
20940
echo "$as_me:$LINENO: checking size of long long" >&5
 
20941
echo $ECHO_N "checking size of long long... $ECHO_C" >&6
 
20942
if test "${ac_cv_sizeof_long_long+set}" = set; then
 
20943
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20944
else
 
20945
  if test "$ac_cv_type_long_long" = yes; then
 
20946
  # The cast to unsigned long works around a bug in the HP C Compiler
 
20947
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
20948
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
20949
  # This bug is HP SR number 8606223364.
 
20950
  if test "$cross_compiling" = yes; then
 
20951
  # Depending upon the size, compute the lo and hi bounds.
 
20952
cat >conftest.$ac_ext <<_ACEOF
 
20953
/* confdefs.h.  */
 
20954
_ACEOF
 
20955
cat confdefs.h >>conftest.$ac_ext
 
20956
cat >>conftest.$ac_ext <<_ACEOF
 
20957
/* end confdefs.h.  */
 
20958
$ac_includes_default
 
20959
int
 
20960
main ()
 
20961
{
 
20962
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
 
20963
test_array [0] = 0
 
20964
 
 
20965
  ;
 
20966
  return 0;
 
20967
}
 
20968
_ACEOF
 
20969
rm -f conftest.$ac_objext
 
20970
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20971
  (eval $ac_compile) 2>conftest.er1
 
20972
  ac_status=$?
 
20973
  grep -v '^ *+' conftest.er1 >conftest.err
 
20974
  rm -f conftest.er1
 
20975
  cat conftest.err >&5
 
20976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20977
  (exit $ac_status); } &&
 
20978
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20979
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20980
  (eval $ac_try) 2>&5
 
20981
  ac_status=$?
 
20982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20983
  (exit $ac_status); }; } &&
 
20984
         { ac_try='test -s conftest.$ac_objext'
 
20985
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20986
  (eval $ac_try) 2>&5
 
20987
  ac_status=$?
 
20988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20989
  (exit $ac_status); }; }; then
 
20990
  ac_lo=0 ac_mid=0
 
20991
  while :; do
 
20992
    cat >conftest.$ac_ext <<_ACEOF
 
20993
/* confdefs.h.  */
 
20994
_ACEOF
 
20995
cat confdefs.h >>conftest.$ac_ext
 
20996
cat >>conftest.$ac_ext <<_ACEOF
 
20997
/* end confdefs.h.  */
 
20998
$ac_includes_default
 
20999
int
 
21000
main ()
 
21001
{
 
21002
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
21003
test_array [0] = 0
 
21004
 
 
21005
  ;
 
21006
  return 0;
 
21007
}
 
21008
_ACEOF
 
21009
rm -f conftest.$ac_objext
 
21010
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21011
  (eval $ac_compile) 2>conftest.er1
 
21012
  ac_status=$?
 
21013
  grep -v '^ *+' conftest.er1 >conftest.err
 
21014
  rm -f conftest.er1
 
21015
  cat conftest.err >&5
 
21016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21017
  (exit $ac_status); } &&
 
21018
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21019
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21020
  (eval $ac_try) 2>&5
 
21021
  ac_status=$?
 
21022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21023
  (exit $ac_status); }; } &&
 
21024
         { ac_try='test -s conftest.$ac_objext'
 
21025
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21026
  (eval $ac_try) 2>&5
 
21027
  ac_status=$?
 
21028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21029
  (exit $ac_status); }; }; then
 
21030
  ac_hi=$ac_mid; break
 
21031
else
 
21032
  echo "$as_me: failed program was:" >&5
 
21033
sed 's/^/| /' conftest.$ac_ext >&5
 
21034
 
 
21035
ac_lo=`expr $ac_mid + 1`
 
21036
                    if test $ac_lo -le $ac_mid; then
 
21037
                      ac_lo= ac_hi=
 
21038
                      break
 
21039
                    fi
 
21040
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
21041
fi
 
21042
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21043
  done
 
21044
else
 
21045
  echo "$as_me: failed program was:" >&5
 
21046
sed 's/^/| /' conftest.$ac_ext >&5
 
21047
 
 
21048
cat >conftest.$ac_ext <<_ACEOF
 
21049
/* confdefs.h.  */
 
21050
_ACEOF
 
21051
cat confdefs.h >>conftest.$ac_ext
 
21052
cat >>conftest.$ac_ext <<_ACEOF
 
21053
/* end confdefs.h.  */
 
21054
$ac_includes_default
 
21055
int
 
21056
main ()
 
21057
{
 
21058
static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
 
21059
test_array [0] = 0
 
21060
 
 
21061
  ;
 
21062
  return 0;
 
21063
}
 
21064
_ACEOF
 
21065
rm -f conftest.$ac_objext
 
21066
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21067
  (eval $ac_compile) 2>conftest.er1
 
21068
  ac_status=$?
 
21069
  grep -v '^ *+' conftest.er1 >conftest.err
 
21070
  rm -f conftest.er1
 
21071
  cat conftest.err >&5
 
21072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21073
  (exit $ac_status); } &&
 
21074
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21075
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21076
  (eval $ac_try) 2>&5
 
21077
  ac_status=$?
 
21078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21079
  (exit $ac_status); }; } &&
 
21080
         { ac_try='test -s conftest.$ac_objext'
 
21081
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21082
  (eval $ac_try) 2>&5
 
21083
  ac_status=$?
 
21084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21085
  (exit $ac_status); }; }; then
 
21086
  ac_hi=-1 ac_mid=-1
 
21087
  while :; do
 
21088
    cat >conftest.$ac_ext <<_ACEOF
 
21089
/* confdefs.h.  */
 
21090
_ACEOF
 
21091
cat confdefs.h >>conftest.$ac_ext
 
21092
cat >>conftest.$ac_ext <<_ACEOF
 
21093
/* end confdefs.h.  */
 
21094
$ac_includes_default
 
21095
int
 
21096
main ()
 
21097
{
 
21098
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
 
21099
test_array [0] = 0
 
21100
 
 
21101
  ;
 
21102
  return 0;
 
21103
}
 
21104
_ACEOF
 
21105
rm -f conftest.$ac_objext
 
21106
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21107
  (eval $ac_compile) 2>conftest.er1
 
21108
  ac_status=$?
 
21109
  grep -v '^ *+' conftest.er1 >conftest.err
 
21110
  rm -f conftest.er1
 
21111
  cat conftest.err >&5
 
21112
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21113
  (exit $ac_status); } &&
 
21114
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21115
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21116
  (eval $ac_try) 2>&5
 
21117
  ac_status=$?
 
21118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21119
  (exit $ac_status); }; } &&
 
21120
         { ac_try='test -s conftest.$ac_objext'
 
21121
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21122
  (eval $ac_try) 2>&5
 
21123
  ac_status=$?
 
21124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21125
  (exit $ac_status); }; }; then
 
21126
  ac_lo=$ac_mid; break
 
21127
else
 
21128
  echo "$as_me: failed program was:" >&5
 
21129
sed 's/^/| /' conftest.$ac_ext >&5
 
21130
 
 
21131
ac_hi=`expr '(' $ac_mid ')' - 1`
 
21132
                       if test $ac_mid -le $ac_hi; then
 
21133
                         ac_lo= ac_hi=
 
21134
                         break
 
21135
                       fi
 
21136
                       ac_mid=`expr 2 '*' $ac_mid`
 
21137
fi
 
21138
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21139
  done
 
21140
else
 
21141
  echo "$as_me: failed program was:" >&5
 
21142
sed 's/^/| /' conftest.$ac_ext >&5
 
21143
 
 
21144
ac_lo= ac_hi=
 
21145
fi
 
21146
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21147
fi
 
21148
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21149
# Binary search between lo and hi bounds.
 
21150
while test "x$ac_lo" != "x$ac_hi"; do
 
21151
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
21152
  cat >conftest.$ac_ext <<_ACEOF
 
21153
/* confdefs.h.  */
 
21154
_ACEOF
 
21155
cat confdefs.h >>conftest.$ac_ext
 
21156
cat >>conftest.$ac_ext <<_ACEOF
 
21157
/* end confdefs.h.  */
 
21158
$ac_includes_default
 
21159
int
 
21160
main ()
 
21161
{
 
21162
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
21163
test_array [0] = 0
 
21164
 
 
21165
  ;
 
21166
  return 0;
 
21167
}
 
21168
_ACEOF
 
21169
rm -f conftest.$ac_objext
 
21170
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21171
  (eval $ac_compile) 2>conftest.er1
 
21172
  ac_status=$?
 
21173
  grep -v '^ *+' conftest.er1 >conftest.err
 
21174
  rm -f conftest.er1
 
21175
  cat conftest.err >&5
 
21176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21177
  (exit $ac_status); } &&
 
21178
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21179
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21180
  (eval $ac_try) 2>&5
 
21181
  ac_status=$?
 
21182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21183
  (exit $ac_status); }; } &&
 
21184
         { ac_try='test -s conftest.$ac_objext'
 
21185
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21186
  (eval $ac_try) 2>&5
 
21187
  ac_status=$?
 
21188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21189
  (exit $ac_status); }; }; then
 
21190
  ac_hi=$ac_mid
 
21191
else
 
21192
  echo "$as_me: failed program was:" >&5
 
21193
sed 's/^/| /' conftest.$ac_ext >&5
 
21194
 
 
21195
ac_lo=`expr '(' $ac_mid ')' + 1`
 
21196
fi
 
21197
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21198
done
 
21199
case $ac_lo in
 
21200
?*) ac_cv_sizeof_long_long=$ac_lo;;
 
21201
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
21202
See \`config.log' for more details." >&5
 
21203
echo "$as_me: error: cannot compute sizeof (long long), 77
 
21204
See \`config.log' for more details." >&2;}
 
21205
   { (exit 1); exit 1; }; } ;;
 
21206
esac
 
21207
else
 
21208
  if test "$cross_compiling" = yes; then
 
21209
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
21210
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
21211
   { (exit 1); exit 1; }; }
 
21212
else
 
21213
  cat >conftest.$ac_ext <<_ACEOF
 
21214
/* confdefs.h.  */
 
21215
_ACEOF
 
21216
cat confdefs.h >>conftest.$ac_ext
 
21217
cat >>conftest.$ac_ext <<_ACEOF
 
21218
/* end confdefs.h.  */
 
21219
$ac_includes_default
 
21220
long longval () { return (long) (sizeof (long long)); }
 
21221
unsigned long ulongval () { return (long) (sizeof (long long)); }
 
21222
#include <stdio.h>
 
21223
#include <stdlib.h>
 
21224
int
 
21225
main ()
 
21226
{
 
21227
 
 
21228
  FILE *f = fopen ("conftest.val", "w");
 
21229
  if (! f)
 
21230
    exit (1);
 
21231
  if (((long) (sizeof (long long))) < 0)
 
21232
    {
 
21233
      long i = longval ();
 
21234
      if (i != ((long) (sizeof (long long))))
 
21235
        exit (1);
 
21236
      fprintf (f, "%ld\n", i);
 
21237
    }
 
21238
  else
 
21239
    {
 
21240
      unsigned long i = ulongval ();
 
21241
      if (i != ((long) (sizeof (long long))))
 
21242
        exit (1);
 
21243
      fprintf (f, "%lu\n", i);
 
21244
    }
 
21245
  exit (ferror (f) || fclose (f) != 0);
 
21246
 
 
21247
  ;
 
21248
  return 0;
 
21249
}
 
21250
_ACEOF
 
21251
rm -f conftest$ac_exeext
 
21252
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21253
  (eval $ac_link) 2>&5
 
21254
  ac_status=$?
 
21255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21256
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
21257
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21258
  (eval $ac_try) 2>&5
 
21259
  ac_status=$?
 
21260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21261
  (exit $ac_status); }; }; then
 
21262
  ac_cv_sizeof_long_long=`cat conftest.val`
 
21263
else
 
21264
  echo "$as_me: program exited with status $ac_status" >&5
 
21265
echo "$as_me: failed program was:" >&5
 
21266
sed 's/^/| /' conftest.$ac_ext >&5
 
21267
 
 
21268
( exit $ac_status )
 
21269
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
21270
See \`config.log' for more details." >&5
 
21271
echo "$as_me: error: cannot compute sizeof (long long), 77
 
21272
See \`config.log' for more details." >&2;}
 
21273
   { (exit 1); exit 1; }; }
 
21274
fi
 
21275
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21276
fi
 
21277
fi
 
21278
rm -f conftest.val
 
21279
else
 
21280
  ac_cv_sizeof_long_long=0
 
21281
fi
 
21282
fi
 
21283
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
 
21284
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
 
21285
cat >>confdefs.h <<_ACEOF
 
21286
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
 
21287
_ACEOF
 
21288
 
 
21289
 
 
21290
        if test "$ac_cv_sizeof_long_long" != "0"; then
 
21291
                        CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
 
21292
        fi
 
21293
    ;;
 
21294
    * )
 
21295
        echo "$as_me:$LINENO: checking for long long" >&5
 
21296
echo $ECHO_N "checking for long long... $ECHO_C" >&6
 
21297
if test "${ac_cv_type_long_long+set}" = set; then
 
21298
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21299
else
 
21300
  cat >conftest.$ac_ext <<_ACEOF
 
21301
/* confdefs.h.  */
 
21302
_ACEOF
 
21303
cat confdefs.h >>conftest.$ac_ext
 
21304
cat >>conftest.$ac_ext <<_ACEOF
 
21305
/* end confdefs.h.  */
 
21306
$ac_includes_default
 
21307
int
 
21308
main ()
 
21309
{
 
21310
if ((long long *) 0)
 
21311
  return 0;
 
21312
if (sizeof (long long))
 
21313
  return 0;
 
21314
  ;
 
21315
  return 0;
 
21316
}
 
21317
_ACEOF
 
21318
rm -f conftest.$ac_objext
 
21319
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21320
  (eval $ac_compile) 2>conftest.er1
 
21321
  ac_status=$?
 
21322
  grep -v '^ *+' conftest.er1 >conftest.err
 
21323
  rm -f conftest.er1
 
21324
  cat conftest.err >&5
 
21325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21326
  (exit $ac_status); } &&
 
21327
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21328
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21329
  (eval $ac_try) 2>&5
 
21330
  ac_status=$?
 
21331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21332
  (exit $ac_status); }; } &&
 
21333
         { ac_try='test -s conftest.$ac_objext'
 
21334
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21335
  (eval $ac_try) 2>&5
 
21336
  ac_status=$?
 
21337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21338
  (exit $ac_status); }; }; then
 
21339
  ac_cv_type_long_long=yes
 
21340
else
 
21341
  echo "$as_me: failed program was:" >&5
 
21342
sed 's/^/| /' conftest.$ac_ext >&5
 
21343
 
 
21344
ac_cv_type_long_long=no
 
21345
fi
 
21346
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21347
fi
 
21348
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 
21349
echo "${ECHO_T}$ac_cv_type_long_long" >&6
 
21350
 
 
21351
echo "$as_me:$LINENO: checking size of long long" >&5
 
21352
echo $ECHO_N "checking size of long long... $ECHO_C" >&6
 
21353
if test "${ac_cv_sizeof_long_long+set}" = set; then
 
21354
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21355
else
 
21356
  if test "$ac_cv_type_long_long" = yes; then
 
21357
  # The cast to unsigned long works around a bug in the HP C Compiler
 
21358
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
21359
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
21360
  # This bug is HP SR number 8606223364.
 
21361
  if test "$cross_compiling" = yes; then
 
21362
  # Depending upon the size, compute the lo and hi bounds.
 
21363
cat >conftest.$ac_ext <<_ACEOF
 
21364
/* confdefs.h.  */
 
21365
_ACEOF
 
21366
cat confdefs.h >>conftest.$ac_ext
 
21367
cat >>conftest.$ac_ext <<_ACEOF
 
21368
/* end confdefs.h.  */
 
21369
$ac_includes_default
 
21370
int
 
21371
main ()
 
21372
{
 
21373
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
 
21374
test_array [0] = 0
 
21375
 
 
21376
  ;
 
21377
  return 0;
 
21378
}
 
21379
_ACEOF
 
21380
rm -f conftest.$ac_objext
 
21381
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21382
  (eval $ac_compile) 2>conftest.er1
 
21383
  ac_status=$?
 
21384
  grep -v '^ *+' conftest.er1 >conftest.err
 
21385
  rm -f conftest.er1
 
21386
  cat conftest.err >&5
 
21387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21388
  (exit $ac_status); } &&
 
21389
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21390
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21391
  (eval $ac_try) 2>&5
 
21392
  ac_status=$?
 
21393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21394
  (exit $ac_status); }; } &&
 
21395
         { ac_try='test -s conftest.$ac_objext'
 
21396
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21397
  (eval $ac_try) 2>&5
 
21398
  ac_status=$?
 
21399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21400
  (exit $ac_status); }; }; then
 
21401
  ac_lo=0 ac_mid=0
 
21402
  while :; do
 
21403
    cat >conftest.$ac_ext <<_ACEOF
 
21404
/* confdefs.h.  */
 
21405
_ACEOF
 
21406
cat confdefs.h >>conftest.$ac_ext
 
21407
cat >>conftest.$ac_ext <<_ACEOF
 
21408
/* end confdefs.h.  */
 
21409
$ac_includes_default
 
21410
int
 
21411
main ()
 
21412
{
 
21413
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
21414
test_array [0] = 0
 
21415
 
 
21416
  ;
 
21417
  return 0;
 
21418
}
 
21419
_ACEOF
 
21420
rm -f conftest.$ac_objext
 
21421
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21422
  (eval $ac_compile) 2>conftest.er1
 
21423
  ac_status=$?
 
21424
  grep -v '^ *+' conftest.er1 >conftest.err
 
21425
  rm -f conftest.er1
 
21426
  cat conftest.err >&5
 
21427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21428
  (exit $ac_status); } &&
 
21429
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
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); }; } &&
 
21435
         { ac_try='test -s conftest.$ac_objext'
 
21436
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21437
  (eval $ac_try) 2>&5
 
21438
  ac_status=$?
 
21439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21440
  (exit $ac_status); }; }; then
 
21441
  ac_hi=$ac_mid; break
 
21442
else
 
21443
  echo "$as_me: failed program was:" >&5
 
21444
sed 's/^/| /' conftest.$ac_ext >&5
 
21445
 
 
21446
ac_lo=`expr $ac_mid + 1`
 
21447
                    if test $ac_lo -le $ac_mid; then
 
21448
                      ac_lo= ac_hi=
 
21449
                      break
 
21450
                    fi
 
21451
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
21452
fi
 
21453
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21454
  done
 
21455
else
 
21456
  echo "$as_me: failed program was:" >&5
 
21457
sed 's/^/| /' conftest.$ac_ext >&5
 
21458
 
 
21459
cat >conftest.$ac_ext <<_ACEOF
 
21460
/* confdefs.h.  */
 
21461
_ACEOF
 
21462
cat confdefs.h >>conftest.$ac_ext
 
21463
cat >>conftest.$ac_ext <<_ACEOF
 
21464
/* end confdefs.h.  */
 
21465
$ac_includes_default
 
21466
int
 
21467
main ()
 
21468
{
 
21469
static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
 
21470
test_array [0] = 0
 
21471
 
 
21472
  ;
 
21473
  return 0;
 
21474
}
 
21475
_ACEOF
 
21476
rm -f conftest.$ac_objext
 
21477
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21478
  (eval $ac_compile) 2>conftest.er1
 
21479
  ac_status=$?
 
21480
  grep -v '^ *+' conftest.er1 >conftest.err
 
21481
  rm -f conftest.er1
 
21482
  cat conftest.err >&5
 
21483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21484
  (exit $ac_status); } &&
 
21485
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21486
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21487
  (eval $ac_try) 2>&5
 
21488
  ac_status=$?
 
21489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21490
  (exit $ac_status); }; } &&
 
21491
         { ac_try='test -s conftest.$ac_objext'
 
21492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21493
  (eval $ac_try) 2>&5
 
21494
  ac_status=$?
 
21495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21496
  (exit $ac_status); }; }; then
 
21497
  ac_hi=-1 ac_mid=-1
 
21498
  while :; do
 
21499
    cat >conftest.$ac_ext <<_ACEOF
 
21500
/* confdefs.h.  */
 
21501
_ACEOF
 
21502
cat confdefs.h >>conftest.$ac_ext
 
21503
cat >>conftest.$ac_ext <<_ACEOF
 
21504
/* end confdefs.h.  */
 
21505
$ac_includes_default
 
21506
int
 
21507
main ()
 
21508
{
 
21509
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
 
21510
test_array [0] = 0
 
21511
 
 
21512
  ;
 
21513
  return 0;
 
21514
}
 
21515
_ACEOF
 
21516
rm -f conftest.$ac_objext
 
21517
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21518
  (eval $ac_compile) 2>conftest.er1
 
21519
  ac_status=$?
 
21520
  grep -v '^ *+' conftest.er1 >conftest.err
 
21521
  rm -f conftest.er1
 
21522
  cat conftest.err >&5
 
21523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21524
  (exit $ac_status); } &&
 
21525
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21526
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21527
  (eval $ac_try) 2>&5
 
21528
  ac_status=$?
 
21529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21530
  (exit $ac_status); }; } &&
 
21531
         { ac_try='test -s conftest.$ac_objext'
 
21532
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21533
  (eval $ac_try) 2>&5
 
21534
  ac_status=$?
 
21535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21536
  (exit $ac_status); }; }; then
 
21537
  ac_lo=$ac_mid; break
 
21538
else
 
21539
  echo "$as_me: failed program was:" >&5
 
21540
sed 's/^/| /' conftest.$ac_ext >&5
 
21541
 
 
21542
ac_hi=`expr '(' $ac_mid ')' - 1`
 
21543
                       if test $ac_mid -le $ac_hi; then
 
21544
                         ac_lo= ac_hi=
 
21545
                         break
 
21546
                       fi
 
21547
                       ac_mid=`expr 2 '*' $ac_mid`
 
21548
fi
 
21549
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21550
  done
 
21551
else
 
21552
  echo "$as_me: failed program was:" >&5
 
21553
sed 's/^/| /' conftest.$ac_ext >&5
 
21554
 
 
21555
ac_lo= ac_hi=
 
21556
fi
 
21557
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21558
fi
 
21559
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21560
# Binary search between lo and hi bounds.
 
21561
while test "x$ac_lo" != "x$ac_hi"; do
 
21562
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
21563
  cat >conftest.$ac_ext <<_ACEOF
 
21564
/* confdefs.h.  */
 
21565
_ACEOF
 
21566
cat confdefs.h >>conftest.$ac_ext
 
21567
cat >>conftest.$ac_ext <<_ACEOF
 
21568
/* end confdefs.h.  */
 
21569
$ac_includes_default
 
21570
int
 
21571
main ()
 
21572
{
 
21573
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
21574
test_array [0] = 0
 
21575
 
 
21576
  ;
 
21577
  return 0;
 
21578
}
 
21579
_ACEOF
 
21580
rm -f conftest.$ac_objext
 
21581
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21582
  (eval $ac_compile) 2>conftest.er1
 
21583
  ac_status=$?
 
21584
  grep -v '^ *+' conftest.er1 >conftest.err
 
21585
  rm -f conftest.er1
 
21586
  cat conftest.err >&5
 
21587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21588
  (exit $ac_status); } &&
 
21589
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21590
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21591
  (eval $ac_try) 2>&5
 
21592
  ac_status=$?
 
21593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21594
  (exit $ac_status); }; } &&
 
21595
         { ac_try='test -s conftest.$ac_objext'
 
21596
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21597
  (eval $ac_try) 2>&5
 
21598
  ac_status=$?
 
21599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21600
  (exit $ac_status); }; }; then
 
21601
  ac_hi=$ac_mid
 
21602
else
 
21603
  echo "$as_me: failed program was:" >&5
 
21604
sed 's/^/| /' conftest.$ac_ext >&5
 
21605
 
 
21606
ac_lo=`expr '(' $ac_mid ')' + 1`
 
21607
fi
 
21608
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21609
done
 
21610
case $ac_lo in
 
21611
?*) ac_cv_sizeof_long_long=$ac_lo;;
 
21612
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
21613
See \`config.log' for more details." >&5
 
21614
echo "$as_me: error: cannot compute sizeof (long long), 77
 
21615
See \`config.log' for more details." >&2;}
 
21616
   { (exit 1); exit 1; }; } ;;
 
21617
esac
 
21618
else
 
21619
  if test "$cross_compiling" = yes; then
 
21620
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
21621
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
21622
   { (exit 1); exit 1; }; }
 
21623
else
 
21624
  cat >conftest.$ac_ext <<_ACEOF
 
21625
/* confdefs.h.  */
 
21626
_ACEOF
 
21627
cat confdefs.h >>conftest.$ac_ext
 
21628
cat >>conftest.$ac_ext <<_ACEOF
 
21629
/* end confdefs.h.  */
 
21630
$ac_includes_default
 
21631
long longval () { return (long) (sizeof (long long)); }
 
21632
unsigned long ulongval () { return (long) (sizeof (long long)); }
 
21633
#include <stdio.h>
 
21634
#include <stdlib.h>
 
21635
int
 
21636
main ()
 
21637
{
 
21638
 
 
21639
  FILE *f = fopen ("conftest.val", "w");
 
21640
  if (! f)
 
21641
    exit (1);
 
21642
  if (((long) (sizeof (long long))) < 0)
 
21643
    {
 
21644
      long i = longval ();
 
21645
      if (i != ((long) (sizeof (long long))))
 
21646
        exit (1);
 
21647
      fprintf (f, "%ld\n", i);
 
21648
    }
 
21649
  else
 
21650
    {
 
21651
      unsigned long i = ulongval ();
 
21652
      if (i != ((long) (sizeof (long long))))
 
21653
        exit (1);
 
21654
      fprintf (f, "%lu\n", i);
 
21655
    }
 
21656
  exit (ferror (f) || fclose (f) != 0);
 
21657
 
 
21658
  ;
 
21659
  return 0;
 
21660
}
 
21661
_ACEOF
 
21662
rm -f conftest$ac_exeext
 
21663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21664
  (eval $ac_link) 2>&5
 
21665
  ac_status=$?
 
21666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21667
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
21668
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21669
  (eval $ac_try) 2>&5
 
21670
  ac_status=$?
 
21671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21672
  (exit $ac_status); }; }; then
 
21673
  ac_cv_sizeof_long_long=`cat conftest.val`
 
21674
else
 
21675
  echo "$as_me: program exited with status $ac_status" >&5
 
21676
echo "$as_me: failed program was:" >&5
 
21677
sed 's/^/| /' conftest.$ac_ext >&5
 
21678
 
 
21679
( exit $ac_status )
 
21680
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
21681
See \`config.log' for more details." >&5
 
21682
echo "$as_me: error: cannot compute sizeof (long long), 77
 
21683
See \`config.log' for more details." >&2;}
 
21684
   { (exit 1); exit 1; }; }
 
21685
fi
 
21686
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21687
fi
 
21688
fi
 
21689
rm -f conftest.val
 
21690
else
 
21691
  ac_cv_sizeof_long_long=0
 
21692
fi
 
21693
fi
 
21694
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
 
21695
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
 
21696
cat >>confdefs.h <<_ACEOF
 
21697
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
 
21698
_ACEOF
 
21699
 
 
21700
 
 
21701
esac
 
21702
 
 
21703
echo "$as_me:$LINENO: checking for wchar_t" >&5
 
21704
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
 
21705
if test "${ac_cv_type_wchar_t+set}" = set; then
 
21706
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21707
else
 
21708
  cat >conftest.$ac_ext <<_ACEOF
 
21709
/* confdefs.h.  */
 
21710
_ACEOF
 
21711
cat confdefs.h >>conftest.$ac_ext
 
21712
cat >>conftest.$ac_ext <<_ACEOF
 
21713
/* end confdefs.h.  */
 
21714
 
 
21715
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
21716
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
21717
        #  error "fake wchar_t"
 
21718
        #endif
 
21719
        #ifdef HAVE_WCHAR_H
 
21720
        #  ifdef __CYGWIN__
 
21721
        #    include <stddef.h>
 
21722
        #  endif
 
21723
        #  include <wchar.h>
 
21724
        #endif
 
21725
        #ifdef HAVE_STDLIB_H
 
21726
        #  include <stdlib.h>
 
21727
        #endif
 
21728
        #include <stdio.h>
 
21729
 
 
21730
 
 
21731
 
 
21732
int
 
21733
main ()
 
21734
{
 
21735
if ((wchar_t *) 0)
 
21736
  return 0;
 
21737
if (sizeof (wchar_t))
 
21738
  return 0;
 
21739
  ;
 
21740
  return 0;
 
21741
}
 
21742
_ACEOF
 
21743
rm -f conftest.$ac_objext
 
21744
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21745
  (eval $ac_compile) 2>conftest.er1
 
21746
  ac_status=$?
 
21747
  grep -v '^ *+' conftest.er1 >conftest.err
 
21748
  rm -f conftest.er1
 
21749
  cat conftest.err >&5
 
21750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21751
  (exit $ac_status); } &&
 
21752
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21753
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21754
  (eval $ac_try) 2>&5
 
21755
  ac_status=$?
 
21756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21757
  (exit $ac_status); }; } &&
 
21758
         { ac_try='test -s conftest.$ac_objext'
 
21759
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21760
  (eval $ac_try) 2>&5
 
21761
  ac_status=$?
 
21762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21763
  (exit $ac_status); }; }; then
 
21764
  ac_cv_type_wchar_t=yes
 
21765
else
 
21766
  echo "$as_me: failed program was:" >&5
 
21767
sed 's/^/| /' conftest.$ac_ext >&5
 
21768
 
 
21769
ac_cv_type_wchar_t=no
 
21770
fi
 
21771
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21772
fi
 
21773
echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
 
21774
echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
 
21775
 
 
21776
echo "$as_me:$LINENO: checking size of wchar_t" >&5
 
21777
echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
 
21778
if test "${ac_cv_sizeof_wchar_t+set}" = set; then
 
21779
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21780
else
 
21781
  if test "$ac_cv_type_wchar_t" = yes; then
 
21782
  # The cast to unsigned long works around a bug in the HP C Compiler
 
21783
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
21784
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
21785
  # This bug is HP SR number 8606223364.
 
21786
  if test "$cross_compiling" = yes; then
 
21787
  # Depending upon the size, compute the lo and hi bounds.
 
21788
cat >conftest.$ac_ext <<_ACEOF
 
21789
/* confdefs.h.  */
 
21790
_ACEOF
 
21791
cat confdefs.h >>conftest.$ac_ext
 
21792
cat >>conftest.$ac_ext <<_ACEOF
 
21793
/* end confdefs.h.  */
 
21794
 
 
21795
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
21796
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
21797
        #  error "fake wchar_t"
 
21798
        #endif
 
21799
        #ifdef HAVE_WCHAR_H
 
21800
        #  ifdef __CYGWIN__
 
21801
        #    include <stddef.h>
 
21802
        #  endif
 
21803
        #  include <wchar.h>
 
21804
        #endif
 
21805
        #ifdef HAVE_STDLIB_H
 
21806
        #  include <stdlib.h>
 
21807
        #endif
 
21808
        #include <stdio.h>
 
21809
 
 
21810
 
 
21811
 
 
21812
int
 
21813
main ()
 
21814
{
 
21815
static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
 
21816
test_array [0] = 0
 
21817
 
 
21818
  ;
 
21819
  return 0;
 
21820
}
 
21821
_ACEOF
 
21822
rm -f conftest.$ac_objext
 
21823
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21824
  (eval $ac_compile) 2>conftest.er1
 
21825
  ac_status=$?
 
21826
  grep -v '^ *+' conftest.er1 >conftest.err
 
21827
  rm -f conftest.er1
 
21828
  cat conftest.err >&5
 
21829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21830
  (exit $ac_status); } &&
 
21831
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21832
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21833
  (eval $ac_try) 2>&5
 
21834
  ac_status=$?
 
21835
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21836
  (exit $ac_status); }; } &&
 
21837
         { ac_try='test -s conftest.$ac_objext'
 
21838
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21839
  (eval $ac_try) 2>&5
 
21840
  ac_status=$?
 
21841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21842
  (exit $ac_status); }; }; then
 
21843
  ac_lo=0 ac_mid=0
 
21844
  while :; do
 
21845
    cat >conftest.$ac_ext <<_ACEOF
 
21846
/* confdefs.h.  */
 
21847
_ACEOF
 
21848
cat confdefs.h >>conftest.$ac_ext
 
21849
cat >>conftest.$ac_ext <<_ACEOF
 
21850
/* end confdefs.h.  */
 
21851
 
 
21852
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
21853
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
21854
        #  error "fake wchar_t"
 
21855
        #endif
 
21856
        #ifdef HAVE_WCHAR_H
 
21857
        #  ifdef __CYGWIN__
 
21858
        #    include <stddef.h>
 
21859
        #  endif
 
21860
        #  include <wchar.h>
 
21861
        #endif
 
21862
        #ifdef HAVE_STDLIB_H
 
21863
        #  include <stdlib.h>
 
21864
        #endif
 
21865
        #include <stdio.h>
 
21866
 
 
21867
 
 
21868
 
 
21869
int
 
21870
main ()
 
21871
{
 
21872
static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
 
21873
test_array [0] = 0
 
21874
 
 
21875
  ;
 
21876
  return 0;
 
21877
}
 
21878
_ACEOF
 
21879
rm -f conftest.$ac_objext
 
21880
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21881
  (eval $ac_compile) 2>conftest.er1
 
21882
  ac_status=$?
 
21883
  grep -v '^ *+' conftest.er1 >conftest.err
 
21884
  rm -f conftest.er1
 
21885
  cat conftest.err >&5
 
21886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21887
  (exit $ac_status); } &&
 
21888
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
21889
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21890
  (eval $ac_try) 2>&5
 
21891
  ac_status=$?
 
21892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21893
  (exit $ac_status); }; } &&
 
21894
         { ac_try='test -s conftest.$ac_objext'
 
21895
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21896
  (eval $ac_try) 2>&5
 
21897
  ac_status=$?
 
21898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21899
  (exit $ac_status); }; }; then
 
21900
  ac_hi=$ac_mid; break
 
21901
else
 
21902
  echo "$as_me: failed program was:" >&5
 
21903
sed 's/^/| /' conftest.$ac_ext >&5
 
21904
 
 
21905
ac_lo=`expr $ac_mid + 1`
 
21906
                    if test $ac_lo -le $ac_mid; then
 
21907
                      ac_lo= ac_hi=
 
21908
                      break
 
21909
                    fi
 
21910
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
21911
fi
 
21912
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21913
  done
 
21914
else
 
21915
  echo "$as_me: failed program was:" >&5
 
21916
sed 's/^/| /' conftest.$ac_ext >&5
 
21917
 
 
21918
cat >conftest.$ac_ext <<_ACEOF
 
21919
/* confdefs.h.  */
 
21920
_ACEOF
 
21921
cat confdefs.h >>conftest.$ac_ext
 
21922
cat >>conftest.$ac_ext <<_ACEOF
 
21923
/* end confdefs.h.  */
 
21924
 
 
21925
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
21926
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
21927
        #  error "fake wchar_t"
 
21928
        #endif
 
21929
        #ifdef HAVE_WCHAR_H
 
21930
        #  ifdef __CYGWIN__
 
21931
        #    include <stddef.h>
 
21932
        #  endif
 
21933
        #  include <wchar.h>
 
21934
        #endif
 
21935
        #ifdef HAVE_STDLIB_H
 
21936
        #  include <stdlib.h>
 
21937
        #endif
 
21938
        #include <stdio.h>
 
21939
 
 
21940
 
 
21941
 
 
21942
int
 
21943
main ()
 
21944
{
 
21945
static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
 
21946
test_array [0] = 0
 
21947
 
 
21948
  ;
 
21949
  return 0;
 
21950
}
 
21951
_ACEOF
 
21952
rm -f conftest.$ac_objext
 
21953
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21954
  (eval $ac_compile) 2>conftest.er1
 
21955
  ac_status=$?
 
21956
  grep -v '^ *+' conftest.er1 >conftest.err
 
21957
  rm -f conftest.er1
 
21958
  cat conftest.err >&5
 
21959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21960
  (exit $ac_status); } &&
 
21961
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
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); }; } &&
 
21967
         { ac_try='test -s conftest.$ac_objext'
 
21968
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21969
  (eval $ac_try) 2>&5
 
21970
  ac_status=$?
 
21971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21972
  (exit $ac_status); }; }; then
 
21973
  ac_hi=-1 ac_mid=-1
 
21974
  while :; do
 
21975
    cat >conftest.$ac_ext <<_ACEOF
 
21976
/* confdefs.h.  */
 
21977
_ACEOF
 
21978
cat confdefs.h >>conftest.$ac_ext
 
21979
cat >>conftest.$ac_ext <<_ACEOF
 
21980
/* end confdefs.h.  */
 
21981
 
 
21982
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
21983
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
21984
        #  error "fake wchar_t"
 
21985
        #endif
 
21986
        #ifdef HAVE_WCHAR_H
 
21987
        #  ifdef __CYGWIN__
 
21988
        #    include <stddef.h>
 
21989
        #  endif
 
21990
        #  include <wchar.h>
 
21991
        #endif
 
21992
        #ifdef HAVE_STDLIB_H
 
21993
        #  include <stdlib.h>
 
21994
        #endif
 
21995
        #include <stdio.h>
 
21996
 
 
21997
 
 
21998
 
 
21999
int
 
22000
main ()
 
22001
{
 
22002
static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
 
22003
test_array [0] = 0
 
22004
 
 
22005
  ;
 
22006
  return 0;
 
22007
}
 
22008
_ACEOF
 
22009
rm -f conftest.$ac_objext
 
22010
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22011
  (eval $ac_compile) 2>conftest.er1
 
22012
  ac_status=$?
 
22013
  grep -v '^ *+' conftest.er1 >conftest.err
 
22014
  rm -f conftest.er1
 
22015
  cat conftest.err >&5
 
22016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22017
  (exit $ac_status); } &&
 
22018
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22019
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22020
  (eval $ac_try) 2>&5
 
22021
  ac_status=$?
 
22022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22023
  (exit $ac_status); }; } &&
 
22024
         { ac_try='test -s conftest.$ac_objext'
 
22025
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22026
  (eval $ac_try) 2>&5
 
22027
  ac_status=$?
 
22028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22029
  (exit $ac_status); }; }; then
 
22030
  ac_lo=$ac_mid; break
 
22031
else
 
22032
  echo "$as_me: failed program was:" >&5
 
22033
sed 's/^/| /' conftest.$ac_ext >&5
 
22034
 
 
22035
ac_hi=`expr '(' $ac_mid ')' - 1`
 
22036
                       if test $ac_mid -le $ac_hi; then
 
22037
                         ac_lo= ac_hi=
 
22038
                         break
 
22039
                       fi
 
22040
                       ac_mid=`expr 2 '*' $ac_mid`
 
22041
fi
 
22042
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22043
  done
 
22044
else
 
22045
  echo "$as_me: failed program was:" >&5
 
22046
sed 's/^/| /' conftest.$ac_ext >&5
 
22047
 
 
22048
ac_lo= ac_hi=
 
22049
fi
 
22050
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22051
fi
 
22052
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22053
# Binary search between lo and hi bounds.
 
22054
while test "x$ac_lo" != "x$ac_hi"; do
 
22055
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
22056
  cat >conftest.$ac_ext <<_ACEOF
 
22057
/* confdefs.h.  */
 
22058
_ACEOF
 
22059
cat confdefs.h >>conftest.$ac_ext
 
22060
cat >>conftest.$ac_ext <<_ACEOF
 
22061
/* end confdefs.h.  */
 
22062
 
 
22063
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
22064
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
22065
        #  error "fake wchar_t"
 
22066
        #endif
 
22067
        #ifdef HAVE_WCHAR_H
 
22068
        #  ifdef __CYGWIN__
 
22069
        #    include <stddef.h>
 
22070
        #  endif
 
22071
        #  include <wchar.h>
 
22072
        #endif
 
22073
        #ifdef HAVE_STDLIB_H
 
22074
        #  include <stdlib.h>
 
22075
        #endif
 
22076
        #include <stdio.h>
 
22077
 
 
22078
 
 
22079
 
 
22080
int
 
22081
main ()
 
22082
{
 
22083
static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
 
22084
test_array [0] = 0
 
22085
 
 
22086
  ;
 
22087
  return 0;
 
22088
}
 
22089
_ACEOF
 
22090
rm -f conftest.$ac_objext
 
22091
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22092
  (eval $ac_compile) 2>conftest.er1
 
22093
  ac_status=$?
 
22094
  grep -v '^ *+' conftest.er1 >conftest.err
 
22095
  rm -f conftest.er1
 
22096
  cat conftest.err >&5
 
22097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22098
  (exit $ac_status); } &&
 
22099
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22100
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22101
  (eval $ac_try) 2>&5
 
22102
  ac_status=$?
 
22103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22104
  (exit $ac_status); }; } &&
 
22105
         { ac_try='test -s conftest.$ac_objext'
 
22106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22107
  (eval $ac_try) 2>&5
 
22108
  ac_status=$?
 
22109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22110
  (exit $ac_status); }; }; then
 
22111
  ac_hi=$ac_mid
 
22112
else
 
22113
  echo "$as_me: failed program was:" >&5
 
22114
sed 's/^/| /' conftest.$ac_ext >&5
 
22115
 
 
22116
ac_lo=`expr '(' $ac_mid ')' + 1`
 
22117
fi
 
22118
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22119
done
 
22120
case $ac_lo in
 
22121
?*) ac_cv_sizeof_wchar_t=$ac_lo;;
 
22122
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
 
22123
See \`config.log' for more details." >&5
 
22124
echo "$as_me: error: cannot compute sizeof (wchar_t), 77
 
22125
See \`config.log' for more details." >&2;}
 
22126
   { (exit 1); exit 1; }; } ;;
 
22127
esac
 
22128
else
 
22129
  if test "$cross_compiling" = yes; then
 
22130
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
22131
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
22132
   { (exit 1); exit 1; }; }
 
22133
else
 
22134
  cat >conftest.$ac_ext <<_ACEOF
 
22135
/* confdefs.h.  */
 
22136
_ACEOF
 
22137
cat confdefs.h >>conftest.$ac_ext
 
22138
cat >>conftest.$ac_ext <<_ACEOF
 
22139
/* end confdefs.h.  */
 
22140
 
 
22141
        /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
 
22142
        #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
 
22143
        #  error "fake wchar_t"
 
22144
        #endif
 
22145
        #ifdef HAVE_WCHAR_H
 
22146
        #  ifdef __CYGWIN__
 
22147
        #    include <stddef.h>
 
22148
        #  endif
 
22149
        #  include <wchar.h>
 
22150
        #endif
 
22151
        #ifdef HAVE_STDLIB_H
 
22152
        #  include <stdlib.h>
 
22153
        #endif
 
22154
        #include <stdio.h>
 
22155
 
 
22156
 
 
22157
 
 
22158
long longval () { return (long) (sizeof (wchar_t)); }
 
22159
unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
 
22160
#include <stdio.h>
 
22161
#include <stdlib.h>
 
22162
int
 
22163
main ()
 
22164
{
 
22165
 
 
22166
  FILE *f = fopen ("conftest.val", "w");
 
22167
  if (! f)
 
22168
    exit (1);
 
22169
  if (((long) (sizeof (wchar_t))) < 0)
 
22170
    {
 
22171
      long i = longval ();
 
22172
      if (i != ((long) (sizeof (wchar_t))))
 
22173
        exit (1);
 
22174
      fprintf (f, "%ld\n", i);
 
22175
    }
 
22176
  else
 
22177
    {
 
22178
      unsigned long i = ulongval ();
 
22179
      if (i != ((long) (sizeof (wchar_t))))
 
22180
        exit (1);
 
22181
      fprintf (f, "%lu\n", i);
 
22182
    }
 
22183
  exit (ferror (f) || fclose (f) != 0);
 
22184
 
 
22185
  ;
 
22186
  return 0;
 
22187
}
 
22188
_ACEOF
 
22189
rm -f conftest$ac_exeext
 
22190
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22191
  (eval $ac_link) 2>&5
 
22192
  ac_status=$?
 
22193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22194
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
22195
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22196
  (eval $ac_try) 2>&5
 
22197
  ac_status=$?
 
22198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22199
  (exit $ac_status); }; }; then
 
22200
  ac_cv_sizeof_wchar_t=`cat conftest.val`
 
22201
else
 
22202
  echo "$as_me: program exited with status $ac_status" >&5
 
22203
echo "$as_me: failed program was:" >&5
 
22204
sed 's/^/| /' conftest.$ac_ext >&5
 
22205
 
 
22206
( exit $ac_status )
 
22207
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
 
22208
See \`config.log' for more details." >&5
 
22209
echo "$as_me: error: cannot compute sizeof (wchar_t), 77
 
22210
See \`config.log' for more details." >&2;}
 
22211
   { (exit 1); exit 1; }; }
 
22212
fi
 
22213
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22214
fi
 
22215
fi
 
22216
rm -f conftest.val
 
22217
else
 
22218
  ac_cv_sizeof_wchar_t=0
 
22219
fi
 
22220
fi
 
22221
echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
 
22222
echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
 
22223
cat >>confdefs.h <<_ACEOF
 
22224
#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
 
22225
_ACEOF
 
22226
 
 
22227
 
 
22228
if test "$ac_cv_sizeof_wchar_t" != "0"; then
 
22229
    wxUSE_WCHAR_T=yes
 
22230
else
 
22231
    wxUSE_WCHAR_T=no
 
22232
fi
 
22233
 
 
22234
echo "$as_me:$LINENO: checking for va_copy" >&5
 
22235
echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
 
22236
if test "${wx_cv_func_va_copy+set}" = set; then
 
22237
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22238
else
 
22239
 
 
22240
        ac_ext=cc
 
22241
ac_cpp='$CXXCPP $CPPFLAGS'
 
22242
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
22243
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
22244
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
22245
 
 
22246
        cat >conftest.$ac_ext <<_ACEOF
 
22247
 
 
22248
            #include <stdarg.h>
 
22249
            void foo(char *f, ...)
 
22250
            {
 
22251
                va_list ap1, ap2;
 
22252
                va_start(ap1, f);
 
22253
                va_copy(ap2, ap1);
 
22254
                va_end(ap2);
 
22255
                va_end(ap1);
 
22256
            }
 
22257
            int main()
 
22258
            {
 
22259
                foo("hi", 17);
 
22260
                return 0;
 
22261
            }
 
22262
_ACEOF
 
22263
rm -f conftest.$ac_objext conftest$ac_exeext
 
22264
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22265
  (eval $ac_link) 2>conftest.er1
 
22266
  ac_status=$?
 
22267
  grep -v '^ *+' conftest.er1 >conftest.err
 
22268
  rm -f conftest.er1
 
22269
  cat conftest.err >&5
 
22270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22271
  (exit $ac_status); } &&
 
22272
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
22273
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22274
  (eval $ac_try) 2>&5
 
22275
  ac_status=$?
 
22276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22277
  (exit $ac_status); }; } &&
 
22278
         { ac_try='test -s conftest$ac_exeext'
 
22279
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22280
  (eval $ac_try) 2>&5
 
22281
  ac_status=$?
 
22282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22283
  (exit $ac_status); }; }; then
 
22284
  wx_cv_func_va_copy=yes
 
22285
else
 
22286
  echo "$as_me: failed program was:" >&5
 
22287
sed 's/^/| /' conftest.$ac_ext >&5
 
22288
 
 
22289
wx_cv_func_va_copy=no
 
22290
 
 
22291
fi
 
22292
rm -f conftest.err conftest.$ac_objext \
 
22293
      conftest$ac_exeext conftest.$ac_ext
 
22294
        ac_ext=c
 
22295
ac_cpp='$CPP $CPPFLAGS'
 
22296
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
22297
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
22298
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
22299
 
 
22300
 
 
22301
 
 
22302
fi
 
22303
echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
 
22304
echo "${ECHO_T}$wx_cv_func_va_copy" >&6
 
22305
 
 
22306
if test $wx_cv_func_va_copy = "yes"; then
 
22307
    cat >>confdefs.h <<\_ACEOF
 
22308
#define HAVE_VA_COPY 1
 
22309
_ACEOF
 
22310
 
 
22311
else
 
22312
        echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
 
22313
echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
 
22314
if test "${wx_cv_type_va_list_lvalue+set}" = set; then
 
22315
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22316
else
 
22317
 
 
22318
            if test "$cross_compiling" = yes; then
 
22319
                  wx_cv_type_va_list_lvalue=yes
 
22320
 
 
22321
else
 
22322
  cat >conftest.$ac_ext <<_ACEOF
 
22323
 
 
22324
                #include <stdarg.h>
 
22325
                int foo(char *f, ...)
 
22326
                {
 
22327
                    va_list ap1, ap2;
 
22328
                    va_start(ap1, f);
 
22329
                    ap2 = ap1;
 
22330
                    if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
 
22331
                        return 1;
 
22332
                    va_end(ap2);
 
22333
                    va_end(ap1);
 
22334
                    return 0;
 
22335
                }
 
22336
                int main()
 
22337
                {
 
22338
                    return foo("hi", 17);
 
22339
                }
 
22340
_ACEOF
 
22341
rm -f conftest$ac_exeext
 
22342
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22343
  (eval $ac_link) 2>&5
 
22344
  ac_status=$?
 
22345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22346
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
22347
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22348
  (eval $ac_try) 2>&5
 
22349
  ac_status=$?
 
22350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22351
  (exit $ac_status); }; }; then
 
22352
  wx_cv_type_va_list_lvalue=yes
 
22353
else
 
22354
  echo "$as_me: program exited with status $ac_status" >&5
 
22355
echo "$as_me: failed program was:" >&5
 
22356
sed 's/^/| /' conftest.$ac_ext >&5
 
22357
 
 
22358
( exit $ac_status )
 
22359
wx_cv_type_va_list_lvalue=no
 
22360
fi
 
22361
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22362
fi
 
22363
 
 
22364
 
 
22365
fi
 
22366
echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
 
22367
echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
 
22368
 
 
22369
    if test $wx_cv_type_va_list_lvalue != "yes"; then
 
22370
                        cat >>confdefs.h <<\_ACEOF
 
22371
#define VA_LIST_IS_ARRAY 1
 
22372
_ACEOF
 
22373
 
 
22374
    fi
 
22375
fi
 
22376
 
 
22377
if test "$wxUSE_VARARG_MACROS" = "yes"; then
 
22378
 
 
22379
echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
 
22380
echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
 
22381
if test "${wx_cv_have_variadic_macros+set}" = set; then
 
22382
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22383
else
 
22384
 
 
22385
                        ac_ext=cc
 
22386
ac_cpp='$CXXCPP $CPPFLAGS'
 
22387
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
22388
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
22389
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
22390
 
 
22391
        cat >conftest.$ac_ext <<_ACEOF
 
22392
/* confdefs.h.  */
 
22393
_ACEOF
 
22394
cat confdefs.h >>conftest.$ac_ext
 
22395
cat >>conftest.$ac_ext <<_ACEOF
 
22396
/* end confdefs.h.  */
 
22397
 
 
22398
                    #include <stdio.h>
 
22399
                    #define test(fmt, ...) printf(fmt, __VA_ARGS__)
 
22400
 
 
22401
int
 
22402
main ()
 
22403
{
 
22404
 
 
22405
                    test("%s %d %p", "test", 1, 0);
 
22406
 
 
22407
 
 
22408
  ;
 
22409
  return 0;
 
22410
}
 
22411
_ACEOF
 
22412
rm -f conftest.$ac_objext
 
22413
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22414
  (eval $ac_compile) 2>conftest.er1
 
22415
  ac_status=$?
 
22416
  grep -v '^ *+' conftest.er1 >conftest.err
 
22417
  rm -f conftest.er1
 
22418
  cat conftest.err >&5
 
22419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22420
  (exit $ac_status); } &&
 
22421
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
22422
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22423
  (eval $ac_try) 2>&5
 
22424
  ac_status=$?
 
22425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22426
  (exit $ac_status); }; } &&
 
22427
         { ac_try='test -s conftest.$ac_objext'
 
22428
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22429
  (eval $ac_try) 2>&5
 
22430
  ac_status=$?
 
22431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22432
  (exit $ac_status); }; }; then
 
22433
  wx_cv_have_variadic_macros=yes
 
22434
else
 
22435
  echo "$as_me: failed program was:" >&5
 
22436
sed 's/^/| /' conftest.$ac_ext >&5
 
22437
 
 
22438
wx_cv_have_variadic_macros=no
 
22439
 
 
22440
fi
 
22441
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22442
        ac_ext=c
 
22443
ac_cpp='$CPP $CPPFLAGS'
 
22444
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
22445
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
22446
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
22447
 
 
22448
 
 
22449
 
 
22450
fi
 
22451
echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
 
22452
echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
 
22453
 
 
22454
if test $wx_cv_have_variadic_macros = "yes"; then
 
22455
    cat >>confdefs.h <<\_ACEOF
 
22456
#define HAVE_VARIADIC_MACROS 1
 
22457
_ACEOF
 
22458
 
 
22459
fi
 
22460
 
 
22461
fi
 
22462
# Check whether --enable-largefile or --disable-largefile was given.
 
22463
if test "${enable_largefile+set}" = set; then
 
22464
  enableval="$enable_largefile"
 
22465
 
 
22466
fi;
 
22467
if test "$enable_largefile" != no; then
 
22468
            wx_largefile=no
 
22469
 
 
22470
    echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
22471
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
 
22472
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
 
22473
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22474
else
 
22475
 
 
22476
          cat >conftest.$ac_ext <<_ACEOF
 
22477
/* confdefs.h.  */
 
22478
_ACEOF
 
22479
cat confdefs.h >>conftest.$ac_ext
 
22480
cat >>conftest.$ac_ext <<_ACEOF
 
22481
/* end confdefs.h.  */
 
22482
#define _FILE_OFFSET_BITS 64
 
22483
                          #include <sys/types.h>
 
22484
int
 
22485
main ()
 
22486
{
 
22487
typedef struct {
 
22488
    unsigned int field: sizeof(off_t) == 8;
 
22489
} wxlf;
 
22490
 
 
22491
  ;
 
22492
  return 0;
 
22493
}
 
22494
_ACEOF
 
22495
rm -f conftest.$ac_objext
 
22496
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22497
  (eval $ac_compile) 2>conftest.er1
 
22498
  ac_status=$?
 
22499
  grep -v '^ *+' conftest.er1 >conftest.err
 
22500
  rm -f conftest.er1
 
22501
  cat conftest.err >&5
 
22502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22503
  (exit $ac_status); } &&
 
22504
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22505
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22506
  (eval $ac_try) 2>&5
 
22507
  ac_status=$?
 
22508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22509
  (exit $ac_status); }; } &&
 
22510
         { ac_try='test -s conftest.$ac_objext'
 
22511
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22512
  (eval $ac_try) 2>&5
 
22513
  ac_status=$?
 
22514
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22515
  (exit $ac_status); }; }; then
 
22516
  ac_cv_sys_file_offset_bits=64
 
22517
else
 
22518
  echo "$as_me: failed program was:" >&5
 
22519
sed 's/^/| /' conftest.$ac_ext >&5
 
22520
 
 
22521
ac_cv_sys_file_offset_bits=no
 
22522
fi
 
22523
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22524
 
 
22525
 
 
22526
fi
 
22527
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
22528
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
 
22529
 
 
22530
    if test "$ac_cv_sys_file_offset_bits" != no; then
 
22531
        wx_largefile=yes
 
22532
        cat >>confdefs.h <<_ACEOF
 
22533
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
 
22534
_ACEOF
 
22535
 
 
22536
    fi
 
22537
 
 
22538
    if test "x$wx_largefile" != "xyes"; then
 
22539
 
 
22540
    echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
22541
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
 
22542
if test "${ac_cv_sys_large_files+set}" = set; then
 
22543
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22544
else
 
22545
 
 
22546
          cat >conftest.$ac_ext <<_ACEOF
 
22547
/* confdefs.h.  */
 
22548
_ACEOF
 
22549
cat confdefs.h >>conftest.$ac_ext
 
22550
cat >>conftest.$ac_ext <<_ACEOF
 
22551
/* end confdefs.h.  */
 
22552
#define _LARGE_FILES 1
 
22553
                          #include <sys/types.h>
 
22554
int
 
22555
main ()
 
22556
{
 
22557
typedef struct {
 
22558
    unsigned int field: sizeof(off_t) == 8;
 
22559
} wxlf;
 
22560
 
 
22561
  ;
 
22562
  return 0;
 
22563
}
 
22564
_ACEOF
 
22565
rm -f conftest.$ac_objext
 
22566
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22567
  (eval $ac_compile) 2>conftest.er1
 
22568
  ac_status=$?
 
22569
  grep -v '^ *+' conftest.er1 >conftest.err
 
22570
  rm -f conftest.er1
 
22571
  cat conftest.err >&5
 
22572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22573
  (exit $ac_status); } &&
 
22574
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22575
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22576
  (eval $ac_try) 2>&5
 
22577
  ac_status=$?
 
22578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22579
  (exit $ac_status); }; } &&
 
22580
         { ac_try='test -s conftest.$ac_objext'
 
22581
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22582
  (eval $ac_try) 2>&5
 
22583
  ac_status=$?
 
22584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22585
  (exit $ac_status); }; }; then
 
22586
  ac_cv_sys_large_files=1
 
22587
else
 
22588
  echo "$as_me: failed program was:" >&5
 
22589
sed 's/^/| /' conftest.$ac_ext >&5
 
22590
 
 
22591
ac_cv_sys_large_files=no
 
22592
fi
 
22593
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22594
 
 
22595
 
 
22596
fi
 
22597
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
22598
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
 
22599
 
 
22600
    if test "$ac_cv_sys_large_files" != no; then
 
22601
        wx_largefile=yes
 
22602
        cat >>confdefs.h <<_ACEOF
 
22603
#define _LARGE_FILES $ac_cv_sys_large_files
 
22604
_ACEOF
 
22605
 
 
22606
    fi
 
22607
 
 
22608
    fi
 
22609
 
 
22610
    echo "$as_me:$LINENO: checking if large file support is available" >&5
 
22611
echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
 
22612
    if test "x$wx_largefile" = "xyes"; then
 
22613
        cat >>confdefs.h <<\_ACEOF
 
22614
#define HAVE_LARGEFILE_SUPPORT 1
 
22615
_ACEOF
 
22616
 
 
22617
    fi
 
22618
    echo "$as_me:$LINENO: result: $wx_largefile" >&5
 
22619
echo "${ECHO_T}$wx_largefile" >&6
 
22620
fi
 
22621
 
 
22622
 
 
22623
if test "x$wx_largefile" = "xyes"; then
 
22624
    if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
 
22625
        WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
 
22626
 
 
22627
                                                        if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
 
22628
            echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
 
22629
echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
 
22630
if test "${wx_cv_STDC_EXT_required+set}" = set; then
 
22631
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22632
else
 
22633
 
 
22634
                    ac_ext=cc
 
22635
ac_cpp='$CXXCPP $CPPFLAGS'
 
22636
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
22637
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
22638
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
22639
 
 
22640
                    cat >conftest.$ac_ext <<_ACEOF
 
22641
/* confdefs.h.  */
 
22642
_ACEOF
 
22643
cat confdefs.h >>conftest.$ac_ext
 
22644
cat >>conftest.$ac_ext <<_ACEOF
 
22645
/* end confdefs.h.  */
 
22646
 
 
22647
int
 
22648
main ()
 
22649
{
 
22650
 
 
22651
                            #ifndef __STDC_EXT__
 
22652
                                choke me
 
22653
                            #endif
 
22654
 
 
22655
  ;
 
22656
  return 0;
 
22657
}
 
22658
_ACEOF
 
22659
rm -f conftest.$ac_objext
 
22660
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22661
  (eval $ac_compile) 2>conftest.er1
 
22662
  ac_status=$?
 
22663
  grep -v '^ *+' conftest.er1 >conftest.err
 
22664
  rm -f conftest.er1
 
22665
  cat conftest.err >&5
 
22666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22667
  (exit $ac_status); } &&
 
22668
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
22669
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22670
  (eval $ac_try) 2>&5
 
22671
  ac_status=$?
 
22672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22673
  (exit $ac_status); }; } &&
 
22674
         { ac_try='test -s conftest.$ac_objext'
 
22675
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22676
  (eval $ac_try) 2>&5
 
22677
  ac_status=$?
 
22678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22679
  (exit $ac_status); }; }; then
 
22680
  wx_cv_STDC_EXT_required=no
 
22681
else
 
22682
  echo "$as_me: failed program was:" >&5
 
22683
sed 's/^/| /' conftest.$ac_ext >&5
 
22684
 
 
22685
wx_cv_STDC_EXT_required=yes
 
22686
 
 
22687
fi
 
22688
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22689
                    ac_ext=c
 
22690
ac_cpp='$CPP $CPPFLAGS'
 
22691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
22692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
22693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
22694
 
 
22695
 
 
22696
 
 
22697
fi
 
22698
echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
 
22699
echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
 
22700
            if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
 
22701
                WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
 
22702
            fi
 
22703
        fi
 
22704
    else
 
22705
        WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
 
22706
    fi
 
22707
        echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
 
22708
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
 
22709
if test "${ac_cv_sys_largefile_source+set}" = set; then
 
22710
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22711
else
 
22712
  while :; do
 
22713
  ac_cv_sys_largefile_source=no
 
22714
  cat >conftest.$ac_ext <<_ACEOF
 
22715
/* confdefs.h.  */
 
22716
_ACEOF
 
22717
cat confdefs.h >>conftest.$ac_ext
 
22718
cat >>conftest.$ac_ext <<_ACEOF
 
22719
/* end confdefs.h.  */
 
22720
#include <stdio.h>
 
22721
int
 
22722
main ()
 
22723
{
 
22724
return !fseeko;
 
22725
  ;
 
22726
  return 0;
 
22727
}
 
22728
_ACEOF
 
22729
rm -f conftest.$ac_objext
 
22730
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22731
  (eval $ac_compile) 2>conftest.er1
 
22732
  ac_status=$?
 
22733
  grep -v '^ *+' conftest.er1 >conftest.err
 
22734
  rm -f conftest.er1
 
22735
  cat conftest.err >&5
 
22736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22737
  (exit $ac_status); } &&
 
22738
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22739
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22740
  (eval $ac_try) 2>&5
 
22741
  ac_status=$?
 
22742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22743
  (exit $ac_status); }; } &&
 
22744
         { ac_try='test -s conftest.$ac_objext'
 
22745
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22746
  (eval $ac_try) 2>&5
 
22747
  ac_status=$?
 
22748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22749
  (exit $ac_status); }; }; then
 
22750
  break
 
22751
else
 
22752
  echo "$as_me: failed program was:" >&5
 
22753
sed 's/^/| /' conftest.$ac_ext >&5
 
22754
 
 
22755
fi
 
22756
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22757
  cat >conftest.$ac_ext <<_ACEOF
 
22758
/* confdefs.h.  */
 
22759
_ACEOF
 
22760
cat confdefs.h >>conftest.$ac_ext
 
22761
cat >>conftest.$ac_ext <<_ACEOF
 
22762
/* end confdefs.h.  */
 
22763
#define _LARGEFILE_SOURCE 1
 
22764
#include <stdio.h>
 
22765
int
 
22766
main ()
 
22767
{
 
22768
return !fseeko;
 
22769
  ;
 
22770
  return 0;
 
22771
}
 
22772
_ACEOF
 
22773
rm -f conftest.$ac_objext
 
22774
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22775
  (eval $ac_compile) 2>conftest.er1
 
22776
  ac_status=$?
 
22777
  grep -v '^ *+' conftest.er1 >conftest.err
 
22778
  rm -f conftest.er1
 
22779
  cat conftest.err >&5
 
22780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22781
  (exit $ac_status); } &&
 
22782
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22783
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22784
  (eval $ac_try) 2>&5
 
22785
  ac_status=$?
 
22786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22787
  (exit $ac_status); }; } &&
 
22788
         { ac_try='test -s conftest.$ac_objext'
 
22789
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22790
  (eval $ac_try) 2>&5
 
22791
  ac_status=$?
 
22792
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22793
  (exit $ac_status); }; }; then
 
22794
  ac_cv_sys_largefile_source=1; break
 
22795
else
 
22796
  echo "$as_me: failed program was:" >&5
 
22797
sed 's/^/| /' conftest.$ac_ext >&5
 
22798
 
 
22799
fi
 
22800
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22801
  break
 
22802
done
 
22803
fi
 
22804
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
 
22805
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
 
22806
if test "$ac_cv_sys_largefile_source" != no; then
 
22807
 
 
22808
cat >>confdefs.h <<_ACEOF
 
22809
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
 
22810
_ACEOF
 
22811
 
 
22812
fi
 
22813
rm -f conftest*
 
22814
 
 
22815
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
 
22816
# in glibc 2.1.3, but that breaks too many other things.
 
22817
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
 
22818
echo "$as_me:$LINENO: checking for fseeko" >&5
 
22819
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
 
22820
if test "${ac_cv_func_fseeko+set}" = set; then
 
22821
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22822
else
 
22823
  cat >conftest.$ac_ext <<_ACEOF
 
22824
/* confdefs.h.  */
 
22825
_ACEOF
 
22826
cat confdefs.h >>conftest.$ac_ext
 
22827
cat >>conftest.$ac_ext <<_ACEOF
 
22828
/* end confdefs.h.  */
 
22829
#include <stdio.h>
 
22830
int
 
22831
main ()
 
22832
{
 
22833
return fseeko && fseeko (stdin, 0, 0);
 
22834
  ;
 
22835
  return 0;
 
22836
}
 
22837
_ACEOF
 
22838
rm -f conftest.$ac_objext conftest$ac_exeext
 
22839
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22840
  (eval $ac_link) 2>conftest.er1
 
22841
  ac_status=$?
 
22842
  grep -v '^ *+' conftest.er1 >conftest.err
 
22843
  rm -f conftest.er1
 
22844
  cat conftest.err >&5
 
22845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22846
  (exit $ac_status); } &&
 
22847
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22848
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22849
  (eval $ac_try) 2>&5
 
22850
  ac_status=$?
 
22851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22852
  (exit $ac_status); }; } &&
 
22853
         { ac_try='test -s conftest$ac_exeext'
 
22854
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22855
  (eval $ac_try) 2>&5
 
22856
  ac_status=$?
 
22857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22858
  (exit $ac_status); }; }; then
 
22859
  ac_cv_func_fseeko=yes
 
22860
else
 
22861
  echo "$as_me: failed program was:" >&5
 
22862
sed 's/^/| /' conftest.$ac_ext >&5
 
22863
 
 
22864
ac_cv_func_fseeko=no
 
22865
fi
 
22866
rm -f conftest.err conftest.$ac_objext \
 
22867
      conftest$ac_exeext conftest.$ac_ext
 
22868
fi
 
22869
echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
 
22870
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
 
22871
if test $ac_cv_func_fseeko = yes; then
 
22872
 
 
22873
cat >>confdefs.h <<\_ACEOF
 
22874
#define HAVE_FSEEKO 1
 
22875
_ACEOF
 
22876
 
 
22877
fi
 
22878
 
 
22879
    if test "$ac_cv_sys_largefile_source" != no; then
 
22880
        WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
 
22881
    fi
 
22882
fi
 
22883
 
 
22884
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
22885
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
22886
if test "${ac_cv_c_bigendian+set}" = set; then
 
22887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22888
else
 
22889
  ac_cv_c_bigendian=unknown
 
22890
# See if sys/param.h defines the BYTE_ORDER macro.
 
22891
cat >conftest.$ac_ext <<_ACEOF
 
22892
/* confdefs.h.  */
 
22893
_ACEOF
 
22894
cat confdefs.h >>conftest.$ac_ext
 
22895
cat >>conftest.$ac_ext <<_ACEOF
 
22896
/* end confdefs.h.  */
 
22897
#include <sys/types.h>
 
22898
#include <sys/param.h>
 
22899
int
 
22900
main ()
 
22901
{
 
22902
 
 
22903
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
22904
 bogus endian macros
 
22905
#endif
 
22906
  ;
 
22907
  return 0;
 
22908
}
 
22909
_ACEOF
 
22910
rm -f conftest.$ac_objext
 
22911
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22912
  (eval $ac_compile) 2>conftest.er1
 
22913
  ac_status=$?
 
22914
  grep -v '^ *+' conftest.er1 >conftest.err
 
22915
  rm -f conftest.er1
 
22916
  cat conftest.err >&5
 
22917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22918
  (exit $ac_status); } &&
 
22919
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22920
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22921
  (eval $ac_try) 2>&5
 
22922
  ac_status=$?
 
22923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22924
  (exit $ac_status); }; } &&
 
22925
         { ac_try='test -s conftest.$ac_objext'
 
22926
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22927
  (eval $ac_try) 2>&5
 
22928
  ac_status=$?
 
22929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22930
  (exit $ac_status); }; }; then
 
22931
  # It does; now see whether it defined to BIG_ENDIAN or not.
 
22932
cat >conftest.$ac_ext <<_ACEOF
 
22933
/* confdefs.h.  */
 
22934
_ACEOF
 
22935
cat confdefs.h >>conftest.$ac_ext
 
22936
cat >>conftest.$ac_ext <<_ACEOF
 
22937
/* end confdefs.h.  */
 
22938
#include <sys/types.h>
 
22939
#include <sys/param.h>
 
22940
int
 
22941
main ()
 
22942
{
 
22943
 
 
22944
#if BYTE_ORDER != BIG_ENDIAN
 
22945
 not big endian
 
22946
#endif
 
22947
  ;
 
22948
  return 0;
 
22949
}
 
22950
_ACEOF
 
22951
rm -f conftest.$ac_objext
 
22952
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22953
  (eval $ac_compile) 2>conftest.er1
 
22954
  ac_status=$?
 
22955
  grep -v '^ *+' conftest.er1 >conftest.err
 
22956
  rm -f conftest.er1
 
22957
  cat conftest.err >&5
 
22958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22959
  (exit $ac_status); } &&
 
22960
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
22961
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22962
  (eval $ac_try) 2>&5
 
22963
  ac_status=$?
 
22964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22965
  (exit $ac_status); }; } &&
 
22966
         { ac_try='test -s conftest.$ac_objext'
 
22967
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22968
  (eval $ac_try) 2>&5
 
22969
  ac_status=$?
 
22970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22971
  (exit $ac_status); }; }; then
 
22972
  ac_cv_c_bigendian=yes
 
22973
else
 
22974
  echo "$as_me: failed program was:" >&5
 
22975
sed 's/^/| /' conftest.$ac_ext >&5
 
22976
 
 
22977
ac_cv_c_bigendian=no
 
22978
fi
 
22979
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22980
else
 
22981
  echo "$as_me: failed program was:" >&5
 
22982
sed 's/^/| /' conftest.$ac_ext >&5
 
22983
 
 
22984
fi
 
22985
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22986
if test $ac_cv_c_bigendian = unknown; then
 
22987
if test "$cross_compiling" = yes; then
 
22988
  ac_cv_c_bigendian=unknown
 
22989
else
 
22990
  cat >conftest.$ac_ext <<_ACEOF
 
22991
/* confdefs.h.  */
 
22992
_ACEOF
 
22993
cat confdefs.h >>conftest.$ac_ext
 
22994
cat >>conftest.$ac_ext <<_ACEOF
 
22995
/* end confdefs.h.  */
 
22996
main () {
 
22997
  /* Are we little or big endian?  From Harbison&Steele.  */
 
22998
  union
 
22999
  {
 
23000
    long l;
 
23001
    char c[sizeof (long)];
 
23002
  } u;
 
23003
  u.l = 1;
 
23004
  exit (u.c[sizeof (long) - 1] == 1);
 
23005
}
 
23006
_ACEOF
 
23007
rm -f conftest$ac_exeext
 
23008
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23009
  (eval $ac_link) 2>&5
 
23010
  ac_status=$?
 
23011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23012
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
23013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23014
  (eval $ac_try) 2>&5
 
23015
  ac_status=$?
 
23016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23017
  (exit $ac_status); }; }; then
 
23018
  ac_cv_c_bigendian=no
 
23019
else
 
23020
  echo "$as_me: program exited with status $ac_status" >&5
 
23021
echo "$as_me: failed program was:" >&5
 
23022
sed 's/^/| /' conftest.$ac_ext >&5
 
23023
 
 
23024
( exit $ac_status )
 
23025
ac_cv_c_bigendian=yes
 
23026
fi
 
23027
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23028
fi
 
23029
fi
 
23030
fi
 
23031
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
23032
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
23033
if test $ac_cv_c_bigendian = unknown; then
 
23034
  { 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
 
23035
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;}
 
23036
fi
 
23037
if test $ac_cv_c_bigendian = yes; then
 
23038
  cat >>confdefs.h <<\_ACEOF
 
23039
#define WORDS_BIGENDIAN 1
 
23040
_ACEOF
 
23041
 
 
23042
fi
 
23043
 
 
23044
 
 
23045
 
 
23046
 
 
23047
 
 
23048
    ac_ext=cc
 
23049
ac_cpp='$CXXCPP $CPPFLAGS'
 
23050
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23051
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23052
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23053
 
 
23054
 
 
23055
 
 
23056
for ac_header in iostream
 
23057
do
 
23058
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
23059
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23060
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
23061
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23062
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23063
else
 
23064
  cat >conftest.$ac_ext <<_ACEOF
 
23065
/* confdefs.h.  */
 
23066
_ACEOF
 
23067
cat confdefs.h >>conftest.$ac_ext
 
23068
cat >>conftest.$ac_ext <<_ACEOF
 
23069
/* end confdefs.h.  */
 
23070
 
 
23071
 
 
23072
#include <$ac_header>
 
23073
_ACEOF
 
23074
rm -f conftest.$ac_objext
 
23075
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23076
  (eval $ac_compile) 2>conftest.er1
 
23077
  ac_status=$?
 
23078
  grep -v '^ *+' conftest.er1 >conftest.err
 
23079
  rm -f conftest.er1
 
23080
  cat conftest.err >&5
 
23081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23082
  (exit $ac_status); } &&
 
23083
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23084
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23085
  (eval $ac_try) 2>&5
 
23086
  ac_status=$?
 
23087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23088
  (exit $ac_status); }; } &&
 
23089
         { ac_try='test -s conftest.$ac_objext'
 
23090
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23091
  (eval $ac_try) 2>&5
 
23092
  ac_status=$?
 
23093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23094
  (exit $ac_status); }; }; then
 
23095
  eval "$as_ac_Header=yes"
 
23096
else
 
23097
  echo "$as_me: failed program was:" >&5
 
23098
sed 's/^/| /' conftest.$ac_ext >&5
 
23099
 
 
23100
eval "$as_ac_Header=no"
 
23101
fi
 
23102
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23103
fi
 
23104
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
23105
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23106
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
23107
  cat >>confdefs.h <<_ACEOF
 
23108
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
23109
_ACEOF
 
23110
 
 
23111
fi
 
23112
 
 
23113
done
 
23114
 
 
23115
 
 
23116
    if test "$ac_cv_header_iostream" = "yes" ; then
 
23117
      :
 
23118
    else
 
23119
      cat >>confdefs.h <<\_ACEOF
 
23120
#define wxUSE_IOSTREAMH 1
 
23121
_ACEOF
 
23122
 
 
23123
    fi
 
23124
 
 
23125
    ac_ext=c
 
23126
ac_cpp='$CPP $CPPFLAGS'
 
23127
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23128
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23129
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23130
 
 
23131
 
 
23132
 
 
23133
 
 
23134
  echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
 
23135
echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
 
23136
if test "${wx_cv_cpp_bool+set}" = set; then
 
23137
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23138
else
 
23139
 
 
23140
 
 
23141
 
 
23142
    ac_ext=cc
 
23143
ac_cpp='$CXXCPP $CPPFLAGS'
 
23144
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23145
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23146
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23147
 
 
23148
 
 
23149
    cat >conftest.$ac_ext <<_ACEOF
 
23150
/* confdefs.h.  */
 
23151
_ACEOF
 
23152
cat confdefs.h >>conftest.$ac_ext
 
23153
cat >>conftest.$ac_ext <<_ACEOF
 
23154
/* end confdefs.h.  */
 
23155
 
 
23156
 
 
23157
int
 
23158
main ()
 
23159
{
 
23160
 
 
23161
        bool b = true;
 
23162
 
 
23163
        return 0;
 
23164
 
 
23165
  ;
 
23166
  return 0;
 
23167
}
 
23168
_ACEOF
 
23169
rm -f conftest.$ac_objext
 
23170
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23171
  (eval $ac_compile) 2>conftest.er1
 
23172
  ac_status=$?
 
23173
  grep -v '^ *+' conftest.er1 >conftest.err
 
23174
  rm -f conftest.er1
 
23175
  cat conftest.err >&5
 
23176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23177
  (exit $ac_status); } &&
 
23178
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23179
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23180
  (eval $ac_try) 2>&5
 
23181
  ac_status=$?
 
23182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23183
  (exit $ac_status); }; } &&
 
23184
         { ac_try='test -s conftest.$ac_objext'
 
23185
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23186
  (eval $ac_try) 2>&5
 
23187
  ac_status=$?
 
23188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23189
  (exit $ac_status); }; }; then
 
23190
 
 
23191
        wx_cv_cpp_bool=yes
 
23192
 
 
23193
else
 
23194
  echo "$as_me: failed program was:" >&5
 
23195
sed 's/^/| /' conftest.$ac_ext >&5
 
23196
 
 
23197
 
 
23198
        wx_cv_cpp_bool=no
 
23199
 
 
23200
 
 
23201
fi
 
23202
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23203
 
 
23204
    ac_ext=c
 
23205
ac_cpp='$CPP $CPPFLAGS'
 
23206
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23207
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23208
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23209
 
 
23210
 
 
23211
fi
 
23212
echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
 
23213
echo "${ECHO_T}$wx_cv_cpp_bool" >&6
 
23214
 
 
23215
  if test "$wx_cv_cpp_bool" = "yes"; then
 
23216
    cat >>confdefs.h <<\_ACEOF
 
23217
#define HAVE_BOOL 1
 
23218
_ACEOF
 
23219
 
 
23220
  fi
 
23221
 
 
23222
 
 
23223
 
 
23224
  echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
 
23225
echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
 
23226
if test "${wx_cv_explicit+set}" = set; then
 
23227
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23228
else
 
23229
 
 
23230
 
 
23231
 
 
23232
    ac_ext=cc
 
23233
ac_cpp='$CXXCPP $CPPFLAGS'
 
23234
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23235
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23236
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23237
 
 
23238
 
 
23239
            cat >conftest.$ac_ext <<_ACEOF
 
23240
/* confdefs.h.  */
 
23241
_ACEOF
 
23242
cat confdefs.h >>conftest.$ac_ext
 
23243
cat >>conftest.$ac_ext <<_ACEOF
 
23244
/* end confdefs.h.  */
 
23245
 
 
23246
        class Foo { public: explicit Foo(int) {} };
 
23247
 
 
23248
int
 
23249
main ()
 
23250
{
 
23251
 
 
23252
        return 0;
 
23253
 
 
23254
  ;
 
23255
  return 0;
 
23256
}
 
23257
_ACEOF
 
23258
rm -f conftest.$ac_objext
 
23259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23260
  (eval $ac_compile) 2>conftest.er1
 
23261
  ac_status=$?
 
23262
  grep -v '^ *+' conftest.er1 >conftest.err
 
23263
  rm -f conftest.er1
 
23264
  cat conftest.err >&5
 
23265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23266
  (exit $ac_status); } &&
 
23267
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23268
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23269
  (eval $ac_try) 2>&5
 
23270
  ac_status=$?
 
23271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23272
  (exit $ac_status); }; } &&
 
23273
         { ac_try='test -s conftest.$ac_objext'
 
23274
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23275
  (eval $ac_try) 2>&5
 
23276
  ac_status=$?
 
23277
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23278
  (exit $ac_status); }; }; then
 
23279
 
 
23280
        cat >conftest.$ac_ext <<_ACEOF
 
23281
/* confdefs.h.  */
 
23282
_ACEOF
 
23283
cat confdefs.h >>conftest.$ac_ext
 
23284
cat >>conftest.$ac_ext <<_ACEOF
 
23285
/* end confdefs.h.  */
 
23286
 
 
23287
                class Foo { public: explicit Foo(int) {} };
 
23288
                static void TakeFoo(const Foo& foo) { }
 
23289
 
 
23290
int
 
23291
main ()
 
23292
{
 
23293
 
 
23294
                TakeFoo(17);
 
23295
                return 0;
 
23296
 
 
23297
  ;
 
23298
  return 0;
 
23299
}
 
23300
_ACEOF
 
23301
rm -f conftest.$ac_objext
 
23302
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23303
  (eval $ac_compile) 2>conftest.er1
 
23304
  ac_status=$?
 
23305
  grep -v '^ *+' conftest.er1 >conftest.err
 
23306
  rm -f conftest.er1
 
23307
  cat conftest.err >&5
 
23308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23309
  (exit $ac_status); } &&
 
23310
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23311
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23312
  (eval $ac_try) 2>&5
 
23313
  ac_status=$?
 
23314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23315
  (exit $ac_status); }; } &&
 
23316
         { ac_try='test -s conftest.$ac_objext'
 
23317
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23318
  (eval $ac_try) 2>&5
 
23319
  ac_status=$?
 
23320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23321
  (exit $ac_status); }; }; then
 
23322
  wx_cv_explicit=no
 
23323
else
 
23324
  echo "$as_me: failed program was:" >&5
 
23325
sed 's/^/| /' conftest.$ac_ext >&5
 
23326
 
 
23327
wx_cv_explicit=yes
 
23328
 
 
23329
fi
 
23330
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23331
 
 
23332
else
 
23333
  echo "$as_me: failed program was:" >&5
 
23334
sed 's/^/| /' conftest.$ac_ext >&5
 
23335
 
 
23336
wx_cv_explicit=no
 
23337
 
 
23338
fi
 
23339
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23340
 
 
23341
    ac_ext=c
 
23342
ac_cpp='$CPP $CPPFLAGS'
 
23343
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23344
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23345
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23346
 
 
23347
 
 
23348
fi
 
23349
echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
 
23350
echo "${ECHO_T}$wx_cv_explicit" >&6
 
23351
 
 
23352
  if test "$wx_cv_explicit" = "yes"; then
 
23353
    cat >>confdefs.h <<\_ACEOF
 
23354
#define HAVE_EXPLICIT 1
 
23355
_ACEOF
 
23356
 
 
23357
  fi
 
23358
 
 
23359
 
 
23360
echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
 
23361
echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
 
23362
if test "${ac_cv_cxx_const_cast+set}" = set; then
 
23363
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23364
else
 
23365
 
 
23366
 
 
23367
 ac_ext=cc
 
23368
ac_cpp='$CXXCPP $CPPFLAGS'
 
23369
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23370
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23371
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23372
 
 
23373
 cat >conftest.$ac_ext <<_ACEOF
 
23374
/* confdefs.h.  */
 
23375
_ACEOF
 
23376
cat confdefs.h >>conftest.$ac_ext
 
23377
cat >>conftest.$ac_ext <<_ACEOF
 
23378
/* end confdefs.h.  */
 
23379
 
 
23380
int
 
23381
main ()
 
23382
{
 
23383
int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
 
23384
  ;
 
23385
  return 0;
 
23386
}
 
23387
_ACEOF
 
23388
rm -f conftest.$ac_objext
 
23389
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23390
  (eval $ac_compile) 2>conftest.er1
 
23391
  ac_status=$?
 
23392
  grep -v '^ *+' conftest.er1 >conftest.err
 
23393
  rm -f conftest.er1
 
23394
  cat conftest.err >&5
 
23395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23396
  (exit $ac_status); } &&
 
23397
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23398
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23399
  (eval $ac_try) 2>&5
 
23400
  ac_status=$?
 
23401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23402
  (exit $ac_status); }; } &&
 
23403
         { ac_try='test -s conftest.$ac_objext'
 
23404
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23405
  (eval $ac_try) 2>&5
 
23406
  ac_status=$?
 
23407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23408
  (exit $ac_status); }; }; then
 
23409
  ac_cv_cxx_const_cast=yes
 
23410
else
 
23411
  echo "$as_me: failed program was:" >&5
 
23412
sed 's/^/| /' conftest.$ac_ext >&5
 
23413
 
 
23414
ac_cv_cxx_const_cast=no
 
23415
fi
 
23416
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23417
 ac_ext=c
 
23418
ac_cpp='$CPP $CPPFLAGS'
 
23419
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23420
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23421
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23422
 
 
23423
 
 
23424
fi
 
23425
echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
 
23426
echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
 
23427
if test "$ac_cv_cxx_const_cast" = yes; then
 
23428
 
 
23429
cat >>confdefs.h <<\_ACEOF
 
23430
#define HAVE_CONST_CAST
 
23431
_ACEOF
 
23432
 
 
23433
fi
 
23434
 
 
23435
echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
 
23436
echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
 
23437
if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
 
23438
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23439
else
 
23440
 
 
23441
 
 
23442
 ac_ext=cc
 
23443
ac_cpp='$CXXCPP $CPPFLAGS'
 
23444
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23445
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23446
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23447
 
 
23448
 cat >conftest.$ac_ext <<_ACEOF
 
23449
/* confdefs.h.  */
 
23450
_ACEOF
 
23451
cat confdefs.h >>conftest.$ac_ext
 
23452
cat >>conftest.$ac_ext <<_ACEOF
 
23453
/* end confdefs.h.  */
 
23454
#include <typeinfo>
 
23455
class Base { public : Base () {} virtual void f () = 0;};
 
23456
class Derived : public Base { public : Derived () {} virtual void f () {} };
 
23457
class Unrelated { public : Unrelated () {} };
 
23458
int g (Unrelated&) { return 0; }
 
23459
int
 
23460
main ()
 
23461
{
 
23462
 
 
23463
Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
 
23464
  ;
 
23465
  return 0;
 
23466
}
 
23467
_ACEOF
 
23468
rm -f conftest.$ac_objext
 
23469
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23470
  (eval $ac_compile) 2>conftest.er1
 
23471
  ac_status=$?
 
23472
  grep -v '^ *+' conftest.er1 >conftest.err
 
23473
  rm -f conftest.er1
 
23474
  cat conftest.err >&5
 
23475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23476
  (exit $ac_status); } &&
 
23477
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23478
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23479
  (eval $ac_try) 2>&5
 
23480
  ac_status=$?
 
23481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23482
  (exit $ac_status); }; } &&
 
23483
         { ac_try='test -s conftest.$ac_objext'
 
23484
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23485
  (eval $ac_try) 2>&5
 
23486
  ac_status=$?
 
23487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23488
  (exit $ac_status); }; }; then
 
23489
  ac_cv_cxx_reinterpret_cast=yes
 
23490
else
 
23491
  echo "$as_me: failed program was:" >&5
 
23492
sed 's/^/| /' conftest.$ac_ext >&5
 
23493
 
 
23494
ac_cv_cxx_reinterpret_cast=no
 
23495
fi
 
23496
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23497
 ac_ext=c
 
23498
ac_cpp='$CPP $CPPFLAGS'
 
23499
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23500
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23501
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23502
 
 
23503
 
 
23504
fi
 
23505
echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
 
23506
echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
 
23507
if test "$ac_cv_cxx_reinterpret_cast" = yes; then
 
23508
 
 
23509
cat >>confdefs.h <<\_ACEOF
 
23510
#define HAVE_REINTERPRET_CAST
 
23511
_ACEOF
 
23512
 
 
23513
fi
 
23514
 
 
23515
echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
 
23516
echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
 
23517
if test "${ac_cv_cxx_static_cast+set}" = set; then
 
23518
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23519
else
 
23520
 
 
23521
 
 
23522
 ac_ext=cc
 
23523
ac_cpp='$CXXCPP $CPPFLAGS'
 
23524
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23525
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23526
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23527
 
 
23528
 cat >conftest.$ac_ext <<_ACEOF
 
23529
/* confdefs.h.  */
 
23530
_ACEOF
 
23531
cat confdefs.h >>conftest.$ac_ext
 
23532
cat >>conftest.$ac_ext <<_ACEOF
 
23533
/* end confdefs.h.  */
 
23534
#include <typeinfo>
 
23535
class Base { public : Base () {} virtual void f () = 0; };
 
23536
class Derived : public Base { public : Derived () {} virtual void f () {} };
 
23537
int g (Derived&) { return 0; }
 
23538
int
 
23539
main ()
 
23540
{
 
23541
 
 
23542
Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
 
23543
  ;
 
23544
  return 0;
 
23545
}
 
23546
_ACEOF
 
23547
rm -f conftest.$ac_objext
 
23548
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23549
  (eval $ac_compile) 2>conftest.er1
 
23550
  ac_status=$?
 
23551
  grep -v '^ *+' conftest.er1 >conftest.err
 
23552
  rm -f conftest.er1
 
23553
  cat conftest.err >&5
 
23554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23555
  (exit $ac_status); } &&
 
23556
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23557
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23558
  (eval $ac_try) 2>&5
 
23559
  ac_status=$?
 
23560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23561
  (exit $ac_status); }; } &&
 
23562
         { ac_try='test -s conftest.$ac_objext'
 
23563
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23564
  (eval $ac_try) 2>&5
 
23565
  ac_status=$?
 
23566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23567
  (exit $ac_status); }; }; then
 
23568
  ac_cv_cxx_static_cast=yes
 
23569
else
 
23570
  echo "$as_me: failed program was:" >&5
 
23571
sed 's/^/| /' conftest.$ac_ext >&5
 
23572
 
 
23573
ac_cv_cxx_static_cast=no
 
23574
fi
 
23575
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23576
 ac_ext=c
 
23577
ac_cpp='$CPP $CPPFLAGS'
 
23578
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23579
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23580
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23581
 
 
23582
 
 
23583
fi
 
23584
echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
 
23585
echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
 
23586
if test "$ac_cv_cxx_static_cast" = yes; then
 
23587
 
 
23588
cat >>confdefs.h <<\_ACEOF
 
23589
#define HAVE_STATIC_CAST
 
23590
_ACEOF
 
23591
 
 
23592
fi
 
23593
 
 
23594
 
 
23595
if test "x$SUNCXX" = xyes; then
 
23596
    CXXFLAGS="-features=tmplife $CXXFLAGS"
 
23597
fi
 
23598
 
 
23599
if test "x$SUNCC" = xyes; then
 
23600
    CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
 
23601
fi
 
23602
 
 
23603
if test "x$SGICC" = "xyes"; then
 
23604
    echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
 
23605
echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6
 
23606
if test "${wx_cv_prog_sgicc744+set}" = set; then
 
23607
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23608
else
 
23609
 
 
23610
            cat >conftest.$ac_ext <<_ACEOF
 
23611
/* confdefs.h.  */
 
23612
_ACEOF
 
23613
cat confdefs.h >>conftest.$ac_ext
 
23614
cat >>conftest.$ac_ext <<_ACEOF
 
23615
/* end confdefs.h.  */
 
23616
 
 
23617
int
 
23618
main ()
 
23619
{
 
23620
 
 
23621
                    #if _SGI_COMPILER_VERSION >= 744
 
23622
                    chock me: mipsPro is 7.4.4 or later
 
23623
                    #endif
 
23624
 
 
23625
  ;
 
23626
  return 0;
 
23627
}
 
23628
_ACEOF
 
23629
rm -f conftest.$ac_objext
 
23630
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23631
  (eval $ac_compile) 2>conftest.er1
 
23632
  ac_status=$?
 
23633
  grep -v '^ *+' conftest.er1 >conftest.err
 
23634
  rm -f conftest.er1
 
23635
  cat conftest.err >&5
 
23636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23637
  (exit $ac_status); } &&
 
23638
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
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); }; } &&
 
23644
         { ac_try='test -s conftest.$ac_objext'
 
23645
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23646
  (eval $ac_try) 2>&5
 
23647
  ac_status=$?
 
23648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23649
  (exit $ac_status); }; }; then
 
23650
  wx_cv_prog_sgicc744=no
 
23651
else
 
23652
  echo "$as_me: failed program was:" >&5
 
23653
sed 's/^/| /' conftest.$ac_ext >&5
 
23654
 
 
23655
wx_cv_prog_sgicc744=yes
 
23656
 
 
23657
fi
 
23658
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23659
 
 
23660
 
 
23661
fi
 
23662
echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
 
23663
echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6
 
23664
 
 
23665
    if test "x$wx_cv_prog_sgicc744" = "xyes"; then
 
23666
        CFLAGS="-woff 3970 $CFLAGS"
 
23667
    fi
 
23668
fi
 
23669
if test "x$SGICXX" = "xyes"; then
 
23670
    echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
 
23671
echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6
 
23672
if test "${wx_cv_prog_sgicxx744+set}" = set; then
 
23673
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23674
else
 
23675
 
 
23676
            ac_ext=cc
 
23677
ac_cpp='$CXXCPP $CPPFLAGS'
 
23678
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23679
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23680
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23681
 
 
23682
            cat >conftest.$ac_ext <<_ACEOF
 
23683
/* confdefs.h.  */
 
23684
_ACEOF
 
23685
cat confdefs.h >>conftest.$ac_ext
 
23686
cat >>conftest.$ac_ext <<_ACEOF
 
23687
/* end confdefs.h.  */
 
23688
 
 
23689
int
 
23690
main ()
 
23691
{
 
23692
 
 
23693
                    #if _SGI_COMPILER_VERSION >= 744
 
23694
                    chock me: mipsPro is 7.4.4 or later
 
23695
                    #endif
 
23696
 
 
23697
  ;
 
23698
  return 0;
 
23699
}
 
23700
_ACEOF
 
23701
rm -f conftest.$ac_objext
 
23702
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23703
  (eval $ac_compile) 2>conftest.er1
 
23704
  ac_status=$?
 
23705
  grep -v '^ *+' conftest.er1 >conftest.err
 
23706
  rm -f conftest.er1
 
23707
  cat conftest.err >&5
 
23708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23709
  (exit $ac_status); } &&
 
23710
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23711
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23712
  (eval $ac_try) 2>&5
 
23713
  ac_status=$?
 
23714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23715
  (exit $ac_status); }; } &&
 
23716
         { ac_try='test -s conftest.$ac_objext'
 
23717
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23718
  (eval $ac_try) 2>&5
 
23719
  ac_status=$?
 
23720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23721
  (exit $ac_status); }; }; then
 
23722
  wx_cv_prog_sgicxx744=no
 
23723
else
 
23724
  echo "$as_me: failed program was:" >&5
 
23725
sed 's/^/| /' conftest.$ac_ext >&5
 
23726
 
 
23727
wx_cv_prog_sgicxx744=yes
 
23728
 
 
23729
fi
 
23730
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23731
            ac_ext=c
 
23732
ac_cpp='$CPP $CPPFLAGS'
 
23733
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23734
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23735
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
23736
 
 
23737
 
 
23738
 
 
23739
fi
 
23740
echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
 
23741
echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6
 
23742
 
 
23743
    if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
 
23744
        CXXFLAGS="-woff 3970 $CXXFLAGS"
 
23745
    fi
 
23746
fi
 
23747
 
 
23748
if test "x$HPCC" = "xyes"; then
 
23749
                    CFLAGS="+W 2011,2450 $CFLAGS"
 
23750
fi
 
23751
if test "x$HPCXX" = "xyes"; then
 
23752
            CXXFLAGS="+W 2340 $CXXFLAGS"
 
23753
fi
 
23754
 
 
23755
if test "x$COMPAQCXX" = "xyes"; then
 
23756
                                CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit $CXXFLAGS"
 
23757
fi
 
23758
 
 
23759
ac_ext=cc
 
23760
ac_cpp='$CXXCPP $CPPFLAGS'
 
23761
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
23762
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
23763
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
23764
 
 
23765
 
 
23766
if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
 
23767
    if test "$wxUSE_UNICODE" = "yes"; then
 
23768
        std_string="std::wstring"
 
23769
        char_type="wchar_t"
 
23770
    else
 
23771
        std_string="std::string"
 
23772
        char_type="char"
 
23773
    fi
 
23774
 
 
23775
        echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
 
23776
echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
 
23777
if test "${wx_cv_class_stdstring+set}" = set; then
 
23778
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23779
else
 
23780
 
 
23781
            cat >conftest.$ac_ext <<_ACEOF
 
23782
/* confdefs.h.  */
 
23783
_ACEOF
 
23784
cat confdefs.h >>conftest.$ac_ext
 
23785
cat >>conftest.$ac_ext <<_ACEOF
 
23786
/* end confdefs.h.  */
 
23787
#include <string>
 
23788
int
 
23789
main ()
 
23790
{
 
23791
$std_string foo;
 
23792
  ;
 
23793
  return 0;
 
23794
}
 
23795
_ACEOF
 
23796
rm -f conftest.$ac_objext
 
23797
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23798
  (eval $ac_compile) 2>conftest.er1
 
23799
  ac_status=$?
 
23800
  grep -v '^ *+' conftest.er1 >conftest.err
 
23801
  rm -f conftest.er1
 
23802
  cat conftest.err >&5
 
23803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23804
  (exit $ac_status); } &&
 
23805
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23806
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23807
  (eval $ac_try) 2>&5
 
23808
  ac_status=$?
 
23809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23810
  (exit $ac_status); }; } &&
 
23811
         { ac_try='test -s conftest.$ac_objext'
 
23812
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23813
  (eval $ac_try) 2>&5
 
23814
  ac_status=$?
 
23815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23816
  (exit $ac_status); }; }; then
 
23817
  wx_cv_class_stdstring=yes
 
23818
else
 
23819
  echo "$as_me: failed program was:" >&5
 
23820
sed 's/^/| /' conftest.$ac_ext >&5
 
23821
 
 
23822
wx_cv_class_stdstring=no
 
23823
 
 
23824
fi
 
23825
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23826
 
 
23827
 
 
23828
fi
 
23829
echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
 
23830
echo "${ECHO_T}$wx_cv_class_stdstring" >&6
 
23831
 
 
23832
    if test "$wx_cv_class_stdstring" = yes; then
 
23833
        if test "$wxUSE_UNICODE" = "yes"; then
 
23834
            cat >>confdefs.h <<\_ACEOF
 
23835
#define HAVE_STD_WSTRING 1
 
23836
_ACEOF
 
23837
 
 
23838
        fi
 
23839
                    else
 
23840
        echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
 
23841
echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
 
23842
if test "${wx_cv_class_stdbasicstring+set}" = set; then
 
23843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23844
else
 
23845
 
 
23846
                cat >conftest.$ac_ext <<_ACEOF
 
23847
/* confdefs.h.  */
 
23848
_ACEOF
 
23849
cat confdefs.h >>conftest.$ac_ext
 
23850
cat >>conftest.$ac_ext <<_ACEOF
 
23851
/* end confdefs.h.  */
 
23852
 
 
23853
                    #ifdef HAVE_WCHAR_H
 
23854
                    #  ifdef __CYGWIN__
 
23855
                    #    include <stddef.h>
 
23856
                    #  endif
 
23857
                    #  include <wchar.h>
 
23858
                    #endif
 
23859
                    #ifdef HAVE_STDLIB_H
 
23860
                    #  include <stdlib.h>
 
23861
                    #endif
 
23862
                    #include <stdio.h>
 
23863
                    #include <string>
 
23864
 
 
23865
int
 
23866
main ()
 
23867
{
 
23868
std::basic_string<$char_type> foo;
 
23869
                     const $char_type* dummy = foo.c_str();
 
23870
  ;
 
23871
  return 0;
 
23872
}
 
23873
_ACEOF
 
23874
rm -f conftest.$ac_objext
 
23875
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23876
  (eval $ac_compile) 2>conftest.er1
 
23877
  ac_status=$?
 
23878
  grep -v '^ *+' conftest.er1 >conftest.err
 
23879
  rm -f conftest.er1
 
23880
  cat conftest.err >&5
 
23881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23882
  (exit $ac_status); } &&
 
23883
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23884
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23885
  (eval $ac_try) 2>&5
 
23886
  ac_status=$?
 
23887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23888
  (exit $ac_status); }; } &&
 
23889
         { ac_try='test -s conftest.$ac_objext'
 
23890
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23891
  (eval $ac_try) 2>&5
 
23892
  ac_status=$?
 
23893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23894
  (exit $ac_status); }; }; then
 
23895
  wx_cv_class_stdbasicstring=yes
 
23896
else
 
23897
  echo "$as_me: failed program was:" >&5
 
23898
sed 's/^/| /' conftest.$ac_ext >&5
 
23899
 
 
23900
wx_cv_class_stdbasicstring=no
 
23901
 
 
23902
fi
 
23903
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23904
 
 
23905
 
 
23906
fi
 
23907
echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
 
23908
echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
 
23909
 
 
23910
        if test "$wx_cv_class_stdbasicstring" != yes; then
 
23911
            if test "$wxUSE_STL" = "yes"; then
 
23912
                { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
 
23913
echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
 
23914
   { (exit 1); exit 1; }; }
 
23915
            elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
 
23916
                { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
 
23917
echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
 
23918
   { (exit 1); exit 1; }; }
 
23919
            else
 
23920
                { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
 
23921
echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
 
23922
                wxUSE_STD_STRING=no
 
23923
            fi
 
23924
        fi
 
23925
    fi
 
23926
fi
 
23927
 
 
23928
if test "$wxUSE_STD_IOSTREAM" = "yes"; then
 
23929
    echo "$as_me:$LINENO: checking for std::istream" >&5
 
23930
echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
 
23931
if test "${ac_cv_type_std__istream+set}" = set; then
 
23932
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23933
else
 
23934
  cat >conftest.$ac_ext <<_ACEOF
 
23935
/* confdefs.h.  */
 
23936
_ACEOF
 
23937
cat confdefs.h >>conftest.$ac_ext
 
23938
cat >>conftest.$ac_ext <<_ACEOF
 
23939
/* end confdefs.h.  */
 
23940
#include <iostream>
 
23941
 
 
23942
int
 
23943
main ()
 
23944
{
 
23945
if ((std::istream *) 0)
 
23946
  return 0;
 
23947
if (sizeof (std::istream))
 
23948
  return 0;
 
23949
  ;
 
23950
  return 0;
 
23951
}
 
23952
_ACEOF
 
23953
rm -f conftest.$ac_objext
 
23954
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23955
  (eval $ac_compile) 2>conftest.er1
 
23956
  ac_status=$?
 
23957
  grep -v '^ *+' conftest.er1 >conftest.err
 
23958
  rm -f conftest.er1
 
23959
  cat conftest.err >&5
 
23960
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23961
  (exit $ac_status); } &&
 
23962
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
23963
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23964
  (eval $ac_try) 2>&5
 
23965
  ac_status=$?
 
23966
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23967
  (exit $ac_status); }; } &&
 
23968
         { ac_try='test -s conftest.$ac_objext'
 
23969
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23970
  (eval $ac_try) 2>&5
 
23971
  ac_status=$?
 
23972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23973
  (exit $ac_status); }; }; then
 
23974
  ac_cv_type_std__istream=yes
 
23975
else
 
23976
  echo "$as_me: failed program was:" >&5
 
23977
sed 's/^/| /' conftest.$ac_ext >&5
 
23978
 
 
23979
ac_cv_type_std__istream=no
 
23980
fi
 
23981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23982
fi
 
23983
echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
 
23984
echo "${ECHO_T}$ac_cv_type_std__istream" >&6
 
23985
if test $ac_cv_type_std__istream = yes; then
 
23986
 
 
23987
cat >>confdefs.h <<_ACEOF
 
23988
#define HAVE_STD__ISTREAM 1
 
23989
_ACEOF
 
23990
 
 
23991
 
 
23992
else
 
23993
  wxUSE_STD_IOSTREAM=no
 
23994
fi
 
23995
echo "$as_me:$LINENO: checking for std::ostream" >&5
 
23996
echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
 
23997
if test "${ac_cv_type_std__ostream+set}" = set; then
 
23998
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23999
else
 
24000
  cat >conftest.$ac_ext <<_ACEOF
 
24001
/* confdefs.h.  */
 
24002
_ACEOF
 
24003
cat confdefs.h >>conftest.$ac_ext
 
24004
cat >>conftest.$ac_ext <<_ACEOF
 
24005
/* end confdefs.h.  */
 
24006
#include <iostream>
 
24007
 
 
24008
int
 
24009
main ()
 
24010
{
 
24011
if ((std::ostream *) 0)
 
24012
  return 0;
 
24013
if (sizeof (std::ostream))
 
24014
  return 0;
 
24015
  ;
 
24016
  return 0;
 
24017
}
 
24018
_ACEOF
 
24019
rm -f conftest.$ac_objext
 
24020
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24021
  (eval $ac_compile) 2>conftest.er1
 
24022
  ac_status=$?
 
24023
  grep -v '^ *+' conftest.er1 >conftest.err
 
24024
  rm -f conftest.er1
 
24025
  cat conftest.err >&5
 
24026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24027
  (exit $ac_status); } &&
 
24028
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24029
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24030
  (eval $ac_try) 2>&5
 
24031
  ac_status=$?
 
24032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24033
  (exit $ac_status); }; } &&
 
24034
         { ac_try='test -s conftest.$ac_objext'
 
24035
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24036
  (eval $ac_try) 2>&5
 
24037
  ac_status=$?
 
24038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24039
  (exit $ac_status); }; }; then
 
24040
  ac_cv_type_std__ostream=yes
 
24041
else
 
24042
  echo "$as_me: failed program was:" >&5
 
24043
sed 's/^/| /' conftest.$ac_ext >&5
 
24044
 
 
24045
ac_cv_type_std__ostream=no
 
24046
fi
 
24047
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24048
fi
 
24049
echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
 
24050
echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
 
24051
if test $ac_cv_type_std__ostream = yes; then
 
24052
 
 
24053
cat >>confdefs.h <<_ACEOF
 
24054
#define HAVE_STD__OSTREAM 1
 
24055
_ACEOF
 
24056
 
 
24057
 
 
24058
else
 
24059
  wxUSE_STD_IOSTREAM=no
 
24060
fi
 
24061
 
 
24062
 
 
24063
    if test "$wxUSE_STD_IOSTREAM" != "yes"; then
 
24064
        if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
 
24065
            { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
 
24066
echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
 
24067
   { (exit 1); exit 1; }; }
 
24068
        else
 
24069
            { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
 
24070
echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
 
24071
        fi
 
24072
    fi
 
24073
fi
 
24074
 
 
24075
if test "$wxUSE_STL" = "yes"; then
 
24076
        echo "$as_me:$LINENO: checking for basic STL functionality" >&5
 
24077
echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
 
24078
if test "${wx_cv_lib_stl+set}" = set; then
 
24079
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24080
else
 
24081
  cat >conftest.$ac_ext <<_ACEOF
 
24082
/* confdefs.h.  */
 
24083
_ACEOF
 
24084
cat confdefs.h >>conftest.$ac_ext
 
24085
cat >>conftest.$ac_ext <<_ACEOF
 
24086
/* end confdefs.h.  */
 
24087
#include <string>
 
24088
            #include <functional>
 
24089
            #include <algorithm>
 
24090
            #include <vector>
 
24091
            #include <list>
 
24092
int
 
24093
main ()
 
24094
{
 
24095
std::vector<int> moo;
 
24096
             std::list<int> foo;
 
24097
             std::vector<int>::iterator it =
 
24098
                 std::find_if(moo.begin(), moo.end(),
 
24099
                              std::bind2nd(std::less<int>(), 3));
 
24100
  ;
 
24101
  return 0;
 
24102
}
 
24103
_ACEOF
 
24104
rm -f conftest.$ac_objext
 
24105
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24106
  (eval $ac_compile) 2>conftest.er1
 
24107
  ac_status=$?
 
24108
  grep -v '^ *+' conftest.er1 >conftest.err
 
24109
  rm -f conftest.er1
 
24110
  cat conftest.err >&5
 
24111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24112
  (exit $ac_status); } &&
 
24113
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24114
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24115
  (eval $ac_try) 2>&5
 
24116
  ac_status=$?
 
24117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24118
  (exit $ac_status); }; } &&
 
24119
         { ac_try='test -s conftest.$ac_objext'
 
24120
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24121
  (eval $ac_try) 2>&5
 
24122
  ac_status=$?
 
24123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24124
  (exit $ac_status); }; }; then
 
24125
  wx_cv_lib_stl=yes
 
24126
else
 
24127
  echo "$as_me: failed program was:" >&5
 
24128
sed 's/^/| /' conftest.$ac_ext >&5
 
24129
 
 
24130
wx_cv_lib_stl=no
 
24131
 
 
24132
fi
 
24133
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24134
 
 
24135
fi
 
24136
echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
 
24137
echo "${ECHO_T}$wx_cv_lib_stl" >&6
 
24138
 
 
24139
    if test "$wx_cv_lib_stl" != yes; then
 
24140
         { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
 
24141
echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
 
24142
   { (exit 1); exit 1; }; }
 
24143
    fi
 
24144
 
 
24145
        echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
 
24146
echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
 
24147
if test "${wx_cv_func_stdstring_compare+set}" = set; then
 
24148
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24149
else
 
24150
  cat >conftest.$ac_ext <<_ACEOF
 
24151
/* confdefs.h.  */
 
24152
_ACEOF
 
24153
cat confdefs.h >>conftest.$ac_ext
 
24154
cat >>conftest.$ac_ext <<_ACEOF
 
24155
/* end confdefs.h.  */
 
24156
#include <string>
 
24157
int
 
24158
main ()
 
24159
{
 
24160
std::string foo, bar;
 
24161
            foo.compare(bar);
 
24162
            foo.compare(1, 1, bar);
 
24163
            foo.compare(1, 1, bar, 1, 1);
 
24164
            foo.compare("");
 
24165
            foo.compare(1, 1, "");
 
24166
            foo.compare(1, 1, "", 2);
 
24167
  ;
 
24168
  return 0;
 
24169
}
 
24170
_ACEOF
 
24171
rm -f conftest.$ac_objext
 
24172
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24173
  (eval $ac_compile) 2>conftest.er1
 
24174
  ac_status=$?
 
24175
  grep -v '^ *+' conftest.er1 >conftest.err
 
24176
  rm -f conftest.er1
 
24177
  cat conftest.err >&5
 
24178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24179
  (exit $ac_status); } &&
 
24180
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24181
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24182
  (eval $ac_try) 2>&5
 
24183
  ac_status=$?
 
24184
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24185
  (exit $ac_status); }; } &&
 
24186
         { ac_try='test -s conftest.$ac_objext'
 
24187
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24188
  (eval $ac_try) 2>&5
 
24189
  ac_status=$?
 
24190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24191
  (exit $ac_status); }; }; then
 
24192
  wx_cv_func_stdstring_compare=yes
 
24193
else
 
24194
  echo "$as_me: failed program was:" >&5
 
24195
sed 's/^/| /' conftest.$ac_ext >&5
 
24196
 
 
24197
wx_cv_func_stdstring_compare=no
 
24198
 
 
24199
fi
 
24200
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24201
 
 
24202
fi
 
24203
echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
 
24204
echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
 
24205
 
 
24206
    if test "$wx_cv_func_stdstring_compare" = yes; then
 
24207
        cat >>confdefs.h <<\_ACEOF
 
24208
#define HAVE_STD_STRING_COMPARE 1
 
24209
_ACEOF
 
24210
 
 
24211
    fi
 
24212
 
 
24213
        echo "$as_me:$LINENO: checking for hash_map" >&5
 
24214
echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
 
24215
if test "${ac_cv_header_hash_map+set}" = set; then
 
24216
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24217
else
 
24218
  cat >conftest.$ac_ext <<_ACEOF
 
24219
/* confdefs.h.  */
 
24220
_ACEOF
 
24221
cat confdefs.h >>conftest.$ac_ext
 
24222
cat >>conftest.$ac_ext <<_ACEOF
 
24223
/* end confdefs.h.  */
 
24224
 
 
24225
 
 
24226
 
 
24227
#include <hash_map>
 
24228
_ACEOF
 
24229
rm -f conftest.$ac_objext
 
24230
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24231
  (eval $ac_compile) 2>conftest.er1
 
24232
  ac_status=$?
 
24233
  grep -v '^ *+' conftest.er1 >conftest.err
 
24234
  rm -f conftest.er1
 
24235
  cat conftest.err >&5
 
24236
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24237
  (exit $ac_status); } &&
 
24238
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24239
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24240
  (eval $ac_try) 2>&5
 
24241
  ac_status=$?
 
24242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24243
  (exit $ac_status); }; } &&
 
24244
         { ac_try='test -s conftest.$ac_objext'
 
24245
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24246
  (eval $ac_try) 2>&5
 
24247
  ac_status=$?
 
24248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24249
  (exit $ac_status); }; }; then
 
24250
  ac_cv_header_hash_map=yes
 
24251
else
 
24252
  echo "$as_me: failed program was:" >&5
 
24253
sed 's/^/| /' conftest.$ac_ext >&5
 
24254
 
 
24255
ac_cv_header_hash_map=no
 
24256
fi
 
24257
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24258
fi
 
24259
echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
 
24260
echo "${ECHO_T}$ac_cv_header_hash_map" >&6
 
24261
if test $ac_cv_header_hash_map = yes; then
 
24262
  echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
 
24263
echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
 
24264
if test "${wx_cv_class_stdhashmapset+set}" = set; then
 
24265
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24266
else
 
24267
  cat >conftest.$ac_ext <<_ACEOF
 
24268
/* confdefs.h.  */
 
24269
_ACEOF
 
24270
cat confdefs.h >>conftest.$ac_ext
 
24271
cat >>conftest.$ac_ext <<_ACEOF
 
24272
/* end confdefs.h.  */
 
24273
#include <hash_map>
 
24274
                #include <hash_set>
 
24275
int
 
24276
main ()
 
24277
{
 
24278
std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
 
24279
                 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
 
24280
  ;
 
24281
  return 0;
 
24282
}
 
24283
_ACEOF
 
24284
rm -f conftest.$ac_objext
 
24285
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24286
  (eval $ac_compile) 2>conftest.er1
 
24287
  ac_status=$?
 
24288
  grep -v '^ *+' conftest.er1 >conftest.err
 
24289
  rm -f conftest.er1
 
24290
  cat conftest.err >&5
 
24291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24292
  (exit $ac_status); } &&
 
24293
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24294
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24295
  (eval $ac_try) 2>&5
 
24296
  ac_status=$?
 
24297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24298
  (exit $ac_status); }; } &&
 
24299
         { ac_try='test -s conftest.$ac_objext'
 
24300
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24301
  (eval $ac_try) 2>&5
 
24302
  ac_status=$?
 
24303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24304
  (exit $ac_status); }; }; then
 
24305
  wx_cv_class_stdhashmapset=yes
 
24306
else
 
24307
  echo "$as_me: failed program was:" >&5
 
24308
sed 's/^/| /' conftest.$ac_ext >&5
 
24309
 
 
24310
wx_cv_class_stdhashmapset=no
 
24311
fi
 
24312
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24313
 
 
24314
 
 
24315
fi
 
24316
echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
 
24317
echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
 
24318
fi
 
24319
 
 
24320
 
 
24321
 
 
24322
    if test "$wx_cv_class_stdhashmapset" = yes; then
 
24323
        cat >>confdefs.h <<\_ACEOF
 
24324
#define HAVE_HASH_MAP 1
 
24325
_ACEOF
 
24326
 
 
24327
        cat >>confdefs.h <<\_ACEOF
 
24328
#define HAVE_STD_HASH_MAP 1
 
24329
_ACEOF
 
24330
 
 
24331
    fi
 
24332
 
 
24333
    echo "$as_me:$LINENO: checking for ext/hash_map" >&5
 
24334
echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
 
24335
if test "${ac_cv_header_ext_hash_map+set}" = set; then
 
24336
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24337
else
 
24338
  cat >conftest.$ac_ext <<_ACEOF
 
24339
/* confdefs.h.  */
 
24340
_ACEOF
 
24341
cat confdefs.h >>conftest.$ac_ext
 
24342
cat >>conftest.$ac_ext <<_ACEOF
 
24343
/* end confdefs.h.  */
 
24344
 
 
24345
 
 
24346
 
 
24347
#include <ext/hash_map>
 
24348
_ACEOF
 
24349
rm -f conftest.$ac_objext
 
24350
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24351
  (eval $ac_compile) 2>conftest.er1
 
24352
  ac_status=$?
 
24353
  grep -v '^ *+' conftest.er1 >conftest.err
 
24354
  rm -f conftest.er1
 
24355
  cat conftest.err >&5
 
24356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24357
  (exit $ac_status); } &&
 
24358
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24359
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24360
  (eval $ac_try) 2>&5
 
24361
  ac_status=$?
 
24362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24363
  (exit $ac_status); }; } &&
 
24364
         { ac_try='test -s conftest.$ac_objext'
 
24365
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24366
  (eval $ac_try) 2>&5
 
24367
  ac_status=$?
 
24368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24369
  (exit $ac_status); }; }; then
 
24370
  ac_cv_header_ext_hash_map=yes
 
24371
else
 
24372
  echo "$as_me: failed program was:" >&5
 
24373
sed 's/^/| /' conftest.$ac_ext >&5
 
24374
 
 
24375
ac_cv_header_ext_hash_map=no
 
24376
fi
 
24377
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24378
fi
 
24379
echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
 
24380
echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
 
24381
if test $ac_cv_header_ext_hash_map = yes; then
 
24382
  echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
 
24383
echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
 
24384
if test "${wx_cv_class_gnuhashmapset+set}" = set; then
 
24385
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24386
else
 
24387
  cat >conftest.$ac_ext <<_ACEOF
 
24388
/* confdefs.h.  */
 
24389
_ACEOF
 
24390
cat confdefs.h >>conftest.$ac_ext
 
24391
cat >>conftest.$ac_ext <<_ACEOF
 
24392
/* end confdefs.h.  */
 
24393
#include <ext/hash_map>
 
24394
                #include <ext/hash_set>
 
24395
int
 
24396
main ()
 
24397
{
 
24398
__gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
 
24399
                 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
 
24400
  ;
 
24401
  return 0;
 
24402
}
 
24403
_ACEOF
 
24404
rm -f conftest.$ac_objext
 
24405
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24406
  (eval $ac_compile) 2>conftest.er1
 
24407
  ac_status=$?
 
24408
  grep -v '^ *+' conftest.er1 >conftest.err
 
24409
  rm -f conftest.er1
 
24410
  cat conftest.err >&5
 
24411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24412
  (exit $ac_status); } &&
 
24413
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24414
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24415
  (eval $ac_try) 2>&5
 
24416
  ac_status=$?
 
24417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24418
  (exit $ac_status); }; } &&
 
24419
         { ac_try='test -s conftest.$ac_objext'
 
24420
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24421
  (eval $ac_try) 2>&5
 
24422
  ac_status=$?
 
24423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24424
  (exit $ac_status); }; }; then
 
24425
  wx_cv_class_gnuhashmapset=yes
 
24426
else
 
24427
  echo "$as_me: failed program was:" >&5
 
24428
sed 's/^/| /' conftest.$ac_ext >&5
 
24429
 
 
24430
wx_cv_class_gnuhashmapset=no
 
24431
fi
 
24432
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24433
 
 
24434
 
 
24435
fi
 
24436
echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
 
24437
echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
 
24438
fi
 
24439
 
 
24440
 
 
24441
 
 
24442
    if test "$wx_cv_class_gnuhashmapset" = yes; then
 
24443
         cat >>confdefs.h <<\_ACEOF
 
24444
#define HAVE_EXT_HASH_MAP 1
 
24445
_ACEOF
 
24446
 
 
24447
         cat >>confdefs.h <<\_ACEOF
 
24448
#define HAVE_GNU_CXX_HASH_MAP 1
 
24449
_ACEOF
 
24450
 
 
24451
    fi
 
24452
 
 
24453
    echo "$as_me:$LINENO: checking for unordered_map" >&5
 
24454
echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6
 
24455
if test "${ac_cv_header_unordered_map+set}" = set; then
 
24456
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24457
else
 
24458
  cat >conftest.$ac_ext <<_ACEOF
 
24459
/* confdefs.h.  */
 
24460
_ACEOF
 
24461
cat confdefs.h >>conftest.$ac_ext
 
24462
cat >>conftest.$ac_ext <<_ACEOF
 
24463
/* end confdefs.h.  */
 
24464
 
 
24465
 
 
24466
 
 
24467
#include <unordered_map>
 
24468
_ACEOF
 
24469
rm -f conftest.$ac_objext
 
24470
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24471
  (eval $ac_compile) 2>conftest.er1
 
24472
  ac_status=$?
 
24473
  grep -v '^ *+' conftest.er1 >conftest.err
 
24474
  rm -f conftest.er1
 
24475
  cat conftest.err >&5
 
24476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24477
  (exit $ac_status); } &&
 
24478
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24479
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24480
  (eval $ac_try) 2>&5
 
24481
  ac_status=$?
 
24482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24483
  (exit $ac_status); }; } &&
 
24484
         { ac_try='test -s conftest.$ac_objext'
 
24485
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24486
  (eval $ac_try) 2>&5
 
24487
  ac_status=$?
 
24488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24489
  (exit $ac_status); }; }; then
 
24490
  ac_cv_header_unordered_map=yes
 
24491
else
 
24492
  echo "$as_me: failed program was:" >&5
 
24493
sed 's/^/| /' conftest.$ac_ext >&5
 
24494
 
 
24495
ac_cv_header_unordered_map=no
 
24496
fi
 
24497
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24498
fi
 
24499
echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
 
24500
echo "${ECHO_T}$ac_cv_header_unordered_map" >&6
 
24501
if test $ac_cv_header_unordered_map = yes; then
 
24502
  echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
 
24503
echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6
 
24504
if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
 
24505
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24506
else
 
24507
  cat >conftest.$ac_ext <<_ACEOF
 
24508
/* confdefs.h.  */
 
24509
_ACEOF
 
24510
cat confdefs.h >>conftest.$ac_ext
 
24511
cat >>conftest.$ac_ext <<_ACEOF
 
24512
/* end confdefs.h.  */
 
24513
#include <unordered_map>
 
24514
                #include <unordered_set>
 
24515
int
 
24516
main ()
 
24517
{
 
24518
std::unordered_map<double*, char*> test1;
 
24519
                 std::unordered_set<char*> test2;
 
24520
  ;
 
24521
  return 0;
 
24522
}
 
24523
_ACEOF
 
24524
rm -f conftest.$ac_objext
 
24525
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24526
  (eval $ac_compile) 2>conftest.er1
 
24527
  ac_status=$?
 
24528
  grep -v '^ *+' conftest.er1 >conftest.err
 
24529
  rm -f conftest.er1
 
24530
  cat conftest.err >&5
 
24531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24532
  (exit $ac_status); } &&
 
24533
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24534
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24535
  (eval $ac_try) 2>&5
 
24536
  ac_status=$?
 
24537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24538
  (exit $ac_status); }; } &&
 
24539
         { ac_try='test -s conftest.$ac_objext'
 
24540
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24541
  (eval $ac_try) 2>&5
 
24542
  ac_status=$?
 
24543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24544
  (exit $ac_status); }; }; then
 
24545
  wx_cv_class_stdunorderedmapset=yes
 
24546
else
 
24547
  echo "$as_me: failed program was:" >&5
 
24548
sed 's/^/| /' conftest.$ac_ext >&5
 
24549
 
 
24550
wx_cv_class_stdunorderedmapset=no
 
24551
fi
 
24552
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24553
 
 
24554
 
 
24555
fi
 
24556
echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
 
24557
echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6
 
24558
fi
 
24559
 
 
24560
 
 
24561
 
 
24562
    if test "$wx_cv_class_stdunorderedmapset" = yes; then
 
24563
         cat >>confdefs.h <<\_ACEOF
 
24564
#define HAVE_STD_UNORDERED_MAP 1
 
24565
_ACEOF
 
24566
 
 
24567
         cat >>confdefs.h <<\_ACEOF
 
24568
#define HAVE_STD_UNORDERED_SET 1
 
24569
_ACEOF
 
24570
 
 
24571
    else
 
24572
        echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
 
24573
echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6
 
24574
if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
 
24575
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24576
else
 
24577
  cat >conftest.$ac_ext <<_ACEOF
 
24578
/* confdefs.h.  */
 
24579
_ACEOF
 
24580
cat confdefs.h >>conftest.$ac_ext
 
24581
cat >>conftest.$ac_ext <<_ACEOF
 
24582
/* end confdefs.h.  */
 
24583
 
 
24584
 
 
24585
 
 
24586
#include <tr1/unordered_map>
 
24587
_ACEOF
 
24588
rm -f conftest.$ac_objext
 
24589
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24590
  (eval $ac_compile) 2>conftest.er1
 
24591
  ac_status=$?
 
24592
  grep -v '^ *+' conftest.er1 >conftest.err
 
24593
  rm -f conftest.er1
 
24594
  cat conftest.err >&5
 
24595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24596
  (exit $ac_status); } &&
 
24597
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24598
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24599
  (eval $ac_try) 2>&5
 
24600
  ac_status=$?
 
24601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24602
  (exit $ac_status); }; } &&
 
24603
         { ac_try='test -s conftest.$ac_objext'
 
24604
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24605
  (eval $ac_try) 2>&5
 
24606
  ac_status=$?
 
24607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24608
  (exit $ac_status); }; }; then
 
24609
  ac_cv_header_tr1_unordered_map=yes
 
24610
else
 
24611
  echo "$as_me: failed program was:" >&5
 
24612
sed 's/^/| /' conftest.$ac_ext >&5
 
24613
 
 
24614
ac_cv_header_tr1_unordered_map=no
 
24615
fi
 
24616
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24617
fi
 
24618
echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
 
24619
echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6
 
24620
if test $ac_cv_header_tr1_unordered_map = yes; then
 
24621
  echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
 
24622
echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6
 
24623
if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
 
24624
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24625
else
 
24626
  cat >conftest.$ac_ext <<_ACEOF
 
24627
/* confdefs.h.  */
 
24628
_ACEOF
 
24629
cat confdefs.h >>conftest.$ac_ext
 
24630
cat >>conftest.$ac_ext <<_ACEOF
 
24631
/* end confdefs.h.  */
 
24632
#include <tr1/unordered_map>
 
24633
                    #include <tr1/unordered_set>
 
24634
int
 
24635
main ()
 
24636
{
 
24637
std::tr1::unordered_map<double*, char*> test1;
 
24638
                     std::tr1::unordered_set<char*> test2;
 
24639
            #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
 
24640
            #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
 
24641
            #endif
 
24642
  ;
 
24643
  return 0;
 
24644
}
 
24645
_ACEOF
 
24646
rm -f conftest.$ac_objext
 
24647
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24648
  (eval $ac_compile) 2>conftest.er1
 
24649
  ac_status=$?
 
24650
  grep -v '^ *+' conftest.er1 >conftest.err
 
24651
  rm -f conftest.er1
 
24652
  cat conftest.err >&5
 
24653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24654
  (exit $ac_status); } &&
 
24655
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24656
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24657
  (eval $ac_try) 2>&5
 
24658
  ac_status=$?
 
24659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24660
  (exit $ac_status); }; } &&
 
24661
         { ac_try='test -s conftest.$ac_objext'
 
24662
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24663
  (eval $ac_try) 2>&5
 
24664
  ac_status=$?
 
24665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24666
  (exit $ac_status); }; }; then
 
24667
  wx_cv_class_tr1unorderedmapset=yes
 
24668
else
 
24669
  echo "$as_me: failed program was:" >&5
 
24670
sed 's/^/| /' conftest.$ac_ext >&5
 
24671
 
 
24672
wx_cv_class_tr1unorderedmapset=no
 
24673
fi
 
24674
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24675
 
 
24676
 
 
24677
fi
 
24678
echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
 
24679
echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6
 
24680
fi
 
24681
 
 
24682
 
 
24683
 
 
24684
        if test "$wx_cv_class_tr1unorderedmapset" = yes; then
 
24685
            cat >>confdefs.h <<\_ACEOF
 
24686
#define HAVE_TR1_UNORDERED_MAP 1
 
24687
_ACEOF
 
24688
 
 
24689
            cat >>confdefs.h <<\_ACEOF
 
24690
#define HAVE_TR1_UNORDERED_SET 1
 
24691
_ACEOF
 
24692
 
 
24693
        else
 
24694
                        echo "$as_me:$LINENO: checking for hash_map" >&5
 
24695
echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
 
24696
if test "${ac_cv_header_hash_map+set}" = set; then
 
24697
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24698
else
 
24699
  cat >conftest.$ac_ext <<_ACEOF
 
24700
/* confdefs.h.  */
 
24701
_ACEOF
 
24702
cat confdefs.h >>conftest.$ac_ext
 
24703
cat >>conftest.$ac_ext <<_ACEOF
 
24704
/* end confdefs.h.  */
 
24705
 
 
24706
 
 
24707
 
 
24708
#include <hash_map>
 
24709
_ACEOF
 
24710
rm -f conftest.$ac_objext
 
24711
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24712
  (eval $ac_compile) 2>conftest.er1
 
24713
  ac_status=$?
 
24714
  grep -v '^ *+' conftest.er1 >conftest.err
 
24715
  rm -f conftest.er1
 
24716
  cat conftest.err >&5
 
24717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24718
  (exit $ac_status); } &&
 
24719
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24720
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24721
  (eval $ac_try) 2>&5
 
24722
  ac_status=$?
 
24723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24724
  (exit $ac_status); }; } &&
 
24725
         { ac_try='test -s conftest.$ac_objext'
 
24726
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24727
  (eval $ac_try) 2>&5
 
24728
  ac_status=$?
 
24729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24730
  (exit $ac_status); }; }; then
 
24731
  ac_cv_header_hash_map=yes
 
24732
else
 
24733
  echo "$as_me: failed program was:" >&5
 
24734
sed 's/^/| /' conftest.$ac_ext >&5
 
24735
 
 
24736
ac_cv_header_hash_map=no
 
24737
fi
 
24738
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24739
fi
 
24740
echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
 
24741
echo "${ECHO_T}$ac_cv_header_hash_map" >&6
 
24742
if test $ac_cv_header_hash_map = yes; then
 
24743
  echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
 
24744
echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6
 
24745
if test "${wx_cv_class_stdhashmapset+set}" = set; then
 
24746
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24747
else
 
24748
  cat >conftest.$ac_ext <<_ACEOF
 
24749
/* confdefs.h.  */
 
24750
_ACEOF
 
24751
cat confdefs.h >>conftest.$ac_ext
 
24752
cat >>conftest.$ac_ext <<_ACEOF
 
24753
/* end confdefs.h.  */
 
24754
#include <hash_map>
 
24755
                        #include <hash_set>
 
24756
int
 
24757
main ()
 
24758
{
 
24759
std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
 
24760
                         std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
 
24761
  ;
 
24762
  return 0;
 
24763
}
 
24764
_ACEOF
 
24765
rm -f conftest.$ac_objext
 
24766
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24767
  (eval $ac_compile) 2>conftest.er1
 
24768
  ac_status=$?
 
24769
  grep -v '^ *+' conftest.er1 >conftest.err
 
24770
  rm -f conftest.er1
 
24771
  cat conftest.err >&5
 
24772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24773
  (exit $ac_status); } &&
 
24774
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24775
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24776
  (eval $ac_try) 2>&5
 
24777
  ac_status=$?
 
24778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24779
  (exit $ac_status); }; } &&
 
24780
         { ac_try='test -s conftest.$ac_objext'
 
24781
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24782
  (eval $ac_try) 2>&5
 
24783
  ac_status=$?
 
24784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24785
  (exit $ac_status); }; }; then
 
24786
  wx_cv_class_stdhashmapset=yes
 
24787
else
 
24788
  echo "$as_me: failed program was:" >&5
 
24789
sed 's/^/| /' conftest.$ac_ext >&5
 
24790
 
 
24791
wx_cv_class_stdhashmapset=no
 
24792
fi
 
24793
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24794
 
 
24795
 
 
24796
fi
 
24797
echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
 
24798
echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
 
24799
fi
 
24800
 
 
24801
 
 
24802
 
 
24803
            if test "$wx_cv_class_stdhashmapset" = yes; then
 
24804
                cat >>confdefs.h <<\_ACEOF
 
24805
#define HAVE_HASH_MAP 1
 
24806
_ACEOF
 
24807
 
 
24808
                cat >>confdefs.h <<\_ACEOF
 
24809
#define HAVE_STD_HASH_MAP 1
 
24810
_ACEOF
 
24811
 
 
24812
            fi
 
24813
 
 
24814
            echo "$as_me:$LINENO: checking for ext/hash_map" >&5
 
24815
echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
 
24816
if test "${ac_cv_header_ext_hash_map+set}" = set; then
 
24817
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24818
else
 
24819
  cat >conftest.$ac_ext <<_ACEOF
 
24820
/* confdefs.h.  */
 
24821
_ACEOF
 
24822
cat confdefs.h >>conftest.$ac_ext
 
24823
cat >>conftest.$ac_ext <<_ACEOF
 
24824
/* end confdefs.h.  */
 
24825
 
 
24826
 
 
24827
 
 
24828
#include <ext/hash_map>
 
24829
_ACEOF
 
24830
rm -f conftest.$ac_objext
 
24831
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24832
  (eval $ac_compile) 2>conftest.er1
 
24833
  ac_status=$?
 
24834
  grep -v '^ *+' conftest.er1 >conftest.err
 
24835
  rm -f conftest.er1
 
24836
  cat conftest.err >&5
 
24837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24838
  (exit $ac_status); } &&
 
24839
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24840
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24841
  (eval $ac_try) 2>&5
 
24842
  ac_status=$?
 
24843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24844
  (exit $ac_status); }; } &&
 
24845
         { ac_try='test -s conftest.$ac_objext'
 
24846
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24847
  (eval $ac_try) 2>&5
 
24848
  ac_status=$?
 
24849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24850
  (exit $ac_status); }; }; then
 
24851
  ac_cv_header_ext_hash_map=yes
 
24852
else
 
24853
  echo "$as_me: failed program was:" >&5
 
24854
sed 's/^/| /' conftest.$ac_ext >&5
 
24855
 
 
24856
ac_cv_header_ext_hash_map=no
 
24857
fi
 
24858
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24859
fi
 
24860
echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
 
24861
echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
 
24862
if test $ac_cv_header_ext_hash_map = yes; then
 
24863
  echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
 
24864
echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
 
24865
if test "${wx_cv_class_gnuhashmapset+set}" = set; then
 
24866
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24867
else
 
24868
  cat >conftest.$ac_ext <<_ACEOF
 
24869
/* confdefs.h.  */
 
24870
_ACEOF
 
24871
cat confdefs.h >>conftest.$ac_ext
 
24872
cat >>conftest.$ac_ext <<_ACEOF
 
24873
/* end confdefs.h.  */
 
24874
#include <ext/hash_map>
 
24875
                        #include <ext/hash_set>
 
24876
int
 
24877
main ()
 
24878
{
 
24879
__gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
 
24880
                         __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
 
24881
  ;
 
24882
  return 0;
 
24883
}
 
24884
_ACEOF
 
24885
rm -f conftest.$ac_objext
 
24886
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
24887
  (eval $ac_compile) 2>conftest.er1
 
24888
  ac_status=$?
 
24889
  grep -v '^ *+' conftest.er1 >conftest.err
 
24890
  rm -f conftest.er1
 
24891
  cat conftest.err >&5
 
24892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24893
  (exit $ac_status); } &&
 
24894
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
24895
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24896
  (eval $ac_try) 2>&5
 
24897
  ac_status=$?
 
24898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24899
  (exit $ac_status); }; } &&
 
24900
         { ac_try='test -s conftest.$ac_objext'
 
24901
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24902
  (eval $ac_try) 2>&5
 
24903
  ac_status=$?
 
24904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24905
  (exit $ac_status); }; }; then
 
24906
  wx_cv_class_gnuhashmapset=yes
 
24907
else
 
24908
  echo "$as_me: failed program was:" >&5
 
24909
sed 's/^/| /' conftest.$ac_ext >&5
 
24910
 
 
24911
wx_cv_class_gnuhashmapset=no
 
24912
fi
 
24913
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24914
 
 
24915
 
 
24916
fi
 
24917
echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
 
24918
echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
 
24919
fi
 
24920
 
 
24921
 
 
24922
 
 
24923
        fi
 
24924
    fi
 
24925
fi
 
24926
 
 
24927
ac_ext=c
 
24928
ac_cpp='$CPP $CPPFLAGS'
 
24929
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
24930
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
24931
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
24932
 
 
24933
 
 
24934
 
 
24935
SEARCH_INCLUDE="\
 
24936
    /usr/local/include        \
 
24937
    /usr/local/X11/include    \
 
24938
    /usr/local/include/X11    \
 
24939
    /usr/local/X11R6/include  \
 
24940
    /usr/local/include/X11R6  \
 
24941
                              \
 
24942
    /usr/Motif-2.1/include    \
 
24943
    /usr/Motif-1.2/include    \
 
24944
    /usr/include/Motif1.2     \
 
24945
                              \
 
24946
    /usr/dt/include           \
 
24947
    /usr/openwin/include      \
 
24948
                              \
 
24949
    /usr/include/Xm           \
 
24950
                              \
 
24951
    /usr/X11R6/include        \
 
24952
    /usr/X11R6.4/include      \
 
24953
                              \
 
24954
    /usr/include/X11R6        \
 
24955
                              \
 
24956
    /usr/X11/include          \
 
24957
    /usr/include/X11          \
 
24958
                              \
 
24959
    /usr/XFree86/include/X11  \
 
24960
    /usr/pkg/include          \
 
24961
                              \
 
24962
    /usr/local/X1R5/include  \
 
24963
    /usr/local/include/X11R5  \
 
24964
    /usr/X11R5/include        \
 
24965
    /usr/include/X11R5        \
 
24966
                              \
 
24967
    /usr/local/X11R4/include  \
 
24968
    /usr/local/include/X11R4  \
 
24969
    /usr/X11R4/include        \
 
24970
    /usr/include/X11R4        \
 
24971
                              \
 
24972
    /usr/openwin/share/include"
 
24973
 
 
24974
echo "$as_me:$LINENO: checking for libraries directory" >&5
 
24975
echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
 
24976
 
 
24977
case "${host}" in
 
24978
    *-*-irix6* )
 
24979
        if test "${wx_cv_std_libpath+set}" = set; then
 
24980
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24981
else
 
24982
 
 
24983
                for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
 
24984
                    for e in a so sl dylib dll.a; do
 
24985
                        libc="$d/libc.$e"
 
24986
                        if test -f $libc; then
 
24987
                            save_LIBS="$LIBS"
 
24988
                            LIBS="$libc"
 
24989
                            cat >conftest.$ac_ext <<_ACEOF
 
24990
int main() { return 0; }
 
24991
_ACEOF
 
24992
rm -f conftest.$ac_objext conftest$ac_exeext
 
24993
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24994
  (eval $ac_link) 2>conftest.er1
 
24995
  ac_status=$?
 
24996
  grep -v '^ *+' conftest.er1 >conftest.err
 
24997
  rm -f conftest.er1
 
24998
  cat conftest.err >&5
 
24999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25000
  (exit $ac_status); } &&
 
25001
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25002
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25003
  (eval $ac_try) 2>&5
 
25004
  ac_status=$?
 
25005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25006
  (exit $ac_status); }; } &&
 
25007
         { ac_try='test -s conftest$ac_exeext'
 
25008
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25009
  (eval $ac_try) 2>&5
 
25010
  ac_status=$?
 
25011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25012
  (exit $ac_status); }; }; then
 
25013
  wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
 
25014
else
 
25015
  echo "$as_me: failed program was:" >&5
 
25016
sed 's/^/| /' conftest.$ac_ext >&5
 
25017
 
 
25018
fi
 
25019
rm -f conftest.err conftest.$ac_objext \
 
25020
      conftest$ac_exeext conftest.$ac_ext
 
25021
                            LIBS="$save_LIBS"
 
25022
                            if test "x$wx_cv_std_libpath" != "x"; then
 
25023
                                break 2
 
25024
                            fi
 
25025
                        fi
 
25026
                    done
 
25027
                done
 
25028
                if test "x$wx_cv_std_libpath" = "x"; then
 
25029
                    wx_cv_std_libpath="lib"
 
25030
                fi
 
25031
 
 
25032
 
 
25033
fi
 
25034
 
 
25035
        ;;
 
25036
 
 
25037
    *-*-solaris2* )
 
25038
                if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
 
25039
            wx_cv_std_libpath="lib/64"
 
25040
        else
 
25041
            wx_cv_std_libpath="lib"
 
25042
        fi
 
25043
        ;;
 
25044
 
 
25045
    *-*-linux* )
 
25046
                if test "$ac_cv_sizeof_void_p" = 8 -a \
 
25047
                -d "/usr/lib64" -a ! -h "/usr/lib64"; then
 
25048
            wx_cv_std_libpath="lib64"
 
25049
        else
 
25050
            wx_cv_std_libpath="lib"
 
25051
        fi
 
25052
        ;;
 
25053
 
 
25054
    *)
 
25055
        wx_cv_std_libpath="lib";
 
25056
        ;;
 
25057
esac
 
25058
 
 
25059
echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
 
25060
echo "${ECHO_T}$wx_cv_std_libpath" >&6
 
25061
 
 
25062
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
 
25063
 
 
25064
if test "$build" != "$host" -a "$GCC" = yes; then
 
25065
                    if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
 
25066
        cross_root=`dirname $cross_root`
 
25067
        cross_root=`dirname $cross_root`
 
25068
 
 
25069
                        SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
 
25070
        SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
 
25071
        SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
 
25072
 
 
25073
                if test -z "$PKG_CONFIG_PATH"; then
 
25074
            PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
 
25075
            export PKG_CONFIG_PATH
 
25076
        fi
 
25077
 
 
25078
                                if test -z "$x_includes" -o "$x_includes" = NONE; then
 
25079
 
 
25080
ac_find_includes=
 
25081
for ac_dir in $SEARCH_INCLUDE /usr/include;
 
25082
  do
 
25083
    if test -f "$ac_dir/X11/Intrinsic.h"; then
 
25084
      ac_find_includes=$ac_dir
 
25085
      break
 
25086
    fi
 
25087
  done
 
25088
 
 
25089
            x_includes=$ac_find_includes
 
25090
        fi
 
25091
        if test -z "$x_libraries" -o "$x_libraries" = NONE; then
 
25092
 
 
25093
  ac_find_libraries=
 
25094
  for ac_dir in $SEARCH_LIB;
 
25095
  do
 
25096
    for ac_extension in a so sl dylib dll.a; do
 
25097
      if test -f "$ac_dir/libXt.$ac_extension"; then
 
25098
        ac_find_libraries=$ac_dir
 
25099
        break 2
 
25100
      fi
 
25101
    done
 
25102
  done
 
25103
 
 
25104
            x_libraries=$ac_find_libraries
 
25105
        fi
 
25106
    fi
 
25107
fi
 
25108
 
 
25109
 
 
25110
cat >confcache <<\_ACEOF
 
25111
# This file is a shell script that caches the results of configure
 
25112
# tests run on this system so they can be shared between configure
 
25113
# scripts and configure runs, see configure's option --config-cache.
 
25114
# It is not useful on other systems.  If it contains results you don't
 
25115
# want to keep, you may remove or edit it.
 
25116
#
 
25117
# config.status only pays attention to the cache file if you give it
 
25118
# the --recheck option to rerun configure.
 
25119
#
 
25120
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
25121
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
25122
# following values.
 
25123
 
 
25124
_ACEOF
 
25125
 
 
25126
# The following way of writing the cache mishandles newlines in values,
 
25127
# but we know of no workaround that is simple, portable, and efficient.
 
25128
# So, don't put newlines in cache variables' values.
 
25129
# Ultrix sh set writes to stderr and can't be redirected directly,
 
25130
# and sets the high bit in the cache file unless we assign to the vars.
 
25131
{
 
25132
  (set) 2>&1 |
 
25133
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
25134
    *ac_space=\ *)
 
25135
      # `set' does not quote correctly, so add quotes (double-quote
 
25136
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
25137
      sed -n \
 
25138
        "s/'/'\\\\''/g;
 
25139
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
25140
      ;;
 
25141
    *)
 
25142
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
25143
      sed -n \
 
25144
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
25145
      ;;
 
25146
    esac;
 
25147
} |
 
25148
  sed '
 
25149
     t clear
 
25150
     : clear
 
25151
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
25152
     t end
 
25153
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
25154
     : end' >>confcache
 
25155
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
25156
  if test -w $cache_file; then
 
25157
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
25158
    cat confcache >$cache_file
 
25159
  else
 
25160
    echo "not updating unwritable cache $cache_file"
 
25161
  fi
 
25162
fi
 
25163
rm -f confcache
 
25164
 
 
25165
if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
 
25166
    echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
 
25167
echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
 
25168
if test "${wx_cv_lib_glibc21+set}" = set; then
 
25169
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25170
else
 
25171
 
 
25172
        cat >conftest.$ac_ext <<_ACEOF
 
25173
/* confdefs.h.  */
 
25174
_ACEOF
 
25175
cat confdefs.h >>conftest.$ac_ext
 
25176
cat >>conftest.$ac_ext <<_ACEOF
 
25177
/* end confdefs.h.  */
 
25178
#include <features.h>
 
25179
int
 
25180
main ()
 
25181
{
 
25182
 
 
25183
                #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
 
25184
                not glibc 2.1
 
25185
                #endif
 
25186
 
 
25187
  ;
 
25188
  return 0;
 
25189
}
 
25190
_ACEOF
 
25191
rm -f conftest.$ac_objext
 
25192
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25193
  (eval $ac_compile) 2>conftest.er1
 
25194
  ac_status=$?
 
25195
  grep -v '^ *+' conftest.er1 >conftest.err
 
25196
  rm -f conftest.er1
 
25197
  cat conftest.err >&5
 
25198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25199
  (exit $ac_status); } &&
 
25200
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25201
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25202
  (eval $ac_try) 2>&5
 
25203
  ac_status=$?
 
25204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25205
  (exit $ac_status); }; } &&
 
25206
         { ac_try='test -s conftest.$ac_objext'
 
25207
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25208
  (eval $ac_try) 2>&5
 
25209
  ac_status=$?
 
25210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25211
  (exit $ac_status); }; }; then
 
25212
 
 
25213
                wx_cv_lib_glibc21=yes
 
25214
 
 
25215
else
 
25216
  echo "$as_me: failed program was:" >&5
 
25217
sed 's/^/| /' conftest.$ac_ext >&5
 
25218
 
 
25219
 
 
25220
                wx_cv_lib_glibc21=no
 
25221
 
 
25222
 
 
25223
fi
 
25224
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25225
 
 
25226
fi
 
25227
echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
 
25228
echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
 
25229
    if test "$wx_cv_lib_glibc21" = "yes"; then
 
25230
        cat >>confdefs.h <<\_ACEOF
 
25231
#define wxHAVE_GLIBC2 1
 
25232
_ACEOF
 
25233
 
 
25234
    fi
 
25235
fi
 
25236
 
 
25237
if test "x$wx_cv_lib_glibc21" = "xyes"; then
 
25238
    if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
 
25239
        cat >>confdefs.h <<\_ACEOF
 
25240
#define _GNU_SOURCE 1
 
25241
_ACEOF
 
25242
 
 
25243
    fi
 
25244
fi
 
25245
 
 
25246
have_cos=0
 
25247
have_floor=0
 
25248
 
 
25249
for ac_func in cos
 
25250
do
 
25251
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25252
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25253
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
25254
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25255
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25256
else
 
25257
  cat >conftest.$ac_ext <<_ACEOF
 
25258
/* confdefs.h.  */
 
25259
_ACEOF
 
25260
cat confdefs.h >>conftest.$ac_ext
 
25261
cat >>conftest.$ac_ext <<_ACEOF
 
25262
/* end confdefs.h.  */
 
25263
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
25264
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25265
#define $ac_func innocuous_$ac_func
 
25266
 
 
25267
/* System header to define __stub macros and hopefully few prototypes,
 
25268
    which can conflict with char $ac_func (); below.
 
25269
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25270
    <limits.h> exists even on freestanding compilers.  */
 
25271
 
 
25272
#ifdef __STDC__
 
25273
# include <limits.h>
 
25274
#else
 
25275
# include <assert.h>
 
25276
#endif
 
25277
 
 
25278
#undef $ac_func
 
25279
 
 
25280
/* Override any gcc2 internal prototype to avoid an error.  */
 
25281
#ifdef __cplusplus
 
25282
extern "C"
 
25283
{
 
25284
#endif
 
25285
/* We use char because int might match the return type of a gcc2
 
25286
   builtin and then its argument prototype would still apply.  */
 
25287
char $ac_func ();
 
25288
/* The GNU C library defines this for functions which it implements
 
25289
    to always fail with ENOSYS.  Some functions are actually named
 
25290
    something starting with __ and the normal name is an alias.  */
 
25291
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25292
choke me
 
25293
#else
 
25294
char (*f) () = $ac_func;
 
25295
#endif
 
25296
#ifdef __cplusplus
 
25297
}
 
25298
#endif
 
25299
 
 
25300
int
 
25301
main ()
 
25302
{
 
25303
return f != $ac_func;
 
25304
  ;
 
25305
  return 0;
 
25306
}
 
25307
_ACEOF
 
25308
rm -f conftest.$ac_objext conftest$ac_exeext
 
25309
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25310
  (eval $ac_link) 2>conftest.er1
 
25311
  ac_status=$?
 
25312
  grep -v '^ *+' conftest.er1 >conftest.err
 
25313
  rm -f conftest.er1
 
25314
  cat conftest.err >&5
 
25315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25316
  (exit $ac_status); } &&
 
25317
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25318
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25319
  (eval $ac_try) 2>&5
 
25320
  ac_status=$?
 
25321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25322
  (exit $ac_status); }; } &&
 
25323
         { ac_try='test -s conftest$ac_exeext'
 
25324
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25325
  (eval $ac_try) 2>&5
 
25326
  ac_status=$?
 
25327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25328
  (exit $ac_status); }; }; then
 
25329
  eval "$as_ac_var=yes"
 
25330
else
 
25331
  echo "$as_me: failed program was:" >&5
 
25332
sed 's/^/| /' conftest.$ac_ext >&5
 
25333
 
 
25334
eval "$as_ac_var=no"
 
25335
fi
 
25336
rm -f conftest.err conftest.$ac_objext \
 
25337
      conftest$ac_exeext conftest.$ac_ext
 
25338
fi
 
25339
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
25340
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25341
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25342
  cat >>confdefs.h <<_ACEOF
 
25343
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
25344
_ACEOF
 
25345
 have_cos=1
 
25346
fi
 
25347
done
 
25348
 
 
25349
 
 
25350
for ac_func in floor
 
25351
do
 
25352
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25353
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25354
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
25355
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25356
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25357
else
 
25358
  cat >conftest.$ac_ext <<_ACEOF
 
25359
/* confdefs.h.  */
 
25360
_ACEOF
 
25361
cat confdefs.h >>conftest.$ac_ext
 
25362
cat >>conftest.$ac_ext <<_ACEOF
 
25363
/* end confdefs.h.  */
 
25364
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
25365
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25366
#define $ac_func innocuous_$ac_func
 
25367
 
 
25368
/* System header to define __stub macros and hopefully few prototypes,
 
25369
    which can conflict with char $ac_func (); below.
 
25370
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25371
    <limits.h> exists even on freestanding compilers.  */
 
25372
 
 
25373
#ifdef __STDC__
 
25374
# include <limits.h>
 
25375
#else
 
25376
# include <assert.h>
 
25377
#endif
 
25378
 
 
25379
#undef $ac_func
 
25380
 
 
25381
/* Override any gcc2 internal prototype to avoid an error.  */
 
25382
#ifdef __cplusplus
 
25383
extern "C"
 
25384
{
 
25385
#endif
 
25386
/* We use char because int might match the return type of a gcc2
 
25387
   builtin and then its argument prototype would still apply.  */
 
25388
char $ac_func ();
 
25389
/* The GNU C library defines this for functions which it implements
 
25390
    to always fail with ENOSYS.  Some functions are actually named
 
25391
    something starting with __ and the normal name is an alias.  */
 
25392
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25393
choke me
 
25394
#else
 
25395
char (*f) () = $ac_func;
 
25396
#endif
 
25397
#ifdef __cplusplus
 
25398
}
 
25399
#endif
 
25400
 
 
25401
int
 
25402
main ()
 
25403
{
 
25404
return f != $ac_func;
 
25405
  ;
 
25406
  return 0;
 
25407
}
 
25408
_ACEOF
 
25409
rm -f conftest.$ac_objext conftest$ac_exeext
 
25410
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25411
  (eval $ac_link) 2>conftest.er1
 
25412
  ac_status=$?
 
25413
  grep -v '^ *+' conftest.er1 >conftest.err
 
25414
  rm -f conftest.er1
 
25415
  cat conftest.err >&5
 
25416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25417
  (exit $ac_status); } &&
 
25418
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25419
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25420
  (eval $ac_try) 2>&5
 
25421
  ac_status=$?
 
25422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25423
  (exit $ac_status); }; } &&
 
25424
         { ac_try='test -s conftest$ac_exeext'
 
25425
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25426
  (eval $ac_try) 2>&5
 
25427
  ac_status=$?
 
25428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25429
  (exit $ac_status); }; }; then
 
25430
  eval "$as_ac_var=yes"
 
25431
else
 
25432
  echo "$as_me: failed program was:" >&5
 
25433
sed 's/^/| /' conftest.$ac_ext >&5
 
25434
 
 
25435
eval "$as_ac_var=no"
 
25436
fi
 
25437
rm -f conftest.err conftest.$ac_objext \
 
25438
      conftest$ac_exeext conftest.$ac_ext
 
25439
fi
 
25440
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
25441
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25442
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25443
  cat >>confdefs.h <<_ACEOF
 
25444
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
25445
_ACEOF
 
25446
 have_floor=1
 
25447
fi
 
25448
done
 
25449
 
 
25450
echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
 
25451
echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
 
25452
if test "$have_cos" = 1 -a "$have_floor" = 1; then
 
25453
    echo "$as_me:$LINENO: result: yes" >&5
 
25454
echo "${ECHO_T}yes" >&6
 
25455
else
 
25456
    echo "$as_me:$LINENO: result: no" >&5
 
25457
echo "${ECHO_T}no" >&6
 
25458
    LIBS="$LIBS -lm"
 
25459
    # use different functions to avoid configure caching
 
25460
    have_sin=0
 
25461
    have_ceil=0
 
25462
 
 
25463
for ac_func in sin
 
25464
do
 
25465
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25466
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25467
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
25468
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25469
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25470
else
 
25471
  cat >conftest.$ac_ext <<_ACEOF
 
25472
/* confdefs.h.  */
 
25473
_ACEOF
 
25474
cat confdefs.h >>conftest.$ac_ext
 
25475
cat >>conftest.$ac_ext <<_ACEOF
 
25476
/* end confdefs.h.  */
 
25477
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
25478
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25479
#define $ac_func innocuous_$ac_func
 
25480
 
 
25481
/* System header to define __stub macros and hopefully few prototypes,
 
25482
    which can conflict with char $ac_func (); below.
 
25483
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25484
    <limits.h> exists even on freestanding compilers.  */
 
25485
 
 
25486
#ifdef __STDC__
 
25487
# include <limits.h>
 
25488
#else
 
25489
# include <assert.h>
 
25490
#endif
 
25491
 
 
25492
#undef $ac_func
 
25493
 
 
25494
/* Override any gcc2 internal prototype to avoid an error.  */
 
25495
#ifdef __cplusplus
 
25496
extern "C"
 
25497
{
 
25498
#endif
 
25499
/* We use char because int might match the return type of a gcc2
 
25500
   builtin and then its argument prototype would still apply.  */
 
25501
char $ac_func ();
 
25502
/* The GNU C library defines this for functions which it implements
 
25503
    to always fail with ENOSYS.  Some functions are actually named
 
25504
    something starting with __ and the normal name is an alias.  */
 
25505
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25506
choke me
 
25507
#else
 
25508
char (*f) () = $ac_func;
 
25509
#endif
 
25510
#ifdef __cplusplus
 
25511
}
 
25512
#endif
 
25513
 
 
25514
int
 
25515
main ()
 
25516
{
 
25517
return f != $ac_func;
 
25518
  ;
 
25519
  return 0;
 
25520
}
 
25521
_ACEOF
 
25522
rm -f conftest.$ac_objext conftest$ac_exeext
 
25523
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25524
  (eval $ac_link) 2>conftest.er1
 
25525
  ac_status=$?
 
25526
  grep -v '^ *+' conftest.er1 >conftest.err
 
25527
  rm -f conftest.er1
 
25528
  cat conftest.err >&5
 
25529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25530
  (exit $ac_status); } &&
 
25531
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25532
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25533
  (eval $ac_try) 2>&5
 
25534
  ac_status=$?
 
25535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25536
  (exit $ac_status); }; } &&
 
25537
         { ac_try='test -s conftest$ac_exeext'
 
25538
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25539
  (eval $ac_try) 2>&5
 
25540
  ac_status=$?
 
25541
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25542
  (exit $ac_status); }; }; then
 
25543
  eval "$as_ac_var=yes"
 
25544
else
 
25545
  echo "$as_me: failed program was:" >&5
 
25546
sed 's/^/| /' conftest.$ac_ext >&5
 
25547
 
 
25548
eval "$as_ac_var=no"
 
25549
fi
 
25550
rm -f conftest.err conftest.$ac_objext \
 
25551
      conftest$ac_exeext conftest.$ac_ext
 
25552
fi
 
25553
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
25554
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25555
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25556
  cat >>confdefs.h <<_ACEOF
 
25557
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
25558
_ACEOF
 
25559
 have_sin=1
 
25560
fi
 
25561
done
 
25562
 
 
25563
 
 
25564
for ac_func in ceil
 
25565
do
 
25566
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25567
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25568
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
25569
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25570
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25571
else
 
25572
  cat >conftest.$ac_ext <<_ACEOF
 
25573
/* confdefs.h.  */
 
25574
_ACEOF
 
25575
cat confdefs.h >>conftest.$ac_ext
 
25576
cat >>conftest.$ac_ext <<_ACEOF
 
25577
/* end confdefs.h.  */
 
25578
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
25579
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25580
#define $ac_func innocuous_$ac_func
 
25581
 
 
25582
/* System header to define __stub macros and hopefully few prototypes,
 
25583
    which can conflict with char $ac_func (); below.
 
25584
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25585
    <limits.h> exists even on freestanding compilers.  */
 
25586
 
 
25587
#ifdef __STDC__
 
25588
# include <limits.h>
 
25589
#else
 
25590
# include <assert.h>
 
25591
#endif
 
25592
 
 
25593
#undef $ac_func
 
25594
 
 
25595
/* Override any gcc2 internal prototype to avoid an error.  */
 
25596
#ifdef __cplusplus
 
25597
extern "C"
 
25598
{
 
25599
#endif
 
25600
/* We use char because int might match the return type of a gcc2
 
25601
   builtin and then its argument prototype would still apply.  */
 
25602
char $ac_func ();
 
25603
/* The GNU C library defines this for functions which it implements
 
25604
    to always fail with ENOSYS.  Some functions are actually named
 
25605
    something starting with __ and the normal name is an alias.  */
 
25606
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25607
choke me
 
25608
#else
 
25609
char (*f) () = $ac_func;
 
25610
#endif
 
25611
#ifdef __cplusplus
 
25612
}
 
25613
#endif
 
25614
 
 
25615
int
 
25616
main ()
 
25617
{
 
25618
return f != $ac_func;
 
25619
  ;
 
25620
  return 0;
 
25621
}
 
25622
_ACEOF
 
25623
rm -f conftest.$ac_objext conftest$ac_exeext
 
25624
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25625
  (eval $ac_link) 2>conftest.er1
 
25626
  ac_status=$?
 
25627
  grep -v '^ *+' conftest.er1 >conftest.err
 
25628
  rm -f conftest.er1
 
25629
  cat conftest.err >&5
 
25630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25631
  (exit $ac_status); } &&
 
25632
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25633
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25634
  (eval $ac_try) 2>&5
 
25635
  ac_status=$?
 
25636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25637
  (exit $ac_status); }; } &&
 
25638
         { ac_try='test -s conftest$ac_exeext'
 
25639
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25640
  (eval $ac_try) 2>&5
 
25641
  ac_status=$?
 
25642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25643
  (exit $ac_status); }; }; then
 
25644
  eval "$as_ac_var=yes"
 
25645
else
 
25646
  echo "$as_me: failed program was:" >&5
 
25647
sed 's/^/| /' conftest.$ac_ext >&5
 
25648
 
 
25649
eval "$as_ac_var=no"
 
25650
fi
 
25651
rm -f conftest.err conftest.$ac_objext \
 
25652
      conftest$ac_exeext conftest.$ac_ext
 
25653
fi
 
25654
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
25655
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25656
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25657
  cat >>confdefs.h <<_ACEOF
 
25658
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
25659
_ACEOF
 
25660
 have_ceil=1
 
25661
fi
 
25662
done
 
25663
 
 
25664
    echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
 
25665
echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
 
25666
    if test "$have_sin" = 1 -a "$have_ceil" = 1; then
 
25667
        echo "$as_me:$LINENO: result: yes" >&5
 
25668
echo "${ECHO_T}yes" >&6
 
25669
    else
 
25670
        echo "$as_me:$LINENO: result: no" >&5
 
25671
echo "${ECHO_T}no" >&6
 
25672
        # not sure we should warn the user, crash, etc.
 
25673
    fi
 
25674
fi
 
25675
 
 
25676
ac_ext=cc
 
25677
ac_cpp='$CXXCPP $CPPFLAGS'
 
25678
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
25679
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
25680
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
25681
 
 
25682
if test "$wxUSE_UNICODE" = "yes"; then
 
25683
 
 
25684
  for wx_func in wcstoull
 
25685
  do
 
25686
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
25687
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
25688
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
25689
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25690
else
 
25691
 
 
25692
        cat >conftest.$ac_ext <<_ACEOF
 
25693
 
 
25694
            /* confdefs.h.  */
 
25695
_ACEOF
 
25696
cat confdefs.h >>conftest.$ac_ext
 
25697
cat >>conftest.$ac_ext <<_ACEOF
 
25698
/* end confdefs.h.  */
 
25699
 
 
25700
                #include <wchar.h>
 
25701
                $ac_includes_default
 
25702
 
 
25703
int
 
25704
main ()
 
25705
{
 
25706
 
 
25707
                #ifndef $wx_func
 
25708
                  &$wx_func;
 
25709
                #endif
 
25710
 
 
25711
 
 
25712
  ;
 
25713
  return 0;
 
25714
}
 
25715
 
 
25716
_ACEOF
 
25717
rm -f conftest.$ac_objext conftest$ac_exeext
 
25718
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25719
  (eval $ac_link) 2>conftest.er1
 
25720
  ac_status=$?
 
25721
  grep -v '^ *+' conftest.er1 >conftest.err
 
25722
  rm -f conftest.er1
 
25723
  cat conftest.err >&5
 
25724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25725
  (exit $ac_status); } &&
 
25726
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
25727
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25728
  (eval $ac_try) 2>&5
 
25729
  ac_status=$?
 
25730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25731
  (exit $ac_status); }; } &&
 
25732
         { ac_try='test -s conftest$ac_exeext'
 
25733
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25734
  (eval $ac_try) 2>&5
 
25735
  ac_status=$?
 
25736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25737
  (exit $ac_status); }; }; then
 
25738
  eval wx_cv_func_$wx_func=yes
 
25739
else
 
25740
  echo "$as_me: failed program was:" >&5
 
25741
sed 's/^/| /' conftest.$ac_ext >&5
 
25742
 
 
25743
eval wx_cv_func_$wx_func=no
 
25744
fi
 
25745
rm -f conftest.err conftest.$ac_objext \
 
25746
      conftest$ac_exeext conftest.$ac_ext
 
25747
 
 
25748
fi
 
25749
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
25750
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
25751
 
 
25752
    if eval test \$wx_cv_func_$wx_func = yes
 
25753
    then
 
25754
      cat >>confdefs.h <<_ACEOF
 
25755
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
25756
_ACEOF
 
25757
 
 
25758
 
 
25759
    else
 
25760
      :
 
25761
 
 
25762
    fi
 
25763
  done
 
25764
 
 
25765
else
 
25766
 
 
25767
  for wx_func in strtoull
 
25768
  do
 
25769
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
25770
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
25771
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
25772
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25773
else
 
25774
 
 
25775
        cat >conftest.$ac_ext <<_ACEOF
 
25776
 
 
25777
            /* confdefs.h.  */
 
25778
_ACEOF
 
25779
cat confdefs.h >>conftest.$ac_ext
 
25780
cat >>conftest.$ac_ext <<_ACEOF
 
25781
/* end confdefs.h.  */
 
25782
 
 
25783
 
 
25784
                $ac_includes_default
 
25785
 
 
25786
int
 
25787
main ()
 
25788
{
 
25789
 
 
25790
                #ifndef $wx_func
 
25791
                  &$wx_func;
 
25792
                #endif
 
25793
 
 
25794
 
 
25795
  ;
 
25796
  return 0;
 
25797
}
 
25798
 
 
25799
_ACEOF
 
25800
rm -f conftest.$ac_objext conftest$ac_exeext
 
25801
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25802
  (eval $ac_link) 2>conftest.er1
 
25803
  ac_status=$?
 
25804
  grep -v '^ *+' conftest.er1 >conftest.err
 
25805
  rm -f conftest.er1
 
25806
  cat conftest.err >&5
 
25807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25808
  (exit $ac_status); } &&
 
25809
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
25810
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25811
  (eval $ac_try) 2>&5
 
25812
  ac_status=$?
 
25813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25814
  (exit $ac_status); }; } &&
 
25815
         { ac_try='test -s conftest$ac_exeext'
 
25816
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25817
  (eval $ac_try) 2>&5
 
25818
  ac_status=$?
 
25819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25820
  (exit $ac_status); }; }; then
 
25821
  eval wx_cv_func_$wx_func=yes
 
25822
else
 
25823
  echo "$as_me: failed program was:" >&5
 
25824
sed 's/^/| /' conftest.$ac_ext >&5
 
25825
 
 
25826
eval wx_cv_func_$wx_func=no
 
25827
fi
 
25828
rm -f conftest.err conftest.$ac_objext \
 
25829
      conftest$ac_exeext conftest.$ac_ext
 
25830
 
 
25831
fi
 
25832
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
25833
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
25834
 
 
25835
    if eval test \$wx_cv_func_$wx_func = yes
 
25836
    then
 
25837
      cat >>confdefs.h <<_ACEOF
 
25838
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
25839
_ACEOF
 
25840
 
 
25841
 
 
25842
    else
 
25843
      :
 
25844
 
 
25845
    fi
 
25846
  done
 
25847
 
 
25848
fi
 
25849
ac_ext=c
 
25850
ac_cpp='$CPP $CPPFLAGS'
 
25851
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
25852
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
25853
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
25854
 
 
25855
 
 
25856
 
 
25857
 
 
25858
if test "$wxUSE_REGEX" != "no"; then
 
25859
    cat >>confdefs.h <<\_ACEOF
 
25860
#define wxUSE_REGEX 1
 
25861
_ACEOF
 
25862
 
 
25863
 
 
25864
    if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
 
25865
        { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
 
25866
echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
 
25867
        wxUSE_REGEX=builtin
 
25868
    fi
 
25869
 
 
25870
    if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
 
25871
                        echo "$as_me:$LINENO: checking for regex.h" >&5
 
25872
echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
 
25873
if test "${ac_cv_header_regex_h+set}" = set; then
 
25874
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25875
else
 
25876
  cat >conftest.$ac_ext <<_ACEOF
 
25877
/* confdefs.h.  */
 
25878
_ACEOF
 
25879
cat confdefs.h >>conftest.$ac_ext
 
25880
cat >>conftest.$ac_ext <<_ACEOF
 
25881
/* end confdefs.h.  */
 
25882
 
 
25883
 
 
25884
#include <regex.h>
 
25885
_ACEOF
 
25886
rm -f conftest.$ac_objext
 
25887
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25888
  (eval $ac_compile) 2>conftest.er1
 
25889
  ac_status=$?
 
25890
  grep -v '^ *+' conftest.er1 >conftest.err
 
25891
  rm -f conftest.er1
 
25892
  cat conftest.err >&5
 
25893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25894
  (exit $ac_status); } &&
 
25895
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25896
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25897
  (eval $ac_try) 2>&5
 
25898
  ac_status=$?
 
25899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25900
  (exit $ac_status); }; } &&
 
25901
         { ac_try='test -s conftest.$ac_objext'
 
25902
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25903
  (eval $ac_try) 2>&5
 
25904
  ac_status=$?
 
25905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25906
  (exit $ac_status); }; }; then
 
25907
  ac_cv_header_regex_h=yes
 
25908
else
 
25909
  echo "$as_me: failed program was:" >&5
 
25910
sed 's/^/| /' conftest.$ac_ext >&5
 
25911
 
 
25912
ac_cv_header_regex_h=no
 
25913
fi
 
25914
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25915
fi
 
25916
echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
 
25917
echo "${ECHO_T}$ac_cv_header_regex_h" >&6
 
25918
if test $ac_cv_header_regex_h = yes; then
 
25919
 
 
25920
 
 
25921
for ac_func in regcomp re_search
 
25922
do
 
25923
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25924
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25925
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
25926
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25927
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25928
else
 
25929
  cat >conftest.$ac_ext <<_ACEOF
 
25930
/* confdefs.h.  */
 
25931
_ACEOF
 
25932
cat confdefs.h >>conftest.$ac_ext
 
25933
cat >>conftest.$ac_ext <<_ACEOF
 
25934
/* end confdefs.h.  */
 
25935
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
25936
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25937
#define $ac_func innocuous_$ac_func
 
25938
 
 
25939
/* System header to define __stub macros and hopefully few prototypes,
 
25940
    which can conflict with char $ac_func (); below.
 
25941
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25942
    <limits.h> exists even on freestanding compilers.  */
 
25943
 
 
25944
#ifdef __STDC__
 
25945
# include <limits.h>
 
25946
#else
 
25947
# include <assert.h>
 
25948
#endif
 
25949
 
 
25950
#undef $ac_func
 
25951
 
 
25952
/* Override any gcc2 internal prototype to avoid an error.  */
 
25953
#ifdef __cplusplus
 
25954
extern "C"
 
25955
{
 
25956
#endif
 
25957
/* We use char because int might match the return type of a gcc2
 
25958
   builtin and then its argument prototype would still apply.  */
 
25959
char $ac_func ();
 
25960
/* The GNU C library defines this for functions which it implements
 
25961
    to always fail with ENOSYS.  Some functions are actually named
 
25962
    something starting with __ and the normal name is an alias.  */
 
25963
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25964
choke me
 
25965
#else
 
25966
char (*f) () = $ac_func;
 
25967
#endif
 
25968
#ifdef __cplusplus
 
25969
}
 
25970
#endif
 
25971
 
 
25972
int
 
25973
main ()
 
25974
{
 
25975
return f != $ac_func;
 
25976
  ;
 
25977
  return 0;
 
25978
}
 
25979
_ACEOF
 
25980
rm -f conftest.$ac_objext conftest$ac_exeext
 
25981
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25982
  (eval $ac_link) 2>conftest.er1
 
25983
  ac_status=$?
 
25984
  grep -v '^ *+' conftest.er1 >conftest.err
 
25985
  rm -f conftest.er1
 
25986
  cat conftest.err >&5
 
25987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25988
  (exit $ac_status); } &&
 
25989
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
25990
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25991
  (eval $ac_try) 2>&5
 
25992
  ac_status=$?
 
25993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25994
  (exit $ac_status); }; } &&
 
25995
         { ac_try='test -s conftest$ac_exeext'
 
25996
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25997
  (eval $ac_try) 2>&5
 
25998
  ac_status=$?
 
25999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26000
  (exit $ac_status); }; }; then
 
26001
  eval "$as_ac_var=yes"
 
26002
else
 
26003
  echo "$as_me: failed program was:" >&5
 
26004
sed 's/^/| /' conftest.$ac_ext >&5
 
26005
 
 
26006
eval "$as_ac_var=no"
 
26007
fi
 
26008
rm -f conftest.err conftest.$ac_objext \
 
26009
      conftest$ac_exeext conftest.$ac_ext
 
26010
fi
 
26011
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
26012
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26013
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
26014
  cat >>confdefs.h <<_ACEOF
 
26015
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
26016
_ACEOF
 
26017
 
 
26018
fi
 
26019
done
 
26020
 
 
26021
fi
 
26022
 
 
26023
 
 
26024
 
 
26025
        if test "x$ac_cv_func_regcomp" != "xyes"; then
 
26026
            if test "$wxUSE_REGEX" = "sys" ; then
 
26027
                { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
 
26028
echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
 
26029
   { (exit 1); exit 1; }; }
 
26030
            else
 
26031
                { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
 
26032
echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
 
26033
                wxUSE_REGEX=builtin
 
26034
            fi
 
26035
        else
 
26036
                        wxUSE_REGEX=sys
 
26037
                        cat >>confdefs.h <<\_ACEOF
 
26038
#define WX_NO_REGEX_ADVANCED 1
 
26039
_ACEOF
 
26040
 
 
26041
        fi
 
26042
    fi
 
26043
fi
 
26044
 
 
26045
 
 
26046
ZLIB_LINK=
 
26047
if test "$wxUSE_ZLIB" != "no" ; then
 
26048
    cat >>confdefs.h <<\_ACEOF
 
26049
#define wxUSE_ZLIB 1
 
26050
_ACEOF
 
26051
 
 
26052
 
 
26053
    if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
 
26054
                                                if test "$USE_DARWIN" = 1; then
 
26055
            system_zlib_h_ok="yes"
 
26056
        else
 
26057
                                                                                    echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
 
26058
echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
 
26059
if test "${ac_cv_header_zlib_h+set}" = set; then
 
26060
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26061
else
 
26062
  if test "$cross_compiling" = yes; then
 
26063
                      unset ac_cv_header_zlib_h
 
26064
 
 
26065
else
 
26066
  cat >conftest.$ac_ext <<_ACEOF
 
26067
/* confdefs.h.  */
 
26068
_ACEOF
 
26069
cat confdefs.h >>conftest.$ac_ext
 
26070
cat >>conftest.$ac_ext <<_ACEOF
 
26071
/* end confdefs.h.  */
 
26072
 
 
26073
                        #include <zlib.h>
 
26074
                        #include <stdio.h>
 
26075
 
 
26076
                        int main()
 
26077
                        {
 
26078
                            FILE *f=fopen("conftestval", "w");
 
26079
                            if (!f) exit(1);
 
26080
                            fprintf(f, "%s",
 
26081
                                    ZLIB_VERSION[0] == '1' &&
 
26082
                                    (ZLIB_VERSION[2] > '1' ||
 
26083
                                    (ZLIB_VERSION[2] == '1' &&
 
26084
                                     ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
 
26085
                            exit(0);
 
26086
                        }
 
26087
 
 
26088
_ACEOF
 
26089
rm -f conftest$ac_exeext
 
26090
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26091
  (eval $ac_link) 2>&5
 
26092
  ac_status=$?
 
26093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26094
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
26095
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26096
  (eval $ac_try) 2>&5
 
26097
  ac_status=$?
 
26098
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26099
  (exit $ac_status); }; }; then
 
26100
  ac_cv_header_zlib_h=`cat conftestval`
 
26101
else
 
26102
  echo "$as_me: program exited with status $ac_status" >&5
 
26103
echo "$as_me: failed program was:" >&5
 
26104
sed 's/^/| /' conftest.$ac_ext >&5
 
26105
 
 
26106
( exit $ac_status )
 
26107
ac_cv_header_zlib_h=no
 
26108
fi
 
26109
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
26110
fi
 
26111
 
 
26112
fi
 
26113
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
26114
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
26115
                                    echo "$as_me:$LINENO: checking for zlib.h" >&5
 
26116
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
26117
if test "${ac_cv_header_zlib_h+set}" = set; then
 
26118
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26119
else
 
26120
  cat >conftest.$ac_ext <<_ACEOF
 
26121
/* confdefs.h.  */
 
26122
_ACEOF
 
26123
cat confdefs.h >>conftest.$ac_ext
 
26124
cat >>conftest.$ac_ext <<_ACEOF
 
26125
/* end confdefs.h.  */
 
26126
 
 
26127
 
 
26128
#include <zlib.h>
 
26129
_ACEOF
 
26130
rm -f conftest.$ac_objext
 
26131
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26132
  (eval $ac_compile) 2>conftest.er1
 
26133
  ac_status=$?
 
26134
  grep -v '^ *+' conftest.er1 >conftest.err
 
26135
  rm -f conftest.er1
 
26136
  cat conftest.err >&5
 
26137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26138
  (exit $ac_status); } &&
 
26139
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26140
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26141
  (eval $ac_try) 2>&5
 
26142
  ac_status=$?
 
26143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26144
  (exit $ac_status); }; } &&
 
26145
         { ac_try='test -s conftest.$ac_objext'
 
26146
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26147
  (eval $ac_try) 2>&5
 
26148
  ac_status=$?
 
26149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26150
  (exit $ac_status); }; }; then
 
26151
  ac_cv_header_zlib_h=yes
 
26152
else
 
26153
  echo "$as_me: failed program was:" >&5
 
26154
sed 's/^/| /' conftest.$ac_ext >&5
 
26155
 
 
26156
ac_cv_header_zlib_h=no
 
26157
fi
 
26158
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26159
fi
 
26160
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
26161
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
26162
 
 
26163
 
 
26164
 
 
26165
            system_zlib_h_ok=$ac_cv_header_zlib_h
 
26166
        fi
 
26167
 
 
26168
        if test "$system_zlib_h_ok" = "yes"; then
 
26169
            echo "$as_me:$LINENO: checking for deflate in -lz" >&5
 
26170
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
 
26171
if test "${ac_cv_lib_z_deflate+set}" = set; then
 
26172
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26173
else
 
26174
  ac_check_lib_save_LIBS=$LIBS
 
26175
LIBS="-lz  $LIBS"
 
26176
cat >conftest.$ac_ext <<_ACEOF
 
26177
/* confdefs.h.  */
 
26178
_ACEOF
 
26179
cat confdefs.h >>conftest.$ac_ext
 
26180
cat >>conftest.$ac_ext <<_ACEOF
 
26181
/* end confdefs.h.  */
 
26182
 
 
26183
/* Override any gcc2 internal prototype to avoid an error.  */
 
26184
#ifdef __cplusplus
 
26185
extern "C"
 
26186
#endif
 
26187
/* We use char because int might match the return type of a gcc2
 
26188
   builtin and then its argument prototype would still apply.  */
 
26189
char deflate ();
 
26190
int
 
26191
main ()
 
26192
{
 
26193
deflate ();
 
26194
  ;
 
26195
  return 0;
 
26196
}
 
26197
_ACEOF
 
26198
rm -f conftest.$ac_objext conftest$ac_exeext
 
26199
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26200
  (eval $ac_link) 2>conftest.er1
 
26201
  ac_status=$?
 
26202
  grep -v '^ *+' conftest.er1 >conftest.err
 
26203
  rm -f conftest.er1
 
26204
  cat conftest.err >&5
 
26205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26206
  (exit $ac_status); } &&
 
26207
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26208
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26209
  (eval $ac_try) 2>&5
 
26210
  ac_status=$?
 
26211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26212
  (exit $ac_status); }; } &&
 
26213
         { ac_try='test -s conftest$ac_exeext'
 
26214
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26215
  (eval $ac_try) 2>&5
 
26216
  ac_status=$?
 
26217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26218
  (exit $ac_status); }; }; then
 
26219
  ac_cv_lib_z_deflate=yes
 
26220
else
 
26221
  echo "$as_me: failed program was:" >&5
 
26222
sed 's/^/| /' conftest.$ac_ext >&5
 
26223
 
 
26224
ac_cv_lib_z_deflate=no
 
26225
fi
 
26226
rm -f conftest.err conftest.$ac_objext \
 
26227
      conftest$ac_exeext conftest.$ac_ext
 
26228
LIBS=$ac_check_lib_save_LIBS
 
26229
fi
 
26230
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
 
26231
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
 
26232
if test $ac_cv_lib_z_deflate = yes; then
 
26233
  ZLIB_LINK=" -lz"
 
26234
fi
 
26235
 
 
26236
        fi
 
26237
 
 
26238
        if test "x$ZLIB_LINK" = "x" ; then
 
26239
            if test "$wxUSE_ZLIB" = "sys" ; then
 
26240
                { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
 
26241
echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
 
26242
   { (exit 1); exit 1; }; }
 
26243
            else
 
26244
                { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
 
26245
echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
 
26246
                wxUSE_ZLIB=builtin
 
26247
            fi
 
26248
        else
 
26249
                        wxUSE_ZLIB=sys
 
26250
        fi
 
26251
    fi
 
26252
fi
 
26253
 
 
26254
 
 
26255
PNG_LINK=
 
26256
if test "$wxUSE_LIBPNG" != "no" ; then
 
26257
    cat >>confdefs.h <<\_ACEOF
 
26258
#define wxUSE_LIBPNG 1
 
26259
_ACEOF
 
26260
 
 
26261
 
 
26262
    if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
 
26263
        { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
 
26264
echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
 
26265
        wxUSE_LIBPNG=sys
 
26266
    fi
 
26267
 
 
26268
                if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
 
26269
        { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
 
26270
echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
 
26271
        wxUSE_LIBPNG=builtin
 
26272
    fi
 
26273
 
 
26274
    if test "$wxUSE_MGL" != 1 ; then
 
26275
                if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
 
26276
                                    echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
 
26277
echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
 
26278
if test "${ac_cv_header_png_h+set}" = set; then
 
26279
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26280
else
 
26281
  if test "$cross_compiling" = yes; then
 
26282
                      unset ac_cv_header_png_h
 
26283
 
 
26284
else
 
26285
  cat >conftest.$ac_ext <<_ACEOF
 
26286
/* confdefs.h.  */
 
26287
_ACEOF
 
26288
cat confdefs.h >>conftest.$ac_ext
 
26289
cat >>conftest.$ac_ext <<_ACEOF
 
26290
/* end confdefs.h.  */
 
26291
 
 
26292
                        #include <png.h>
 
26293
                        #include <stdio.h>
 
26294
 
 
26295
                        int main()
 
26296
                        {
 
26297
                            FILE *f=fopen("conftestval", "w");
 
26298
                            if (!f) exit(1);
 
26299
                            fprintf(f, "%s",
 
26300
                                     PNG_LIBPNG_VER > 90 ? "yes" : "no");
 
26301
                            exit(0);
 
26302
                        }
 
26303
 
 
26304
_ACEOF
 
26305
rm -f conftest$ac_exeext
 
26306
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26307
  (eval $ac_link) 2>&5
 
26308
  ac_status=$?
 
26309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26310
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
26311
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26312
  (eval $ac_try) 2>&5
 
26313
  ac_status=$?
 
26314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26315
  (exit $ac_status); }; }; then
 
26316
  ac_cv_header_png_h=`cat conftestval`
 
26317
else
 
26318
  echo "$as_me: program exited with status $ac_status" >&5
 
26319
echo "$as_me: failed program was:" >&5
 
26320
sed 's/^/| /' conftest.$ac_ext >&5
 
26321
 
 
26322
( exit $ac_status )
 
26323
ac_cv_header_png_h=no
 
26324
fi
 
26325
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
26326
fi
 
26327
 
 
26328
fi
 
26329
echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
 
26330
echo "${ECHO_T}$ac_cv_header_png_h" >&6
 
26331
            echo "$as_me:$LINENO: checking for png.h" >&5
 
26332
echo $ECHO_N "checking for png.h... $ECHO_C" >&6
 
26333
if test "${ac_cv_header_png_h+set}" = set; then
 
26334
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26335
else
 
26336
  cat >conftest.$ac_ext <<_ACEOF
 
26337
/* confdefs.h.  */
 
26338
_ACEOF
 
26339
cat confdefs.h >>conftest.$ac_ext
 
26340
cat >>conftest.$ac_ext <<_ACEOF
 
26341
/* end confdefs.h.  */
 
26342
 
 
26343
 
 
26344
#include <png.h>
 
26345
_ACEOF
 
26346
rm -f conftest.$ac_objext
 
26347
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26348
  (eval $ac_compile) 2>conftest.er1
 
26349
  ac_status=$?
 
26350
  grep -v '^ *+' conftest.er1 >conftest.err
 
26351
  rm -f conftest.er1
 
26352
  cat conftest.err >&5
 
26353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26354
  (exit $ac_status); } &&
 
26355
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26356
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26357
  (eval $ac_try) 2>&5
 
26358
  ac_status=$?
 
26359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26360
  (exit $ac_status); }; } &&
 
26361
         { ac_try='test -s conftest.$ac_objext'
 
26362
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26363
  (eval $ac_try) 2>&5
 
26364
  ac_status=$?
 
26365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26366
  (exit $ac_status); }; }; then
 
26367
  ac_cv_header_png_h=yes
 
26368
else
 
26369
  echo "$as_me: failed program was:" >&5
 
26370
sed 's/^/| /' conftest.$ac_ext >&5
 
26371
 
 
26372
ac_cv_header_png_h=no
 
26373
fi
 
26374
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26375
fi
 
26376
echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
 
26377
echo "${ECHO_T}$ac_cv_header_png_h" >&6
 
26378
 
 
26379
 
 
26380
 
 
26381
            if test "$ac_cv_header_png_h" = "yes"; then
 
26382
                echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
 
26383
echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6
 
26384
if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
 
26385
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26386
else
 
26387
  ac_check_lib_save_LIBS=$LIBS
 
26388
LIBS="-lpng -lz -lm $LIBS"
 
26389
cat >conftest.$ac_ext <<_ACEOF
 
26390
/* confdefs.h.  */
 
26391
_ACEOF
 
26392
cat confdefs.h >>conftest.$ac_ext
 
26393
cat >>conftest.$ac_ext <<_ACEOF
 
26394
/* end confdefs.h.  */
 
26395
 
 
26396
/* Override any gcc2 internal prototype to avoid an error.  */
 
26397
#ifdef __cplusplus
 
26398
extern "C"
 
26399
#endif
 
26400
/* We use char because int might match the return type of a gcc2
 
26401
   builtin and then its argument prototype would still apply.  */
 
26402
char png_sig_cmp ();
 
26403
int
 
26404
main ()
 
26405
{
 
26406
png_sig_cmp ();
 
26407
  ;
 
26408
  return 0;
 
26409
}
 
26410
_ACEOF
 
26411
rm -f conftest.$ac_objext conftest$ac_exeext
 
26412
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26413
  (eval $ac_link) 2>conftest.er1
 
26414
  ac_status=$?
 
26415
  grep -v '^ *+' conftest.er1 >conftest.err
 
26416
  rm -f conftest.er1
 
26417
  cat conftest.err >&5
 
26418
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26419
  (exit $ac_status); } &&
 
26420
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26421
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26422
  (eval $ac_try) 2>&5
 
26423
  ac_status=$?
 
26424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26425
  (exit $ac_status); }; } &&
 
26426
         { ac_try='test -s conftest$ac_exeext'
 
26427
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26428
  (eval $ac_try) 2>&5
 
26429
  ac_status=$?
 
26430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26431
  (exit $ac_status); }; }; then
 
26432
  ac_cv_lib_png_png_sig_cmp=yes
 
26433
else
 
26434
  echo "$as_me: failed program was:" >&5
 
26435
sed 's/^/| /' conftest.$ac_ext >&5
 
26436
 
 
26437
ac_cv_lib_png_png_sig_cmp=no
 
26438
fi
 
26439
rm -f conftest.err conftest.$ac_objext \
 
26440
      conftest$ac_exeext conftest.$ac_ext
 
26441
LIBS=$ac_check_lib_save_LIBS
 
26442
fi
 
26443
echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
 
26444
echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6
 
26445
if test $ac_cv_lib_png_png_sig_cmp = yes; then
 
26446
  PNG_LINK=" -lpng -lz"
 
26447
fi
 
26448
 
 
26449
            fi
 
26450
 
 
26451
            if test "x$PNG_LINK" = "x" ; then
 
26452
                if test "$wxUSE_LIBPNG" = "sys" ; then
 
26453
                    { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
 
26454
echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
 
26455
   { (exit 1); exit 1; }; }
 
26456
                else
 
26457
                    { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
 
26458
echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
 
26459
                    wxUSE_LIBPNG=builtin
 
26460
                fi
 
26461
            else
 
26462
                                wxUSE_LIBPNG=sys
 
26463
            fi
 
26464
        fi
 
26465
    fi
 
26466
 
 
26467
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
 
26468
fi
 
26469
 
 
26470
 
 
26471
JPEG_LINK=
 
26472
if test "$wxUSE_LIBJPEG" != "no" ; then
 
26473
    cat >>confdefs.h <<\_ACEOF
 
26474
#define wxUSE_LIBJPEG 1
 
26475
_ACEOF
 
26476
 
 
26477
 
 
26478
    if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
 
26479
        { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
 
26480
echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
 
26481
        wxUSE_LIBJPEG=sys
 
26482
    fi
 
26483
 
 
26484
    if test "$wxUSE_MGL" != 1 ; then
 
26485
                if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
 
26486
                                                echo "$as_me:$LINENO: checking for jpeglib.h" >&5
 
26487
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
 
26488
            if test "${ac_cv_header_jpeglib_h+set}" = set; then
 
26489
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26490
else
 
26491
  cat >conftest.$ac_ext <<_ACEOF
 
26492
/* confdefs.h.  */
 
26493
_ACEOF
 
26494
cat confdefs.h >>conftest.$ac_ext
 
26495
cat >>conftest.$ac_ext <<_ACEOF
 
26496
/* end confdefs.h.  */
 
26497
 
 
26498
                        #undef HAVE_STDLIB_H
 
26499
                        #include <stdio.h>
 
26500
                        #include <jpeglib.h>
 
26501
 
 
26502
int
 
26503
main ()
 
26504
{
 
26505
 
 
26506
 
 
26507
  ;
 
26508
  return 0;
 
26509
}
 
26510
_ACEOF
 
26511
rm -f conftest.$ac_objext
 
26512
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26513
  (eval $ac_compile) 2>conftest.er1
 
26514
  ac_status=$?
 
26515
  grep -v '^ *+' conftest.er1 >conftest.err
 
26516
  rm -f conftest.er1
 
26517
  cat conftest.err >&5
 
26518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26519
  (exit $ac_status); } &&
 
26520
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26521
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26522
  (eval $ac_try) 2>&5
 
26523
  ac_status=$?
 
26524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26525
  (exit $ac_status); }; } &&
 
26526
         { ac_try='test -s conftest.$ac_objext'
 
26527
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26528
  (eval $ac_try) 2>&5
 
26529
  ac_status=$?
 
26530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26531
  (exit $ac_status); }; }; then
 
26532
  ac_cv_header_jpeglib_h=yes
 
26533
else
 
26534
  echo "$as_me: failed program was:" >&5
 
26535
sed 's/^/| /' conftest.$ac_ext >&5
 
26536
 
 
26537
ac_cv_header_jpeglib_h=no
 
26538
 
 
26539
fi
 
26540
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26541
 
 
26542
fi
 
26543
 
 
26544
            echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
 
26545
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
 
26546
 
 
26547
            if test "$ac_cv_header_jpeglib_h" = "yes"; then
 
26548
                echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
 
26549
echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
 
26550
if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
 
26551
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26552
else
 
26553
  ac_check_lib_save_LIBS=$LIBS
 
26554
LIBS="-ljpeg  $LIBS"
 
26555
cat >conftest.$ac_ext <<_ACEOF
 
26556
/* confdefs.h.  */
 
26557
_ACEOF
 
26558
cat confdefs.h >>conftest.$ac_ext
 
26559
cat >>conftest.$ac_ext <<_ACEOF
 
26560
/* end confdefs.h.  */
 
26561
 
 
26562
/* Override any gcc2 internal prototype to avoid an error.  */
 
26563
#ifdef __cplusplus
 
26564
extern "C"
 
26565
#endif
 
26566
/* We use char because int might match the return type of a gcc2
 
26567
   builtin and then its argument prototype would still apply.  */
 
26568
char jpeg_read_header ();
 
26569
int
 
26570
main ()
 
26571
{
 
26572
jpeg_read_header ();
 
26573
  ;
 
26574
  return 0;
 
26575
}
 
26576
_ACEOF
 
26577
rm -f conftest.$ac_objext conftest$ac_exeext
 
26578
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
26579
  (eval $ac_link) 2>conftest.er1
 
26580
  ac_status=$?
 
26581
  grep -v '^ *+' conftest.er1 >conftest.err
 
26582
  rm -f conftest.er1
 
26583
  cat conftest.err >&5
 
26584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26585
  (exit $ac_status); } &&
 
26586
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26587
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26588
  (eval $ac_try) 2>&5
 
26589
  ac_status=$?
 
26590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26591
  (exit $ac_status); }; } &&
 
26592
         { ac_try='test -s conftest$ac_exeext'
 
26593
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26594
  (eval $ac_try) 2>&5
 
26595
  ac_status=$?
 
26596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26597
  (exit $ac_status); }; }; then
 
26598
  ac_cv_lib_jpeg_jpeg_read_header=yes
 
26599
else
 
26600
  echo "$as_me: failed program was:" >&5
 
26601
sed 's/^/| /' conftest.$ac_ext >&5
 
26602
 
 
26603
ac_cv_lib_jpeg_jpeg_read_header=no
 
26604
fi
 
26605
rm -f conftest.err conftest.$ac_objext \
 
26606
      conftest$ac_exeext conftest.$ac_ext
 
26607
LIBS=$ac_check_lib_save_LIBS
 
26608
fi
 
26609
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
 
26610
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
 
26611
if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
 
26612
  JPEG_LINK=" -ljpeg"
 
26613
fi
 
26614
 
 
26615
            fi
 
26616
 
 
26617
            if test "x$JPEG_LINK" = "x" ; then
 
26618
                if test "$wxUSE_LIBJPEG" = "sys" ; then
 
26619
                    { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
 
26620
echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
 
26621
   { (exit 1); exit 1; }; }
 
26622
                else
 
26623
                    { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
 
26624
echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
 
26625
                    wxUSE_LIBJPEG=builtin
 
26626
                fi
 
26627
            else
 
26628
                                wxUSE_LIBJPEG=sys
 
26629
 
 
26630
                if test "$wxUSE_MSW" = 1; then
 
26631
                                                                                                    echo "$as_me:$LINENO: checking for boolean" >&5
 
26632
echo $ECHO_N "checking for boolean... $ECHO_C" >&6
 
26633
if test "${ac_cv_type_boolean+set}" = set; then
 
26634
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26635
else
 
26636
  cat >conftest.$ac_ext <<_ACEOF
 
26637
/* confdefs.h.  */
 
26638
_ACEOF
 
26639
cat confdefs.h >>conftest.$ac_ext
 
26640
cat >>conftest.$ac_ext <<_ACEOF
 
26641
/* end confdefs.h.  */
 
26642
#include <windows.h>
 
26643
 
 
26644
int
 
26645
main ()
 
26646
{
 
26647
if ((boolean *) 0)
 
26648
  return 0;
 
26649
if (sizeof (boolean))
 
26650
  return 0;
 
26651
  ;
 
26652
  return 0;
 
26653
}
 
26654
_ACEOF
 
26655
rm -f conftest.$ac_objext
 
26656
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26657
  (eval $ac_compile) 2>conftest.er1
 
26658
  ac_status=$?
 
26659
  grep -v '^ *+' conftest.er1 >conftest.err
 
26660
  rm -f conftest.er1
 
26661
  cat conftest.err >&5
 
26662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26663
  (exit $ac_status); } &&
 
26664
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26665
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26666
  (eval $ac_try) 2>&5
 
26667
  ac_status=$?
 
26668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26669
  (exit $ac_status); }; } &&
 
26670
         { ac_try='test -s conftest.$ac_objext'
 
26671
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26672
  (eval $ac_try) 2>&5
 
26673
  ac_status=$?
 
26674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26675
  (exit $ac_status); }; }; then
 
26676
  ac_cv_type_boolean=yes
 
26677
else
 
26678
  echo "$as_me: failed program was:" >&5
 
26679
sed 's/^/| /' conftest.$ac_ext >&5
 
26680
 
 
26681
ac_cv_type_boolean=no
 
26682
fi
 
26683
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26684
fi
 
26685
echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
 
26686
echo "${ECHO_T}$ac_cv_type_boolean" >&6
 
26687
if test $ac_cv_type_boolean = yes; then
 
26688
 
 
26689
cat >>confdefs.h <<_ACEOF
 
26690
#define HAVE_BOOLEAN 1
 
26691
_ACEOF
 
26692
 
 
26693
 
 
26694
                            echo "$as_me:$LINENO: checking for boolean" >&5
 
26695
echo $ECHO_N "checking for boolean... $ECHO_C" >&6
 
26696
if test "${ac_cv_type_boolean+set}" = set; then
 
26697
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26698
else
 
26699
  cat >conftest.$ac_ext <<_ACEOF
 
26700
/* confdefs.h.  */
 
26701
_ACEOF
 
26702
cat confdefs.h >>conftest.$ac_ext
 
26703
cat >>conftest.$ac_ext <<_ACEOF
 
26704
/* end confdefs.h.  */
 
26705
 
 
26706
                                    #undef HAVE_BOOLEAN
 
26707
                                    #include <stdio.h>
 
26708
                                    #include <jpeglib.h>
 
26709
 
 
26710
 
 
26711
int
 
26712
main ()
 
26713
{
 
26714
if ((boolean *) 0)
 
26715
  return 0;
 
26716
if (sizeof (boolean))
 
26717
  return 0;
 
26718
  ;
 
26719
  return 0;
 
26720
}
 
26721
_ACEOF
 
26722
rm -f conftest.$ac_objext
 
26723
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26724
  (eval $ac_compile) 2>conftest.er1
 
26725
  ac_status=$?
 
26726
  grep -v '^ *+' conftest.er1 >conftest.err
 
26727
  rm -f conftest.er1
 
26728
  cat conftest.err >&5
 
26729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26730
  (exit $ac_status); } &&
 
26731
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26732
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26733
  (eval $ac_try) 2>&5
 
26734
  ac_status=$?
 
26735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26736
  (exit $ac_status); }; } &&
 
26737
         { ac_try='test -s conftest.$ac_objext'
 
26738
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26739
  (eval $ac_try) 2>&5
 
26740
  ac_status=$?
 
26741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26742
  (exit $ac_status); }; }; then
 
26743
  ac_cv_type_boolean=yes
 
26744
else
 
26745
  echo "$as_me: failed program was:" >&5
 
26746
sed 's/^/| /' conftest.$ac_ext >&5
 
26747
 
 
26748
ac_cv_type_boolean=no
 
26749
fi
 
26750
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26751
fi
 
26752
echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
 
26753
echo "${ECHO_T}$ac_cv_type_boolean" >&6
 
26754
 
 
26755
echo "$as_me:$LINENO: checking size of boolean" >&5
 
26756
echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
 
26757
if test "${ac_cv_sizeof_boolean+set}" = set; then
 
26758
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26759
else
 
26760
  if test "$ac_cv_type_boolean" = yes; then
 
26761
  # The cast to unsigned long works around a bug in the HP C Compiler
 
26762
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
26763
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
26764
  # This bug is HP SR number 8606223364.
 
26765
  if test "$cross_compiling" = yes; then
 
26766
  # Depending upon the size, compute the lo and hi bounds.
 
26767
cat >conftest.$ac_ext <<_ACEOF
 
26768
/* confdefs.h.  */
 
26769
_ACEOF
 
26770
cat confdefs.h >>conftest.$ac_ext
 
26771
cat >>conftest.$ac_ext <<_ACEOF
 
26772
/* end confdefs.h.  */
 
26773
 
 
26774
                                    #undef HAVE_BOOLEAN
 
26775
                                    #include <stdio.h>
 
26776
                                    #include <jpeglib.h>
 
26777
 
 
26778
 
 
26779
int
 
26780
main ()
 
26781
{
 
26782
static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
 
26783
test_array [0] = 0
 
26784
 
 
26785
  ;
 
26786
  return 0;
 
26787
}
 
26788
_ACEOF
 
26789
rm -f conftest.$ac_objext
 
26790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26791
  (eval $ac_compile) 2>conftest.er1
 
26792
  ac_status=$?
 
26793
  grep -v '^ *+' conftest.er1 >conftest.err
 
26794
  rm -f conftest.er1
 
26795
  cat conftest.err >&5
 
26796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26797
  (exit $ac_status); } &&
 
26798
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26799
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26800
  (eval $ac_try) 2>&5
 
26801
  ac_status=$?
 
26802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26803
  (exit $ac_status); }; } &&
 
26804
         { ac_try='test -s conftest.$ac_objext'
 
26805
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26806
  (eval $ac_try) 2>&5
 
26807
  ac_status=$?
 
26808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26809
  (exit $ac_status); }; }; then
 
26810
  ac_lo=0 ac_mid=0
 
26811
  while :; do
 
26812
    cat >conftest.$ac_ext <<_ACEOF
 
26813
/* confdefs.h.  */
 
26814
_ACEOF
 
26815
cat confdefs.h >>conftest.$ac_ext
 
26816
cat >>conftest.$ac_ext <<_ACEOF
 
26817
/* end confdefs.h.  */
 
26818
 
 
26819
                                    #undef HAVE_BOOLEAN
 
26820
                                    #include <stdio.h>
 
26821
                                    #include <jpeglib.h>
 
26822
 
 
26823
 
 
26824
int
 
26825
main ()
 
26826
{
 
26827
static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
 
26828
test_array [0] = 0
 
26829
 
 
26830
  ;
 
26831
  return 0;
 
26832
}
 
26833
_ACEOF
 
26834
rm -f conftest.$ac_objext
 
26835
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26836
  (eval $ac_compile) 2>conftest.er1
 
26837
  ac_status=$?
 
26838
  grep -v '^ *+' conftest.er1 >conftest.err
 
26839
  rm -f conftest.er1
 
26840
  cat conftest.err >&5
 
26841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26842
  (exit $ac_status); } &&
 
26843
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26844
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26845
  (eval $ac_try) 2>&5
 
26846
  ac_status=$?
 
26847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26848
  (exit $ac_status); }; } &&
 
26849
         { ac_try='test -s conftest.$ac_objext'
 
26850
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26851
  (eval $ac_try) 2>&5
 
26852
  ac_status=$?
 
26853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26854
  (exit $ac_status); }; }; then
 
26855
  ac_hi=$ac_mid; break
 
26856
else
 
26857
  echo "$as_me: failed program was:" >&5
 
26858
sed 's/^/| /' conftest.$ac_ext >&5
 
26859
 
 
26860
ac_lo=`expr $ac_mid + 1`
 
26861
                    if test $ac_lo -le $ac_mid; then
 
26862
                      ac_lo= ac_hi=
 
26863
                      break
 
26864
                    fi
 
26865
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26866
fi
 
26867
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26868
  done
 
26869
else
 
26870
  echo "$as_me: failed program was:" >&5
 
26871
sed 's/^/| /' conftest.$ac_ext >&5
 
26872
 
 
26873
cat >conftest.$ac_ext <<_ACEOF
 
26874
/* confdefs.h.  */
 
26875
_ACEOF
 
26876
cat confdefs.h >>conftest.$ac_ext
 
26877
cat >>conftest.$ac_ext <<_ACEOF
 
26878
/* end confdefs.h.  */
 
26879
 
 
26880
                                    #undef HAVE_BOOLEAN
 
26881
                                    #include <stdio.h>
 
26882
                                    #include <jpeglib.h>
 
26883
 
 
26884
 
 
26885
int
 
26886
main ()
 
26887
{
 
26888
static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
 
26889
test_array [0] = 0
 
26890
 
 
26891
  ;
 
26892
  return 0;
 
26893
}
 
26894
_ACEOF
 
26895
rm -f conftest.$ac_objext
 
26896
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26897
  (eval $ac_compile) 2>conftest.er1
 
26898
  ac_status=$?
 
26899
  grep -v '^ *+' conftest.er1 >conftest.err
 
26900
  rm -f conftest.er1
 
26901
  cat conftest.err >&5
 
26902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26903
  (exit $ac_status); } &&
 
26904
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26905
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26906
  (eval $ac_try) 2>&5
 
26907
  ac_status=$?
 
26908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26909
  (exit $ac_status); }; } &&
 
26910
         { ac_try='test -s conftest.$ac_objext'
 
26911
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26912
  (eval $ac_try) 2>&5
 
26913
  ac_status=$?
 
26914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26915
  (exit $ac_status); }; }; then
 
26916
  ac_hi=-1 ac_mid=-1
 
26917
  while :; do
 
26918
    cat >conftest.$ac_ext <<_ACEOF
 
26919
/* confdefs.h.  */
 
26920
_ACEOF
 
26921
cat confdefs.h >>conftest.$ac_ext
 
26922
cat >>conftest.$ac_ext <<_ACEOF
 
26923
/* end confdefs.h.  */
 
26924
 
 
26925
                                    #undef HAVE_BOOLEAN
 
26926
                                    #include <stdio.h>
 
26927
                                    #include <jpeglib.h>
 
26928
 
 
26929
 
 
26930
int
 
26931
main ()
 
26932
{
 
26933
static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
 
26934
test_array [0] = 0
 
26935
 
 
26936
  ;
 
26937
  return 0;
 
26938
}
 
26939
_ACEOF
 
26940
rm -f conftest.$ac_objext
 
26941
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26942
  (eval $ac_compile) 2>conftest.er1
 
26943
  ac_status=$?
 
26944
  grep -v '^ *+' conftest.er1 >conftest.err
 
26945
  rm -f conftest.er1
 
26946
  cat conftest.err >&5
 
26947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26948
  (exit $ac_status); } &&
 
26949
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
26950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
26951
  (eval $ac_try) 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
  ac_lo=$ac_mid; break
 
26962
else
 
26963
  echo "$as_me: failed program was:" >&5
 
26964
sed 's/^/| /' conftest.$ac_ext >&5
 
26965
 
 
26966
ac_hi=`expr '(' $ac_mid ')' - 1`
 
26967
                       if test $ac_mid -le $ac_hi; then
 
26968
                         ac_lo= ac_hi=
 
26969
                         break
 
26970
                       fi
 
26971
                       ac_mid=`expr 2 '*' $ac_mid`
 
26972
fi
 
26973
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26974
  done
 
26975
else
 
26976
  echo "$as_me: failed program was:" >&5
 
26977
sed 's/^/| /' conftest.$ac_ext >&5
 
26978
 
 
26979
ac_lo= ac_hi=
 
26980
fi
 
26981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26982
fi
 
26983
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26984
# Binary search between lo and hi bounds.
 
26985
while test "x$ac_lo" != "x$ac_hi"; do
 
26986
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
26987
  cat >conftest.$ac_ext <<_ACEOF
 
26988
/* confdefs.h.  */
 
26989
_ACEOF
 
26990
cat confdefs.h >>conftest.$ac_ext
 
26991
cat >>conftest.$ac_ext <<_ACEOF
 
26992
/* end confdefs.h.  */
 
26993
 
 
26994
                                    #undef HAVE_BOOLEAN
 
26995
                                    #include <stdio.h>
 
26996
                                    #include <jpeglib.h>
 
26997
 
 
26998
 
 
26999
int
 
27000
main ()
 
27001
{
 
27002
static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
 
27003
test_array [0] = 0
 
27004
 
 
27005
  ;
 
27006
  return 0;
 
27007
}
 
27008
_ACEOF
 
27009
rm -f conftest.$ac_objext
 
27010
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27011
  (eval $ac_compile) 2>conftest.er1
 
27012
  ac_status=$?
 
27013
  grep -v '^ *+' conftest.er1 >conftest.err
 
27014
  rm -f conftest.er1
 
27015
  cat conftest.err >&5
 
27016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27017
  (exit $ac_status); } &&
 
27018
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27019
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27020
  (eval $ac_try) 2>&5
 
27021
  ac_status=$?
 
27022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27023
  (exit $ac_status); }; } &&
 
27024
         { ac_try='test -s conftest.$ac_objext'
 
27025
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27026
  (eval $ac_try) 2>&5
 
27027
  ac_status=$?
 
27028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27029
  (exit $ac_status); }; }; then
 
27030
  ac_hi=$ac_mid
 
27031
else
 
27032
  echo "$as_me: failed program was:" >&5
 
27033
sed 's/^/| /' conftest.$ac_ext >&5
 
27034
 
 
27035
ac_lo=`expr '(' $ac_mid ')' + 1`
 
27036
fi
 
27037
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27038
done
 
27039
case $ac_lo in
 
27040
?*) ac_cv_sizeof_boolean=$ac_lo;;
 
27041
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
 
27042
See \`config.log' for more details." >&5
 
27043
echo "$as_me: error: cannot compute sizeof (boolean), 77
 
27044
See \`config.log' for more details." >&2;}
 
27045
   { (exit 1); exit 1; }; } ;;
 
27046
esac
 
27047
else
 
27048
  if test "$cross_compiling" = yes; then
 
27049
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
27050
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 
27051
   { (exit 1); exit 1; }; }
 
27052
else
 
27053
  cat >conftest.$ac_ext <<_ACEOF
 
27054
/* confdefs.h.  */
 
27055
_ACEOF
 
27056
cat confdefs.h >>conftest.$ac_ext
 
27057
cat >>conftest.$ac_ext <<_ACEOF
 
27058
/* end confdefs.h.  */
 
27059
 
 
27060
                                    #undef HAVE_BOOLEAN
 
27061
                                    #include <stdio.h>
 
27062
                                    #include <jpeglib.h>
 
27063
 
 
27064
 
 
27065
long longval () { return (long) (sizeof (boolean)); }
 
27066
unsigned long ulongval () { return (long) (sizeof (boolean)); }
 
27067
#include <stdio.h>
 
27068
#include <stdlib.h>
 
27069
int
 
27070
main ()
 
27071
{
 
27072
 
 
27073
  FILE *f = fopen ("conftest.val", "w");
 
27074
  if (! f)
 
27075
    exit (1);
 
27076
  if (((long) (sizeof (boolean))) < 0)
 
27077
    {
 
27078
      long i = longval ();
 
27079
      if (i != ((long) (sizeof (boolean))))
 
27080
        exit (1);
 
27081
      fprintf (f, "%ld\n", i);
 
27082
    }
 
27083
  else
 
27084
    {
 
27085
      unsigned long i = ulongval ();
 
27086
      if (i != ((long) (sizeof (boolean))))
 
27087
        exit (1);
 
27088
      fprintf (f, "%lu\n", i);
 
27089
    }
 
27090
  exit (ferror (f) || fclose (f) != 0);
 
27091
 
 
27092
  ;
 
27093
  return 0;
 
27094
}
 
27095
_ACEOF
 
27096
rm -f conftest$ac_exeext
 
27097
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27098
  (eval $ac_link) 2>&5
 
27099
  ac_status=$?
 
27100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27101
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
27102
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27103
  (eval $ac_try) 2>&5
 
27104
  ac_status=$?
 
27105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27106
  (exit $ac_status); }; }; then
 
27107
  ac_cv_sizeof_boolean=`cat conftest.val`
 
27108
else
 
27109
  echo "$as_me: program exited with status $ac_status" >&5
 
27110
echo "$as_me: failed program was:" >&5
 
27111
sed 's/^/| /' conftest.$ac_ext >&5
 
27112
 
 
27113
( exit $ac_status )
 
27114
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
 
27115
See \`config.log' for more details." >&5
 
27116
echo "$as_me: error: cannot compute sizeof (boolean), 77
 
27117
See \`config.log' for more details." >&2;}
 
27118
   { (exit 1); exit 1; }; }
 
27119
fi
 
27120
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
27121
fi
 
27122
fi
 
27123
rm -f conftest.val
 
27124
else
 
27125
  ac_cv_sizeof_boolean=0
 
27126
fi
 
27127
fi
 
27128
echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
 
27129
echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
 
27130
cat >>confdefs.h <<_ACEOF
 
27131
#define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
 
27132
_ACEOF
 
27133
 
 
27134
 
 
27135
                            cat >>confdefs.h <<_ACEOF
 
27136
#define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
 
27137
_ACEOF
 
27138
 
 
27139
 
 
27140
fi
 
27141
 
 
27142
                fi
 
27143
            fi
 
27144
        fi
 
27145
    fi
 
27146
fi
 
27147
 
 
27148
 
 
27149
TIFF_LINK=
 
27150
TIFF_PREREQ_LINKS=-lm
 
27151
if test "$wxUSE_LIBTIFF" != "no" ; then
 
27152
    cat >>confdefs.h <<\_ACEOF
 
27153
#define wxUSE_LIBTIFF 1
 
27154
_ACEOF
 
27155
 
 
27156
 
 
27157
    if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
 
27158
                        if test "$wxUSE_LIBJPEG" = "sys"; then
 
27159
            TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
 
27160
        fi
 
27161
        if test "$wxUSE_ZLIB" = "sys"; then
 
27162
            TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
 
27163
        fi
 
27164
        echo "$as_me:$LINENO: checking for tiffio.h" >&5
 
27165
echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
 
27166
if test "${ac_cv_header_tiffio_h+set}" = set; then
 
27167
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27168
else
 
27169
  cat >conftest.$ac_ext <<_ACEOF
 
27170
/* confdefs.h.  */
 
27171
_ACEOF
 
27172
cat confdefs.h >>conftest.$ac_ext
 
27173
cat >>conftest.$ac_ext <<_ACEOF
 
27174
/* end confdefs.h.  */
 
27175
 
 
27176
 
 
27177
 
 
27178
#include <tiffio.h>
 
27179
_ACEOF
 
27180
rm -f conftest.$ac_objext
 
27181
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27182
  (eval $ac_compile) 2>conftest.er1
 
27183
  ac_status=$?
 
27184
  grep -v '^ *+' conftest.er1 >conftest.err
 
27185
  rm -f conftest.er1
 
27186
  cat conftest.err >&5
 
27187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27188
  (exit $ac_status); } &&
 
27189
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27190
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27191
  (eval $ac_try) 2>&5
 
27192
  ac_status=$?
 
27193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27194
  (exit $ac_status); }; } &&
 
27195
         { ac_try='test -s conftest.$ac_objext'
 
27196
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27197
  (eval $ac_try) 2>&5
 
27198
  ac_status=$?
 
27199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27200
  (exit $ac_status); }; }; then
 
27201
  ac_cv_header_tiffio_h=yes
 
27202
else
 
27203
  echo "$as_me: failed program was:" >&5
 
27204
sed 's/^/| /' conftest.$ac_ext >&5
 
27205
 
 
27206
ac_cv_header_tiffio_h=no
 
27207
fi
 
27208
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27209
fi
 
27210
echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
 
27211
echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
 
27212
if test $ac_cv_header_tiffio_h = yes; then
 
27213
 
 
27214
                            echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
 
27215
echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
 
27216
if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
 
27217
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27218
else
 
27219
  ac_check_lib_save_LIBS=$LIBS
 
27220
LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
 
27221
cat >conftest.$ac_ext <<_ACEOF
 
27222
/* confdefs.h.  */
 
27223
_ACEOF
 
27224
cat confdefs.h >>conftest.$ac_ext
 
27225
cat >>conftest.$ac_ext <<_ACEOF
 
27226
/* end confdefs.h.  */
 
27227
 
 
27228
/* Override any gcc2 internal prototype to avoid an error.  */
 
27229
#ifdef __cplusplus
 
27230
extern "C"
 
27231
#endif
 
27232
/* We use char because int might match the return type of a gcc2
 
27233
   builtin and then its argument prototype would still apply.  */
 
27234
char TIFFError ();
 
27235
int
 
27236
main ()
 
27237
{
 
27238
TIFFError ();
 
27239
  ;
 
27240
  return 0;
 
27241
}
 
27242
_ACEOF
 
27243
rm -f conftest.$ac_objext conftest$ac_exeext
 
27244
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27245
  (eval $ac_link) 2>conftest.er1
 
27246
  ac_status=$?
 
27247
  grep -v '^ *+' conftest.er1 >conftest.err
 
27248
  rm -f conftest.er1
 
27249
  cat conftest.err >&5
 
27250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27251
  (exit $ac_status); } &&
 
27252
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27253
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27254
  (eval $ac_try) 2>&5
 
27255
  ac_status=$?
 
27256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27257
  (exit $ac_status); }; } &&
 
27258
         { ac_try='test -s conftest$ac_exeext'
 
27259
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27260
  (eval $ac_try) 2>&5
 
27261
  ac_status=$?
 
27262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27263
  (exit $ac_status); }; }; then
 
27264
  ac_cv_lib_tiff_TIFFError=yes
 
27265
else
 
27266
  echo "$as_me: failed program was:" >&5
 
27267
sed 's/^/| /' conftest.$ac_ext >&5
 
27268
 
 
27269
ac_cv_lib_tiff_TIFFError=no
 
27270
fi
 
27271
rm -f conftest.err conftest.$ac_objext \
 
27272
      conftest$ac_exeext conftest.$ac_ext
 
27273
LIBS=$ac_check_lib_save_LIBS
 
27274
fi
 
27275
echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
 
27276
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
 
27277
if test $ac_cv_lib_tiff_TIFFError = yes; then
 
27278
  TIFF_LINK=" -ltiff"
 
27279
fi
 
27280
 
 
27281
 
 
27282
fi
 
27283
 
 
27284
 
 
27285
 
 
27286
        if test "x$TIFF_LINK" = "x" ; then
 
27287
            if test "$wxUSE_LIBTIFF" = "sys" ; then
 
27288
                { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
 
27289
echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
 
27290
   { (exit 1); exit 1; }; }
 
27291
            else
 
27292
                { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
 
27293
echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
 
27294
                wxUSE_LIBTIFF=builtin
 
27295
            fi
 
27296
        else
 
27297
                        wxUSE_LIBTIFF=sys
 
27298
        fi
 
27299
    fi
 
27300
fi
 
27301
 
 
27302
 
 
27303
if test "$wxUSE_WCHAR_T" != "yes"; then
 
27304
    if test "$wxUSE_EXPAT" != "no"; then
 
27305
        { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
 
27306
echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
 
27307
        wxUSE_EXPAT=no
 
27308
    fi
 
27309
    if test "$wxUSE_XML" != "no"; then
 
27310
        { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
 
27311
echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
 
27312
        wxUSE_XML=no
 
27313
    fi
 
27314
fi
 
27315
 
 
27316
if test "$wxUSE_EXPAT" != "no"; then
 
27317
    wxUSE_XML=yes
 
27318
    cat >>confdefs.h <<\_ACEOF
 
27319
#define wxUSE_EXPAT 1
 
27320
_ACEOF
 
27321
 
 
27322
    cat >>confdefs.h <<\_ACEOF
 
27323
#define wxUSE_XML 1
 
27324
_ACEOF
 
27325
 
 
27326
 
 
27327
    if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
 
27328
        echo "$as_me:$LINENO: checking for expat.h" >&5
 
27329
echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
 
27330
if test "${ac_cv_header_expat_h+set}" = set; then
 
27331
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27332
else
 
27333
  cat >conftest.$ac_ext <<_ACEOF
 
27334
/* confdefs.h.  */
 
27335
_ACEOF
 
27336
cat confdefs.h >>conftest.$ac_ext
 
27337
cat >>conftest.$ac_ext <<_ACEOF
 
27338
/* end confdefs.h.  */
 
27339
 
 
27340
 
 
27341
#include <expat.h>
 
27342
_ACEOF
 
27343
rm -f conftest.$ac_objext
 
27344
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27345
  (eval $ac_compile) 2>conftest.er1
 
27346
  ac_status=$?
 
27347
  grep -v '^ *+' conftest.er1 >conftest.err
 
27348
  rm -f conftest.er1
 
27349
  cat conftest.err >&5
 
27350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27351
  (exit $ac_status); } &&
 
27352
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27353
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27354
  (eval $ac_try) 2>&5
 
27355
  ac_status=$?
 
27356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27357
  (exit $ac_status); }; } &&
 
27358
         { ac_try='test -s conftest.$ac_objext'
 
27359
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27360
  (eval $ac_try) 2>&5
 
27361
  ac_status=$?
 
27362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27363
  (exit $ac_status); }; }; then
 
27364
  ac_cv_header_expat_h=yes
 
27365
else
 
27366
  echo "$as_me: failed program was:" >&5
 
27367
sed 's/^/| /' conftest.$ac_ext >&5
 
27368
 
 
27369
ac_cv_header_expat_h=no
 
27370
fi
 
27371
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27372
fi
 
27373
echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
 
27374
echo "${ECHO_T}$ac_cv_header_expat_h" >&6
 
27375
if test $ac_cv_header_expat_h = yes; then
 
27376
  found_expat_h=1
 
27377
fi
 
27378
 
 
27379
 
 
27380
        if test "x$found_expat_h" = "x1"; then
 
27381
                        echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
 
27382
echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
 
27383
if test "${wx_cv_expat_is_not_broken+set}" = set; then
 
27384
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27385
else
 
27386
 
 
27387
                ac_ext=cc
 
27388
ac_cpp='$CXXCPP $CPPFLAGS'
 
27389
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
27390
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
27391
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
27392
 
 
27393
                cat >conftest.$ac_ext <<_ACEOF
 
27394
/* confdefs.h.  */
 
27395
_ACEOF
 
27396
cat confdefs.h >>conftest.$ac_ext
 
27397
cat >>conftest.$ac_ext <<_ACEOF
 
27398
/* end confdefs.h.  */
 
27399
#include <expat.h>
 
27400
int
 
27401
main ()
 
27402
{
 
27403
 
 
27404
  ;
 
27405
  return 0;
 
27406
}
 
27407
_ACEOF
 
27408
rm -f conftest.$ac_objext
 
27409
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27410
  (eval $ac_compile) 2>conftest.er1
 
27411
  ac_status=$?
 
27412
  grep -v '^ *+' conftest.er1 >conftest.err
 
27413
  rm -f conftest.er1
 
27414
  cat conftest.err >&5
 
27415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27416
  (exit $ac_status); } &&
 
27417
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
27418
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27419
  (eval $ac_try) 2>&5
 
27420
  ac_status=$?
 
27421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27422
  (exit $ac_status); }; } &&
 
27423
         { ac_try='test -s conftest.$ac_objext'
 
27424
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27425
  (eval $ac_try) 2>&5
 
27426
  ac_status=$?
 
27427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27428
  (exit $ac_status); }; }; then
 
27429
  wx_cv_expat_is_not_broken=yes
 
27430
else
 
27431
  echo "$as_me: failed program was:" >&5
 
27432
sed 's/^/| /' conftest.$ac_ext >&5
 
27433
 
 
27434
wx_cv_expat_is_not_broken=no
 
27435
 
 
27436
fi
 
27437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27438
                ac_ext=c
 
27439
ac_cpp='$CPP $CPPFLAGS'
 
27440
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
27441
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
27442
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
27443
 
 
27444
 
 
27445
 
 
27446
fi
 
27447
echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
 
27448
echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
 
27449
            if test "$wx_cv_expat_is_not_broken" = "yes" ; then
 
27450
                echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
 
27451
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
 
27452
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
 
27453
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27454
else
 
27455
  ac_check_lib_save_LIBS=$LIBS
 
27456
LIBS="-lexpat  $LIBS"
 
27457
cat >conftest.$ac_ext <<_ACEOF
 
27458
/* confdefs.h.  */
 
27459
_ACEOF
 
27460
cat confdefs.h >>conftest.$ac_ext
 
27461
cat >>conftest.$ac_ext <<_ACEOF
 
27462
/* end confdefs.h.  */
 
27463
 
 
27464
/* Override any gcc2 internal prototype to avoid an error.  */
 
27465
#ifdef __cplusplus
 
27466
extern "C"
 
27467
#endif
 
27468
/* We use char because int might match the return type of a gcc2
 
27469
   builtin and then its argument prototype would still apply.  */
 
27470
char XML_ParserCreate ();
 
27471
int
 
27472
main ()
 
27473
{
 
27474
XML_ParserCreate ();
 
27475
  ;
 
27476
  return 0;
 
27477
}
 
27478
_ACEOF
 
27479
rm -f conftest.$ac_objext conftest$ac_exeext
 
27480
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27481
  (eval $ac_link) 2>conftest.er1
 
27482
  ac_status=$?
 
27483
  grep -v '^ *+' conftest.er1 >conftest.err
 
27484
  rm -f conftest.er1
 
27485
  cat conftest.err >&5
 
27486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27487
  (exit $ac_status); } &&
 
27488
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27489
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27490
  (eval $ac_try) 2>&5
 
27491
  ac_status=$?
 
27492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27493
  (exit $ac_status); }; } &&
 
27494
         { ac_try='test -s conftest$ac_exeext'
 
27495
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27496
  (eval $ac_try) 2>&5
 
27497
  ac_status=$?
 
27498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27499
  (exit $ac_status); }; }; then
 
27500
  ac_cv_lib_expat_XML_ParserCreate=yes
 
27501
else
 
27502
  echo "$as_me: failed program was:" >&5
 
27503
sed 's/^/| /' conftest.$ac_ext >&5
 
27504
 
 
27505
ac_cv_lib_expat_XML_ParserCreate=no
 
27506
fi
 
27507
rm -f conftest.err conftest.$ac_objext \
 
27508
      conftest$ac_exeext conftest.$ac_ext
 
27509
LIBS=$ac_check_lib_save_LIBS
 
27510
fi
 
27511
echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
 
27512
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
 
27513
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
 
27514
  EXPAT_LINK=" -lexpat"
 
27515
fi
 
27516
 
 
27517
            fi
 
27518
        fi
 
27519
        if test "x$EXPAT_LINK" = "x" ; then
 
27520
            if test "$wxUSE_EXPAT" = "sys" ; then
 
27521
                { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
 
27522
echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
 
27523
   { (exit 1); exit 1; }; }
 
27524
            else
 
27525
                { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
 
27526
echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
 
27527
                wxUSE_EXPAT=builtin
 
27528
            fi
 
27529
        else
 
27530
                        wxUSE_EXPAT=sys
 
27531
        fi
 
27532
    fi
 
27533
    if test "$wxUSE_EXPAT" = "builtin" ; then
 
27534
 
 
27535
 
 
27536
subdirs="$subdirs src/expat"
 
27537
 
 
27538
    fi
 
27539
fi
 
27540
 
 
27541
 
 
27542
 
 
27543
if test "$wxUSE_LIBMSPACK" != "no"; then
 
27544
    echo "$as_me:$LINENO: checking for mspack.h" >&5
 
27545
echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
 
27546
if test "${ac_cv_header_mspack_h+set}" = set; then
 
27547
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27548
else
 
27549
  cat >conftest.$ac_ext <<_ACEOF
 
27550
/* confdefs.h.  */
 
27551
_ACEOF
 
27552
cat confdefs.h >>conftest.$ac_ext
 
27553
cat >>conftest.$ac_ext <<_ACEOF
 
27554
/* end confdefs.h.  */
 
27555
 
 
27556
 
 
27557
#include <mspack.h>
 
27558
_ACEOF
 
27559
rm -f conftest.$ac_objext
 
27560
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27561
  (eval $ac_compile) 2>conftest.er1
 
27562
  ac_status=$?
 
27563
  grep -v '^ *+' conftest.er1 >conftest.err
 
27564
  rm -f conftest.er1
 
27565
  cat conftest.err >&5
 
27566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27567
  (exit $ac_status); } &&
 
27568
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27569
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27570
  (eval $ac_try) 2>&5
 
27571
  ac_status=$?
 
27572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27573
  (exit $ac_status); }; } &&
 
27574
         { ac_try='test -s conftest.$ac_objext'
 
27575
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27576
  (eval $ac_try) 2>&5
 
27577
  ac_status=$?
 
27578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27579
  (exit $ac_status); }; }; then
 
27580
  ac_cv_header_mspack_h=yes
 
27581
else
 
27582
  echo "$as_me: failed program was:" >&5
 
27583
sed 's/^/| /' conftest.$ac_ext >&5
 
27584
 
 
27585
ac_cv_header_mspack_h=no
 
27586
fi
 
27587
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27588
fi
 
27589
echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
 
27590
echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
 
27591
if test $ac_cv_header_mspack_h = yes; then
 
27592
  found_mspack_h=1
 
27593
fi
 
27594
 
 
27595
 
 
27596
    if test "x$found_mspack_h" = "x1"; then
 
27597
        echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
 
27598
echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
 
27599
if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
 
27600
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27601
else
 
27602
  ac_check_lib_save_LIBS=$LIBS
 
27603
LIBS="-lmspack  $LIBS"
 
27604
cat >conftest.$ac_ext <<_ACEOF
 
27605
/* confdefs.h.  */
 
27606
_ACEOF
 
27607
cat confdefs.h >>conftest.$ac_ext
 
27608
cat >>conftest.$ac_ext <<_ACEOF
 
27609
/* end confdefs.h.  */
 
27610
 
 
27611
/* Override any gcc2 internal prototype to avoid an error.  */
 
27612
#ifdef __cplusplus
 
27613
extern "C"
 
27614
#endif
 
27615
/* We use char because int might match the return type of a gcc2
 
27616
   builtin and then its argument prototype would still apply.  */
 
27617
char mspack_create_chm_decompressor ();
 
27618
int
 
27619
main ()
 
27620
{
 
27621
mspack_create_chm_decompressor ();
 
27622
  ;
 
27623
  return 0;
 
27624
}
 
27625
_ACEOF
 
27626
rm -f conftest.$ac_objext conftest$ac_exeext
 
27627
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27628
  (eval $ac_link) 2>conftest.er1
 
27629
  ac_status=$?
 
27630
  grep -v '^ *+' conftest.er1 >conftest.err
 
27631
  rm -f conftest.er1
 
27632
  cat conftest.err >&5
 
27633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27634
  (exit $ac_status); } &&
 
27635
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27636
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27637
  (eval $ac_try) 2>&5
 
27638
  ac_status=$?
 
27639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27640
  (exit $ac_status); }; } &&
 
27641
         { ac_try='test -s conftest$ac_exeext'
 
27642
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27643
  (eval $ac_try) 2>&5
 
27644
  ac_status=$?
 
27645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27646
  (exit $ac_status); }; }; then
 
27647
  ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
 
27648
else
 
27649
  echo "$as_me: failed program was:" >&5
 
27650
sed 's/^/| /' conftest.$ac_ext >&5
 
27651
 
 
27652
ac_cv_lib_mspack_mspack_create_chm_decompressor=no
 
27653
fi
 
27654
rm -f conftest.err conftest.$ac_objext \
 
27655
      conftest$ac_exeext conftest.$ac_ext
 
27656
LIBS=$ac_check_lib_save_LIBS
 
27657
fi
 
27658
echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
 
27659
echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
 
27660
if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
 
27661
  MSPACK_LINK=" -lmspack"
 
27662
fi
 
27663
 
 
27664
    fi
 
27665
    if test "x$MSPACK_LINK" = "x" ; then
 
27666
        wxUSE_LIBMSPACK=no
 
27667
    fi
 
27668
fi
 
27669
 
 
27670
if test "$wxUSE_LIBMSPACK" != "no"; then
 
27671
    cat >>confdefs.h <<\_ACEOF
 
27672
#define wxUSE_LIBMSPACK 1
 
27673
_ACEOF
 
27674
 
 
27675
fi
 
27676
 
 
27677
 
 
27678
 
 
27679
AFMINSTALL=
 
27680
WIN32INSTALL=
 
27681
 
 
27682
TOOLKIT=
 
27683
TOOLKIT_INCLUDE=
 
27684
WIDGET_SET=
 
27685
 
 
27686
if test "$USE_WIN32" = 1 ; then
 
27687
 
 
27688
for ac_header in w32api.h
 
27689
do
 
27690
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
27691
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27692
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
27693
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27694
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27695
else
 
27696
  cat >conftest.$ac_ext <<_ACEOF
 
27697
/* confdefs.h.  */
 
27698
_ACEOF
 
27699
cat confdefs.h >>conftest.$ac_ext
 
27700
cat >>conftest.$ac_ext <<_ACEOF
 
27701
/* end confdefs.h.  */
 
27702
 
 
27703
 
 
27704
#include <$ac_header>
 
27705
_ACEOF
 
27706
rm -f conftest.$ac_objext
 
27707
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27708
  (eval $ac_compile) 2>conftest.er1
 
27709
  ac_status=$?
 
27710
  grep -v '^ *+' conftest.er1 >conftest.err
 
27711
  rm -f conftest.er1
 
27712
  cat conftest.err >&5
 
27713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27714
  (exit $ac_status); } &&
 
27715
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27716
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27717
  (eval $ac_try) 2>&5
 
27718
  ac_status=$?
 
27719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27720
  (exit $ac_status); }; } &&
 
27721
         { ac_try='test -s conftest.$ac_objext'
 
27722
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27723
  (eval $ac_try) 2>&5
 
27724
  ac_status=$?
 
27725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27726
  (exit $ac_status); }; }; then
 
27727
  eval "$as_ac_Header=yes"
 
27728
else
 
27729
  echo "$as_me: failed program was:" >&5
 
27730
sed 's/^/| /' conftest.$ac_ext >&5
 
27731
 
 
27732
eval "$as_ac_Header=no"
 
27733
fi
 
27734
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27735
fi
 
27736
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
27737
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27738
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
27739
  cat >>confdefs.h <<_ACEOF
 
27740
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
27741
_ACEOF
 
27742
 
 
27743
fi
 
27744
 
 
27745
done
 
27746
 
 
27747
    echo "$as_me:$LINENO: checking for windows.h" >&5
 
27748
echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
 
27749
if test "${ac_cv_header_windows_h+set}" = set; then
 
27750
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27751
else
 
27752
  cat >conftest.$ac_ext <<_ACEOF
 
27753
/* confdefs.h.  */
 
27754
_ACEOF
 
27755
cat confdefs.h >>conftest.$ac_ext
 
27756
cat >>conftest.$ac_ext <<_ACEOF
 
27757
/* end confdefs.h.  */
 
27758
 
 
27759
 
 
27760
#include <windows.h>
 
27761
_ACEOF
 
27762
rm -f conftest.$ac_objext
 
27763
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27764
  (eval $ac_compile) 2>conftest.er1
 
27765
  ac_status=$?
 
27766
  grep -v '^ *+' conftest.er1 >conftest.err
 
27767
  rm -f conftest.er1
 
27768
  cat conftest.err >&5
 
27769
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27770
  (exit $ac_status); } &&
 
27771
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27772
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27773
  (eval $ac_try) 2>&5
 
27774
  ac_status=$?
 
27775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27776
  (exit $ac_status); }; } &&
 
27777
         { ac_try='test -s conftest.$ac_objext'
 
27778
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27779
  (eval $ac_try) 2>&5
 
27780
  ac_status=$?
 
27781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27782
  (exit $ac_status); }; }; then
 
27783
  ac_cv_header_windows_h=yes
 
27784
else
 
27785
  echo "$as_me: failed program was:" >&5
 
27786
sed 's/^/| /' conftest.$ac_ext >&5
 
27787
 
 
27788
ac_cv_header_windows_h=no
 
27789
fi
 
27790
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27791
fi
 
27792
echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
 
27793
echo "${ECHO_T}$ac_cv_header_windows_h" >&6
 
27794
if test $ac_cv_header_windows_h = yes; then
 
27795
  :
 
27796
else
 
27797
 
 
27798
        { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
 
27799
echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
 
27800
   { (exit 1); exit 1; }; }
 
27801
 
 
27802
fi
 
27803
 
 
27804
 
 
27805
 
 
27806
            case "${host}" in
 
27807
        x86_64-*-mingw32* )
 
27808
                        LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
 
27809
        ;;
 
27810
        * )
 
27811
            LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
 
27812
        ;;
 
27813
    esac
 
27814
    if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
 
27815
        LIBS="$LIBS -loleacc"
 
27816
    fi
 
27817
 
 
27818
    case "${host}" in
 
27819
        *-*-cygwin* )
 
27820
                        LIBS="$LIBS -lkernel32 -luser32"
 
27821
    esac
 
27822
 
 
27823
        if test "$wxUSE_ODBC" = "sys" ; then
 
27824
        wxUSE_ODBC = "yes"
 
27825
    fi
 
27826
    if test "$wxUSE_ODBC" = "yes" ; then
 
27827
        LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
 
27828
        cat >>confdefs.h <<\_ACEOF
 
27829
#define wxUSE_ODBC 1
 
27830
_ACEOF
 
27831
 
 
27832
    fi
 
27833
 
 
27834
        RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
 
27835
    RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
 
27836
 
 
27837
                WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
 
27838
 
 
27839
        WIN32INSTALL=win32install
 
27840
 
 
27841
        echo "$as_me:$LINENO: checking for pbt.h" >&5
 
27842
echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
 
27843
if test "${ac_cv_header_pbt_h+set}" = set; then
 
27844
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27845
else
 
27846
  cat >conftest.$ac_ext <<_ACEOF
 
27847
/* confdefs.h.  */
 
27848
_ACEOF
 
27849
cat confdefs.h >>conftest.$ac_ext
 
27850
cat >>conftest.$ac_ext <<_ACEOF
 
27851
/* end confdefs.h.  */
 
27852
 
 
27853
 
 
27854
#include <pbt.h>
 
27855
_ACEOF
 
27856
rm -f conftest.$ac_objext
 
27857
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27858
  (eval $ac_compile) 2>conftest.er1
 
27859
  ac_status=$?
 
27860
  grep -v '^ *+' conftest.er1 >conftest.err
 
27861
  rm -f conftest.er1
 
27862
  cat conftest.err >&5
 
27863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27864
  (exit $ac_status); } &&
 
27865
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
27866
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27867
  (eval $ac_try) 2>&5
 
27868
  ac_status=$?
 
27869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27870
  (exit $ac_status); }; } &&
 
27871
         { ac_try='test -s conftest.$ac_objext'
 
27872
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27873
  (eval $ac_try) 2>&5
 
27874
  ac_status=$?
 
27875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27876
  (exit $ac_status); }; }; then
 
27877
  ac_cv_header_pbt_h=yes
 
27878
else
 
27879
  echo "$as_me: failed program was:" >&5
 
27880
sed 's/^/| /' conftest.$ac_ext >&5
 
27881
 
 
27882
ac_cv_header_pbt_h=no
 
27883
fi
 
27884
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27885
fi
 
27886
echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
 
27887
echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
 
27888
if test $ac_cv_header_pbt_h = yes; then
 
27889
  :
 
27890
else
 
27891
  cat >>confdefs.h <<\_ACEOF
 
27892
#define NEED_PBT_H 1
 
27893
_ACEOF
 
27894
 
 
27895
fi
 
27896
 
 
27897
 
 
27898
fi
 
27899
 
 
27900
if test "$wxUSE_GUI" = "yes"; then
 
27901
    USE_GUI=1
 
27902
 
 
27903
    GUI_TK_LIBRARY=
 
27904
 
 
27905
    WXGTK12=
 
27906
    WXGTK127=
 
27907
    WXGTK20=
 
27908
    WXGPE=
 
27909
 
 
27910
    if test "$wxUSE_COCOA" = 1 ; then
 
27911
        if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
 
27912
            { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
 
27913
echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
 
27914
            wxUSE_PRINTING_ARCHITECTURE=no
 
27915
        fi
 
27916
        if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
 
27917
            { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
 
27918
echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
 
27919
            wxUSE_DRAG_AND_DROP=no
 
27920
        fi
 
27921
        if test "$wxUSE_DRAGIMAGE" = "yes"; then
 
27922
            { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
 
27923
echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
 
27924
            wxUSE_DRAGIMAGE=no
 
27925
        fi
 
27926
    fi
 
27927
 
 
27928
    if test "$wxUSE_MSW" = 1 ; then
 
27929
        TOOLKIT=MSW
 
27930
        GUIDIST=MSW_DIST
 
27931
 
 
27932
                case "${host}" in
 
27933
            *-*-mingw32* )
 
27934
                WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
 
27935
        esac
 
27936
    fi
 
27937
 
 
27938
    if test "$wxUSE_GTK" = 1; then
 
27939
                echo "$as_me:$LINENO: checking for GTK+ version" >&5
 
27940
echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
 
27941
 
 
27942
        gtk_version_cached=1
 
27943
        if test "${wx_cv_lib_gtk+set}" = set; then
 
27944
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27945
else
 
27946
 
 
27947
                                                gtk_version_cached=0
 
27948
                echo "$as_me:$LINENO: result: " >&5
 
27949
echo "${ECHO_T}" >&6
 
27950
 
 
27951
                                                GTK_MODULES=
 
27952
                if test "$wxUSE_THREADS" = "yes"; then
 
27953
                    GTK_MODULES=gthread
 
27954
                fi
 
27955
 
 
27956
                                wx_cv_lib_gtk=
 
27957
                if test "x$wxGTK_VERSION" != "x1"
 
27958
                then
 
27959
                                                                                case "${host}" in
 
27960
                        *-*-solaris2* )
 
27961
                            if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
 
27962
                            enable_gtktest=no
 
27963
                            fi
 
27964
                    esac
 
27965
 
 
27966
                    # Check whether --enable-gtktest or --disable-gtktest was given.
 
27967
if test "${enable_gtktest+set}" = set; then
 
27968
  enableval="$enable_gtktest"
 
27969
 
 
27970
else
 
27971
  enable_gtktest=yes
 
27972
fi;
 
27973
 
 
27974
  pkg_config_args=gtk+-2.0
 
27975
  for module in . $GTK_MODULES
 
27976
  do
 
27977
      case "$module" in
 
27978
         gthread)
 
27979
             pkg_config_args="$pkg_config_args gthread-2.0"
 
27980
         ;;
 
27981
      esac
 
27982
  done
 
27983
 
 
27984
  no_gtk=""
 
27985
 
 
27986
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
27987
set dummy pkg-config; ac_word=$2
 
27988
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
27989
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
27990
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
27991
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27992
else
 
27993
  case $PKG_CONFIG in
 
27994
  [\\/]* | ?:[\\/]*)
 
27995
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
27996
  ;;
 
27997
  *)
 
27998
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
27999
for as_dir in $PATH
 
28000
do
 
28001
  IFS=$as_save_IFS
 
28002
  test -z "$as_dir" && as_dir=.
 
28003
  for ac_exec_ext in '' $ac_executable_extensions; do
 
28004
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
28005
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
28006
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
28007
    break 2
 
28008
  fi
 
28009
done
 
28010
done
 
28011
 
 
28012
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
28013
  ;;
 
28014
esac
 
28015
fi
 
28016
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
28017
 
 
28018
if test -n "$PKG_CONFIG"; then
 
28019
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
28020
echo "${ECHO_T}$PKG_CONFIG" >&6
 
28021
else
 
28022
  echo "$as_me:$LINENO: result: no" >&5
 
28023
echo "${ECHO_T}no" >&6
 
28024
fi
 
28025
 
 
28026
 
 
28027
  if test x$PKG_CONFIG != xno ; then
 
28028
    if pkg-config --atleast-pkgconfig-version 0.7 ; then
 
28029
      :
 
28030
    else
 
28031
      echo "*** pkg-config too old; version 0.7 or better required."
 
28032
      no_gtk=yes
 
28033
      PKG_CONFIG=no
 
28034
    fi
 
28035
  else
 
28036
    no_gtk=yes
 
28037
  fi
 
28038
 
 
28039
  min_gtk_version=2.0.0
 
28040
  echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
 
28041
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
 
28042
 
 
28043
  if test x$PKG_CONFIG != xno ; then
 
28044
    ## don't try to run the test against uninstalled libtool libs
 
28045
    if $PKG_CONFIG --uninstalled $pkg_config_args; then
 
28046
          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
 
28047
          enable_gtktest=no
 
28048
    fi
 
28049
 
 
28050
    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
 
28051
          :
 
28052
    else
 
28053
          no_gtk=yes
 
28054
    fi
 
28055
  fi
 
28056
 
 
28057
  if test x"$no_gtk" = x ; then
 
28058
    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
 
28059
    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
 
28060
    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
 
28061
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
28062
    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
 
28063
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
28064
    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
 
28065
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
28066
    if test "x$enable_gtktest" = "xyes" ; then
 
28067
      ac_save_CFLAGS="$CFLAGS"
 
28068
      ac_save_LIBS="$LIBS"
 
28069
      CFLAGS="$CFLAGS $GTK_CFLAGS"
 
28070
      LIBS="$GTK_LIBS $LIBS"
 
28071
      rm -f conf.gtktest
 
28072
      if test "$cross_compiling" = yes; then
 
28073
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
28074
else
 
28075
  cat >conftest.$ac_ext <<_ACEOF
 
28076
/* confdefs.h.  */
 
28077
_ACEOF
 
28078
cat confdefs.h >>conftest.$ac_ext
 
28079
cat >>conftest.$ac_ext <<_ACEOF
 
28080
/* end confdefs.h.  */
 
28081
 
 
28082
#include <gtk/gtk.h>
 
28083
#include <stdio.h>
 
28084
#include <stdlib.h>
 
28085
 
 
28086
int
 
28087
main ()
 
28088
{
 
28089
  int major, minor, micro;
 
28090
  char *tmp_version;
 
28091
 
 
28092
  system ("touch conf.gtktest");
 
28093
 
 
28094
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
28095
  tmp_version = g_strdup("$min_gtk_version");
 
28096
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
28097
     printf("%s, bad version string\n", "$min_gtk_version");
 
28098
     exit(1);
 
28099
   }
 
28100
 
 
28101
  if ((gtk_major_version != $gtk_config_major_version) ||
 
28102
      (gtk_minor_version != $gtk_config_minor_version) ||
 
28103
      (gtk_micro_version != $gtk_config_micro_version))
 
28104
    {
 
28105
      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
 
28106
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
 
28107
             gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28108
      printf ("*** was found! If pkg-config was correct, then it is best\n");
 
28109
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
 
28110
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
 
28111
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
 
28112
      printf("*** required on your system.\n");
 
28113
      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
 
28114
      printf("*** to point to the correct configuration files\n");
 
28115
    }
 
28116
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
 
28117
           (gtk_minor_version != GTK_MINOR_VERSION) ||
 
28118
           (gtk_micro_version != GTK_MICRO_VERSION))
 
28119
    {
 
28120
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
 
28121
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
 
28122
      printf("*** library (version %d.%d.%d)\n",
 
28123
             gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28124
    }
 
28125
  else
 
28126
    {
 
28127
      if ((gtk_major_version > major) ||
 
28128
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
 
28129
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
 
28130
      {
 
28131
        return 0;
 
28132
       }
 
28133
     else
 
28134
      {
 
28135
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
 
28136
               gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28137
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
 
28138
               major, minor, micro);
 
28139
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
 
28140
        printf("***\n");
 
28141
        printf("*** If you have already installed a sufficiently new version, this error\n");
 
28142
        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
 
28143
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
 
28144
        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
 
28145
        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
 
28146
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
 
28147
        printf("*** so that the correct libraries are found at run-time))\n");
 
28148
      }
 
28149
    }
 
28150
  return 1;
 
28151
}
 
28152
 
 
28153
_ACEOF
 
28154
rm -f conftest$ac_exeext
 
28155
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28156
  (eval $ac_link) 2>&5
 
28157
  ac_status=$?
 
28158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28159
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
28160
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28161
  (eval $ac_try) 2>&5
 
28162
  ac_status=$?
 
28163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28164
  (exit $ac_status); }; }; then
 
28165
  :
 
28166
else
 
28167
  echo "$as_me: program exited with status $ac_status" >&5
 
28168
echo "$as_me: failed program was:" >&5
 
28169
sed 's/^/| /' conftest.$ac_ext >&5
 
28170
 
 
28171
( exit $ac_status )
 
28172
no_gtk=yes
 
28173
fi
 
28174
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
28175
fi
 
28176
       CFLAGS="$ac_save_CFLAGS"
 
28177
       LIBS="$ac_save_LIBS"
 
28178
     fi
 
28179
  fi
 
28180
  if test "x$no_gtk" = x ; then
 
28181
     echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
 
28182
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
 
28183
     wx_cv_lib_gtk=2.0
 
28184
  else
 
28185
     echo "$as_me:$LINENO: result: no" >&5
 
28186
echo "${ECHO_T}no" >&6
 
28187
     if test "$PKG_CONFIG" = "no" ; then
 
28188
       echo "*** A new enough version of pkg-config was not found."
 
28189
       echo "*** See http://pkgconfig.sourceforge.net"
 
28190
     else
 
28191
       if test -f conf.gtktest ; then
 
28192
        :
 
28193
       else
 
28194
          echo "*** Could not run GTK+ test program, checking why..."
 
28195
          ac_save_CFLAGS="$CFLAGS"
 
28196
          ac_save_LIBS="$LIBS"
 
28197
          CFLAGS="$CFLAGS $GTK_CFLAGS"
 
28198
          LIBS="$LIBS $GTK_LIBS"
 
28199
          cat >conftest.$ac_ext <<_ACEOF
 
28200
/* confdefs.h.  */
 
28201
_ACEOF
 
28202
cat confdefs.h >>conftest.$ac_ext
 
28203
cat >>conftest.$ac_ext <<_ACEOF
 
28204
/* end confdefs.h.  */
 
28205
 
 
28206
#include <gtk/gtk.h>
 
28207
#include <stdio.h>
 
28208
 
 
28209
int
 
28210
main ()
 
28211
{
 
28212
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
 
28213
  ;
 
28214
  return 0;
 
28215
}
 
28216
_ACEOF
 
28217
rm -f conftest.$ac_objext conftest$ac_exeext
 
28218
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28219
  (eval $ac_link) 2>conftest.er1
 
28220
  ac_status=$?
 
28221
  grep -v '^ *+' conftest.er1 >conftest.err
 
28222
  rm -f conftest.er1
 
28223
  cat conftest.err >&5
 
28224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28225
  (exit $ac_status); } &&
 
28226
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
28227
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28228
  (eval $ac_try) 2>&5
 
28229
  ac_status=$?
 
28230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28231
  (exit $ac_status); }; } &&
 
28232
         { ac_try='test -s conftest$ac_exeext'
 
28233
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28234
  (eval $ac_try) 2>&5
 
28235
  ac_status=$?
 
28236
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28237
  (exit $ac_status); }; }; then
 
28238
   echo "*** The test program compiled, but did not run. This usually means"
 
28239
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
 
28240
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
 
28241
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
28242
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
28243
          echo "*** is required on your system"
 
28244
          echo "***"
 
28245
          echo "*** If you have an old version installed, it is best to remove it, although"
 
28246
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
28247
else
 
28248
  echo "$as_me: failed program was:" >&5
 
28249
sed 's/^/| /' conftest.$ac_ext >&5
 
28250
 
 
28251
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
28252
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
 
28253
fi
 
28254
rm -f conftest.err conftest.$ac_objext \
 
28255
      conftest$ac_exeext conftest.$ac_ext
 
28256
          CFLAGS="$ac_save_CFLAGS"
 
28257
          LIBS="$ac_save_LIBS"
 
28258
       fi
 
28259
     fi
 
28260
     GTK_CFLAGS=""
 
28261
     GTK_LIBS=""
 
28262
     :
 
28263
  fi
 
28264
 
 
28265
 
 
28266
  rm -f conf.gtktest
 
28267
 
 
28268
 
 
28269
                                        case "${host}" in
 
28270
                        *-*-solaris2* )
 
28271
                            if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
 
28272
                                GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
 
28273
                                GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
 
28274
                            fi
 
28275
                                                        if test "$wxUSE_SHARED" != "yes"; then
 
28276
                                GTK_LIBS="$GTK_LIBS -lX11"
 
28277
                            fi
 
28278
                    esac
 
28279
                fi
 
28280
 
 
28281
                                if test -z "$wx_cv_lib_gtk"; then
 
28282
                    if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
 
28283
 
 
28284
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
 
28285
if test "${with_gtk_prefix+set}" = set; then
 
28286
  withval="$with_gtk_prefix"
 
28287
  gtk_config_prefix="$withval"
 
28288
else
 
28289
  gtk_config_prefix=""
 
28290
fi;
 
28291
 
 
28292
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
 
28293
if test "${with_gtk_exec_prefix+set}" = set; then
 
28294
  withval="$with_gtk_exec_prefix"
 
28295
  gtk_config_exec_prefix="$withval"
 
28296
else
 
28297
  gtk_config_exec_prefix=""
 
28298
fi;
 
28299
# Check whether --enable-gtktest or --disable-gtktest was given.
 
28300
if test "${enable_gtktest+set}" = set; then
 
28301
  enableval="$enable_gtktest"
 
28302
 
 
28303
else
 
28304
  enable_gtktest=yes
 
28305
fi;
 
28306
 
 
28307
  for module in . $GTK_MODULES
 
28308
  do
 
28309
      case "$module" in
 
28310
         gthread)
 
28311
             gtk_config_args="$gtk_config_args gthread"
 
28312
         ;;
 
28313
      esac
 
28314
  done
 
28315
 
 
28316
  if test x$gtk_config_exec_prefix != x ; then
 
28317
     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
 
28318
     if test x${GTK_CONFIG+set} != xset ; then
 
28319
        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
 
28320
     fi
 
28321
  fi
 
28322
  if test x$gtk_config_prefix != x ; then
 
28323
     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
 
28324
     if test x${GTK_CONFIG+set} != xset ; then
 
28325
        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
 
28326
     fi
 
28327
  fi
 
28328
 
 
28329
  # Extract the first word of "gtk-config", so it can be a program name with args.
 
28330
set dummy gtk-config; ac_word=$2
 
28331
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
28332
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
28333
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
 
28334
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28335
else
 
28336
  case $GTK_CONFIG in
 
28337
  [\\/]* | ?:[\\/]*)
 
28338
  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
 
28339
  ;;
 
28340
  *)
 
28341
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
28342
for as_dir in $PATH
 
28343
do
 
28344
  IFS=$as_save_IFS
 
28345
  test -z "$as_dir" && as_dir=.
 
28346
  for ac_exec_ext in '' $ac_executable_extensions; do
 
28347
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
28348
    ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
28349
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
28350
    break 2
 
28351
  fi
 
28352
done
 
28353
done
 
28354
 
 
28355
  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
 
28356
  ;;
 
28357
esac
 
28358
fi
 
28359
GTK_CONFIG=$ac_cv_path_GTK_CONFIG
 
28360
 
 
28361
if test -n "$GTK_CONFIG"; then
 
28362
  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
 
28363
echo "${ECHO_T}$GTK_CONFIG" >&6
 
28364
else
 
28365
  echo "$as_me:$LINENO: result: no" >&5
 
28366
echo "${ECHO_T}no" >&6
 
28367
fi
 
28368
 
 
28369
  min_gtk_version=1.2.7
 
28370
  echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
 
28371
echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
 
28372
  no_gtk=""
 
28373
  if test "$GTK_CONFIG" = "no" ; then
 
28374
    no_gtk=yes
 
28375
  else
 
28376
    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
 
28377
    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
 
28378
    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
 
28379
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
28380
    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
 
28381
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
28382
    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
 
28383
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
28384
    if test "x$enable_gtktest" = "xyes" ; then
 
28385
      ac_save_CFLAGS="$CFLAGS"
 
28386
      ac_save_LIBS="$LIBS"
 
28387
      CFLAGS="$CFLAGS $GTK_CFLAGS"
 
28388
      LIBS="$GTK_LIBS $LIBS"
 
28389
      rm -f conf.gtktest
 
28390
      if test "$cross_compiling" = yes; then
 
28391
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
28392
else
 
28393
  cat >conftest.$ac_ext <<_ACEOF
 
28394
/* confdefs.h.  */
 
28395
_ACEOF
 
28396
cat confdefs.h >>conftest.$ac_ext
 
28397
cat >>conftest.$ac_ext <<_ACEOF
 
28398
/* end confdefs.h.  */
 
28399
 
 
28400
#include <gtk/gtk.h>
 
28401
#include <stdio.h>
 
28402
#include <stdlib.h>
 
28403
 
 
28404
int
 
28405
main ()
 
28406
{
 
28407
  int major, minor, micro;
 
28408
  char *tmp_version;
 
28409
 
 
28410
  system ("touch conf.gtktest");
 
28411
 
 
28412
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
28413
  tmp_version = g_strdup("$min_gtk_version");
 
28414
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
28415
     printf("%s, bad version string\n", "$min_gtk_version");
 
28416
     exit(1);
 
28417
   }
 
28418
 
 
28419
  if ((gtk_major_version != $gtk_config_major_version) ||
 
28420
      (gtk_minor_version != $gtk_config_minor_version) ||
 
28421
      (gtk_micro_version != $gtk_config_micro_version))
 
28422
    {
 
28423
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
 
28424
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
 
28425
             gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28426
      printf ("*** was found! If gtk-config was correct, then it is best\n");
 
28427
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
 
28428
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
 
28429
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
 
28430
      printf("*** required on your system.\n");
 
28431
      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
 
28432
      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
 
28433
      printf("*** before re-running configure\n");
 
28434
    }
 
28435
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
 
28436
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
 
28437
           (gtk_minor_version != GTK_MINOR_VERSION) ||
 
28438
           (gtk_micro_version != GTK_MICRO_VERSION))
 
28439
    {
 
28440
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
 
28441
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
 
28442
      printf("*** library (version %d.%d.%d)\n",
 
28443
             gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28444
    }
 
28445
#endif /* defined (GTK_MAJOR_VERSION) ... */
 
28446
  else
 
28447
    {
 
28448
      if ((gtk_major_version > major) ||
 
28449
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
 
28450
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
 
28451
      {
 
28452
        return 0;
 
28453
       }
 
28454
     else
 
28455
      {
 
28456
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
 
28457
               gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28458
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
 
28459
               major, minor, micro);
 
28460
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
 
28461
        printf("***\n");
 
28462
        printf("*** If you have already installed a sufficiently new version, this error\n");
 
28463
        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
 
28464
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
 
28465
        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
 
28466
        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
 
28467
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
 
28468
        printf("*** so that the correct libraries are found at run-time))\n");
 
28469
      }
 
28470
    }
 
28471
  return 1;
 
28472
}
 
28473
 
 
28474
_ACEOF
 
28475
rm -f conftest$ac_exeext
 
28476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28477
  (eval $ac_link) 2>&5
 
28478
  ac_status=$?
 
28479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28480
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
28481
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28482
  (eval $ac_try) 2>&5
 
28483
  ac_status=$?
 
28484
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28485
  (exit $ac_status); }; }; then
 
28486
  :
 
28487
else
 
28488
  echo "$as_me: program exited with status $ac_status" >&5
 
28489
echo "$as_me: failed program was:" >&5
 
28490
sed 's/^/| /' conftest.$ac_ext >&5
 
28491
 
 
28492
( exit $ac_status )
 
28493
no_gtk=yes
 
28494
fi
 
28495
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
28496
fi
 
28497
       CFLAGS="$ac_save_CFLAGS"
 
28498
       LIBS="$ac_save_LIBS"
 
28499
     fi
 
28500
  fi
 
28501
  if test "x$no_gtk" = x ; then
 
28502
     echo "$as_me:$LINENO: result: yes" >&5
 
28503
echo "${ECHO_T}yes" >&6
 
28504
     wx_cv_lib_gtk=1.2.7
 
28505
  else
 
28506
     echo "$as_me:$LINENO: result: no" >&5
 
28507
echo "${ECHO_T}no" >&6
 
28508
     if test "$GTK_CONFIG" = "no" ; then
 
28509
       echo "*** The gtk-config script installed by GTK could not be found"
 
28510
       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
 
28511
       echo "*** your path, or set the GTK_CONFIG environment variable to the"
 
28512
       echo "*** full path to gtk-config."
 
28513
     else
 
28514
       if test -f conf.gtktest ; then
 
28515
        :
 
28516
       else
 
28517
          echo "*** Could not run GTK test program, checking why..."
 
28518
          CFLAGS="$CFLAGS $GTK_CFLAGS"
 
28519
          LIBS="$LIBS $GTK_LIBS"
 
28520
          cat >conftest.$ac_ext <<_ACEOF
 
28521
/* confdefs.h.  */
 
28522
_ACEOF
 
28523
cat confdefs.h >>conftest.$ac_ext
 
28524
cat >>conftest.$ac_ext <<_ACEOF
 
28525
/* end confdefs.h.  */
 
28526
 
 
28527
#include <gtk/gtk.h>
 
28528
#include <stdio.h>
 
28529
 
 
28530
int
 
28531
main ()
 
28532
{
 
28533
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
 
28534
  ;
 
28535
  return 0;
 
28536
}
 
28537
_ACEOF
 
28538
rm -f conftest.$ac_objext conftest$ac_exeext
 
28539
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28540
  (eval $ac_link) 2>conftest.er1
 
28541
  ac_status=$?
 
28542
  grep -v '^ *+' conftest.er1 >conftest.err
 
28543
  rm -f conftest.er1
 
28544
  cat conftest.err >&5
 
28545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28546
  (exit $ac_status); } &&
 
28547
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
28548
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28549
  (eval $ac_try) 2>&5
 
28550
  ac_status=$?
 
28551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28552
  (exit $ac_status); }; } &&
 
28553
         { ac_try='test -s conftest$ac_exeext'
 
28554
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28555
  (eval $ac_try) 2>&5
 
28556
  ac_status=$?
 
28557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28558
  (exit $ac_status); }; }; then
 
28559
   echo "*** The test program compiled, but did not run. This usually means"
 
28560
          echo "*** that the run-time linker is not finding GTK or finding the wrong"
 
28561
          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
 
28562
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
28563
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
28564
          echo "*** is required on your system"
 
28565
          echo "***"
 
28566
          echo "*** If you have an old version installed, it is best to remove it, although"
 
28567
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
28568
          echo "***"
 
28569
          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
 
28570
          echo "*** came with the system with the command"
 
28571
          echo "***"
 
28572
          echo "***    rpm --erase --nodeps gtk gtk-devel"
 
28573
else
 
28574
  echo "$as_me: failed program was:" >&5
 
28575
sed 's/^/| /' conftest.$ac_ext >&5
 
28576
 
 
28577
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
28578
          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
 
28579
          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
 
28580
          echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
 
28581
fi
 
28582
rm -f conftest.err conftest.$ac_objext \
 
28583
      conftest$ac_exeext conftest.$ac_ext
 
28584
          CFLAGS="$ac_save_CFLAGS"
 
28585
          LIBS="$ac_save_LIBS"
 
28586
       fi
 
28587
     fi
 
28588
     GTK_CFLAGS=""
 
28589
     GTK_LIBS=""
 
28590
     :
 
28591
  fi
 
28592
 
 
28593
 
 
28594
  rm -f conf.gtktest
 
28595
 
 
28596
 
 
28597
                        if test -z "$wx_cv_lib_gtk"; then
 
28598
 
 
28599
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
 
28600
if test "${with_gtk_prefix+set}" = set; then
 
28601
  withval="$with_gtk_prefix"
 
28602
  gtk_config_prefix="$withval"
 
28603
else
 
28604
  gtk_config_prefix=""
 
28605
fi;
 
28606
 
 
28607
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
 
28608
if test "${with_gtk_exec_prefix+set}" = set; then
 
28609
  withval="$with_gtk_exec_prefix"
 
28610
  gtk_config_exec_prefix="$withval"
 
28611
else
 
28612
  gtk_config_exec_prefix=""
 
28613
fi;
 
28614
# Check whether --enable-gtktest or --disable-gtktest was given.
 
28615
if test "${enable_gtktest+set}" = set; then
 
28616
  enableval="$enable_gtktest"
 
28617
 
 
28618
else
 
28619
  enable_gtktest=yes
 
28620
fi;
 
28621
 
 
28622
  for module in . $GTK_MODULES
 
28623
  do
 
28624
      case "$module" in
 
28625
         gthread)
 
28626
             gtk_config_args="$gtk_config_args gthread"
 
28627
         ;;
 
28628
      esac
 
28629
  done
 
28630
 
 
28631
  if test x$gtk_config_exec_prefix != x ; then
 
28632
     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
 
28633
     if test x${GTK_CONFIG+set} != xset ; then
 
28634
        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
 
28635
     fi
 
28636
  fi
 
28637
  if test x$gtk_config_prefix != x ; then
 
28638
     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
 
28639
     if test x${GTK_CONFIG+set} != xset ; then
 
28640
        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
 
28641
     fi
 
28642
  fi
 
28643
 
 
28644
  # Extract the first word of "gtk-config", so it can be a program name with args.
 
28645
set dummy gtk-config; ac_word=$2
 
28646
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
28647
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
28648
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
 
28649
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28650
else
 
28651
  case $GTK_CONFIG in
 
28652
  [\\/]* | ?:[\\/]*)
 
28653
  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
 
28654
  ;;
 
28655
  *)
 
28656
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
28657
for as_dir in $PATH
 
28658
do
 
28659
  IFS=$as_save_IFS
 
28660
  test -z "$as_dir" && as_dir=.
 
28661
  for ac_exec_ext in '' $ac_executable_extensions; do
 
28662
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
28663
    ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
28664
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
28665
    break 2
 
28666
  fi
 
28667
done
 
28668
done
 
28669
 
 
28670
  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
 
28671
  ;;
 
28672
esac
 
28673
fi
 
28674
GTK_CONFIG=$ac_cv_path_GTK_CONFIG
 
28675
 
 
28676
if test -n "$GTK_CONFIG"; then
 
28677
  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
 
28678
echo "${ECHO_T}$GTK_CONFIG" >&6
 
28679
else
 
28680
  echo "$as_me:$LINENO: result: no" >&5
 
28681
echo "${ECHO_T}no" >&6
 
28682
fi
 
28683
 
 
28684
  min_gtk_version=1.2.3
 
28685
  echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
 
28686
echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
 
28687
  no_gtk=""
 
28688
  if test "$GTK_CONFIG" = "no" ; then
 
28689
    no_gtk=yes
 
28690
  else
 
28691
    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
 
28692
    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
 
28693
    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
 
28694
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
28695
    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
 
28696
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
28697
    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
 
28698
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
28699
    if test "x$enable_gtktest" = "xyes" ; then
 
28700
      ac_save_CFLAGS="$CFLAGS"
 
28701
      ac_save_LIBS="$LIBS"
 
28702
      CFLAGS="$CFLAGS $GTK_CFLAGS"
 
28703
      LIBS="$GTK_LIBS $LIBS"
 
28704
      rm -f conf.gtktest
 
28705
      if test "$cross_compiling" = yes; then
 
28706
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
28707
else
 
28708
  cat >conftest.$ac_ext <<_ACEOF
 
28709
/* confdefs.h.  */
 
28710
_ACEOF
 
28711
cat confdefs.h >>conftest.$ac_ext
 
28712
cat >>conftest.$ac_ext <<_ACEOF
 
28713
/* end confdefs.h.  */
 
28714
 
 
28715
#include <gtk/gtk.h>
 
28716
#include <stdio.h>
 
28717
#include <stdlib.h>
 
28718
 
 
28719
int
 
28720
main ()
 
28721
{
 
28722
  int major, minor, micro;
 
28723
  char *tmp_version;
 
28724
 
 
28725
  system ("touch conf.gtktest");
 
28726
 
 
28727
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
28728
  tmp_version = g_strdup("$min_gtk_version");
 
28729
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
28730
     printf("%s, bad version string\n", "$min_gtk_version");
 
28731
     exit(1);
 
28732
   }
 
28733
 
 
28734
  if ((gtk_major_version != $gtk_config_major_version) ||
 
28735
      (gtk_minor_version != $gtk_config_minor_version) ||
 
28736
      (gtk_micro_version != $gtk_config_micro_version))
 
28737
    {
 
28738
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
 
28739
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
 
28740
             gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28741
      printf ("*** was found! If gtk-config was correct, then it is best\n");
 
28742
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
 
28743
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
 
28744
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
 
28745
      printf("*** required on your system.\n");
 
28746
      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
 
28747
      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
 
28748
      printf("*** before re-running configure\n");
 
28749
    }
 
28750
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
 
28751
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
 
28752
           (gtk_minor_version != GTK_MINOR_VERSION) ||
 
28753
           (gtk_micro_version != GTK_MICRO_VERSION))
 
28754
    {
 
28755
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
 
28756
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
 
28757
      printf("*** library (version %d.%d.%d)\n",
 
28758
             gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28759
    }
 
28760
#endif /* defined (GTK_MAJOR_VERSION) ... */
 
28761
  else
 
28762
    {
 
28763
      if ((gtk_major_version > major) ||
 
28764
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
 
28765
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
 
28766
      {
 
28767
        return 0;
 
28768
       }
 
28769
     else
 
28770
      {
 
28771
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
 
28772
               gtk_major_version, gtk_minor_version, gtk_micro_version);
 
28773
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
 
28774
               major, minor, micro);
 
28775
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
 
28776
        printf("***\n");
 
28777
        printf("*** If you have already installed a sufficiently new version, this error\n");
 
28778
        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
 
28779
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
 
28780
        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
 
28781
        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
 
28782
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
 
28783
        printf("*** so that the correct libraries are found at run-time))\n");
 
28784
      }
 
28785
    }
 
28786
  return 1;
 
28787
}
 
28788
 
 
28789
_ACEOF
 
28790
rm -f conftest$ac_exeext
 
28791
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28792
  (eval $ac_link) 2>&5
 
28793
  ac_status=$?
 
28794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28795
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
28796
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28797
  (eval $ac_try) 2>&5
 
28798
  ac_status=$?
 
28799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28800
  (exit $ac_status); }; }; then
 
28801
  :
 
28802
else
 
28803
  echo "$as_me: program exited with status $ac_status" >&5
 
28804
echo "$as_me: failed program was:" >&5
 
28805
sed 's/^/| /' conftest.$ac_ext >&5
 
28806
 
 
28807
( exit $ac_status )
 
28808
no_gtk=yes
 
28809
fi
 
28810
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
28811
fi
 
28812
       CFLAGS="$ac_save_CFLAGS"
 
28813
       LIBS="$ac_save_LIBS"
 
28814
     fi
 
28815
  fi
 
28816
  if test "x$no_gtk" = x ; then
 
28817
     echo "$as_me:$LINENO: result: yes" >&5
 
28818
echo "${ECHO_T}yes" >&6
 
28819
     wx_cv_lib_gtk=1.2.3
 
28820
  else
 
28821
     echo "$as_me:$LINENO: result: no" >&5
 
28822
echo "${ECHO_T}no" >&6
 
28823
     if test "$GTK_CONFIG" = "no" ; then
 
28824
       echo "*** The gtk-config script installed by GTK could not be found"
 
28825
       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
 
28826
       echo "*** your path, or set the GTK_CONFIG environment variable to the"
 
28827
       echo "*** full path to gtk-config."
 
28828
     else
 
28829
       if test -f conf.gtktest ; then
 
28830
        :
 
28831
       else
 
28832
          echo "*** Could not run GTK test program, checking why..."
 
28833
          CFLAGS="$CFLAGS $GTK_CFLAGS"
 
28834
          LIBS="$LIBS $GTK_LIBS"
 
28835
          cat >conftest.$ac_ext <<_ACEOF
 
28836
/* confdefs.h.  */
 
28837
_ACEOF
 
28838
cat confdefs.h >>conftest.$ac_ext
 
28839
cat >>conftest.$ac_ext <<_ACEOF
 
28840
/* end confdefs.h.  */
 
28841
 
 
28842
#include <gtk/gtk.h>
 
28843
#include <stdio.h>
 
28844
 
 
28845
int
 
28846
main ()
 
28847
{
 
28848
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
 
28849
  ;
 
28850
  return 0;
 
28851
}
 
28852
_ACEOF
 
28853
rm -f conftest.$ac_objext conftest$ac_exeext
 
28854
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28855
  (eval $ac_link) 2>conftest.er1
 
28856
  ac_status=$?
 
28857
  grep -v '^ *+' conftest.er1 >conftest.err
 
28858
  rm -f conftest.er1
 
28859
  cat conftest.err >&5
 
28860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28861
  (exit $ac_status); } &&
 
28862
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
28863
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28864
  (eval $ac_try) 2>&5
 
28865
  ac_status=$?
 
28866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28867
  (exit $ac_status); }; } &&
 
28868
         { ac_try='test -s conftest$ac_exeext'
 
28869
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28870
  (eval $ac_try) 2>&5
 
28871
  ac_status=$?
 
28872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28873
  (exit $ac_status); }; }; then
 
28874
   echo "*** The test program compiled, but did not run. This usually means"
 
28875
          echo "*** that the run-time linker is not finding GTK or finding the wrong"
 
28876
          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
 
28877
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
28878
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
28879
          echo "*** is required on your system"
 
28880
          echo "***"
 
28881
          echo "*** If you have an old version installed, it is best to remove it, although"
 
28882
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
28883
          echo "***"
 
28884
          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
 
28885
          echo "*** came with the system with the command"
 
28886
          echo "***"
 
28887
          echo "***    rpm --erase --nodeps gtk gtk-devel"
 
28888
else
 
28889
  echo "$as_me: failed program was:" >&5
 
28890
sed 's/^/| /' conftest.$ac_ext >&5
 
28891
 
 
28892
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
28893
          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
 
28894
          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
 
28895
          echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
 
28896
fi
 
28897
rm -f conftest.err conftest.$ac_objext \
 
28898
      conftest$ac_exeext conftest.$ac_ext
 
28899
          CFLAGS="$ac_save_CFLAGS"
 
28900
          LIBS="$ac_save_LIBS"
 
28901
       fi
 
28902
     fi
 
28903
     GTK_CFLAGS=""
 
28904
     GTK_LIBS=""
 
28905
     :
 
28906
  fi
 
28907
 
 
28908
 
 
28909
  rm -f conf.gtktest
 
28910
 
 
28911
                        fi
 
28912
                    fi
 
28913
                fi
 
28914
 
 
28915
                if test -z "$wx_cv_lib_gtk"; then
 
28916
                                        wx_cv_lib_gtk=none
 
28917
                else
 
28918
                                                            wx_cv_cflags_gtk=$GTK_CFLAGS
 
28919
                    wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
 
28920
                fi
 
28921
 
 
28922
 
 
28923
fi
 
28924
 
 
28925
 
 
28926
                        if test "$gtk_version_cached" = 1; then
 
28927
            echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
 
28928
echo "${ECHO_T}$wx_cv_lib_gtk" >&6
 
28929
        fi
 
28930
 
 
28931
        case "$wx_cv_lib_gtk" in
 
28932
            2.0)    WXGTK20=1
 
28933
                    TOOLKIT_VERSION=2
 
28934
                    ;;
 
28935
            1.2.7)  WXGTK127=1
 
28936
                    WXGTK12=1
 
28937
                    ;;
 
28938
            1.2.3)  WXGTK12=1
 
28939
                    ;;
 
28940
            *)      { { echo "$as_me:$LINENO: error:
 
28941
The development files for GTK+ were not found. For GTK+ 2, please
 
28942
ensure that pkg-config is in the path and that gtk+-2.0.pc is
 
28943
installed. For GTK+ 1.2 please check that gtk-config is in the path,
 
28944
and that the version is 1.2.3 or above. Also check that the
 
28945
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
 
28946
--libs' are in the LD_LIBRARY_PATH or equivalent.
 
28947
                            " >&5
 
28948
echo "$as_me: error:
 
28949
The development files for GTK+ were not found. For GTK+ 2, please
 
28950
ensure that pkg-config is in the path and that gtk+-2.0.pc is
 
28951
installed. For GTK+ 1.2 please check that gtk-config is in the path,
 
28952
and that the version is 1.2.3 or above. Also check that the
 
28953
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
 
28954
--libs' are in the LD_LIBRARY_PATH or equivalent.
 
28955
                            " >&2;}
 
28956
   { (exit 1); exit 1; }; }
 
28957
                    ;;
 
28958
        esac
 
28959
 
 
28960
        if test "$WXGTK20" = 1; then
 
28961
            save_CFLAGS="$CFLAGS"
 
28962
            save_LIBS="$LIBS"
 
28963
            CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
 
28964
            LIBS="$LIBS $wx_cv_libs_gtk"
 
28965
 
 
28966
                                                            echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
 
28967
echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
 
28968
if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
 
28969
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28970
else
 
28971
  cat >conftest.$ac_ext <<_ACEOF
 
28972
/* confdefs.h.  */
 
28973
_ACEOF
 
28974
cat confdefs.h >>conftest.$ac_ext
 
28975
cat >>conftest.$ac_ext <<_ACEOF
 
28976
/* end confdefs.h.  */
 
28977
#include <gtk/gtk.h>
 
28978
 
 
28979
int
 
28980
main ()
 
28981
{
 
28982
#ifndef gtk_icon_size_lookup
 
28983
  char *p = (char *) gtk_icon_size_lookup;
 
28984
#endif
 
28985
 
 
28986
  ;
 
28987
  return 0;
 
28988
}
 
28989
_ACEOF
 
28990
rm -f conftest.$ac_objext
 
28991
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
28992
  (eval $ac_compile) 2>conftest.er1
 
28993
  ac_status=$?
 
28994
  grep -v '^ *+' conftest.er1 >conftest.err
 
28995
  rm -f conftest.er1
 
28996
  cat conftest.err >&5
 
28997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28998
  (exit $ac_status); } &&
 
28999
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
29000
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29001
  (eval $ac_try) 2>&5
 
29002
  ac_status=$?
 
29003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29004
  (exit $ac_status); }; } &&
 
29005
         { ac_try='test -s conftest.$ac_objext'
 
29006
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29007
  (eval $ac_try) 2>&5
 
29008
  ac_status=$?
 
29009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29010
  (exit $ac_status); }; }; then
 
29011
  ac_cv_have_decl_gtk_icon_size_lookup=yes
 
29012
else
 
29013
  echo "$as_me: failed program was:" >&5
 
29014
sed 's/^/| /' conftest.$ac_ext >&5
 
29015
 
 
29016
ac_cv_have_decl_gtk_icon_size_lookup=no
 
29017
fi
 
29018
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29019
fi
 
29020
echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
 
29021
echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
 
29022
if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
 
29023
 
 
29024
cat >>confdefs.h <<_ACEOF
 
29025
#define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
 
29026
_ACEOF
 
29027
 
 
29028
 
 
29029
else
 
29030
  cat >>confdefs.h <<_ACEOF
 
29031
#define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
 
29032
_ACEOF
 
29033
 
 
29034
cat >>confdefs.h <<\_ACEOF
 
29035
#define NEED_GTK_ICON_SIZE_LOOKUP 1
 
29036
_ACEOF
 
29037
 
 
29038
fi
 
29039
 
 
29040
 
 
29041
 
 
29042
                        echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
 
29043
echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
 
29044
            cat >conftest.$ac_ext <<_ACEOF
 
29045
/* confdefs.h.  */
 
29046
_ACEOF
 
29047
cat confdefs.h >>conftest.$ac_ext
 
29048
cat >>conftest.$ac_ext <<_ACEOF
 
29049
/* end confdefs.h.  */
 
29050
 
 
29051
                            #include <gtk/gtk.h>
 
29052
 
 
29053
int
 
29054
main ()
 
29055
{
 
29056
 
 
29057
                            #if !GTK_CHECK_VERSION(2,6,0)
 
29058
                            Not GTK+ 2.6
 
29059
                            #endif
 
29060
 
 
29061
  ;
 
29062
  return 0;
 
29063
}
 
29064
_ACEOF
 
29065
rm -f conftest.$ac_objext
 
29066
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
29067
  (eval $ac_compile) 2>conftest.er1
 
29068
  ac_status=$?
 
29069
  grep -v '^ *+' conftest.er1 >conftest.err
 
29070
  rm -f conftest.er1
 
29071
  cat conftest.err >&5
 
29072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29073
  (exit $ac_status); } &&
 
29074
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
29075
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29076
  (eval $ac_try) 2>&5
 
29077
  ac_status=$?
 
29078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29079
  (exit $ac_status); }; } &&
 
29080
         { ac_try='test -s conftest.$ac_objext'
 
29081
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29082
  (eval $ac_try) 2>&5
 
29083
  ac_status=$?
 
29084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29085
  (exit $ac_status); }; }; then
 
29086
 
 
29087
                            cat >>confdefs.h <<\_ACEOF
 
29088
#define __WXGTK26__ 1
 
29089
_ACEOF
 
29090
 
 
29091
                            cat >>confdefs.h <<\_ACEOF
 
29092
#define __WXGTK24__ 1
 
29093
_ACEOF
 
29094
 
 
29095
                            echo "$as_me:$LINENO: result: yes" >&5
 
29096
echo "${ECHO_T}yes" >&6
 
29097
                            ac_wxgtk26=1
 
29098
 
 
29099
else
 
29100
  echo "$as_me: failed program was:" >&5
 
29101
sed 's/^/| /' conftest.$ac_ext >&5
 
29102
 
 
29103
 
 
29104
                            echo "$as_me:$LINENO: result: no" >&5
 
29105
echo "${ECHO_T}no" >&6
 
29106
                            ac_wxgtk26=0
 
29107
 
 
29108
fi
 
29109
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29110
 
 
29111
            if test "$ac_wxgtk26" = 0; then
 
29112
                        echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
 
29113
echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
 
29114
            cat >conftest.$ac_ext <<_ACEOF
 
29115
/* confdefs.h.  */
 
29116
_ACEOF
 
29117
cat confdefs.h >>conftest.$ac_ext
 
29118
cat >>conftest.$ac_ext <<_ACEOF
 
29119
/* end confdefs.h.  */
 
29120
 
 
29121
                            #include <gtk/gtk.h>
 
29122
 
 
29123
int
 
29124
main ()
 
29125
{
 
29126
 
 
29127
                            #if !GTK_CHECK_VERSION(2,4,0)
 
29128
                            Not GTK+ 2.4
 
29129
                            #endif
 
29130
 
 
29131
  ;
 
29132
  return 0;
 
29133
}
 
29134
_ACEOF
 
29135
rm -f conftest.$ac_objext
 
29136
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
29137
  (eval $ac_compile) 2>conftest.er1
 
29138
  ac_status=$?
 
29139
  grep -v '^ *+' conftest.er1 >conftest.err
 
29140
  rm -f conftest.er1
 
29141
  cat conftest.err >&5
 
29142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29143
  (exit $ac_status); } &&
 
29144
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
29145
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29146
  (eval $ac_try) 2>&5
 
29147
  ac_status=$?
 
29148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29149
  (exit $ac_status); }; } &&
 
29150
         { ac_try='test -s conftest.$ac_objext'
 
29151
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29152
  (eval $ac_try) 2>&5
 
29153
  ac_status=$?
 
29154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29155
  (exit $ac_status); }; }; then
 
29156
 
 
29157
                            cat >>confdefs.h <<\_ACEOF
 
29158
#define __WXGTK24__ 1
 
29159
_ACEOF
 
29160
 
 
29161
                            echo "$as_me:$LINENO: result: yes" >&5
 
29162
echo "${ECHO_T}yes" >&6
 
29163
 
 
29164
else
 
29165
  echo "$as_me: failed program was:" >&5
 
29166
sed 's/^/| /' conftest.$ac_ext >&5
 
29167
 
 
29168
 
 
29169
                            echo "$as_me:$LINENO: result: no" >&5
 
29170
echo "${ECHO_T}no" >&6
 
29171
 
 
29172
fi
 
29173
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29174
            fi
 
29175
 
 
29176
            CFLAGS="$save_CFLAGS"
 
29177
            LIBS="$save_LIBS"
 
29178
        else
 
29179
            if test "$wxUSE_UNICODE" = "yes"; then
 
29180
                { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
 
29181
echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
 
29182
                wxUSE_UNICODE=no
 
29183
            fi
 
29184
 
 
29185
                        echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
 
29186
echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
 
29187
if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
 
29188
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29189
else
 
29190
  ac_check_lib_save_LIBS=$LIBS
 
29191
LIBS="-lgdk  $LIBS"
 
29192
cat >conftest.$ac_ext <<_ACEOF
 
29193
/* confdefs.h.  */
 
29194
_ACEOF
 
29195
cat confdefs.h >>conftest.$ac_ext
 
29196
cat >>conftest.$ac_ext <<_ACEOF
 
29197
/* end confdefs.h.  */
 
29198
 
 
29199
/* Override any gcc2 internal prototype to avoid an error.  */
 
29200
#ifdef __cplusplus
 
29201
extern "C"
 
29202
#endif
 
29203
/* We use char because int might match the return type of a gcc2
 
29204
   builtin and then its argument prototype would still apply.  */
 
29205
char gdk_im_open ();
 
29206
int
 
29207
main ()
 
29208
{
 
29209
gdk_im_open ();
 
29210
  ;
 
29211
  return 0;
 
29212
}
 
29213
_ACEOF
 
29214
rm -f conftest.$ac_objext conftest$ac_exeext
 
29215
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
29216
  (eval $ac_link) 2>conftest.er1
 
29217
  ac_status=$?
 
29218
  grep -v '^ *+' conftest.er1 >conftest.err
 
29219
  rm -f conftest.er1
 
29220
  cat conftest.err >&5
 
29221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29222
  (exit $ac_status); } &&
 
29223
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
29224
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29225
  (eval $ac_try) 2>&5
 
29226
  ac_status=$?
 
29227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29228
  (exit $ac_status); }; } &&
 
29229
         { ac_try='test -s conftest$ac_exeext'
 
29230
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29231
  (eval $ac_try) 2>&5
 
29232
  ac_status=$?
 
29233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29234
  (exit $ac_status); }; }; then
 
29235
  ac_cv_lib_gdk_gdk_im_open=yes
 
29236
else
 
29237
  echo "$as_me: failed program was:" >&5
 
29238
sed 's/^/| /' conftest.$ac_ext >&5
 
29239
 
 
29240
ac_cv_lib_gdk_gdk_im_open=no
 
29241
fi
 
29242
rm -f conftest.err conftest.$ac_objext \
 
29243
      conftest$ac_exeext conftest.$ac_ext
 
29244
LIBS=$ac_check_lib_save_LIBS
 
29245
fi
 
29246
echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
 
29247
echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
 
29248
if test $ac_cv_lib_gdk_gdk_im_open = yes; then
 
29249
  cat >>confdefs.h <<\_ACEOF
 
29250
#define HAVE_XIM 1
 
29251
_ACEOF
 
29252
 
 
29253
fi
 
29254
 
 
29255
 
 
29256
                                    if test "$USE_DARWIN" != 1; then
 
29257
 
 
29258
for ac_func in poll
 
29259
do
 
29260
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
29261
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
29262
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
29263
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
29264
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29265
else
 
29266
  cat >conftest.$ac_ext <<_ACEOF
 
29267
/* confdefs.h.  */
 
29268
_ACEOF
 
29269
cat confdefs.h >>conftest.$ac_ext
 
29270
cat >>conftest.$ac_ext <<_ACEOF
 
29271
/* end confdefs.h.  */
 
29272
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
29273
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
29274
#define $ac_func innocuous_$ac_func
 
29275
 
 
29276
/* System header to define __stub macros and hopefully few prototypes,
 
29277
    which can conflict with char $ac_func (); below.
 
29278
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
29279
    <limits.h> exists even on freestanding compilers.  */
 
29280
 
 
29281
#ifdef __STDC__
 
29282
# include <limits.h>
 
29283
#else
 
29284
# include <assert.h>
 
29285
#endif
 
29286
 
 
29287
#undef $ac_func
 
29288
 
 
29289
/* Override any gcc2 internal prototype to avoid an error.  */
 
29290
#ifdef __cplusplus
 
29291
extern "C"
 
29292
{
 
29293
#endif
 
29294
/* We use char because int might match the return type of a gcc2
 
29295
   builtin and then its argument prototype would still apply.  */
 
29296
char $ac_func ();
 
29297
/* The GNU C library defines this for functions which it implements
 
29298
    to always fail with ENOSYS.  Some functions are actually named
 
29299
    something starting with __ and the normal name is an alias.  */
 
29300
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
29301
choke me
 
29302
#else
 
29303
char (*f) () = $ac_func;
 
29304
#endif
 
29305
#ifdef __cplusplus
 
29306
}
 
29307
#endif
 
29308
 
 
29309
int
 
29310
main ()
 
29311
{
 
29312
return f != $ac_func;
 
29313
  ;
 
29314
  return 0;
 
29315
}
 
29316
_ACEOF
 
29317
rm -f conftest.$ac_objext conftest$ac_exeext
 
29318
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
29319
  (eval $ac_link) 2>conftest.er1
 
29320
  ac_status=$?
 
29321
  grep -v '^ *+' conftest.er1 >conftest.err
 
29322
  rm -f conftest.er1
 
29323
  cat conftest.err >&5
 
29324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29325
  (exit $ac_status); } &&
 
29326
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
29327
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29328
  (eval $ac_try) 2>&5
 
29329
  ac_status=$?
 
29330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29331
  (exit $ac_status); }; } &&
 
29332
         { ac_try='test -s conftest$ac_exeext'
 
29333
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29334
  (eval $ac_try) 2>&5
 
29335
  ac_status=$?
 
29336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29337
  (exit $ac_status); }; }; then
 
29338
  eval "$as_ac_var=yes"
 
29339
else
 
29340
  echo "$as_me: failed program was:" >&5
 
29341
sed 's/^/| /' conftest.$ac_ext >&5
 
29342
 
 
29343
eval "$as_ac_var=no"
 
29344
fi
 
29345
rm -f conftest.err conftest.$ac_objext \
 
29346
      conftest$ac_exeext conftest.$ac_ext
 
29347
fi
 
29348
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
29349
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
29350
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
29351
  cat >>confdefs.h <<_ACEOF
 
29352
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
29353
_ACEOF
 
29354
 
 
29355
fi
 
29356
done
 
29357
 
 
29358
            fi
 
29359
        fi
 
29360
 
 
29361
        TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
 
29362
        GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
 
29363
 
 
29364
        AFMINSTALL=afminstall
 
29365
        TOOLKIT=GTK
 
29366
        GUIDIST=GTK_DIST
 
29367
 
 
29368
                if test "$wxUSE_GPE" = "yes"; then
 
29369
            echo "$as_me:$LINENO: checking for gpewidget library" >&5
 
29370
echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
 
29371
 
 
29372
  ac_find_libraries=
 
29373
  for ac_dir in $SEARCH_LIB;
 
29374
  do
 
29375
    for ac_extension in a so sl dylib dll.a; do
 
29376
      if test -f "$ac_dir/libgpewidget.$ac_extension"; then
 
29377
        ac_find_libraries=$ac_dir
 
29378
        break 2
 
29379
      fi
 
29380
    done
 
29381
  done
 
29382
 
 
29383
            if test "$ac_find_libraries" != "" ; then
 
29384
 
 
29385
    if test "$ac_find_libraries" = "default location"; then
 
29386
    ac_path_to_link=""
 
29387
  else
 
29388
    echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
 
29389
    result=$?
 
29390
    if test $result = 0; then
 
29391
      ac_path_to_link=""
 
29392
    else
 
29393
      ac_path_to_link=" -L$ac_find_libraries"
 
29394
    fi
 
29395
  fi
 
29396
 
 
29397
                                                GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
 
29398
                WXGPE=1
 
29399
                echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
 
29400
echo "${ECHO_T}found in $ac_find_libraries" >&6
 
29401
            else
 
29402
                echo "$as_me:$LINENO: result: not found" >&5
 
29403
echo "${ECHO_T}not found" >&6
 
29404
            fi
 
29405
 
 
29406
                                                                                                                    fi
 
29407
    fi
 
29408
 
 
29409
    if test "$wxUSE_MGL" = 1; then
 
29410
       echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
 
29411
echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
 
29412
        if test "x$MGL_ROOT" = x ; then
 
29413
            echo "$as_me:$LINENO: result: not found" >&5
 
29414
echo "${ECHO_T}not found" >&6
 
29415
            { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
 
29416
echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
 
29417
   { (exit 1); exit 1; }; }
 
29418
        else
 
29419
            echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
 
29420
echo "${ECHO_T}$MGL_ROOT" >&6
 
29421
        fi
 
29422
 
 
29423
        echo "$as_me:$LINENO: checking for libmgl location" >&5
 
29424
echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
 
29425
                                case "${host}" in
 
29426
            *-*-linux* )
 
29427
                                          if test "x$wxUSE_SHARED" = xyes ; then
 
29428
                  mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
 
29429
              else
 
29430
                  mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
 
29431
              fi
 
29432
              ;;
 
29433
            *-pc-msdosdjgpp )
 
29434
              mgl_os_candidates="dos32/dj2"
 
29435
              ;;
 
29436
            *)
 
29437
              { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
 
29438
echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
 
29439
   { (exit 1); exit 1; }; }
 
29440
        esac
 
29441
 
 
29442
        mgl_lib_type=""
 
29443
        mgl_os=""
 
29444
 
 
29445
        for mgl_os_i in $mgl_os_candidates ; do
 
29446
            if test "x$mgl_os" = x ; then
 
29447
                if test "$wxUSE_DEBUG_FLAG" = yes ; then
 
29448
                    if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
 
29449
                            -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
 
29450
                        mgl_lib_type=debug
 
29451
                        mgl_os=$mgl_os_i
 
29452
                    fi
 
29453
                fi
 
29454
                if test "x$mgl_lib_type" = x ; then
 
29455
                    if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
 
29456
                            -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
 
29457
                        mgl_lib_type=release
 
29458
                        mgl_os=$mgl_os_i
 
29459
                    fi
 
29460
                fi
 
29461
            fi
 
29462
        done
 
29463
 
 
29464
        if test "x$mgl_os" = x ; then
 
29465
            echo "$as_me:$LINENO: result: not found" >&5
 
29466
echo "${ECHO_T}not found" >&6
 
29467
            { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
 
29468
echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
 
29469
   { (exit 1); exit 1; }; }
 
29470
        fi
 
29471
        echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
 
29472
echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
 
29473
 
 
29474
        wxUSE_UNIVERSAL="yes"
 
29475
 
 
29476
        TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
 
29477
        GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
 
29478
 
 
29479
        AFMINSTALL=afminstall
 
29480
        TOOLKIT=MGL
 
29481
        GUIDIST=MGL_DIST
 
29482
    fi
 
29483
 
 
29484
    if test "$wxUSE_DFB" = 1; then
 
29485
 
 
29486
 
 
29487
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
29488
        if test -n "$ac_tool_prefix"; then
 
29489
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
29490
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
29491
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
29492
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
29493
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
29494
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29495
else
 
29496
  case $PKG_CONFIG in
 
29497
  [\\/]* | ?:[\\/]*)
 
29498
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
29499
  ;;
 
29500
  *)
 
29501
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
29502
for as_dir in $PATH
 
29503
do
 
29504
  IFS=$as_save_IFS
 
29505
  test -z "$as_dir" && as_dir=.
 
29506
  for ac_exec_ext in '' $ac_executable_extensions; do
 
29507
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
29508
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
29509
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
29510
    break 2
 
29511
  fi
 
29512
done
 
29513
done
 
29514
 
 
29515
  ;;
 
29516
esac
 
29517
fi
 
29518
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
29519
 
 
29520
if test -n "$PKG_CONFIG"; then
 
29521
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
29522
echo "${ECHO_T}$PKG_CONFIG" >&6
 
29523
else
 
29524
  echo "$as_me:$LINENO: result: no" >&5
 
29525
echo "${ECHO_T}no" >&6
 
29526
fi
 
29527
 
 
29528
fi
 
29529
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
29530
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
29531
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
29532
set dummy pkg-config; ac_word=$2
 
29533
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
29534
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
29535
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
29536
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29537
else
 
29538
  case $ac_pt_PKG_CONFIG in
 
29539
  [\\/]* | ?:[\\/]*)
 
29540
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
29541
  ;;
 
29542
  *)
 
29543
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
29544
for as_dir in $PATH
 
29545
do
 
29546
  IFS=$as_save_IFS
 
29547
  test -z "$as_dir" && as_dir=.
 
29548
  for ac_exec_ext in '' $ac_executable_extensions; do
 
29549
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
29550
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
29551
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
29552
    break 2
 
29553
  fi
 
29554
done
 
29555
done
 
29556
 
 
29557
  ;;
 
29558
esac
 
29559
fi
 
29560
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
29561
 
 
29562
if test -n "$ac_pt_PKG_CONFIG"; then
 
29563
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
29564
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
29565
else
 
29566
  echo "$as_me:$LINENO: result: no" >&5
 
29567
echo "${ECHO_T}no" >&6
 
29568
fi
 
29569
 
 
29570
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
29571
else
 
29572
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
29573
fi
 
29574
 
 
29575
fi
 
29576
if test -n "$PKG_CONFIG"; then
 
29577
        _pkg_min_version=0.9.0
 
29578
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
29579
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
29580
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
29581
                echo "$as_me:$LINENO: result: yes" >&5
 
29582
echo "${ECHO_T}yes" >&6
 
29583
        else
 
29584
                echo "$as_me:$LINENO: result: no" >&5
 
29585
echo "${ECHO_T}no" >&6
 
29586
                PKG_CONFIG=""
 
29587
        fi
 
29588
 
 
29589
fi
 
29590
 
 
29591
 
 
29592
pkg_failed=no
 
29593
echo "$as_me:$LINENO: checking for DIRECTFB" >&5
 
29594
echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
 
29595
 
 
29596
if test -n "$PKG_CONFIG"; then
 
29597
    if test -n "$DIRECTFB_CFLAGS"; then
 
29598
        pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
 
29599
    else
 
29600
        if test -n "$PKG_CONFIG" && \
 
29601
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
 
29602
  ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
 
29603
  ac_status=$?
 
29604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29605
  (exit $ac_status); }; then
 
29606
  pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
 
29607
else
 
29608
  pkg_failed=yes
 
29609
fi
 
29610
    fi
 
29611
else
 
29612
        pkg_failed=untried
 
29613
fi
 
29614
if test -n "$PKG_CONFIG"; then
 
29615
    if test -n "$DIRECTFB_LIBS"; then
 
29616
        pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
 
29617
    else
 
29618
        if test -n "$PKG_CONFIG" && \
 
29619
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
 
29620
  ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
 
29621
  ac_status=$?
 
29622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29623
  (exit $ac_status); }; then
 
29624
  pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
 
29625
else
 
29626
  pkg_failed=yes
 
29627
fi
 
29628
    fi
 
29629
else
 
29630
        pkg_failed=untried
 
29631
fi
 
29632
 
 
29633
 
 
29634
 
 
29635
if test $pkg_failed = yes; then
 
29636
 
 
29637
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
29638
        _pkg_short_errors_supported=yes
 
29639
else
 
29640
        _pkg_short_errors_supported=no
 
29641
fi
 
29642
        if test $_pkg_short_errors_supported = yes; then
 
29643
                DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
 
29644
        else
 
29645
                DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
 
29646
        fi
 
29647
        # Put the nasty error message in config.log where it belongs
 
29648
        echo "$DIRECTFB_PKG_ERRORS" >&5
 
29649
 
 
29650
 
 
29651
                           { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
 
29652
echo "$as_me: error: DirectFB not found." >&2;}
 
29653
   { (exit 1); exit 1; }; }
 
29654
 
 
29655
 
 
29656
elif test $pkg_failed = untried; then
 
29657
 
 
29658
                           { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
 
29659
echo "$as_me: error: DirectFB not found." >&2;}
 
29660
   { (exit 1); exit 1; }; }
 
29661
 
 
29662
 
 
29663
else
 
29664
        DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
 
29665
        DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
 
29666
        echo "$as_me:$LINENO: result: yes" >&5
 
29667
echo "${ECHO_T}yes" >&6
 
29668
 
 
29669
                           wxUSE_UNIVERSAL="yes"
 
29670
                           TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
 
29671
                           GUI_TK_LIBRARY="$DIRECTFB_LIBS"
 
29672
                           TOOLKIT=DFB
 
29673
                           GUIDIST=DFB_DIST
 
29674
 
 
29675
fi
 
29676
    fi
 
29677
 
 
29678
    if test "$wxUSE_MICROWIN" = 1; then
 
29679
        echo "$as_me:$LINENO: checking for MicroWindows" >&5
 
29680
echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
 
29681
        if test "x$MICROWINDOWS" = x ; then
 
29682
            echo "$as_me:$LINENO: result: not found" >&5
 
29683
echo "${ECHO_T}not found" >&6
 
29684
            { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
 
29685
echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
 
29686
   { (exit 1); exit 1; }; }
 
29687
        else
 
29688
            echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
 
29689
echo "${ECHO_T}$MICROWINDOWS" >&6
 
29690
        fi
 
29691
 
 
29692
        if test -f $MICROWINDOWS/lib/libmwin.a; then
 
29693
            echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
 
29694
echo "${ECHO_T}MicroWindows' libraries found." >&6
 
29695
        else
 
29696
            { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
 
29697
echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
 
29698
   { (exit 1); exit 1; }; }
 
29699
        fi
 
29700
 
 
29701
        TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
 
29702
        GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
 
29703
 
 
29704
        wxUSE_UNIVERSAL="yes"
 
29705
 
 
29706
        AFMINSTALL=afminstall
 
29707
        TOOLKIT=MICROWIN
 
29708
        GUIDIST=MICROWIN_DIST
 
29709
 
 
29710
        TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
 
29711
    fi
 
29712
 
 
29713
        if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
 
29714
 
 
29715
if test "x$ac_path_x_has_been_run" != xyes; then
 
29716
  echo "$as_me:$LINENO: checking for X" >&5
 
29717
echo $ECHO_N "checking for X... $ECHO_C" >&6
 
29718
 
 
29719
ac_path_x_has_been_run=yes
 
29720
 
 
29721
# Check whether --with-x or --without-x was given.
 
29722
if test "${with_x+set}" = set; then
 
29723
  withval="$with_x"
 
29724
 
 
29725
fi;
 
29726
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
29727
if test "x$with_x" = xno; then
 
29728
  # The user explicitly disabled X.
 
29729
  have_x=disabled
 
29730
else
 
29731
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
 
29732
    # Both variables are already set.
 
29733
    have_x=yes
 
29734
  else
 
29735
    if test "${ac_cv_have_x+set}" = set; then
 
29736
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29737
else
 
29738
  # One or both of the vars are not set, and there is no cached value.
 
29739
ac_x_includes=no ac_x_libraries=no
 
29740
rm -fr conftest.dir
 
29741
if mkdir conftest.dir; then
 
29742
  cd conftest.dir
 
29743
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
 
29744
  cat >Imakefile <<'_ACEOF'
 
29745
acfindx:
 
29746
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
29747
_ACEOF
 
29748
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
29749
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
29750
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
29751
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
29752
    for ac_extension in a so sl; do
 
29753
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
 
29754
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
29755
        ac_im_usrlibdir=$ac_im_libdir; break
 
29756
      fi
 
29757
    done
 
29758
    # Screen out bogus values from the imake configuration.  They are
 
29759
    # bogus both because they are the default anyway, and because
 
29760
    # using them would break gcc on systems where it needs fixed includes.
 
29761
    case $ac_im_incroot in
 
29762
        /usr/include) ;;
 
29763
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
29764
    esac
 
29765
    case $ac_im_usrlibdir in
 
29766
        /usr/lib | /lib) ;;
 
29767
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
29768
    esac
 
29769
  fi
 
29770
  cd ..
 
29771
  rm -fr conftest.dir
 
29772
fi
 
29773
 
 
29774
# Standard set of common directories for X headers.
 
29775
# Check X11 before X11Rn because it is often a symlink to the current release.
 
29776
ac_x_header_dirs='
 
29777
/usr/X11/include
 
29778
/usr/X11R6/include
 
29779
/usr/X11R5/include
 
29780
/usr/X11R4/include
 
29781
 
 
29782
/usr/include/X11
 
29783
/usr/include/X11R6
 
29784
/usr/include/X11R5
 
29785
/usr/include/X11R4
 
29786
 
 
29787
/usr/local/X11/include
 
29788
/usr/local/X11R6/include
 
29789
/usr/local/X11R5/include
 
29790
/usr/local/X11R4/include
 
29791
 
 
29792
/usr/local/include/X11
 
29793
/usr/local/include/X11R6
 
29794
/usr/local/include/X11R5
 
29795
/usr/local/include/X11R4
 
29796
 
 
29797
/usr/X386/include
 
29798
/usr/x386/include
 
29799
/usr/XFree86/include/X11
 
29800
 
 
29801
/usr/include
 
29802
/usr/local/include
 
29803
/usr/unsupported/include
 
29804
/usr/athena/include
 
29805
/usr/local/x11r5/include
 
29806
/usr/lpp/Xamples/include
 
29807
 
 
29808
/usr/openwin/include
 
29809
/usr/openwin/share/include'
 
29810
 
 
29811
if test "$ac_x_includes" = no; then
 
29812
  # Guess where to find include files, by looking for a specified header file.
 
29813
  # First, try using that file with no special directory specified.
 
29814
  cat >conftest.$ac_ext <<_ACEOF
 
29815
/* confdefs.h.  */
 
29816
_ACEOF
 
29817
cat confdefs.h >>conftest.$ac_ext
 
29818
cat >>conftest.$ac_ext <<_ACEOF
 
29819
/* end confdefs.h.  */
 
29820
#include <X11/Xlib.h>
 
29821
_ACEOF
 
29822
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
29823
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
29824
  ac_status=$?
 
29825
  grep -v '^ *+' conftest.er1 >conftest.err
 
29826
  rm -f conftest.er1
 
29827
  cat conftest.err >&5
 
29828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29829
  (exit $ac_status); } >/dev/null; then
 
29830
  if test -s conftest.err; then
 
29831
    ac_cpp_err=$ac_c_preproc_warn_flag
 
29832
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
29833
  else
 
29834
    ac_cpp_err=
 
29835
  fi
 
29836
else
 
29837
  ac_cpp_err=yes
 
29838
fi
 
29839
if test -z "$ac_cpp_err"; then
 
29840
  # We can compile using X headers with no special include directory.
 
29841
ac_x_includes=
 
29842
else
 
29843
  echo "$as_me: failed program was:" >&5
 
29844
sed 's/^/| /' conftest.$ac_ext >&5
 
29845
 
 
29846
  for ac_dir in $ac_x_header_dirs; do
 
29847
  if test -r "$ac_dir/X11/Xlib.h"; then
 
29848
    ac_x_includes=$ac_dir
 
29849
    break
 
29850
  fi
 
29851
done
 
29852
fi
 
29853
rm -f conftest.err conftest.$ac_ext
 
29854
fi # $ac_x_includes = no
 
29855
 
 
29856
if test "$ac_x_libraries" = no; then
 
29857
  # Check for the libraries.
 
29858
  # See if we find them without any special options.
 
29859
  # Don't add to $LIBS permanently.
 
29860
  ac_save_LIBS=$LIBS
 
29861
  LIBS="-lX11 $LIBS"
 
29862
  cat >conftest.$ac_ext <<_ACEOF
 
29863
/* confdefs.h.  */
 
29864
_ACEOF
 
29865
cat confdefs.h >>conftest.$ac_ext
 
29866
cat >>conftest.$ac_ext <<_ACEOF
 
29867
/* end confdefs.h.  */
 
29868
#include <X11/Xlib.h>
 
29869
int
 
29870
main ()
 
29871
{
 
29872
XrmInitialize ()
 
29873
  ;
 
29874
  return 0;
 
29875
}
 
29876
_ACEOF
 
29877
rm -f conftest.$ac_objext conftest$ac_exeext
 
29878
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
29879
  (eval $ac_link) 2>conftest.er1
 
29880
  ac_status=$?
 
29881
  grep -v '^ *+' conftest.er1 >conftest.err
 
29882
  rm -f conftest.er1
 
29883
  cat conftest.err >&5
 
29884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29885
  (exit $ac_status); } &&
 
29886
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
29887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29888
  (eval $ac_try) 2>&5
 
29889
  ac_status=$?
 
29890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29891
  (exit $ac_status); }; } &&
 
29892
         { ac_try='test -s conftest$ac_exeext'
 
29893
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
29894
  (eval $ac_try) 2>&5
 
29895
  ac_status=$?
 
29896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29897
  (exit $ac_status); }; }; then
 
29898
  LIBS=$ac_save_LIBS
 
29899
# We can link X programs with no special library path.
 
29900
ac_x_libraries=
 
29901
else
 
29902
  echo "$as_me: failed program was:" >&5
 
29903
sed 's/^/| /' conftest.$ac_ext >&5
 
29904
 
 
29905
LIBS=$ac_save_LIBS
 
29906
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
29907
do
 
29908
  # Don't even attempt the hair of trying to link an X program!
 
29909
  for ac_extension in a so sl; do
 
29910
    if test -r $ac_dir/libX11.$ac_extension; then
 
29911
      ac_x_libraries=$ac_dir
 
29912
      break 2
 
29913
    fi
 
29914
  done
 
29915
done
 
29916
fi
 
29917
rm -f conftest.err conftest.$ac_objext \
 
29918
      conftest$ac_exeext conftest.$ac_ext
 
29919
fi # $ac_x_libraries = no
 
29920
 
 
29921
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
 
29922
  # Didn't find X anywhere.  Cache the known absence of X.
 
29923
  ac_cv_have_x="have_x=no"
 
29924
else
 
29925
  # Record where we found X for the cache.
 
29926
  ac_cv_have_x="have_x=yes \
 
29927
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
 
29928
fi
 
29929
fi
 
29930
 
 
29931
  fi
 
29932
  eval "$ac_cv_have_x"
 
29933
fi # $with_x != no
 
29934
 
 
29935
if test "$have_x" != yes; then
 
29936
  echo "$as_me:$LINENO: result: $have_x" >&5
 
29937
echo "${ECHO_T}$have_x" >&6
 
29938
  no_x=yes
 
29939
else
 
29940
  # If each of the values was on the command line, it overrides each guess.
 
29941
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
29942
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
29943
  # Update the cache value to reflect the command line values.
 
29944
  ac_cv_have_x="have_x=yes \
 
29945
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
 
29946
  # It might be that x_includes is empty (headers are found in the
 
29947
  # standard search path. Then output the corresponding message
 
29948
  ac_out_x_includes=$x_includes
 
29949
  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
 
29950
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
 
29951
echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
 
29952
fi
 
29953
 
 
29954
fi
 
29955
if test "$no_x" = yes; then
 
29956
  # Not all programs may use this symbol, but it does not hurt to define it.
 
29957
 
 
29958
cat >>confdefs.h <<\_ACEOF
 
29959
#define X_DISPLAY_MISSING 1
 
29960
_ACEOF
 
29961
 
 
29962
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
29963
else
 
29964
  if test -n "$x_includes"; then
 
29965
    X_CFLAGS="$X_CFLAGS -I$x_includes"
 
29966
  fi
 
29967
 
 
29968
  # It would also be nice to do this for all -L options, not just this one.
 
29969
  if test -n "$x_libraries"; then
 
29970
    X_LIBS="$X_LIBS -L$x_libraries"
 
29971
    # For Solaris; some versions of Sun CC require a space after -R and
 
29972
    # others require no space.  Words are not sufficient . . . .
 
29973
    case `(uname -sr) 2>/dev/null` in
 
29974
    "SunOS 5"*)
 
29975
      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
29976
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
 
29977
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
29978
      cat >conftest.$ac_ext <<_ACEOF
 
29979
/* confdefs.h.  */
 
29980
_ACEOF
 
29981
cat confdefs.h >>conftest.$ac_ext
 
29982
cat >>conftest.$ac_ext <<_ACEOF
 
29983
/* end confdefs.h.  */
 
29984
 
 
29985
int
 
29986
main ()
 
29987
{
 
29988
 
 
29989
  ;
 
29990
  return 0;
 
29991
}
 
29992
_ACEOF
 
29993
rm -f conftest.$ac_objext conftest$ac_exeext
 
29994
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
29995
  (eval $ac_link) 2>conftest.er1
 
29996
  ac_status=$?
 
29997
  grep -v '^ *+' conftest.er1 >conftest.err
 
29998
  rm -f conftest.er1
 
29999
  cat conftest.err >&5
 
30000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30001
  (exit $ac_status); } &&
 
30002
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30003
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30004
  (eval $ac_try) 2>&5
 
30005
  ac_status=$?
 
30006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30007
  (exit $ac_status); }; } &&
 
30008
         { ac_try='test -s conftest$ac_exeext'
 
30009
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30010
  (eval $ac_try) 2>&5
 
30011
  ac_status=$?
 
30012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30013
  (exit $ac_status); }; }; then
 
30014
  ac_R_nospace=yes
 
30015
else
 
30016
  echo "$as_me: failed program was:" >&5
 
30017
sed 's/^/| /' conftest.$ac_ext >&5
 
30018
 
 
30019
ac_R_nospace=no
 
30020
fi
 
30021
rm -f conftest.err conftest.$ac_objext \
 
30022
      conftest$ac_exeext conftest.$ac_ext
 
30023
      if test $ac_R_nospace = yes; then
 
30024
        echo "$as_me:$LINENO: result: no" >&5
 
30025
echo "${ECHO_T}no" >&6
 
30026
        X_LIBS="$X_LIBS -R$x_libraries"
 
30027
      else
 
30028
        LIBS="$ac_xsave_LIBS -R $x_libraries"
 
30029
        cat >conftest.$ac_ext <<_ACEOF
 
30030
/* confdefs.h.  */
 
30031
_ACEOF
 
30032
cat confdefs.h >>conftest.$ac_ext
 
30033
cat >>conftest.$ac_ext <<_ACEOF
 
30034
/* end confdefs.h.  */
 
30035
 
 
30036
int
 
30037
main ()
 
30038
{
 
30039
 
 
30040
  ;
 
30041
  return 0;
 
30042
}
 
30043
_ACEOF
 
30044
rm -f conftest.$ac_objext conftest$ac_exeext
 
30045
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30046
  (eval $ac_link) 2>conftest.er1
 
30047
  ac_status=$?
 
30048
  grep -v '^ *+' conftest.er1 >conftest.err
 
30049
  rm -f conftest.er1
 
30050
  cat conftest.err >&5
 
30051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30052
  (exit $ac_status); } &&
 
30053
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30054
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30055
  (eval $ac_try) 2>&5
 
30056
  ac_status=$?
 
30057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30058
  (exit $ac_status); }; } &&
 
30059
         { ac_try='test -s conftest$ac_exeext'
 
30060
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30061
  (eval $ac_try) 2>&5
 
30062
  ac_status=$?
 
30063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30064
  (exit $ac_status); }; }; then
 
30065
  ac_R_space=yes
 
30066
else
 
30067
  echo "$as_me: failed program was:" >&5
 
30068
sed 's/^/| /' conftest.$ac_ext >&5
 
30069
 
 
30070
ac_R_space=no
 
30071
fi
 
30072
rm -f conftest.err conftest.$ac_objext \
 
30073
      conftest$ac_exeext conftest.$ac_ext
 
30074
        if test $ac_R_space = yes; then
 
30075
          echo "$as_me:$LINENO: result: yes" >&5
 
30076
echo "${ECHO_T}yes" >&6
 
30077
          X_LIBS="$X_LIBS -R $x_libraries"
 
30078
        else
 
30079
          echo "$as_me:$LINENO: result: neither works" >&5
 
30080
echo "${ECHO_T}neither works" >&6
 
30081
        fi
 
30082
      fi
 
30083
      LIBS=$ac_xsave_LIBS
 
30084
    esac
 
30085
  fi
 
30086
 
 
30087
  # Check for system-dependent libraries X programs must link with.
 
30088
  # Do this before checking for the system-independent R6 libraries
 
30089
  # (-lICE), since we may need -lsocket or whatever for X linking.
 
30090
 
 
30091
  if test "$ISC" = yes; then
 
30092
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
30093
  else
 
30094
    # Martyn Johnson says this is needed for Ultrix, if the X
 
30095
    # libraries were built with DECnet support.  And Karl Berry says
 
30096
    # the Alpha needs dnet_stub (dnet does not exist).
 
30097
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
30098
    cat >conftest.$ac_ext <<_ACEOF
 
30099
/* confdefs.h.  */
 
30100
_ACEOF
 
30101
cat confdefs.h >>conftest.$ac_ext
 
30102
cat >>conftest.$ac_ext <<_ACEOF
 
30103
/* end confdefs.h.  */
 
30104
 
 
30105
/* Override any gcc2 internal prototype to avoid an error.  */
 
30106
#ifdef __cplusplus
 
30107
extern "C"
 
30108
#endif
 
30109
/* We use char because int might match the return type of a gcc2
 
30110
   builtin and then its argument prototype would still apply.  */
 
30111
char XOpenDisplay ();
 
30112
int
 
30113
main ()
 
30114
{
 
30115
XOpenDisplay ();
 
30116
  ;
 
30117
  return 0;
 
30118
}
 
30119
_ACEOF
 
30120
rm -f conftest.$ac_objext conftest$ac_exeext
 
30121
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30122
  (eval $ac_link) 2>conftest.er1
 
30123
  ac_status=$?
 
30124
  grep -v '^ *+' conftest.er1 >conftest.err
 
30125
  rm -f conftest.er1
 
30126
  cat conftest.err >&5
 
30127
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30128
  (exit $ac_status); } &&
 
30129
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30130
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30131
  (eval $ac_try) 2>&5
 
30132
  ac_status=$?
 
30133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30134
  (exit $ac_status); }; } &&
 
30135
         { ac_try='test -s conftest$ac_exeext'
 
30136
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30137
  (eval $ac_try) 2>&5
 
30138
  ac_status=$?
 
30139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30140
  (exit $ac_status); }; }; then
 
30141
  :
 
30142
else
 
30143
  echo "$as_me: failed program was:" >&5
 
30144
sed 's/^/| /' conftest.$ac_ext >&5
 
30145
 
 
30146
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
30147
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 
30148
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
 
30149
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30150
else
 
30151
  ac_check_lib_save_LIBS=$LIBS
 
30152
LIBS="-ldnet  $LIBS"
 
30153
cat >conftest.$ac_ext <<_ACEOF
 
30154
/* confdefs.h.  */
 
30155
_ACEOF
 
30156
cat confdefs.h >>conftest.$ac_ext
 
30157
cat >>conftest.$ac_ext <<_ACEOF
 
30158
/* end confdefs.h.  */
 
30159
 
 
30160
/* Override any gcc2 internal prototype to avoid an error.  */
 
30161
#ifdef __cplusplus
 
30162
extern "C"
 
30163
#endif
 
30164
/* We use char because int might match the return type of a gcc2
 
30165
   builtin and then its argument prototype would still apply.  */
 
30166
char dnet_ntoa ();
 
30167
int
 
30168
main ()
 
30169
{
 
30170
dnet_ntoa ();
 
30171
  ;
 
30172
  return 0;
 
30173
}
 
30174
_ACEOF
 
30175
rm -f conftest.$ac_objext conftest$ac_exeext
 
30176
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30177
  (eval $ac_link) 2>conftest.er1
 
30178
  ac_status=$?
 
30179
  grep -v '^ *+' conftest.er1 >conftest.err
 
30180
  rm -f conftest.er1
 
30181
  cat conftest.err >&5
 
30182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30183
  (exit $ac_status); } &&
 
30184
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30185
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30186
  (eval $ac_try) 2>&5
 
30187
  ac_status=$?
 
30188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30189
  (exit $ac_status); }; } &&
 
30190
         { ac_try='test -s conftest$ac_exeext'
 
30191
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30192
  (eval $ac_try) 2>&5
 
30193
  ac_status=$?
 
30194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30195
  (exit $ac_status); }; }; then
 
30196
  ac_cv_lib_dnet_dnet_ntoa=yes
 
30197
else
 
30198
  echo "$as_me: failed program was:" >&5
 
30199
sed 's/^/| /' conftest.$ac_ext >&5
 
30200
 
 
30201
ac_cv_lib_dnet_dnet_ntoa=no
 
30202
fi
 
30203
rm -f conftest.err conftest.$ac_objext \
 
30204
      conftest$ac_exeext conftest.$ac_ext
 
30205
LIBS=$ac_check_lib_save_LIBS
 
30206
fi
 
30207
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
30208
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
 
30209
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
30210
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
30211
fi
 
30212
 
 
30213
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
30214
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
30215
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 
30216
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
 
30217
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30218
else
 
30219
  ac_check_lib_save_LIBS=$LIBS
 
30220
LIBS="-ldnet_stub  $LIBS"
 
30221
cat >conftest.$ac_ext <<_ACEOF
 
30222
/* confdefs.h.  */
 
30223
_ACEOF
 
30224
cat confdefs.h >>conftest.$ac_ext
 
30225
cat >>conftest.$ac_ext <<_ACEOF
 
30226
/* end confdefs.h.  */
 
30227
 
 
30228
/* Override any gcc2 internal prototype to avoid an error.  */
 
30229
#ifdef __cplusplus
 
30230
extern "C"
 
30231
#endif
 
30232
/* We use char because int might match the return type of a gcc2
 
30233
   builtin and then its argument prototype would still apply.  */
 
30234
char dnet_ntoa ();
 
30235
int
 
30236
main ()
 
30237
{
 
30238
dnet_ntoa ();
 
30239
  ;
 
30240
  return 0;
 
30241
}
 
30242
_ACEOF
 
30243
rm -f conftest.$ac_objext conftest$ac_exeext
 
30244
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30245
  (eval $ac_link) 2>conftest.er1
 
30246
  ac_status=$?
 
30247
  grep -v '^ *+' conftest.er1 >conftest.err
 
30248
  rm -f conftest.er1
 
30249
  cat conftest.err >&5
 
30250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30251
  (exit $ac_status); } &&
 
30252
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30253
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30254
  (eval $ac_try) 2>&5
 
30255
  ac_status=$?
 
30256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30257
  (exit $ac_status); }; } &&
 
30258
         { ac_try='test -s conftest$ac_exeext'
 
30259
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30260
  (eval $ac_try) 2>&5
 
30261
  ac_status=$?
 
30262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30263
  (exit $ac_status); }; }; then
 
30264
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
30265
else
 
30266
  echo "$as_me: failed program was:" >&5
 
30267
sed 's/^/| /' conftest.$ac_ext >&5
 
30268
 
 
30269
ac_cv_lib_dnet_stub_dnet_ntoa=no
 
30270
fi
 
30271
rm -f conftest.err conftest.$ac_objext \
 
30272
      conftest$ac_exeext conftest.$ac_ext
 
30273
LIBS=$ac_check_lib_save_LIBS
 
30274
fi
 
30275
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
30276
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
 
30277
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
30278
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
30279
fi
 
30280
 
 
30281
    fi
 
30282
fi
 
30283
rm -f conftest.err conftest.$ac_objext \
 
30284
      conftest$ac_exeext conftest.$ac_ext
 
30285
    LIBS="$ac_xsave_LIBS"
 
30286
 
 
30287
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
30288
    # to get the SysV transport functions.
 
30289
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
30290
    # needs -lnsl.
 
30291
    # The nsl library prevents programs from opening the X display
 
30292
    # on Irix 5.2, according to T.E. Dickey.
 
30293
    # The functions gethostbyname, getservbyname, and inet_addr are
 
30294
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
30295
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
30296
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
30297
if test "${ac_cv_func_gethostbyname+set}" = set; then
 
30298
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30299
else
 
30300
  cat >conftest.$ac_ext <<_ACEOF
 
30301
/* confdefs.h.  */
 
30302
_ACEOF
 
30303
cat confdefs.h >>conftest.$ac_ext
 
30304
cat >>conftest.$ac_ext <<_ACEOF
 
30305
/* end confdefs.h.  */
 
30306
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
30307
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
30308
#define gethostbyname innocuous_gethostbyname
 
30309
 
 
30310
/* System header to define __stub macros and hopefully few prototypes,
 
30311
    which can conflict with char gethostbyname (); below.
 
30312
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
30313
    <limits.h> exists even on freestanding compilers.  */
 
30314
 
 
30315
#ifdef __STDC__
 
30316
# include <limits.h>
 
30317
#else
 
30318
# include <assert.h>
 
30319
#endif
 
30320
 
 
30321
#undef gethostbyname
 
30322
 
 
30323
/* Override any gcc2 internal prototype to avoid an error.  */
 
30324
#ifdef __cplusplus
 
30325
extern "C"
 
30326
{
 
30327
#endif
 
30328
/* We use char because int might match the return type of a gcc2
 
30329
   builtin and then its argument prototype would still apply.  */
 
30330
char gethostbyname ();
 
30331
/* The GNU C library defines this for functions which it implements
 
30332
    to always fail with ENOSYS.  Some functions are actually named
 
30333
    something starting with __ and the normal name is an alias.  */
 
30334
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
30335
choke me
 
30336
#else
 
30337
char (*f) () = gethostbyname;
 
30338
#endif
 
30339
#ifdef __cplusplus
 
30340
}
 
30341
#endif
 
30342
 
 
30343
int
 
30344
main ()
 
30345
{
 
30346
return f != gethostbyname;
 
30347
  ;
 
30348
  return 0;
 
30349
}
 
30350
_ACEOF
 
30351
rm -f conftest.$ac_objext conftest$ac_exeext
 
30352
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30353
  (eval $ac_link) 2>conftest.er1
 
30354
  ac_status=$?
 
30355
  grep -v '^ *+' conftest.er1 >conftest.err
 
30356
  rm -f conftest.er1
 
30357
  cat conftest.err >&5
 
30358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30359
  (exit $ac_status); } &&
 
30360
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30361
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30362
  (eval $ac_try) 2>&5
 
30363
  ac_status=$?
 
30364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30365
  (exit $ac_status); }; } &&
 
30366
         { ac_try='test -s conftest$ac_exeext'
 
30367
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30368
  (eval $ac_try) 2>&5
 
30369
  ac_status=$?
 
30370
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30371
  (exit $ac_status); }; }; then
 
30372
  ac_cv_func_gethostbyname=yes
 
30373
else
 
30374
  echo "$as_me: failed program was:" >&5
 
30375
sed 's/^/| /' conftest.$ac_ext >&5
 
30376
 
 
30377
ac_cv_func_gethostbyname=no
 
30378
fi
 
30379
rm -f conftest.err conftest.$ac_objext \
 
30380
      conftest$ac_exeext conftest.$ac_ext
 
30381
fi
 
30382
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
30383
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
30384
 
 
30385
    if test $ac_cv_func_gethostbyname = no; then
 
30386
      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
30387
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
30388
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
30389
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30390
else
 
30391
  ac_check_lib_save_LIBS=$LIBS
 
30392
LIBS="-lnsl  $LIBS"
 
30393
cat >conftest.$ac_ext <<_ACEOF
 
30394
/* confdefs.h.  */
 
30395
_ACEOF
 
30396
cat confdefs.h >>conftest.$ac_ext
 
30397
cat >>conftest.$ac_ext <<_ACEOF
 
30398
/* end confdefs.h.  */
 
30399
 
 
30400
/* Override any gcc2 internal prototype to avoid an error.  */
 
30401
#ifdef __cplusplus
 
30402
extern "C"
 
30403
#endif
 
30404
/* We use char because int might match the return type of a gcc2
 
30405
   builtin and then its argument prototype would still apply.  */
 
30406
char gethostbyname ();
 
30407
int
 
30408
main ()
 
30409
{
 
30410
gethostbyname ();
 
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>conftest.er1
 
30418
  ac_status=$?
 
30419
  grep -v '^ *+' conftest.er1 >conftest.err
 
30420
  rm -f conftest.er1
 
30421
  cat conftest.err >&5
 
30422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30423
  (exit $ac_status); } &&
 
30424
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30425
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30426
  (eval $ac_try) 2>&5
 
30427
  ac_status=$?
 
30428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30429
  (exit $ac_status); }; } &&
 
30430
         { ac_try='test -s conftest$ac_exeext'
 
30431
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30432
  (eval $ac_try) 2>&5
 
30433
  ac_status=$?
 
30434
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30435
  (exit $ac_status); }; }; then
 
30436
  ac_cv_lib_nsl_gethostbyname=yes
 
30437
else
 
30438
  echo "$as_me: failed program was:" >&5
 
30439
sed 's/^/| /' conftest.$ac_ext >&5
 
30440
 
 
30441
ac_cv_lib_nsl_gethostbyname=no
 
30442
fi
 
30443
rm -f conftest.err conftest.$ac_objext \
 
30444
      conftest$ac_exeext conftest.$ac_ext
 
30445
LIBS=$ac_check_lib_save_LIBS
 
30446
fi
 
30447
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
30448
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
30449
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
30450
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
30451
fi
 
30452
 
 
30453
      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
30454
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
30455
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 
30456
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
 
30457
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30458
else
 
30459
  ac_check_lib_save_LIBS=$LIBS
 
30460
LIBS="-lbsd  $LIBS"
 
30461
cat >conftest.$ac_ext <<_ACEOF
 
30462
/* confdefs.h.  */
 
30463
_ACEOF
 
30464
cat confdefs.h >>conftest.$ac_ext
 
30465
cat >>conftest.$ac_ext <<_ACEOF
 
30466
/* end confdefs.h.  */
 
30467
 
 
30468
/* Override any gcc2 internal prototype to avoid an error.  */
 
30469
#ifdef __cplusplus
 
30470
extern "C"
 
30471
#endif
 
30472
/* We use char because int might match the return type of a gcc2
 
30473
   builtin and then its argument prototype would still apply.  */
 
30474
char gethostbyname ();
 
30475
int
 
30476
main ()
 
30477
{
 
30478
gethostbyname ();
 
30479
  ;
 
30480
  return 0;
 
30481
}
 
30482
_ACEOF
 
30483
rm -f conftest.$ac_objext conftest$ac_exeext
 
30484
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30485
  (eval $ac_link) 2>conftest.er1
 
30486
  ac_status=$?
 
30487
  grep -v '^ *+' conftest.er1 >conftest.err
 
30488
  rm -f conftest.er1
 
30489
  cat conftest.err >&5
 
30490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30491
  (exit $ac_status); } &&
 
30492
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30493
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30494
  (eval $ac_try) 2>&5
 
30495
  ac_status=$?
 
30496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30497
  (exit $ac_status); }; } &&
 
30498
         { ac_try='test -s conftest$ac_exeext'
 
30499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30500
  (eval $ac_try) 2>&5
 
30501
  ac_status=$?
 
30502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30503
  (exit $ac_status); }; }; then
 
30504
  ac_cv_lib_bsd_gethostbyname=yes
 
30505
else
 
30506
  echo "$as_me: failed program was:" >&5
 
30507
sed 's/^/| /' conftest.$ac_ext >&5
 
30508
 
 
30509
ac_cv_lib_bsd_gethostbyname=no
 
30510
fi
 
30511
rm -f conftest.err conftest.$ac_objext \
 
30512
      conftest$ac_exeext conftest.$ac_ext
 
30513
LIBS=$ac_check_lib_save_LIBS
 
30514
fi
 
30515
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
30516
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
 
30517
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
30518
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
30519
fi
 
30520
 
 
30521
      fi
 
30522
    fi
 
30523
 
 
30524
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
30525
    # socket/setsockopt and other routines are undefined under SCO ODT
 
30526
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
30527
    # on later versions), says Simon Leinen: it contains gethostby*
 
30528
    # variants that don't use the name server (or something).  -lsocket
 
30529
    # must be given before -lnsl if both are needed.  We assume that
 
30530
    # if connect needs -lnsl, so does gethostbyname.
 
30531
    echo "$as_me:$LINENO: checking for connect" >&5
 
30532
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
30533
if test "${ac_cv_func_connect+set}" = set; then
 
30534
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30535
else
 
30536
  cat >conftest.$ac_ext <<_ACEOF
 
30537
/* confdefs.h.  */
 
30538
_ACEOF
 
30539
cat confdefs.h >>conftest.$ac_ext
 
30540
cat >>conftest.$ac_ext <<_ACEOF
 
30541
/* end confdefs.h.  */
 
30542
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
 
30543
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
30544
#define connect innocuous_connect
 
30545
 
 
30546
/* System header to define __stub macros and hopefully few prototypes,
 
30547
    which can conflict with char connect (); below.
 
30548
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
30549
    <limits.h> exists even on freestanding compilers.  */
 
30550
 
 
30551
#ifdef __STDC__
 
30552
# include <limits.h>
 
30553
#else
 
30554
# include <assert.h>
 
30555
#endif
 
30556
 
 
30557
#undef connect
 
30558
 
 
30559
/* Override any gcc2 internal prototype to avoid an error.  */
 
30560
#ifdef __cplusplus
 
30561
extern "C"
 
30562
{
 
30563
#endif
 
30564
/* We use char because int might match the return type of a gcc2
 
30565
   builtin and then its argument prototype would still apply.  */
 
30566
char connect ();
 
30567
/* The GNU C library defines this for functions which it implements
 
30568
    to always fail with ENOSYS.  Some functions are actually named
 
30569
    something starting with __ and the normal name is an alias.  */
 
30570
#if defined (__stub_connect) || defined (__stub___connect)
 
30571
choke me
 
30572
#else
 
30573
char (*f) () = connect;
 
30574
#endif
 
30575
#ifdef __cplusplus
 
30576
}
 
30577
#endif
 
30578
 
 
30579
int
 
30580
main ()
 
30581
{
 
30582
return f != connect;
 
30583
  ;
 
30584
  return 0;
 
30585
}
 
30586
_ACEOF
 
30587
rm -f conftest.$ac_objext conftest$ac_exeext
 
30588
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30589
  (eval $ac_link) 2>conftest.er1
 
30590
  ac_status=$?
 
30591
  grep -v '^ *+' conftest.er1 >conftest.err
 
30592
  rm -f conftest.er1
 
30593
  cat conftest.err >&5
 
30594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30595
  (exit $ac_status); } &&
 
30596
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30597
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30598
  (eval $ac_try) 2>&5
 
30599
  ac_status=$?
 
30600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30601
  (exit $ac_status); }; } &&
 
30602
         { ac_try='test -s conftest$ac_exeext'
 
30603
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30604
  (eval $ac_try) 2>&5
 
30605
  ac_status=$?
 
30606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30607
  (exit $ac_status); }; }; then
 
30608
  ac_cv_func_connect=yes
 
30609
else
 
30610
  echo "$as_me: failed program was:" >&5
 
30611
sed 's/^/| /' conftest.$ac_ext >&5
 
30612
 
 
30613
ac_cv_func_connect=no
 
30614
fi
 
30615
rm -f conftest.err conftest.$ac_objext \
 
30616
      conftest$ac_exeext conftest.$ac_ext
 
30617
fi
 
30618
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
30619
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
30620
 
 
30621
    if test $ac_cv_func_connect = no; then
 
30622
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
30623
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
30624
if test "${ac_cv_lib_socket_connect+set}" = set; then
 
30625
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30626
else
 
30627
  ac_check_lib_save_LIBS=$LIBS
 
30628
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
30629
cat >conftest.$ac_ext <<_ACEOF
 
30630
/* confdefs.h.  */
 
30631
_ACEOF
 
30632
cat confdefs.h >>conftest.$ac_ext
 
30633
cat >>conftest.$ac_ext <<_ACEOF
 
30634
/* end confdefs.h.  */
 
30635
 
 
30636
/* Override any gcc2 internal prototype to avoid an error.  */
 
30637
#ifdef __cplusplus
 
30638
extern "C"
 
30639
#endif
 
30640
/* We use char because int might match the return type of a gcc2
 
30641
   builtin and then its argument prototype would still apply.  */
 
30642
char connect ();
 
30643
int
 
30644
main ()
 
30645
{
 
30646
connect ();
 
30647
  ;
 
30648
  return 0;
 
30649
}
 
30650
_ACEOF
 
30651
rm -f conftest.$ac_objext conftest$ac_exeext
 
30652
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30653
  (eval $ac_link) 2>conftest.er1
 
30654
  ac_status=$?
 
30655
  grep -v '^ *+' conftest.er1 >conftest.err
 
30656
  rm -f conftest.er1
 
30657
  cat conftest.err >&5
 
30658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30659
  (exit $ac_status); } &&
 
30660
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30661
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30662
  (eval $ac_try) 2>&5
 
30663
  ac_status=$?
 
30664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30665
  (exit $ac_status); }; } &&
 
30666
         { ac_try='test -s conftest$ac_exeext'
 
30667
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30668
  (eval $ac_try) 2>&5
 
30669
  ac_status=$?
 
30670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30671
  (exit $ac_status); }; }; then
 
30672
  ac_cv_lib_socket_connect=yes
 
30673
else
 
30674
  echo "$as_me: failed program was:" >&5
 
30675
sed 's/^/| /' conftest.$ac_ext >&5
 
30676
 
 
30677
ac_cv_lib_socket_connect=no
 
30678
fi
 
30679
rm -f conftest.err conftest.$ac_objext \
 
30680
      conftest$ac_exeext conftest.$ac_ext
 
30681
LIBS=$ac_check_lib_save_LIBS
 
30682
fi
 
30683
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
30684
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 
30685
if test $ac_cv_lib_socket_connect = yes; then
 
30686
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
30687
fi
 
30688
 
 
30689
    fi
 
30690
 
 
30691
    # Guillermo Gomez says -lposix is necessary on A/UX.
 
30692
    echo "$as_me:$LINENO: checking for remove" >&5
 
30693
echo $ECHO_N "checking for remove... $ECHO_C" >&6
 
30694
if test "${ac_cv_func_remove+set}" = set; then
 
30695
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30696
else
 
30697
  cat >conftest.$ac_ext <<_ACEOF
 
30698
/* confdefs.h.  */
 
30699
_ACEOF
 
30700
cat confdefs.h >>conftest.$ac_ext
 
30701
cat >>conftest.$ac_ext <<_ACEOF
 
30702
/* end confdefs.h.  */
 
30703
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
 
30704
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
30705
#define remove innocuous_remove
 
30706
 
 
30707
/* System header to define __stub macros and hopefully few prototypes,
 
30708
    which can conflict with char remove (); below.
 
30709
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
30710
    <limits.h> exists even on freestanding compilers.  */
 
30711
 
 
30712
#ifdef __STDC__
 
30713
# include <limits.h>
 
30714
#else
 
30715
# include <assert.h>
 
30716
#endif
 
30717
 
 
30718
#undef remove
 
30719
 
 
30720
/* Override any gcc2 internal prototype to avoid an error.  */
 
30721
#ifdef __cplusplus
 
30722
extern "C"
 
30723
{
 
30724
#endif
 
30725
/* We use char because int might match the return type of a gcc2
 
30726
   builtin and then its argument prototype would still apply.  */
 
30727
char remove ();
 
30728
/* The GNU C library defines this for functions which it implements
 
30729
    to always fail with ENOSYS.  Some functions are actually named
 
30730
    something starting with __ and the normal name is an alias.  */
 
30731
#if defined (__stub_remove) || defined (__stub___remove)
 
30732
choke me
 
30733
#else
 
30734
char (*f) () = remove;
 
30735
#endif
 
30736
#ifdef __cplusplus
 
30737
}
 
30738
#endif
 
30739
 
 
30740
int
 
30741
main ()
 
30742
{
 
30743
return f != remove;
 
30744
  ;
 
30745
  return 0;
 
30746
}
 
30747
_ACEOF
 
30748
rm -f conftest.$ac_objext conftest$ac_exeext
 
30749
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30750
  (eval $ac_link) 2>conftest.er1
 
30751
  ac_status=$?
 
30752
  grep -v '^ *+' conftest.er1 >conftest.err
 
30753
  rm -f conftest.er1
 
30754
  cat conftest.err >&5
 
30755
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30756
  (exit $ac_status); } &&
 
30757
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30758
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30759
  (eval $ac_try) 2>&5
 
30760
  ac_status=$?
 
30761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30762
  (exit $ac_status); }; } &&
 
30763
         { ac_try='test -s conftest$ac_exeext'
 
30764
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30765
  (eval $ac_try) 2>&5
 
30766
  ac_status=$?
 
30767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30768
  (exit $ac_status); }; }; then
 
30769
  ac_cv_func_remove=yes
 
30770
else
 
30771
  echo "$as_me: failed program was:" >&5
 
30772
sed 's/^/| /' conftest.$ac_ext >&5
 
30773
 
 
30774
ac_cv_func_remove=no
 
30775
fi
 
30776
rm -f conftest.err conftest.$ac_objext \
 
30777
      conftest$ac_exeext conftest.$ac_ext
 
30778
fi
 
30779
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
30780
echo "${ECHO_T}$ac_cv_func_remove" >&6
 
30781
 
 
30782
    if test $ac_cv_func_remove = no; then
 
30783
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
30784
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 
30785
if test "${ac_cv_lib_posix_remove+set}" = set; then
 
30786
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30787
else
 
30788
  ac_check_lib_save_LIBS=$LIBS
 
30789
LIBS="-lposix  $LIBS"
 
30790
cat >conftest.$ac_ext <<_ACEOF
 
30791
/* confdefs.h.  */
 
30792
_ACEOF
 
30793
cat confdefs.h >>conftest.$ac_ext
 
30794
cat >>conftest.$ac_ext <<_ACEOF
 
30795
/* end confdefs.h.  */
 
30796
 
 
30797
/* Override any gcc2 internal prototype to avoid an error.  */
 
30798
#ifdef __cplusplus
 
30799
extern "C"
 
30800
#endif
 
30801
/* We use char because int might match the return type of a gcc2
 
30802
   builtin and then its argument prototype would still apply.  */
 
30803
char remove ();
 
30804
int
 
30805
main ()
 
30806
{
 
30807
remove ();
 
30808
  ;
 
30809
  return 0;
 
30810
}
 
30811
_ACEOF
 
30812
rm -f conftest.$ac_objext conftest$ac_exeext
 
30813
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30814
  (eval $ac_link) 2>conftest.er1
 
30815
  ac_status=$?
 
30816
  grep -v '^ *+' conftest.er1 >conftest.err
 
30817
  rm -f conftest.er1
 
30818
  cat conftest.err >&5
 
30819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30820
  (exit $ac_status); } &&
 
30821
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30822
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30823
  (eval $ac_try) 2>&5
 
30824
  ac_status=$?
 
30825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30826
  (exit $ac_status); }; } &&
 
30827
         { ac_try='test -s conftest$ac_exeext'
 
30828
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30829
  (eval $ac_try) 2>&5
 
30830
  ac_status=$?
 
30831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30832
  (exit $ac_status); }; }; then
 
30833
  ac_cv_lib_posix_remove=yes
 
30834
else
 
30835
  echo "$as_me: failed program was:" >&5
 
30836
sed 's/^/| /' conftest.$ac_ext >&5
 
30837
 
 
30838
ac_cv_lib_posix_remove=no
 
30839
fi
 
30840
rm -f conftest.err conftest.$ac_objext \
 
30841
      conftest$ac_exeext conftest.$ac_ext
 
30842
LIBS=$ac_check_lib_save_LIBS
 
30843
fi
 
30844
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
30845
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
 
30846
if test $ac_cv_lib_posix_remove = yes; then
 
30847
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
30848
fi
 
30849
 
 
30850
    fi
 
30851
 
 
30852
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
30853
    echo "$as_me:$LINENO: checking for shmat" >&5
 
30854
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 
30855
if test "${ac_cv_func_shmat+set}" = set; then
 
30856
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30857
else
 
30858
  cat >conftest.$ac_ext <<_ACEOF
 
30859
/* confdefs.h.  */
 
30860
_ACEOF
 
30861
cat confdefs.h >>conftest.$ac_ext
 
30862
cat >>conftest.$ac_ext <<_ACEOF
 
30863
/* end confdefs.h.  */
 
30864
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
 
30865
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
30866
#define shmat innocuous_shmat
 
30867
 
 
30868
/* System header to define __stub macros and hopefully few prototypes,
 
30869
    which can conflict with char shmat (); below.
 
30870
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
30871
    <limits.h> exists even on freestanding compilers.  */
 
30872
 
 
30873
#ifdef __STDC__
 
30874
# include <limits.h>
 
30875
#else
 
30876
# include <assert.h>
 
30877
#endif
 
30878
 
 
30879
#undef shmat
 
30880
 
 
30881
/* Override any gcc2 internal prototype to avoid an error.  */
 
30882
#ifdef __cplusplus
 
30883
extern "C"
 
30884
{
 
30885
#endif
 
30886
/* We use char because int might match the return type of a gcc2
 
30887
   builtin and then its argument prototype would still apply.  */
 
30888
char shmat ();
 
30889
/* The GNU C library defines this for functions which it implements
 
30890
    to always fail with ENOSYS.  Some functions are actually named
 
30891
    something starting with __ and the normal name is an alias.  */
 
30892
#if defined (__stub_shmat) || defined (__stub___shmat)
 
30893
choke me
 
30894
#else
 
30895
char (*f) () = shmat;
 
30896
#endif
 
30897
#ifdef __cplusplus
 
30898
}
 
30899
#endif
 
30900
 
 
30901
int
 
30902
main ()
 
30903
{
 
30904
return f != shmat;
 
30905
  ;
 
30906
  return 0;
 
30907
}
 
30908
_ACEOF
 
30909
rm -f conftest.$ac_objext conftest$ac_exeext
 
30910
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30911
  (eval $ac_link) 2>conftest.er1
 
30912
  ac_status=$?
 
30913
  grep -v '^ *+' conftest.er1 >conftest.err
 
30914
  rm -f conftest.er1
 
30915
  cat conftest.err >&5
 
30916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30917
  (exit $ac_status); } &&
 
30918
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30919
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30920
  (eval $ac_try) 2>&5
 
30921
  ac_status=$?
 
30922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30923
  (exit $ac_status); }; } &&
 
30924
         { ac_try='test -s conftest$ac_exeext'
 
30925
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30926
  (eval $ac_try) 2>&5
 
30927
  ac_status=$?
 
30928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30929
  (exit $ac_status); }; }; then
 
30930
  ac_cv_func_shmat=yes
 
30931
else
 
30932
  echo "$as_me: failed program was:" >&5
 
30933
sed 's/^/| /' conftest.$ac_ext >&5
 
30934
 
 
30935
ac_cv_func_shmat=no
 
30936
fi
 
30937
rm -f conftest.err conftest.$ac_objext \
 
30938
      conftest$ac_exeext conftest.$ac_ext
 
30939
fi
 
30940
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
30941
echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
30942
 
 
30943
    if test $ac_cv_func_shmat = no; then
 
30944
      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
30945
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 
30946
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
 
30947
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30948
else
 
30949
  ac_check_lib_save_LIBS=$LIBS
 
30950
LIBS="-lipc  $LIBS"
 
30951
cat >conftest.$ac_ext <<_ACEOF
 
30952
/* confdefs.h.  */
 
30953
_ACEOF
 
30954
cat confdefs.h >>conftest.$ac_ext
 
30955
cat >>conftest.$ac_ext <<_ACEOF
 
30956
/* end confdefs.h.  */
 
30957
 
 
30958
/* Override any gcc2 internal prototype to avoid an error.  */
 
30959
#ifdef __cplusplus
 
30960
extern "C"
 
30961
#endif
 
30962
/* We use char because int might match the return type of a gcc2
 
30963
   builtin and then its argument prototype would still apply.  */
 
30964
char shmat ();
 
30965
int
 
30966
main ()
 
30967
{
 
30968
shmat ();
 
30969
  ;
 
30970
  return 0;
 
30971
}
 
30972
_ACEOF
 
30973
rm -f conftest.$ac_objext conftest$ac_exeext
 
30974
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
30975
  (eval $ac_link) 2>conftest.er1
 
30976
  ac_status=$?
 
30977
  grep -v '^ *+' conftest.er1 >conftest.err
 
30978
  rm -f conftest.er1
 
30979
  cat conftest.err >&5
 
30980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30981
  (exit $ac_status); } &&
 
30982
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
30983
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30984
  (eval $ac_try) 2>&5
 
30985
  ac_status=$?
 
30986
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30987
  (exit $ac_status); }; } &&
 
30988
         { ac_try='test -s conftest$ac_exeext'
 
30989
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30990
  (eval $ac_try) 2>&5
 
30991
  ac_status=$?
 
30992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30993
  (exit $ac_status); }; }; then
 
30994
  ac_cv_lib_ipc_shmat=yes
 
30995
else
 
30996
  echo "$as_me: failed program was:" >&5
 
30997
sed 's/^/| /' conftest.$ac_ext >&5
 
30998
 
 
30999
ac_cv_lib_ipc_shmat=no
 
31000
fi
 
31001
rm -f conftest.err conftest.$ac_objext \
 
31002
      conftest$ac_exeext conftest.$ac_ext
 
31003
LIBS=$ac_check_lib_save_LIBS
 
31004
fi
 
31005
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
31006
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
 
31007
if test $ac_cv_lib_ipc_shmat = yes; then
 
31008
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
31009
fi
 
31010
 
 
31011
    fi
 
31012
  fi
 
31013
 
 
31014
  # Check for libraries that X11R6 Xt/Xaw programs need.
 
31015
  ac_save_LDFLAGS=$LDFLAGS
 
31016
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
31017
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
31018
  # check for ICE first), but we must link in the order -lSM -lICE or
 
31019
  # we get undefined symbols.  So assume we have SM if we have ICE.
 
31020
  # These have to be linked with before -lX11, unlike the other
 
31021
  # libraries we check for below, so use a different variable.
 
31022
  # John Interrante, Karl Berry
 
31023
  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
31024
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 
31025
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
 
31026
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31027
else
 
31028
  ac_check_lib_save_LIBS=$LIBS
 
31029
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
31030
cat >conftest.$ac_ext <<_ACEOF
 
31031
/* confdefs.h.  */
 
31032
_ACEOF
 
31033
cat confdefs.h >>conftest.$ac_ext
 
31034
cat >>conftest.$ac_ext <<_ACEOF
 
31035
/* end confdefs.h.  */
 
31036
 
 
31037
/* Override any gcc2 internal prototype to avoid an error.  */
 
31038
#ifdef __cplusplus
 
31039
extern "C"
 
31040
#endif
 
31041
/* We use char because int might match the return type of a gcc2
 
31042
   builtin and then its argument prototype would still apply.  */
 
31043
char IceConnectionNumber ();
 
31044
int
 
31045
main ()
 
31046
{
 
31047
IceConnectionNumber ();
 
31048
  ;
 
31049
  return 0;
 
31050
}
 
31051
_ACEOF
 
31052
rm -f conftest.$ac_objext conftest$ac_exeext
 
31053
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31054
  (eval $ac_link) 2>conftest.er1
 
31055
  ac_status=$?
 
31056
  grep -v '^ *+' conftest.er1 >conftest.err
 
31057
  rm -f conftest.er1
 
31058
  cat conftest.err >&5
 
31059
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31060
  (exit $ac_status); } &&
 
31061
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31062
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31063
  (eval $ac_try) 2>&5
 
31064
  ac_status=$?
 
31065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31066
  (exit $ac_status); }; } &&
 
31067
         { ac_try='test -s conftest$ac_exeext'
 
31068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31069
  (eval $ac_try) 2>&5
 
31070
  ac_status=$?
 
31071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31072
  (exit $ac_status); }; }; then
 
31073
  ac_cv_lib_ICE_IceConnectionNumber=yes
 
31074
else
 
31075
  echo "$as_me: failed program was:" >&5
 
31076
sed 's/^/| /' conftest.$ac_ext >&5
 
31077
 
 
31078
ac_cv_lib_ICE_IceConnectionNumber=no
 
31079
fi
 
31080
rm -f conftest.err conftest.$ac_objext \
 
31081
      conftest$ac_exeext conftest.$ac_ext
 
31082
LIBS=$ac_check_lib_save_LIBS
 
31083
fi
 
31084
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
31085
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
 
31086
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
31087
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
31088
fi
 
31089
 
 
31090
  LDFLAGS=$ac_save_LDFLAGS
 
31091
 
 
31092
fi
 
31093
 
 
31094
 
 
31095
        if test "$no_x" = "yes"; then
 
31096
          { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
 
31097
echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
 
31098
   { (exit 1); exit 1; }; }
 
31099
        fi
 
31100
 
 
31101
                                GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
 
31102
        TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
 
31103
        AFMINSTALL=afminstall
 
31104
        COMPILED_X_PROGRAM=0
 
31105
 
 
31106
    fi
 
31107
 
 
31108
    if test "$wxUSE_X11" = 1; then
 
31109
        if test "$wxUSE_NANOX" = "yes"; then
 
31110
            echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
 
31111
echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
 
31112
            if test "x$MICROWIN" = x ; then
 
31113
                echo "$as_me:$LINENO: result: not found" >&5
 
31114
echo "${ECHO_T}not found" >&6
 
31115
                { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
 
31116
echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
 
31117
   { (exit 1); exit 1; }; }
 
31118
            else
 
31119
                echo "$as_me:$LINENO: result: $MICROWIN" >&5
 
31120
echo "${ECHO_T}$MICROWIN" >&6
 
31121
                cat >>confdefs.h <<\_ACEOF
 
31122
#define wxUSE_NANOX 1
 
31123
_ACEOF
 
31124
 
 
31125
            fi
 
31126
        fi
 
31127
 
 
31128
        if test "$wxUSE_UNICODE" = "yes"; then
 
31129
 
 
31130
 
 
31131
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
31132
        if test -n "$ac_tool_prefix"; then
 
31133
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
31134
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
31135
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
31136
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
31137
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
31138
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31139
else
 
31140
  case $PKG_CONFIG in
 
31141
  [\\/]* | ?:[\\/]*)
 
31142
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
31143
  ;;
 
31144
  *)
 
31145
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
31146
for as_dir in $PATH
 
31147
do
 
31148
  IFS=$as_save_IFS
 
31149
  test -z "$as_dir" && as_dir=.
 
31150
  for ac_exec_ext in '' $ac_executable_extensions; do
 
31151
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
31152
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
31153
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
31154
    break 2
 
31155
  fi
 
31156
done
 
31157
done
 
31158
 
 
31159
  ;;
 
31160
esac
 
31161
fi
 
31162
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
31163
 
 
31164
if test -n "$PKG_CONFIG"; then
 
31165
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
31166
echo "${ECHO_T}$PKG_CONFIG" >&6
 
31167
else
 
31168
  echo "$as_me:$LINENO: result: no" >&5
 
31169
echo "${ECHO_T}no" >&6
 
31170
fi
 
31171
 
 
31172
fi
 
31173
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
31174
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
31175
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
31176
set dummy pkg-config; ac_word=$2
 
31177
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
31178
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
31179
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
31180
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31181
else
 
31182
  case $ac_pt_PKG_CONFIG in
 
31183
  [\\/]* | ?:[\\/]*)
 
31184
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
31185
  ;;
 
31186
  *)
 
31187
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
31188
for as_dir in $PATH
 
31189
do
 
31190
  IFS=$as_save_IFS
 
31191
  test -z "$as_dir" && as_dir=.
 
31192
  for ac_exec_ext in '' $ac_executable_extensions; do
 
31193
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
31194
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
31195
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
31196
    break 2
 
31197
  fi
 
31198
done
 
31199
done
 
31200
 
 
31201
  ;;
 
31202
esac
 
31203
fi
 
31204
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
31205
 
 
31206
if test -n "$ac_pt_PKG_CONFIG"; then
 
31207
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
31208
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
31209
else
 
31210
  echo "$as_me:$LINENO: result: no" >&5
 
31211
echo "${ECHO_T}no" >&6
 
31212
fi
 
31213
 
 
31214
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
31215
else
 
31216
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
31217
fi
 
31218
 
 
31219
fi
 
31220
if test -n "$PKG_CONFIG"; then
 
31221
        _pkg_min_version=0.9.0
 
31222
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
31223
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
31224
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
31225
                echo "$as_me:$LINENO: result: yes" >&5
 
31226
echo "${ECHO_T}yes" >&6
 
31227
        else
 
31228
                echo "$as_me:$LINENO: result: no" >&5
 
31229
echo "${ECHO_T}no" >&6
 
31230
                PKG_CONFIG=""
 
31231
        fi
 
31232
 
 
31233
fi
 
31234
 
 
31235
 
 
31236
pkg_failed=no
 
31237
echo "$as_me:$LINENO: checking for PANGOX" >&5
 
31238
echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
 
31239
 
 
31240
if test -n "$PKG_CONFIG"; then
 
31241
    if test -n "$PANGOX_CFLAGS"; then
 
31242
        pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
 
31243
    else
 
31244
        if test -n "$PKG_CONFIG" && \
 
31245
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
 
31246
  ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
 
31247
  ac_status=$?
 
31248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31249
  (exit $ac_status); }; then
 
31250
  pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
 
31251
else
 
31252
  pkg_failed=yes
 
31253
fi
 
31254
    fi
 
31255
else
 
31256
        pkg_failed=untried
 
31257
fi
 
31258
if test -n "$PKG_CONFIG"; then
 
31259
    if test -n "$PANGOX_LIBS"; then
 
31260
        pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
 
31261
    else
 
31262
        if test -n "$PKG_CONFIG" && \
 
31263
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
 
31264
  ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
 
31265
  ac_status=$?
 
31266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31267
  (exit $ac_status); }; then
 
31268
  pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
 
31269
else
 
31270
  pkg_failed=yes
 
31271
fi
 
31272
    fi
 
31273
else
 
31274
        pkg_failed=untried
 
31275
fi
 
31276
 
 
31277
 
 
31278
 
 
31279
if test $pkg_failed = yes; then
 
31280
 
 
31281
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
31282
        _pkg_short_errors_supported=yes
 
31283
else
 
31284
        _pkg_short_errors_supported=no
 
31285
fi
 
31286
        if test $_pkg_short_errors_supported = yes; then
 
31287
                PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
 
31288
        else
 
31289
                PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
 
31290
        fi
 
31291
        # Put the nasty error message in config.log where it belongs
 
31292
        echo "$PANGOX_PKG_ERRORS" >&5
 
31293
 
 
31294
 
 
31295
                    { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
 
31296
echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
 
31297
   { (exit 1); exit 1; }; }
 
31298
 
 
31299
 
 
31300
elif test $pkg_failed = untried; then
 
31301
 
 
31302
                    { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
 
31303
echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
 
31304
   { (exit 1); exit 1; }; }
 
31305
 
 
31306
 
 
31307
else
 
31308
        PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
 
31309
        PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
 
31310
        echo "$as_me:$LINENO: result: yes" >&5
 
31311
echo "${ECHO_T}yes" >&6
 
31312
 
 
31313
                    CFLAGS="$PANGOX_CFLAGS $CFLAGS"
 
31314
                    CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
 
31315
                    GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
 
31316
 
 
31317
fi
 
31318
 
 
31319
pkg_failed=no
 
31320
echo "$as_me:$LINENO: checking for PANGOFT2" >&5
 
31321
echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
 
31322
 
 
31323
if test -n "$PKG_CONFIG"; then
 
31324
    if test -n "$PANGOFT2_CFLAGS"; then
 
31325
        pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
 
31326
    else
 
31327
        if test -n "$PKG_CONFIG" && \
 
31328
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
 
31329
  ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
 
31330
  ac_status=$?
 
31331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31332
  (exit $ac_status); }; then
 
31333
  pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
 
31334
else
 
31335
  pkg_failed=yes
 
31336
fi
 
31337
    fi
 
31338
else
 
31339
        pkg_failed=untried
 
31340
fi
 
31341
if test -n "$PKG_CONFIG"; then
 
31342
    if test -n "$PANGOFT2_LIBS"; then
 
31343
        pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
 
31344
    else
 
31345
        if test -n "$PKG_CONFIG" && \
 
31346
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
 
31347
  ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
 
31348
  ac_status=$?
 
31349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31350
  (exit $ac_status); }; then
 
31351
  pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
 
31352
else
 
31353
  pkg_failed=yes
 
31354
fi
 
31355
    fi
 
31356
else
 
31357
        pkg_failed=untried
 
31358
fi
 
31359
 
 
31360
 
 
31361
 
 
31362
if test $pkg_failed = yes; then
 
31363
 
 
31364
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
31365
        _pkg_short_errors_supported=yes
 
31366
else
 
31367
        _pkg_short_errors_supported=no
 
31368
fi
 
31369
        if test $_pkg_short_errors_supported = yes; then
 
31370
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
 
31371
        else
 
31372
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
 
31373
        fi
 
31374
        # Put the nasty error message in config.log where it belongs
 
31375
        echo "$PANGOFT2_PKG_ERRORS" >&5
 
31376
 
 
31377
 
 
31378
                    { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
 
31379
echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
 
31380
                    wxUSE_PRINTING_ARCHITECTURE="no"
 
31381
 
 
31382
 
 
31383
elif test $pkg_failed = untried; then
 
31384
 
 
31385
                    { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
 
31386
echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
 
31387
                    wxUSE_PRINTING_ARCHITECTURE="no"
 
31388
 
 
31389
 
 
31390
else
 
31391
        PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
 
31392
        PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
 
31393
        echo "$as_me:$LINENO: result: yes" >&5
 
31394
echo "${ECHO_T}yes" >&6
 
31395
 
 
31396
                    CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
 
31397
                    CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
 
31398
                    GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
 
31399
 
 
31400
fi
 
31401
 
 
31402
pkg_failed=no
 
31403
echo "$as_me:$LINENO: checking for PANGOXFT" >&5
 
31404
echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
 
31405
 
 
31406
if test -n "$PKG_CONFIG"; then
 
31407
    if test -n "$PANGOXFT_CFLAGS"; then
 
31408
        pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
 
31409
    else
 
31410
        if test -n "$PKG_CONFIG" && \
 
31411
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
 
31412
  ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
 
31413
  ac_status=$?
 
31414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31415
  (exit $ac_status); }; then
 
31416
  pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
 
31417
else
 
31418
  pkg_failed=yes
 
31419
fi
 
31420
    fi
 
31421
else
 
31422
        pkg_failed=untried
 
31423
fi
 
31424
if test -n "$PKG_CONFIG"; then
 
31425
    if test -n "$PANGOXFT_LIBS"; then
 
31426
        pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
 
31427
    else
 
31428
        if test -n "$PKG_CONFIG" && \
 
31429
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
 
31430
  ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
 
31431
  ac_status=$?
 
31432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31433
  (exit $ac_status); }; then
 
31434
  pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
 
31435
else
 
31436
  pkg_failed=yes
 
31437
fi
 
31438
    fi
 
31439
else
 
31440
        pkg_failed=untried
 
31441
fi
 
31442
 
 
31443
 
 
31444
 
 
31445
if test $pkg_failed = yes; then
 
31446
 
 
31447
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
31448
        _pkg_short_errors_supported=yes
 
31449
else
 
31450
        _pkg_short_errors_supported=no
 
31451
fi
 
31452
        if test $_pkg_short_errors_supported = yes; then
 
31453
                PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
 
31454
        else
 
31455
                PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
 
31456
        fi
 
31457
        # Put the nasty error message in config.log where it belongs
 
31458
        echo "$PANGOXFT_PKG_ERRORS" >&5
 
31459
 
 
31460
 
 
31461
                    { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
 
31462
echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
 
31463
 
 
31464
 
 
31465
elif test $pkg_failed = untried; then
 
31466
 
 
31467
                    { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
 
31468
echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
 
31469
 
 
31470
 
 
31471
else
 
31472
        PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
 
31473
        PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
 
31474
        echo "$as_me:$LINENO: result: yes" >&5
 
31475
echo "${ECHO_T}yes" >&6
 
31476
 
 
31477
                    cat >>confdefs.h <<\_ACEOF
 
31478
#define HAVE_PANGO_XFT 1
 
31479
_ACEOF
 
31480
 
 
31481
                    CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
 
31482
                    CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
 
31483
                    GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
 
31484
 
 
31485
fi
 
31486
            save_LIBS="$LIBS"
 
31487
            LIBS="$LIBS $PANGOX_LIBS"
 
31488
 
 
31489
for ac_func in pango_font_family_is_monospace
 
31490
do
 
31491
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
31492
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
31493
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
31494
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
31495
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31496
else
 
31497
  cat >conftest.$ac_ext <<_ACEOF
 
31498
/* confdefs.h.  */
 
31499
_ACEOF
 
31500
cat confdefs.h >>conftest.$ac_ext
 
31501
cat >>conftest.$ac_ext <<_ACEOF
 
31502
/* end confdefs.h.  */
 
31503
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
31504
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
31505
#define $ac_func innocuous_$ac_func
 
31506
 
 
31507
/* System header to define __stub macros and hopefully few prototypes,
 
31508
    which can conflict with char $ac_func (); below.
 
31509
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
31510
    <limits.h> exists even on freestanding compilers.  */
 
31511
 
 
31512
#ifdef __STDC__
 
31513
# include <limits.h>
 
31514
#else
 
31515
# include <assert.h>
 
31516
#endif
 
31517
 
 
31518
#undef $ac_func
 
31519
 
 
31520
/* Override any gcc2 internal prototype to avoid an error.  */
 
31521
#ifdef __cplusplus
 
31522
extern "C"
 
31523
{
 
31524
#endif
 
31525
/* We use char because int might match the return type of a gcc2
 
31526
   builtin and then its argument prototype would still apply.  */
 
31527
char $ac_func ();
 
31528
/* The GNU C library defines this for functions which it implements
 
31529
    to always fail with ENOSYS.  Some functions are actually named
 
31530
    something starting with __ and the normal name is an alias.  */
 
31531
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
31532
choke me
 
31533
#else
 
31534
char (*f) () = $ac_func;
 
31535
#endif
 
31536
#ifdef __cplusplus
 
31537
}
 
31538
#endif
 
31539
 
 
31540
int
 
31541
main ()
 
31542
{
 
31543
return f != $ac_func;
 
31544
  ;
 
31545
  return 0;
 
31546
}
 
31547
_ACEOF
 
31548
rm -f conftest.$ac_objext conftest$ac_exeext
 
31549
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31550
  (eval $ac_link) 2>conftest.er1
 
31551
  ac_status=$?
 
31552
  grep -v '^ *+' conftest.er1 >conftest.err
 
31553
  rm -f conftest.er1
 
31554
  cat conftest.err >&5
 
31555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31556
  (exit $ac_status); } &&
 
31557
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31558
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31559
  (eval $ac_try) 2>&5
 
31560
  ac_status=$?
 
31561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31562
  (exit $ac_status); }; } &&
 
31563
         { ac_try='test -s conftest$ac_exeext'
 
31564
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31565
  (eval $ac_try) 2>&5
 
31566
  ac_status=$?
 
31567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31568
  (exit $ac_status); }; }; then
 
31569
  eval "$as_ac_var=yes"
 
31570
else
 
31571
  echo "$as_me: failed program was:" >&5
 
31572
sed 's/^/| /' conftest.$ac_ext >&5
 
31573
 
 
31574
eval "$as_ac_var=no"
 
31575
fi
 
31576
rm -f conftest.err conftest.$ac_objext \
 
31577
      conftest$ac_exeext conftest.$ac_ext
 
31578
fi
 
31579
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
31580
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
31581
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
31582
  cat >>confdefs.h <<_ACEOF
 
31583
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
31584
_ACEOF
 
31585
 
 
31586
fi
 
31587
done
 
31588
 
 
31589
            LIBS="$save_LIBS"
 
31590
        fi
 
31591
 
 
31592
        wxUSE_UNIVERSAL="yes"
 
31593
 
 
31594
        if test "$wxUSE_NANOX" = "yes"; then
 
31595
            TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
 
31596
            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"
 
31597
            GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
 
31598
        else
 
31599
            GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
 
31600
        fi
 
31601
 
 
31602
        TOOLKIT=X11
 
31603
        GUIDIST=X11_DIST
 
31604
    fi
 
31605
 
 
31606
    if test "$wxUSE_MOTIF" = 1; then
 
31607
        if test "$wxUSE_UNICODE" = "yes"; then
 
31608
            { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
 
31609
echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
 
31610
   { (exit 1); exit 1; }; }
 
31611
        fi
 
31612
 
 
31613
        echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
 
31614
echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
 
31615
 
 
31616
ac_find_includes=
 
31617
for ac_dir in $SEARCH_INCLUDE /usr/include;
 
31618
  do
 
31619
    if test -f "$ac_dir/Xm/Xm.h"; then
 
31620
      ac_find_includes=$ac_dir
 
31621
      break
 
31622
    fi
 
31623
  done
 
31624
 
 
31625
        if test "$ac_find_includes" != "" ; then
 
31626
            echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
 
31627
echo "${ECHO_T}found in $ac_find_includes" >&6
 
31628
 
 
31629
    if test "x$ac_find_includes" = "x/usr/include"; then
 
31630
    ac_path_to_include=""
 
31631
  else
 
31632
    echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
 
31633
    result=$?
 
31634
    if test $result = 0; then
 
31635
      ac_path_to_include=""
 
31636
    else
 
31637
      ac_path_to_include=" -I$ac_find_includes"
 
31638
    fi
 
31639
  fi
 
31640
 
 
31641
            TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
 
31642
        else
 
31643
            save_CFLAGS=$CFLAGS
 
31644
            CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
 
31645
 
 
31646
            cat >conftest.$ac_ext <<_ACEOF
 
31647
/* confdefs.h.  */
 
31648
_ACEOF
 
31649
cat confdefs.h >>conftest.$ac_ext
 
31650
cat >>conftest.$ac_ext <<_ACEOF
 
31651
/* end confdefs.h.  */
 
31652
 
 
31653
                    #include <Xm/Xm.h>
 
31654
 
 
31655
int
 
31656
main ()
 
31657
{
 
31658
 
 
31659
                    int version;
 
31660
                    version = xmUseVersion;
 
31661
 
 
31662
  ;
 
31663
  return 0;
 
31664
}
 
31665
_ACEOF
 
31666
rm -f conftest.$ac_objext
 
31667
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
31668
  (eval $ac_compile) 2>conftest.er1
 
31669
  ac_status=$?
 
31670
  grep -v '^ *+' conftest.er1 >conftest.err
 
31671
  rm -f conftest.er1
 
31672
  cat conftest.err >&5
 
31673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31674
  (exit $ac_status); } &&
 
31675
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31676
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31677
  (eval $ac_try) 2>&5
 
31678
  ac_status=$?
 
31679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31680
  (exit $ac_status); }; } &&
 
31681
         { ac_try='test -s conftest.$ac_objext'
 
31682
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31683
  (eval $ac_try) 2>&5
 
31684
  ac_status=$?
 
31685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31686
  (exit $ac_status); }; }; then
 
31687
 
 
31688
                    echo "$as_me:$LINENO: result: found in default search path" >&5
 
31689
echo "${ECHO_T}found in default search path" >&6
 
31690
                    COMPILED_X_PROGRAM=1
 
31691
 
 
31692
else
 
31693
  echo "$as_me: failed program was:" >&5
 
31694
sed 's/^/| /' conftest.$ac_ext >&5
 
31695
 
 
31696
 
 
31697
                    echo "$as_me:$LINENO: result: no" >&5
 
31698
echo "${ECHO_T}no" >&6
 
31699
                    { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
 
31700
echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
 
31701
   { (exit 1); exit 1; }; }
 
31702
 
 
31703
 
 
31704
fi
 
31705
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
31706
 
 
31707
            CFLAGS=$save_CFLAGS
 
31708
        fi
 
31709
 
 
31710
 
 
31711
        echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
 
31712
echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
 
31713
 
 
31714
  ac_find_libraries=
 
31715
  for ac_dir in $SEARCH_LIB;
 
31716
  do
 
31717
    for ac_extension in a so sl dylib dll.a; do
 
31718
      if test -f "$ac_dir/libXm.$ac_extension"; then
 
31719
        ac_find_libraries=$ac_dir
 
31720
        break 2
 
31721
      fi
 
31722
    done
 
31723
  done
 
31724
 
 
31725
 
 
31726
        if test "x$ac_find_libraries" != "x" ; then
 
31727
            echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
 
31728
echo "${ECHO_T}found in $ac_find_libraries" >&6
 
31729
 
 
31730
 
 
31731
    if test "$ac_find_libraries" = "default location"; then
 
31732
    ac_path_to_link=""
 
31733
  else
 
31734
    echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
 
31735
    result=$?
 
31736
    if test $result = 0; then
 
31737
      ac_path_to_link=""
 
31738
    else
 
31739
      ac_path_to_link=" -L$ac_find_libraries"
 
31740
    fi
 
31741
  fi
 
31742
 
 
31743
            GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
 
31744
        else
 
31745
                                                save_CFLAGS=$CFLAGS
 
31746
            CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
 
31747
            save_LIBS="$LIBS"
 
31748
            LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
 
31749
 
 
31750
            cat >conftest.$ac_ext <<_ACEOF
 
31751
/* confdefs.h.  */
 
31752
_ACEOF
 
31753
cat confdefs.h >>conftest.$ac_ext
 
31754
cat >>conftest.$ac_ext <<_ACEOF
 
31755
/* end confdefs.h.  */
 
31756
 
 
31757
                    #include <Xm/Xm.h>
 
31758
 
 
31759
int
 
31760
main ()
 
31761
{
 
31762
 
 
31763
                    int version;
 
31764
                    version = xmUseVersion;
 
31765
 
 
31766
  ;
 
31767
  return 0;
 
31768
}
 
31769
_ACEOF
 
31770
rm -f conftest.$ac_objext conftest$ac_exeext
 
31771
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31772
  (eval $ac_link) 2>conftest.er1
 
31773
  ac_status=$?
 
31774
  grep -v '^ *+' conftest.er1 >conftest.err
 
31775
  rm -f conftest.er1
 
31776
  cat conftest.err >&5
 
31777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31778
  (exit $ac_status); } &&
 
31779
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31781
  (eval $ac_try) 2>&5
 
31782
  ac_status=$?
 
31783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31784
  (exit $ac_status); }; } &&
 
31785
         { ac_try='test -s conftest$ac_exeext'
 
31786
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31787
  (eval $ac_try) 2>&5
 
31788
  ac_status=$?
 
31789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31790
  (exit $ac_status); }; }; then
 
31791
 
 
31792
                    echo "$as_me:$LINENO: result: found in default search path" >&5
 
31793
echo "${ECHO_T}found in default search path" >&6
 
31794
                    COMPILED_X_PROGRAM=1
 
31795
 
 
31796
else
 
31797
  echo "$as_me: failed program was:" >&5
 
31798
sed 's/^/| /' conftest.$ac_ext >&5
 
31799
 
 
31800
 
 
31801
                    echo "$as_me:$LINENO: result: no" >&5
 
31802
echo "${ECHO_T}no" >&6
 
31803
                    { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
 
31804
echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
 
31805
   { (exit 1); exit 1; }; }
 
31806
 
 
31807
 
 
31808
fi
 
31809
rm -f conftest.err conftest.$ac_objext \
 
31810
      conftest$ac_exeext conftest.$ac_ext
 
31811
 
 
31812
            CFLAGS=$save_CFLAGS
 
31813
            LIBS="$save_LIBS"
 
31814
        fi
 
31815
 
 
31816
        echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
 
31817
echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
 
31818
        libp_link=""
 
31819
        libsm_ice_link=""
 
31820
        libs_found=0
 
31821
        for libp in "" " -lXp"; do
 
31822
            if test "$libs_found" = "0"; then
 
31823
                for libsm_ice in "" " -lSM -lICE"; do
 
31824
                    if test "$libs_found" = "0"; then
 
31825
                        save_LIBS="$LIBS"
 
31826
                        LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
 
31827
                        save_CFLAGS=$CFLAGS
 
31828
                        CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
 
31829
 
 
31830
                        cat >conftest.$ac_ext <<_ACEOF
 
31831
/* confdefs.h.  */
 
31832
_ACEOF
 
31833
cat confdefs.h >>conftest.$ac_ext
 
31834
cat >>conftest.$ac_ext <<_ACEOF
 
31835
/* end confdefs.h.  */
 
31836
 
 
31837
                                #include <Xm/Xm.h>
 
31838
                                #include <Xm/List.h>
 
31839
 
 
31840
int
 
31841
main ()
 
31842
{
 
31843
 
 
31844
                                XmString string = NULL;
 
31845
                                Widget w = NULL;
 
31846
                                int position = 0;
 
31847
                                XmListAddItem(w, string, position);
 
31848
 
 
31849
  ;
 
31850
  return 0;
 
31851
}
 
31852
_ACEOF
 
31853
rm -f conftest.$ac_objext conftest$ac_exeext
 
31854
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31855
  (eval $ac_link) 2>conftest.er1
 
31856
  ac_status=$?
 
31857
  grep -v '^ *+' conftest.er1 >conftest.err
 
31858
  rm -f conftest.er1
 
31859
  cat conftest.err >&5
 
31860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31861
  (exit $ac_status); } &&
 
31862
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31863
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31864
  (eval $ac_try) 2>&5
 
31865
  ac_status=$?
 
31866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31867
  (exit $ac_status); }; } &&
 
31868
         { ac_try='test -s conftest$ac_exeext'
 
31869
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31870
  (eval $ac_try) 2>&5
 
31871
  ac_status=$?
 
31872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31873
  (exit $ac_status); }; }; then
 
31874
 
 
31875
                                libp_link="$libp"
 
31876
                                libsm_ice_link="$libsm_ice"
 
31877
                                echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
 
31878
echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
 
31879
                                libs_found=1
 
31880
 
 
31881
else
 
31882
  echo "$as_me: failed program was:" >&5
 
31883
sed 's/^/| /' conftest.$ac_ext >&5
 
31884
 
 
31885
 
 
31886
 
 
31887
fi
 
31888
rm -f conftest.err conftest.$ac_objext \
 
31889
      conftest$ac_exeext conftest.$ac_ext
 
31890
 
 
31891
                        LIBS="$save_LIBS"
 
31892
                        CFLAGS=$save_CFLAGS
 
31893
                    fi
 
31894
                done
 
31895
            fi
 
31896
        done
 
31897
 
 
31898
        if test "$libs_found" = "0"; then
 
31899
            echo "$as_me:$LINENO: result: can't find the right libraries" >&5
 
31900
echo "${ECHO_T}can't find the right libraries" >&6
 
31901
            { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
 
31902
echo "$as_me: error: can't link a simple motif program" >&2;}
 
31903
   { (exit 1); exit 1; }; }
 
31904
        fi
 
31905
 
 
31906
                        echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
 
31907
echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
 
31908
if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
 
31909
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31910
else
 
31911
  ac_check_lib_save_LIBS=$LIBS
 
31912
LIBS="-lSgm  $LIBS"
 
31913
cat >conftest.$ac_ext <<_ACEOF
 
31914
/* confdefs.h.  */
 
31915
_ACEOF
 
31916
cat confdefs.h >>conftest.$ac_ext
 
31917
cat >>conftest.$ac_ext <<_ACEOF
 
31918
/* end confdefs.h.  */
 
31919
 
 
31920
/* Override any gcc2 internal prototype to avoid an error.  */
 
31921
#ifdef __cplusplus
 
31922
extern "C"
 
31923
#endif
 
31924
/* We use char because int might match the return type of a gcc2
 
31925
   builtin and then its argument prototype would still apply.  */
 
31926
char SgCreateList ();
 
31927
int
 
31928
main ()
 
31929
{
 
31930
SgCreateList ();
 
31931
  ;
 
31932
  return 0;
 
31933
}
 
31934
_ACEOF
 
31935
rm -f conftest.$ac_objext conftest$ac_exeext
 
31936
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
31937
  (eval $ac_link) 2>conftest.er1
 
31938
  ac_status=$?
 
31939
  grep -v '^ *+' conftest.er1 >conftest.err
 
31940
  rm -f conftest.er1
 
31941
  cat conftest.err >&5
 
31942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31943
  (exit $ac_status); } &&
 
31944
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
31945
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31946
  (eval $ac_try) 2>&5
 
31947
  ac_status=$?
 
31948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31949
  (exit $ac_status); }; } &&
 
31950
         { ac_try='test -s conftest$ac_exeext'
 
31951
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
31952
  (eval $ac_try) 2>&5
 
31953
  ac_status=$?
 
31954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31955
  (exit $ac_status); }; }; then
 
31956
  ac_cv_lib_Sgm_SgCreateList=yes
 
31957
else
 
31958
  echo "$as_me: failed program was:" >&5
 
31959
sed 's/^/| /' conftest.$ac_ext >&5
 
31960
 
 
31961
ac_cv_lib_Sgm_SgCreateList=no
 
31962
fi
 
31963
rm -f conftest.err conftest.$ac_objext \
 
31964
      conftest$ac_exeext conftest.$ac_ext
 
31965
LIBS=$ac_check_lib_save_LIBS
 
31966
fi
 
31967
echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
 
31968
echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
 
31969
if test $ac_cv_lib_Sgm_SgCreateList = yes; then
 
31970
  libsgm_link=" -lSgm"
 
31971
fi
 
31972
 
 
31973
 
 
31974
        save_CFLAGS=$CFLAGS
 
31975
        CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
 
31976
 
 
31977
        echo "$as_me:$LINENO: checking for Motif 2" >&5
 
31978
echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
 
31979
if test "${wx_cv_lib_motif2+set}" = set; then
 
31980
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31981
else
 
31982
  cat >conftest.$ac_ext <<_ACEOF
 
31983
/* confdefs.h.  */
 
31984
_ACEOF
 
31985
cat confdefs.h >>conftest.$ac_ext
 
31986
cat >>conftest.$ac_ext <<_ACEOF
 
31987
/* end confdefs.h.  */
 
31988
 
 
31989
                            #include <Xm/Xm.h>
 
31990
 
 
31991
int
 
31992
main ()
 
31993
{
 
31994
 
 
31995
                            #if XmVersion < 2000
 
31996
                            Not Motif 2
 
31997
                            #endif
 
31998
 
 
31999
  ;
 
32000
  return 0;
 
32001
}
 
32002
_ACEOF
 
32003
rm -f conftest.$ac_objext
 
32004
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32005
  (eval $ac_compile) 2>conftest.er1
 
32006
  ac_status=$?
 
32007
  grep -v '^ *+' conftest.er1 >conftest.err
 
32008
  rm -f conftest.er1
 
32009
  cat conftest.err >&5
 
32010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32011
  (exit $ac_status); } &&
 
32012
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32014
  (eval $ac_try) 2>&5
 
32015
  ac_status=$?
 
32016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32017
  (exit $ac_status); }; } &&
 
32018
         { ac_try='test -s conftest.$ac_objext'
 
32019
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32020
  (eval $ac_try) 2>&5
 
32021
  ac_status=$?
 
32022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32023
  (exit $ac_status); }; }; then
 
32024
  wx_cv_lib_motif2="yes"
 
32025
else
 
32026
  echo "$as_me: failed program was:" >&5
 
32027
sed 's/^/| /' conftest.$ac_ext >&5
 
32028
 
 
32029
wx_cv_lib_motif2="no"
 
32030
fi
 
32031
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32032
fi
 
32033
echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
 
32034
echo "${ECHO_T}$wx_cv_lib_motif2" >&6
 
32035
        if test "$wx_cv_lib_motif2" = "yes"; then
 
32036
            cat >>confdefs.h <<\_ACEOF
 
32037
#define __WXMOTIF20__ 1
 
32038
_ACEOF
 
32039
 
 
32040
        else
 
32041
            cat >>confdefs.h <<\_ACEOF
 
32042
#define __WXMOTIF20__ 0
 
32043
_ACEOF
 
32044
 
 
32045
        fi
 
32046
 
 
32047
        echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
 
32048
echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
 
32049
if test "${wx_cv_lib_lesstif+set}" = set; then
 
32050
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32051
else
 
32052
  cat >conftest.$ac_ext <<_ACEOF
 
32053
/* confdefs.h.  */
 
32054
_ACEOF
 
32055
cat confdefs.h >>conftest.$ac_ext
 
32056
cat >>conftest.$ac_ext <<_ACEOF
 
32057
/* end confdefs.h.  */
 
32058
 
 
32059
                            #include <Xm/Xm.h>
 
32060
 
 
32061
int
 
32062
main ()
 
32063
{
 
32064
 
 
32065
                            #if !defined(LesstifVersion) || LesstifVersion <= 0
 
32066
                            Not Lesstif
 
32067
                            #endif
 
32068
 
 
32069
  ;
 
32070
  return 0;
 
32071
}
 
32072
_ACEOF
 
32073
rm -f conftest.$ac_objext
 
32074
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32075
  (eval $ac_compile) 2>conftest.er1
 
32076
  ac_status=$?
 
32077
  grep -v '^ *+' conftest.er1 >conftest.err
 
32078
  rm -f conftest.er1
 
32079
  cat conftest.err >&5
 
32080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32081
  (exit $ac_status); } &&
 
32082
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32083
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32084
  (eval $ac_try) 2>&5
 
32085
  ac_status=$?
 
32086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32087
  (exit $ac_status); }; } &&
 
32088
         { ac_try='test -s conftest.$ac_objext'
 
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
  wx_cv_lib_lesstif="yes"
 
32095
else
 
32096
  echo "$as_me: failed program was:" >&5
 
32097
sed 's/^/| /' conftest.$ac_ext >&5
 
32098
 
 
32099
wx_cv_lib_lesstif="no"
 
32100
fi
 
32101
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32102
 
 
32103
fi
 
32104
echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
 
32105
echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
 
32106
        if test "$wx_cv_lib_lesstif" = "yes"; then
 
32107
            cat >>confdefs.h <<\_ACEOF
 
32108
#define __WXLESSTIF__ 1
 
32109
_ACEOF
 
32110
 
 
32111
        else
 
32112
            cat >>confdefs.h <<\_ACEOF
 
32113
#define __WXLESSTIF__ 0
 
32114
_ACEOF
 
32115
 
 
32116
        fi
 
32117
 
 
32118
        CFLAGS=$save_CFLAGS
 
32119
 
 
32120
        GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
 
32121
        TOOLKIT=MOTIF
 
32122
        GUIDIST=MOTIF_DIST
 
32123
    fi
 
32124
 
 
32125
        if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
 
32126
                if test "$wxUSE_LIBXPM" = "sys"; then
 
32127
            echo "$as_me:$LINENO: checking for Xpm library" >&5
 
32128
echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
 
32129
 
 
32130
  ac_find_libraries=
 
32131
  for ac_dir in $SEARCH_LIB;
 
32132
  do
 
32133
    for ac_extension in a so sl dylib dll.a; do
 
32134
      if test -f "$ac_dir/libXpm.$ac_extension"; then
 
32135
        ac_find_libraries=$ac_dir
 
32136
        break 2
 
32137
      fi
 
32138
    done
 
32139
  done
 
32140
 
 
32141
            if test "$ac_find_libraries" != "" ; then
 
32142
 
 
32143
    if test "$ac_find_libraries" = "default location"; then
 
32144
    ac_path_to_link=""
 
32145
  else
 
32146
    echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
 
32147
    result=$?
 
32148
    if test $result = 0; then
 
32149
      ac_path_to_link=""
 
32150
    else
 
32151
      ac_path_to_link=" -L$ac_find_libraries"
 
32152
    fi
 
32153
  fi
 
32154
 
 
32155
                GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
 
32156
                echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
 
32157
echo "${ECHO_T}found in $ac_find_libraries" >&6
 
32158
 
 
32159
                echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
 
32160
echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
 
32161
if test "${wx_cv_x11_xpm_h+set}" = set; then
 
32162
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32163
else
 
32164
 
 
32165
                        save_CFLAGS=$CFLAGS
 
32166
                        CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
 
32167
 
 
32168
                        cat >conftest.$ac_ext <<_ACEOF
 
32169
/* confdefs.h.  */
 
32170
_ACEOF
 
32171
cat confdefs.h >>conftest.$ac_ext
 
32172
cat >>conftest.$ac_ext <<_ACEOF
 
32173
/* end confdefs.h.  */
 
32174
 
 
32175
                                #include <X11/xpm.h>
 
32176
 
 
32177
int
 
32178
main ()
 
32179
{
 
32180
 
 
32181
                                int version;
 
32182
                                version = XpmLibraryVersion();
 
32183
 
 
32184
  ;
 
32185
  return 0;
 
32186
}
 
32187
_ACEOF
 
32188
rm -f conftest.$ac_objext
 
32189
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32190
  (eval $ac_compile) 2>conftest.er1
 
32191
  ac_status=$?
 
32192
  grep -v '^ *+' conftest.er1 >conftest.err
 
32193
  rm -f conftest.er1
 
32194
  cat conftest.err >&5
 
32195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32196
  (exit $ac_status); } &&
 
32197
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32198
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32199
  (eval $ac_try) 2>&5
 
32200
  ac_status=$?
 
32201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32202
  (exit $ac_status); }; } &&
 
32203
         { ac_try='test -s conftest.$ac_objext'
 
32204
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32205
  (eval $ac_try) 2>&5
 
32206
  ac_status=$?
 
32207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32208
  (exit $ac_status); }; }; then
 
32209
  wx_cv_x11_xpm_h=yes
 
32210
else
 
32211
  echo "$as_me: failed program was:" >&5
 
32212
sed 's/^/| /' conftest.$ac_ext >&5
 
32213
 
 
32214
wx_cv_x11_xpm_h=no
 
32215
 
 
32216
fi
 
32217
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32218
 
 
32219
                        CFLAGS=$save_CFLAGS
 
32220
 
 
32221
 
 
32222
fi
 
32223
echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
 
32224
echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
 
32225
 
 
32226
                if test $wx_cv_x11_xpm_h = "yes"; then
 
32227
                    GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
 
32228
                    cat >>confdefs.h <<\_ACEOF
 
32229
#define wxHAVE_LIB_XPM 1
 
32230
_ACEOF
 
32231
 
 
32232
                else
 
32233
                    { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
 
32234
echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
 
32235
                fi
 
32236
            fi
 
32237
 
 
32238
        fi
 
32239
 
 
32240
                echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
 
32241
echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
 
32242
if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
 
32243
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32244
else
 
32245
  ac_check_lib_save_LIBS=$LIBS
 
32246
LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
 
32247
cat >conftest.$ac_ext <<_ACEOF
 
32248
/* confdefs.h.  */
 
32249
_ACEOF
 
32250
cat confdefs.h >>conftest.$ac_ext
 
32251
cat >>conftest.$ac_ext <<_ACEOF
 
32252
/* end confdefs.h.  */
 
32253
 
 
32254
/* Override any gcc2 internal prototype to avoid an error.  */
 
32255
#ifdef __cplusplus
 
32256
extern "C"
 
32257
#endif
 
32258
/* We use char because int might match the return type of a gcc2
 
32259
   builtin and then its argument prototype would still apply.  */
 
32260
char XShapeQueryExtension ();
 
32261
int
 
32262
main ()
 
32263
{
 
32264
XShapeQueryExtension ();
 
32265
  ;
 
32266
  return 0;
 
32267
}
 
32268
_ACEOF
 
32269
rm -f conftest.$ac_objext conftest$ac_exeext
 
32270
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
32271
  (eval $ac_link) 2>conftest.er1
 
32272
  ac_status=$?
 
32273
  grep -v '^ *+' conftest.er1 >conftest.err
 
32274
  rm -f conftest.er1
 
32275
  cat conftest.err >&5
 
32276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32277
  (exit $ac_status); } &&
 
32278
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32279
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32280
  (eval $ac_try) 2>&5
 
32281
  ac_status=$?
 
32282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32283
  (exit $ac_status); }; } &&
 
32284
         { ac_try='test -s conftest$ac_exeext'
 
32285
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32286
  (eval $ac_try) 2>&5
 
32287
  ac_status=$?
 
32288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32289
  (exit $ac_status); }; }; then
 
32290
  ac_cv_lib_Xext_XShapeQueryExtension=yes
 
32291
else
 
32292
  echo "$as_me: failed program was:" >&5
 
32293
sed 's/^/| /' conftest.$ac_ext >&5
 
32294
 
 
32295
ac_cv_lib_Xext_XShapeQueryExtension=no
 
32296
fi
 
32297
rm -f conftest.err conftest.$ac_objext \
 
32298
      conftest$ac_exeext conftest.$ac_ext
 
32299
LIBS=$ac_check_lib_save_LIBS
 
32300
fi
 
32301
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
 
32302
echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
 
32303
if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
 
32304
 
 
32305
                      GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
 
32306
                      wxHAVE_XEXT_LIB=1
 
32307
 
 
32308
fi
 
32309
 
 
32310
 
 
32311
        if test "$wxHAVE_XEXT_LIB" = 1; then
 
32312
            save_CFLAGS="$CFLAGS"
 
32313
            CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
 
32314
 
 
32315
            echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
 
32316
echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
 
32317
            cat >conftest.$ac_ext <<_ACEOF
 
32318
/* confdefs.h.  */
 
32319
_ACEOF
 
32320
cat confdefs.h >>conftest.$ac_ext
 
32321
cat >>conftest.$ac_ext <<_ACEOF
 
32322
/* end confdefs.h.  */
 
32323
 
 
32324
                            #include <X11/Xlib.h>
 
32325
                            #include <X11/extensions/shape.h>
 
32326
 
 
32327
int
 
32328
main ()
 
32329
{
 
32330
 
 
32331
                            int dummy1, dummy2;
 
32332
                            XShapeQueryExtension((Display*)NULL,
 
32333
                                                 (int*)NULL, (int*)NULL);
 
32334
 
 
32335
  ;
 
32336
  return 0;
 
32337
}
 
32338
_ACEOF
 
32339
rm -f conftest.$ac_objext
 
32340
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32341
  (eval $ac_compile) 2>conftest.er1
 
32342
  ac_status=$?
 
32343
  grep -v '^ *+' conftest.er1 >conftest.err
 
32344
  rm -f conftest.er1
 
32345
  cat conftest.err >&5
 
32346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32347
  (exit $ac_status); } &&
 
32348
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32349
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32350
  (eval $ac_try) 2>&5
 
32351
  ac_status=$?
 
32352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32353
  (exit $ac_status); }; } &&
 
32354
         { ac_try='test -s conftest.$ac_objext'
 
32355
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32356
  (eval $ac_try) 2>&5
 
32357
  ac_status=$?
 
32358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32359
  (exit $ac_status); }; }; then
 
32360
 
 
32361
                            cat >>confdefs.h <<\_ACEOF
 
32362
#define HAVE_XSHAPE 1
 
32363
_ACEOF
 
32364
 
 
32365
                            echo "$as_me:$LINENO: result: found" >&5
 
32366
echo "${ECHO_T}found" >&6
 
32367
 
 
32368
else
 
32369
  echo "$as_me: failed program was:" >&5
 
32370
sed 's/^/| /' conftest.$ac_ext >&5
 
32371
 
 
32372
 
 
32373
                            echo "$as_me:$LINENO: result: not found" >&5
 
32374
echo "${ECHO_T}not found" >&6
 
32375
 
 
32376
fi
 
32377
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32378
            CFLAGS="$save_CFLAGS"
 
32379
 
 
32380
        fi
 
32381
    fi
 
32382
 
 
32383
    if test "$wxUSE_MAC" = 1; then
 
32384
        echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
 
32385
echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
 
32386
        if test "$GCC" = yes; then
 
32387
            echo "$as_me:$LINENO: result: gcc" >&5
 
32388
echo "${ECHO_T}gcc" >&6
 
32389
            CPPFLAGS_PASCAL="-fpascal-strings"
 
32390
        elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
 
32391
            echo "$as_me:$LINENO: result: xlc" >&5
 
32392
echo "${ECHO_T}xlc" >&6
 
32393
            CPPFLAGS_PASCAL="-qmacpstr"
 
32394
        else
 
32395
            echo "$as_me:$LINENO: result: none" >&5
 
32396
echo "${ECHO_T}none" >&6
 
32397
        fi
 
32398
 
 
32399
        if test "x$wxUSE_UNIX" = "xyes"; then
 
32400
            CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
 
32401
        else
 
32402
                        CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
 
32403
        fi
 
32404
 
 
32405
        TOOLKIT=MAC
 
32406
                GUIDIST=MACX_DIST
 
32407
                        WXBASEPORT="_carbon"
 
32408
    fi
 
32409
 
 
32410
    if test "$wxUSE_COCOA" = 1; then
 
32411
        TOOLKIT=COCOA
 
32412
        GUIDIST=COCOA_DIST
 
32413
    fi
 
32414
 
 
32415
    if test "$wxUSE_PM" = 1; then
 
32416
        TOOLKIT=PM
 
32417
        GUIDIST=PM_DIST
 
32418
        echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
 
32419
echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
 
32420
if test "${wx_cv_spbcdata+set}" = set; then
 
32421
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32422
else
 
32423
 
 
32424
                cat >conftest.$ac_ext <<_ACEOF
 
32425
/* confdefs.h.  */
 
32426
_ACEOF
 
32427
cat confdefs.h >>conftest.$ac_ext
 
32428
cat >>conftest.$ac_ext <<_ACEOF
 
32429
/* end confdefs.h.  */
 
32430
 
 
32431
                        #define INCL_PM
 
32432
                        #include <os2.h>
 
32433
 
 
32434
int
 
32435
main ()
 
32436
{
 
32437
 
 
32438
                        SPBCDATA test;
 
32439
 
 
32440
  ;
 
32441
  return 0;
 
32442
}
 
32443
_ACEOF
 
32444
rm -f conftest.$ac_objext
 
32445
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32446
  (eval $ac_compile) 2>conftest.er1
 
32447
  ac_status=$?
 
32448
  grep -v '^ *+' conftest.er1 >conftest.err
 
32449
  rm -f conftest.er1
 
32450
  cat conftest.err >&5
 
32451
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32452
  (exit $ac_status); } &&
 
32453
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32454
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32455
  (eval $ac_try) 2>&5
 
32456
  ac_status=$?
 
32457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32458
  (exit $ac_status); }; } &&
 
32459
         { ac_try='test -s conftest.$ac_objext'
 
32460
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32461
  (eval $ac_try) 2>&5
 
32462
  ac_status=$?
 
32463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32464
  (exit $ac_status); }; }; then
 
32465
  wx_cv_spbcdata=yes
 
32466
else
 
32467
  echo "$as_me: failed program was:" >&5
 
32468
sed 's/^/| /' conftest.$ac_ext >&5
 
32469
 
 
32470
wx_cv_spbcdata=no
 
32471
 
 
32472
fi
 
32473
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32474
 
 
32475
 
 
32476
fi
 
32477
echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
 
32478
echo "${ECHO_T}$wx_cv_spbcdata" >&6
 
32479
 
 
32480
        if test $wx_cv_spbcdata = "yes"; then
 
32481
            cat >>confdefs.h <<\_ACEOF
 
32482
#define HAVE_SPBCDATA 1
 
32483
_ACEOF
 
32484
 
 
32485
        fi
 
32486
    fi
 
32487
 
 
32488
        if test "$TOOLKIT" = "PM" ; then
 
32489
        TOOLKIT_DIR="os2"
 
32490
    else
 
32491
        TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
 
32492
    fi
 
32493
 
 
32494
    if test "$wxUSE_UNIVERSAL" = "yes"; then
 
32495
        TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
 
32496
        WIDGET_SET=univ
 
32497
    fi
 
32498
 
 
32499
        GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
 
32500
    DISTDIR="wx\$(TOOLKIT)"
 
32501
else
 
32502
    USE_GUI=0
 
32503
 
 
32504
            TOOLKIT_DIR="base"
 
32505
 
 
32506
        if test "$USE_WIN32" = 1 ; then
 
32507
                        TOOLKIT="MSW"
 
32508
    fi
 
32509
 
 
32510
        GUIDIST="BASE_DIST"
 
32511
    DISTDIR="wxBase"
 
32512
fi
 
32513
 
 
32514
 
 
32515
if test "$wxUSE_GUI" = "yes"; then
 
32516
    if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
 
32517
 
 
32518
for ac_header in X11/Xlib.h
 
32519
do
 
32520
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
32521
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
32522
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
32523
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
32524
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32525
else
 
32526
  cat >conftest.$ac_ext <<_ACEOF
 
32527
/* confdefs.h.  */
 
32528
_ACEOF
 
32529
cat confdefs.h >>conftest.$ac_ext
 
32530
cat >>conftest.$ac_ext <<_ACEOF
 
32531
/* end confdefs.h.  */
 
32532
 
 
32533
 
 
32534
#include <$ac_header>
 
32535
_ACEOF
 
32536
rm -f conftest.$ac_objext
 
32537
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32538
  (eval $ac_compile) 2>conftest.er1
 
32539
  ac_status=$?
 
32540
  grep -v '^ *+' conftest.er1 >conftest.err
 
32541
  rm -f conftest.er1
 
32542
  cat conftest.err >&5
 
32543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32544
  (exit $ac_status); } &&
 
32545
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32546
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32547
  (eval $ac_try) 2>&5
 
32548
  ac_status=$?
 
32549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32550
  (exit $ac_status); }; } &&
 
32551
         { ac_try='test -s conftest.$ac_objext'
 
32552
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32553
  (eval $ac_try) 2>&5
 
32554
  ac_status=$?
 
32555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32556
  (exit $ac_status); }; }; then
 
32557
  eval "$as_ac_Header=yes"
 
32558
else
 
32559
  echo "$as_me: failed program was:" >&5
 
32560
sed 's/^/| /' conftest.$ac_ext >&5
 
32561
 
 
32562
eval "$as_ac_Header=no"
 
32563
fi
 
32564
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32565
fi
 
32566
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
32567
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
32568
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
32569
  cat >>confdefs.h <<_ACEOF
 
32570
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
32571
_ACEOF
 
32572
 
 
32573
fi
 
32574
 
 
32575
done
 
32576
 
 
32577
 
 
32578
for ac_header in X11/XKBlib.h
 
32579
do
 
32580
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
32581
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
32582
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
32583
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
32584
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32585
else
 
32586
  cat >conftest.$ac_ext <<_ACEOF
 
32587
/* confdefs.h.  */
 
32588
_ACEOF
 
32589
cat confdefs.h >>conftest.$ac_ext
 
32590
cat >>conftest.$ac_ext <<_ACEOF
 
32591
/* end confdefs.h.  */
 
32592
 
 
32593
                          #if HAVE_X11_XLIB_H
 
32594
                            #include <X11/Xlib.h>
 
32595
                          #endif
 
32596
 
 
32597
 
 
32598
#include <$ac_header>
 
32599
_ACEOF
 
32600
rm -f conftest.$ac_objext
 
32601
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32602
  (eval $ac_compile) 2>conftest.er1
 
32603
  ac_status=$?
 
32604
  grep -v '^ *+' conftest.er1 >conftest.err
 
32605
  rm -f conftest.er1
 
32606
  cat conftest.err >&5
 
32607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32608
  (exit $ac_status); } &&
 
32609
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32610
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32611
  (eval $ac_try) 2>&5
 
32612
  ac_status=$?
 
32613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32614
  (exit $ac_status); }; } &&
 
32615
         { ac_try='test -s conftest.$ac_objext'
 
32616
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32617
  (eval $ac_try) 2>&5
 
32618
  ac_status=$?
 
32619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32620
  (exit $ac_status); }; }; then
 
32621
  eval "$as_ac_Header=yes"
 
32622
else
 
32623
  echo "$as_me: failed program was:" >&5
 
32624
sed 's/^/| /' conftest.$ac_ext >&5
 
32625
 
 
32626
eval "$as_ac_Header=no"
 
32627
fi
 
32628
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32629
fi
 
32630
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
32631
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
32632
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
32633
  cat >>confdefs.h <<_ACEOF
 
32634
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
32635
_ACEOF
 
32636
 
 
32637
fi
 
32638
 
 
32639
done
 
32640
 
 
32641
    fi
 
32642
fi
 
32643
 
 
32644
 
 
32645
 
 
32646
IODBC_C_SRC=""
 
32647
 
 
32648
 
 
32649
if test "$TOOLKIT" != "MSW" ; then
 
32650
 
 
32651
    if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
 
32652
 
 
32653
        echo "$as_me:$LINENO: checking for sql.h" >&5
 
32654
echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
 
32655
if test "${ac_cv_header_sql_h+set}" = set; then
 
32656
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32657
else
 
32658
  cat >conftest.$ac_ext <<_ACEOF
 
32659
/* confdefs.h.  */
 
32660
_ACEOF
 
32661
cat confdefs.h >>conftest.$ac_ext
 
32662
cat >>conftest.$ac_ext <<_ACEOF
 
32663
/* end confdefs.h.  */
 
32664
 
 
32665
 
 
32666
#include <sql.h>
 
32667
_ACEOF
 
32668
rm -f conftest.$ac_objext
 
32669
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
32670
  (eval $ac_compile) 2>conftest.er1
 
32671
  ac_status=$?
 
32672
  grep -v '^ *+' conftest.er1 >conftest.err
 
32673
  rm -f conftest.er1
 
32674
  cat conftest.err >&5
 
32675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32676
  (exit $ac_status); } &&
 
32677
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32678
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32679
  (eval $ac_try) 2>&5
 
32680
  ac_status=$?
 
32681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32682
  (exit $ac_status); }; } &&
 
32683
         { ac_try='test -s conftest.$ac_objext'
 
32684
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32685
  (eval $ac_try) 2>&5
 
32686
  ac_status=$?
 
32687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32688
  (exit $ac_status); }; }; then
 
32689
  ac_cv_header_sql_h=yes
 
32690
else
 
32691
  echo "$as_me: failed program was:" >&5
 
32692
sed 's/^/| /' conftest.$ac_ext >&5
 
32693
 
 
32694
ac_cv_header_sql_h=no
 
32695
fi
 
32696
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
32697
fi
 
32698
echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
 
32699
echo "${ECHO_T}$ac_cv_header_sql_h" >&6
 
32700
if test $ac_cv_header_sql_h = yes; then
 
32701
  found_sql_h=1
 
32702
fi
 
32703
 
 
32704
 
 
32705
        if test "x$found_sql_h" = "x1" ; then
 
32706
            echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
 
32707
echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
 
32708
if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
 
32709
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32710
else
 
32711
  ac_check_lib_save_LIBS=$LIBS
 
32712
LIBS="-liodbc  $LIBS"
 
32713
cat >conftest.$ac_ext <<_ACEOF
 
32714
/* confdefs.h.  */
 
32715
_ACEOF
 
32716
cat confdefs.h >>conftest.$ac_ext
 
32717
cat >>conftest.$ac_ext <<_ACEOF
 
32718
/* end confdefs.h.  */
 
32719
 
 
32720
/* Override any gcc2 internal prototype to avoid an error.  */
 
32721
#ifdef __cplusplus
 
32722
extern "C"
 
32723
#endif
 
32724
/* We use char because int might match the return type of a gcc2
 
32725
   builtin and then its argument prototype would still apply.  */
 
32726
char SQLAllocEnv ();
 
32727
int
 
32728
main ()
 
32729
{
 
32730
SQLAllocEnv ();
 
32731
  ;
 
32732
  return 0;
 
32733
}
 
32734
_ACEOF
 
32735
rm -f conftest.$ac_objext conftest$ac_exeext
 
32736
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
32737
  (eval $ac_link) 2>conftest.er1
 
32738
  ac_status=$?
 
32739
  grep -v '^ *+' conftest.er1 >conftest.err
 
32740
  rm -f conftest.er1
 
32741
  cat conftest.err >&5
 
32742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32743
  (exit $ac_status); } &&
 
32744
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32745
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32746
  (eval $ac_try) 2>&5
 
32747
  ac_status=$?
 
32748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32749
  (exit $ac_status); }; } &&
 
32750
         { ac_try='test -s conftest$ac_exeext'
 
32751
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32752
  (eval $ac_try) 2>&5
 
32753
  ac_status=$?
 
32754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32755
  (exit $ac_status); }; }; then
 
32756
  ac_cv_lib_iodbc_SQLAllocEnv=yes
 
32757
else
 
32758
  echo "$as_me: failed program was:" >&5
 
32759
sed 's/^/| /' conftest.$ac_ext >&5
 
32760
 
 
32761
ac_cv_lib_iodbc_SQLAllocEnv=no
 
32762
fi
 
32763
rm -f conftest.err conftest.$ac_objext \
 
32764
      conftest$ac_exeext conftest.$ac_ext
 
32765
LIBS=$ac_check_lib_save_LIBS
 
32766
fi
 
32767
echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
 
32768
echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
 
32769
if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
 
32770
  ODBC_LINK=" -liodbc"
 
32771
else
 
32772
 
 
32773
                echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
 
32774
echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
 
32775
if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
 
32776
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32777
else
 
32778
  ac_check_lib_save_LIBS=$LIBS
 
32779
LIBS="-lunixodbc  $LIBS"
 
32780
cat >conftest.$ac_ext <<_ACEOF
 
32781
/* confdefs.h.  */
 
32782
_ACEOF
 
32783
cat confdefs.h >>conftest.$ac_ext
 
32784
cat >>conftest.$ac_ext <<_ACEOF
 
32785
/* end confdefs.h.  */
 
32786
 
 
32787
/* Override any gcc2 internal prototype to avoid an error.  */
 
32788
#ifdef __cplusplus
 
32789
extern "C"
 
32790
#endif
 
32791
/* We use char because int might match the return type of a gcc2
 
32792
   builtin and then its argument prototype would still apply.  */
 
32793
char SQLAllocEnv ();
 
32794
int
 
32795
main ()
 
32796
{
 
32797
SQLAllocEnv ();
 
32798
  ;
 
32799
  return 0;
 
32800
}
 
32801
_ACEOF
 
32802
rm -f conftest.$ac_objext conftest$ac_exeext
 
32803
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
32804
  (eval $ac_link) 2>conftest.er1
 
32805
  ac_status=$?
 
32806
  grep -v '^ *+' conftest.er1 >conftest.err
 
32807
  rm -f conftest.er1
 
32808
  cat conftest.err >&5
 
32809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32810
  (exit $ac_status); } &&
 
32811
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32812
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32813
  (eval $ac_try) 2>&5
 
32814
  ac_status=$?
 
32815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32816
  (exit $ac_status); }; } &&
 
32817
         { ac_try='test -s conftest$ac_exeext'
 
32818
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32819
  (eval $ac_try) 2>&5
 
32820
  ac_status=$?
 
32821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32822
  (exit $ac_status); }; }; then
 
32823
  ac_cv_lib_unixodbc_SQLAllocEnv=yes
 
32824
else
 
32825
  echo "$as_me: failed program was:" >&5
 
32826
sed 's/^/| /' conftest.$ac_ext >&5
 
32827
 
 
32828
ac_cv_lib_unixodbc_SQLAllocEnv=no
 
32829
fi
 
32830
rm -f conftest.err conftest.$ac_objext \
 
32831
      conftest$ac_exeext conftest.$ac_ext
 
32832
LIBS=$ac_check_lib_save_LIBS
 
32833
fi
 
32834
echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
 
32835
echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
 
32836
if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
 
32837
  ODBC_LINK=" -lunixodbc"
 
32838
else
 
32839
 
 
32840
                    echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
 
32841
echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
 
32842
if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
 
32843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32844
else
 
32845
  ac_check_lib_save_LIBS=$LIBS
 
32846
LIBS="-lodbc  $LIBS"
 
32847
cat >conftest.$ac_ext <<_ACEOF
 
32848
/* confdefs.h.  */
 
32849
_ACEOF
 
32850
cat confdefs.h >>conftest.$ac_ext
 
32851
cat >>conftest.$ac_ext <<_ACEOF
 
32852
/* end confdefs.h.  */
 
32853
 
 
32854
/* Override any gcc2 internal prototype to avoid an error.  */
 
32855
#ifdef __cplusplus
 
32856
extern "C"
 
32857
#endif
 
32858
/* We use char because int might match the return type of a gcc2
 
32859
   builtin and then its argument prototype would still apply.  */
 
32860
char SQLAllocEnv ();
 
32861
int
 
32862
main ()
 
32863
{
 
32864
SQLAllocEnv ();
 
32865
  ;
 
32866
  return 0;
 
32867
}
 
32868
_ACEOF
 
32869
rm -f conftest.$ac_objext conftest$ac_exeext
 
32870
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
32871
  (eval $ac_link) 2>conftest.er1
 
32872
  ac_status=$?
 
32873
  grep -v '^ *+' conftest.er1 >conftest.err
 
32874
  rm -f conftest.er1
 
32875
  cat conftest.err >&5
 
32876
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32877
  (exit $ac_status); } &&
 
32878
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
32879
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32880
  (eval $ac_try) 2>&5
 
32881
  ac_status=$?
 
32882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32883
  (exit $ac_status); }; } &&
 
32884
         { ac_try='test -s conftest$ac_exeext'
 
32885
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
32886
  (eval $ac_try) 2>&5
 
32887
  ac_status=$?
 
32888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32889
  (exit $ac_status); }; }; then
 
32890
  ac_cv_lib_odbc_SQLAllocEnv=yes
 
32891
else
 
32892
  echo "$as_me: failed program was:" >&5
 
32893
sed 's/^/| /' conftest.$ac_ext >&5
 
32894
 
 
32895
ac_cv_lib_odbc_SQLAllocEnv=no
 
32896
fi
 
32897
rm -f conftest.err conftest.$ac_objext \
 
32898
      conftest$ac_exeext conftest.$ac_ext
 
32899
LIBS=$ac_check_lib_save_LIBS
 
32900
fi
 
32901
echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
 
32902
echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
 
32903
if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
 
32904
  ODBC_LINK=" -lodbc"
 
32905
fi
 
32906
 
 
32907
 
 
32908
fi
 
32909
 
 
32910
 
 
32911
fi
 
32912
 
 
32913
        fi
 
32914
        if test "x$ODBC_LINK" = "x" ; then
 
32915
            if test "$wxUSE_ODBC" = "sys" ; then
 
32916
                { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
 
32917
echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
 
32918
   { (exit 1); exit 1; }; }
 
32919
            else
 
32920
                { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
 
32921
echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
 
32922
                wxUSE_ODBC=builtin
 
32923
            fi
 
32924
        else
 
32925
                        wxUSE_ODBC=sys
 
32926
        fi
 
32927
    fi
 
32928
 
 
32929
    if test "$wxUSE_ODBC" = "builtin" ; then
 
32930
        cat >>confdefs.h <<\_ACEOF
 
32931
#define wxUSE_BUILTIN_IODBC 1
 
32932
_ACEOF
 
32933
 
 
32934
    fi
 
32935
fi
 
32936
 
 
32937
if test "$wxUSE_ODBC" != "no" ; then
 
32938
    cat >>confdefs.h <<\_ACEOF
 
32939
#define wxUSE_ODBC 1
 
32940
_ACEOF
 
32941
 
 
32942
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
 
32943
 
 
32944
        WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
 
32945
fi
 
32946
 
 
32947
 
 
32948
if test "$wxUSE_DISPLAY" = "yes"; then
 
32949
    if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
 
32950
        echo "$as_me:$LINENO: checking for Xinerama" >&5
 
32951
echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
 
32952
 
 
32953
  ac_find_libraries=
 
32954
  for ac_dir in $SEARCH_LIB;
 
32955
  do
 
32956
    for ac_extension in a so sl dylib dll.a; do
 
32957
      if test -f "$ac_dir/libXinerama.$ac_extension"; then
 
32958
        ac_find_libraries=$ac_dir
 
32959
        break 2
 
32960
      fi
 
32961
    done
 
32962
  done
 
32963
 
 
32964
        if test "$ac_find_libraries" != "" ; then
 
32965
 
 
32966
    if test "$ac_find_libraries" = "default location"; then
 
32967
    ac_path_to_link=""
 
32968
  else
 
32969
    echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
 
32970
    result=$?
 
32971
    if test $result = 0; then
 
32972
      ac_path_to_link=""
 
32973
    else
 
32974
      ac_path_to_link=" -L$ac_find_libraries"
 
32975
    fi
 
32976
  fi
 
32977
 
 
32978
            if test "$ac_path_to_link" != " -L/usr/lib" ; then
 
32979
                LDFLAGS="$LDFLAGS $ac_path_to_link"
 
32980
            fi
 
32981
            GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
 
32982
            echo "$as_me:$LINENO: result: yes" >&5
 
32983
echo "${ECHO_T}yes" >&6
 
32984
 
 
32985
            echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
 
32986
echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
 
32987
 
 
32988
  ac_find_libraries=
 
32989
  for ac_dir in $SEARCH_LIB;
 
32990
  do
 
32991
    for ac_extension in a so sl dylib dll.a; do
 
32992
      if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
 
32993
        ac_find_libraries=$ac_dir
 
32994
        break 2
 
32995
      fi
 
32996
    done
 
32997
  done
 
32998
 
 
32999
            if test "$ac_find_libraries" != "" ; then
 
33000
                echo "$as_me:$LINENO: result: yes" >&5
 
33001
echo "${ECHO_T}yes" >&6
 
33002
 
 
33003
for ac_header in X11/extensions/xf86vmode.h
 
33004
do
 
33005
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
33006
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
33007
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
33008
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
33009
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33010
else
 
33011
  cat >conftest.$ac_ext <<_ACEOF
 
33012
/* confdefs.h.  */
 
33013
_ACEOF
 
33014
cat confdefs.h >>conftest.$ac_ext
 
33015
cat >>conftest.$ac_ext <<_ACEOF
 
33016
/* end confdefs.h.  */
 
33017
 
 
33018
                                      #if HAVE_X11_XLIB_H
 
33019
                                        #include <X11/Xlib.h>
 
33020
                                      #endif
 
33021
 
 
33022
 
 
33023
#include <$ac_header>
 
33024
_ACEOF
 
33025
rm -f conftest.$ac_objext
 
33026
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
33027
  (eval $ac_compile) 2>conftest.er1
 
33028
  ac_status=$?
 
33029
  grep -v '^ *+' conftest.er1 >conftest.err
 
33030
  rm -f conftest.er1
 
33031
  cat conftest.err >&5
 
33032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33033
  (exit $ac_status); } &&
 
33034
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33035
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33036
  (eval $ac_try) 2>&5
 
33037
  ac_status=$?
 
33038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33039
  (exit $ac_status); }; } &&
 
33040
         { ac_try='test -s conftest.$ac_objext'
 
33041
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33042
  (eval $ac_try) 2>&5
 
33043
  ac_status=$?
 
33044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33045
  (exit $ac_status); }; }; then
 
33046
  eval "$as_ac_Header=yes"
 
33047
else
 
33048
  echo "$as_me: failed program was:" >&5
 
33049
sed 's/^/| /' conftest.$ac_ext >&5
 
33050
 
 
33051
eval "$as_ac_Header=no"
 
33052
fi
 
33053
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
33054
fi
 
33055
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
33056
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
33057
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
33058
  cat >>confdefs.h <<_ACEOF
 
33059
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
33060
_ACEOF
 
33061
 
 
33062
                                  GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
 
33063
 
 
33064
fi
 
33065
 
 
33066
done
 
33067
 
 
33068
            else
 
33069
                echo "$as_me:$LINENO: result: no" >&5
 
33070
echo "${ECHO_T}no" >&6
 
33071
            fi
 
33072
 
 
33073
        else
 
33074
            echo "$as_me:$LINENO: result: no" >&5
 
33075
echo "${ECHO_T}no" >&6
 
33076
            { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
 
33077
echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
 
33078
            wxUSE_DISPLAY="no"
 
33079
        fi
 
33080
    elif test "$wxUSE_MSW" = 1; then
 
33081
        echo "$as_me:$LINENO: checking for ddraw.h" >&5
 
33082
echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
 
33083
if test "${ac_cv_header_ddraw_h+set}" = set; then
 
33084
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33085
else
 
33086
  cat >conftest.$ac_ext <<_ACEOF
 
33087
/* confdefs.h.  */
 
33088
_ACEOF
 
33089
cat confdefs.h >>conftest.$ac_ext
 
33090
cat >>conftest.$ac_ext <<_ACEOF
 
33091
/* end confdefs.h.  */
 
33092
#include <windows.h>
 
33093
 
 
33094
#include <ddraw.h>
 
33095
_ACEOF
 
33096
rm -f conftest.$ac_objext
 
33097
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
33098
  (eval $ac_compile) 2>conftest.er1
 
33099
  ac_status=$?
 
33100
  grep -v '^ *+' conftest.er1 >conftest.err
 
33101
  rm -f conftest.er1
 
33102
  cat conftest.err >&5
 
33103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33104
  (exit $ac_status); } &&
 
33105
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33107
  (eval $ac_try) 2>&5
 
33108
  ac_status=$?
 
33109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33110
  (exit $ac_status); }; } &&
 
33111
         { ac_try='test -s conftest.$ac_objext'
 
33112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33113
  (eval $ac_try) 2>&5
 
33114
  ac_status=$?
 
33115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33116
  (exit $ac_status); }; }; then
 
33117
  ac_cv_header_ddraw_h=yes
 
33118
else
 
33119
  echo "$as_me: failed program was:" >&5
 
33120
sed 's/^/| /' conftest.$ac_ext >&5
 
33121
 
 
33122
ac_cv_header_ddraw_h=no
 
33123
fi
 
33124
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
33125
fi
 
33126
echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
 
33127
echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
 
33128
 
 
33129
 
 
33130
    fi
 
33131
fi
 
33132
 
 
33133
if test "$wxUSE_DETECT_SM" = "yes"; then
 
33134
    if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
 
33135
        echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
 
33136
echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
 
33137
 
 
33138
  ac_find_libraries=
 
33139
  for ac_dir in $SEARCH_LIB;
 
33140
  do
 
33141
    for ac_extension in a so sl dylib dll.a; do
 
33142
      if test -f "$ac_dir/libSM.$ac_extension"; then
 
33143
        ac_find_libraries=$ac_dir
 
33144
        break 2
 
33145
      fi
 
33146
    done
 
33147
  done
 
33148
 
 
33149
        if test "$ac_find_libraries" != "" ; then
 
33150
 
 
33151
    if test "$ac_find_libraries" = "default location"; then
 
33152
    ac_path_to_link=""
 
33153
  else
 
33154
    echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
 
33155
    result=$?
 
33156
    if test $result = 0; then
 
33157
      ac_path_to_link=""
 
33158
    else
 
33159
      ac_path_to_link=" -L$ac_find_libraries"
 
33160
    fi
 
33161
  fi
 
33162
 
 
33163
            if test "$ac_path_to_link" != " -L/usr/lib" ; then
 
33164
                LDFLAGS="$LDFLAGS $ac_path_to_link"
 
33165
            fi
 
33166
            GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
 
33167
            echo "$as_me:$LINENO: result: yes" >&5
 
33168
echo "${ECHO_T}yes" >&6
 
33169
        else
 
33170
            echo "$as_me:$LINENO: result: no" >&5
 
33171
echo "${ECHO_T}no" >&6
 
33172
            { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
 
33173
echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
 
33174
            wxUSE_DETECT_SM="no"
 
33175
        fi
 
33176
    else
 
33177
        wxUSE_DETECT_SM="no"
 
33178
    fi
 
33179
fi
 
33180
 
 
33181
 
 
33182
 
 
33183
USE_OPENGL=0
 
33184
if test "$wxUSE_OPENGL" = "yes"; then
 
33185
    if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
 
33186
        { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
 
33187
echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
 
33188
        wxUSE_OPENGL="no"
 
33189
    elif test "$wxUSE_COCOA" = "1"; then
 
33190
        OPENGL_LIBS="-framework OpenGL -framework AGL"
 
33191
    elif test "$wxUSE_MSW" = 1; then
 
33192
        OPENGL_LIBS="-lopengl32 -lglu32"
 
33193
    elif test "$USE_DARWIN" = 1; then
 
33194
        OPENGL_LIBS=""
 
33195
    else
 
33196
                        echo "$as_me:$LINENO: checking for OpenGL headers" >&5
 
33197
echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
 
33198
 
 
33199
ac_find_includes=
 
33200
for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
 
33201
  do
 
33202
    if test -f "$ac_dir/GL/gl.h"; then
 
33203
      ac_find_includes=$ac_dir
 
33204
      break
 
33205
    fi
 
33206
  done
 
33207
 
 
33208
        if test "$ac_find_includes" != "" ; then
 
33209
            echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
 
33210
echo "${ECHO_T}found in $ac_find_includes" >&6
 
33211
 
 
33212
    if test "x$ac_find_includes" = "x/usr/include"; then
 
33213
    ac_path_to_include=""
 
33214
  else
 
33215
    echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
 
33216
    result=$?
 
33217
    if test $result = 0; then
 
33218
      ac_path_to_include=""
 
33219
    else
 
33220
      ac_path_to_include=" -I$ac_find_includes"
 
33221
    fi
 
33222
  fi
 
33223
 
 
33224
            CPPFLAGS="$ac_path_to_include $CPPFLAGS"
 
33225
        else
 
33226
            echo "$as_me:$LINENO: result: not found" >&5
 
33227
echo "${ECHO_T}not found" >&6
 
33228
        fi
 
33229
 
 
33230
        echo "$as_me:$LINENO: checking for GL/gl.h" >&5
 
33231
echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
 
33232
if test "${ac_cv_header_GL_gl_h+set}" = set; then
 
33233
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33234
else
 
33235
  cat >conftest.$ac_ext <<_ACEOF
 
33236
/* confdefs.h.  */
 
33237
_ACEOF
 
33238
cat confdefs.h >>conftest.$ac_ext
 
33239
cat >>conftest.$ac_ext <<_ACEOF
 
33240
/* end confdefs.h.  */
 
33241
 
 
33242
 
 
33243
#include <GL/gl.h>
 
33244
_ACEOF
 
33245
rm -f conftest.$ac_objext
 
33246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
33247
  (eval $ac_compile) 2>conftest.er1
 
33248
  ac_status=$?
 
33249
  grep -v '^ *+' conftest.er1 >conftest.err
 
33250
  rm -f conftest.er1
 
33251
  cat conftest.err >&5
 
33252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33253
  (exit $ac_status); } &&
 
33254
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33255
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33256
  (eval $ac_try) 2>&5
 
33257
  ac_status=$?
 
33258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33259
  (exit $ac_status); }; } &&
 
33260
         { ac_try='test -s conftest.$ac_objext'
 
33261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33262
  (eval $ac_try) 2>&5
 
33263
  ac_status=$?
 
33264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33265
  (exit $ac_status); }; }; then
 
33266
  ac_cv_header_GL_gl_h=yes
 
33267
else
 
33268
  echo "$as_me: failed program was:" >&5
 
33269
sed 's/^/| /' conftest.$ac_ext >&5
 
33270
 
 
33271
ac_cv_header_GL_gl_h=no
 
33272
fi
 
33273
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
33274
fi
 
33275
echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
 
33276
echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
 
33277
if test $ac_cv_header_GL_gl_h = yes; then
 
33278
 
 
33279
            if test "${ac_cv_header_GL_glu_h+set}" = set; then
 
33280
  echo "$as_me:$LINENO: checking for GL/glu.h" >&5
 
33281
echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
 
33282
if test "${ac_cv_header_GL_glu_h+set}" = set; then
 
33283
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33284
fi
 
33285
echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
 
33286
echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
 
33287
else
 
33288
  # Is the header compilable?
 
33289
echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
 
33290
echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
 
33291
cat >conftest.$ac_ext <<_ACEOF
 
33292
/* confdefs.h.  */
 
33293
_ACEOF
 
33294
cat confdefs.h >>conftest.$ac_ext
 
33295
cat >>conftest.$ac_ext <<_ACEOF
 
33296
/* end confdefs.h.  */
 
33297
$ac_includes_default
 
33298
#include <GL/glu.h>
 
33299
_ACEOF
 
33300
rm -f conftest.$ac_objext
 
33301
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
33302
  (eval $ac_compile) 2>conftest.er1
 
33303
  ac_status=$?
 
33304
  grep -v '^ *+' conftest.er1 >conftest.err
 
33305
  rm -f conftest.er1
 
33306
  cat conftest.err >&5
 
33307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33308
  (exit $ac_status); } &&
 
33309
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33310
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33311
  (eval $ac_try) 2>&5
 
33312
  ac_status=$?
 
33313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33314
  (exit $ac_status); }; } &&
 
33315
         { ac_try='test -s conftest.$ac_objext'
 
33316
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33317
  (eval $ac_try) 2>&5
 
33318
  ac_status=$?
 
33319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33320
  (exit $ac_status); }; }; then
 
33321
  ac_header_compiler=yes
 
33322
else
 
33323
  echo "$as_me: failed program was:" >&5
 
33324
sed 's/^/| /' conftest.$ac_ext >&5
 
33325
 
 
33326
ac_header_compiler=no
 
33327
fi
 
33328
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
33329
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
33330
echo "${ECHO_T}$ac_header_compiler" >&6
 
33331
 
 
33332
# Is the header present?
 
33333
echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
 
33334
echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
 
33335
cat >conftest.$ac_ext <<_ACEOF
 
33336
/* confdefs.h.  */
 
33337
_ACEOF
 
33338
cat confdefs.h >>conftest.$ac_ext
 
33339
cat >>conftest.$ac_ext <<_ACEOF
 
33340
/* end confdefs.h.  */
 
33341
#include <GL/glu.h>
 
33342
_ACEOF
 
33343
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
33344
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
33345
  ac_status=$?
 
33346
  grep -v '^ *+' conftest.er1 >conftest.err
 
33347
  rm -f conftest.er1
 
33348
  cat conftest.err >&5
 
33349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33350
  (exit $ac_status); } >/dev/null; then
 
33351
  if test -s conftest.err; then
 
33352
    ac_cpp_err=$ac_c_preproc_warn_flag
 
33353
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
33354
  else
 
33355
    ac_cpp_err=
 
33356
  fi
 
33357
else
 
33358
  ac_cpp_err=yes
 
33359
fi
 
33360
if test -z "$ac_cpp_err"; then
 
33361
  ac_header_preproc=yes
 
33362
else
 
33363
  echo "$as_me: failed program was:" >&5
 
33364
sed 's/^/| /' conftest.$ac_ext >&5
 
33365
 
 
33366
  ac_header_preproc=no
 
33367
fi
 
33368
rm -f conftest.err conftest.$ac_ext
 
33369
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
33370
echo "${ECHO_T}$ac_header_preproc" >&6
 
33371
 
 
33372
# So?  What about this header?
 
33373
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
33374
  yes:no: )
 
33375
    { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
33376
echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
33377
    { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
 
33378
echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
 
33379
    ac_header_preproc=yes
 
33380
    ;;
 
33381
  no:yes:* )
 
33382
    { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
 
33383
echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
 
33384
    { echo "$as_me:$LINENO: WARNING: GL/glu.h:     check for missing prerequisite headers?" >&5
 
33385
echo "$as_me: WARNING: GL/glu.h:     check for missing prerequisite headers?" >&2;}
 
33386
    { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
 
33387
echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
 
33388
    { echo "$as_me:$LINENO: WARNING: GL/glu.h:     section \"Present But Cannot Be Compiled\"" >&5
 
33389
echo "$as_me: WARNING: GL/glu.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
33390
    { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
 
33391
echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
 
33392
    { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
 
33393
echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
 
33394
    (
 
33395
      cat <<\_ASBOX
 
33396
## ----------------------------------------- ##
 
33397
## Report this to wx-dev@lists.wxwidgets.org ##
 
33398
## ----------------------------------------- ##
 
33399
_ASBOX
 
33400
    ) |
 
33401
      sed "s/^/$as_me: WARNING:     /" >&2
 
33402
    ;;
 
33403
esac
 
33404
echo "$as_me:$LINENO: checking for GL/glu.h" >&5
 
33405
echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
 
33406
if test "${ac_cv_header_GL_glu_h+set}" = set; then
 
33407
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33408
else
 
33409
  ac_cv_header_GL_glu_h=$ac_header_preproc
 
33410
fi
 
33411
echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
 
33412
echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
 
33413
 
 
33414
fi
 
33415
if test $ac_cv_header_GL_glu_h = yes; then
 
33416
 
 
33417
                found_gl=0
 
33418
 
 
33419
                echo "$as_me:$LINENO: checking for -lGL" >&5
 
33420
echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
 
33421
 
 
33422
  ac_find_libraries=
 
33423
  for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
 
33424
  do
 
33425
    for ac_extension in a so sl dylib dll.a; do
 
33426
      if test -f "$ac_dir/libGL.$ac_extension"; then
 
33427
        ac_find_libraries=$ac_dir
 
33428
        break 2
 
33429
      fi
 
33430
    done
 
33431
  done
 
33432
 
 
33433
                if test "$ac_find_libraries" != "" ; then
 
33434
                    echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
 
33435
echo "${ECHO_T}found in $ac_find_libraries" >&6
 
33436
 
 
33437
 
 
33438
    if test "$ac_find_libraries" = "default location"; then
 
33439
    ac_path_to_link=""
 
33440
  else
 
33441
    echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
 
33442
    result=$?
 
33443
    if test $result = 0; then
 
33444
      ac_path_to_link=""
 
33445
    else
 
33446
      ac_path_to_link=" -L$ac_find_libraries"
 
33447
    fi
 
33448
  fi
 
33449
 
 
33450
                    if test "$ac_path_to_link" != " -L/usr/lib" ; then
 
33451
                        LDFLAGS_GL="$ac_path_to_link"
 
33452
                    fi
 
33453
 
 
33454
                                                                                echo "$as_me:$LINENO: checking for -lGLU" >&5
 
33455
echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
 
33456
 
 
33457
  ac_find_libraries=
 
33458
  for ac_dir in $SEARCH_LIB;
 
33459
  do
 
33460
    for ac_extension in a so sl dylib dll.a; do
 
33461
      if test -f "$ac_dir/libGLU.$ac_extension"; then
 
33462
        ac_find_libraries=$ac_dir
 
33463
        break 2
 
33464
      fi
 
33465
    done
 
33466
  done
 
33467
 
 
33468
                    if test "$ac_find_libraries" != "" ; then
 
33469
 
 
33470
    if test "$ac_find_libraries" = "default location"; then
 
33471
    ac_path_to_link=""
 
33472
  else
 
33473
    echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
 
33474
    result=$?
 
33475
    if test $result = 0; then
 
33476
      ac_path_to_link=""
 
33477
    else
 
33478
      ac_path_to_link=" -L$ac_find_libraries"
 
33479
    fi
 
33480
  fi
 
33481
 
 
33482
                        if test "$ac_path_to_link" != " -L/usr/lib" -a \
 
33483
                                    "$ac_path_to_link" != "$LDFLAGS_GL"; then
 
33484
                            LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
 
33485
                        fi
 
33486
 
 
33487
                        found_gl=1
 
33488
                        OPENGL_LIBS="-lGL -lGLU"
 
33489
                        echo "$as_me:$LINENO: result: yes" >&5
 
33490
echo "${ECHO_T}yes" >&6
 
33491
                    else
 
33492
                        echo "$as_me:$LINENO: result: no" >&5
 
33493
echo "${ECHO_T}no" >&6
 
33494
                    fi
 
33495
                else
 
33496
                    echo "$as_me:$LINENO: result: no" >&5
 
33497
echo "${ECHO_T}no" >&6
 
33498
                fi
 
33499
 
 
33500
                if test "$found_gl" != 1; then
 
33501
                    echo "$as_me:$LINENO: checking for -lMesaGL" >&5
 
33502
echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
 
33503
 
 
33504
  ac_find_libraries=
 
33505
  for ac_dir in $SEARCH_LIB;
 
33506
  do
 
33507
    for ac_extension in a so sl dylib dll.a; do
 
33508
      if test -f "$ac_dir/libMesaGL.$ac_extension"; then
 
33509
        ac_find_libraries=$ac_dir
 
33510
        break 2
 
33511
      fi
 
33512
    done
 
33513
  done
 
33514
 
 
33515
                    if test "$ac_find_libraries" != "" ; then
 
33516
 
 
33517
    if test "$ac_find_libraries" = "default location"; then
 
33518
    ac_path_to_link=""
 
33519
  else
 
33520
    echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
 
33521
    result=$?
 
33522
    if test $result = 0; then
 
33523
      ac_path_to_link=""
 
33524
    else
 
33525
      ac_path_to_link=" -L$ac_find_libraries"
 
33526
    fi
 
33527
  fi
 
33528
 
 
33529
                        LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
 
33530
                        OPENGL_LIBS="-lMesaGL -lMesaGLU"
 
33531
                        echo "$as_me:$LINENO: result: yes" >&5
 
33532
echo "${ECHO_T}yes" >&6
 
33533
                    else
 
33534
                        echo "$as_me:$LINENO: result: no" >&5
 
33535
echo "${ECHO_T}no" >&6
 
33536
                    fi
 
33537
                fi
 
33538
 
 
33539
fi
 
33540
 
 
33541
 
 
33542
 
 
33543
fi
 
33544
 
 
33545
 
 
33546
 
 
33547
        if test "x$OPENGL_LIBS" = "x"; then
 
33548
                                                { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
 
33549
echo "$as_me: error: OpenGL libraries not available" >&2;}
 
33550
   { (exit 1); exit 1; }; }
 
33551
        fi
 
33552
    fi
 
33553
 
 
33554
    if test "$wxUSE_OPENGL" = "yes"; then
 
33555
        USE_OPENGL=1
 
33556
        cat >>confdefs.h <<\_ACEOF
 
33557
#define wxUSE_OPENGL 1
 
33558
_ACEOF
 
33559
 
 
33560
        cat >>confdefs.h <<\_ACEOF
 
33561
#define wxUSE_GLCANVAS 1
 
33562
_ACEOF
 
33563
 
 
33564
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
 
33565
    fi
 
33566
fi
 
33567
 
 
33568
 
 
33569
if test -n "$TOOLKIT" ; then
 
33570
    TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
 
33571
fi
 
33572
 
 
33573
 
 
33574
 
 
33575
if test "$wxUSE_SHARED" = "yes"; then
 
33576
    case "${host}" in
 
33577
      *-pc-msdosdjgpp )
 
33578
                wxUSE_SHARED=no
 
33579
        { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
 
33580
echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
 
33581
      ;;
 
33582
    esac
 
33583
fi
 
33584
 
 
33585
if test "$wxUSE_SHARED" = "yes"; then
 
33586
 
 
33587
 
 
33588
    case "${host}" in
 
33589
        *-*-cygwin* | *-*-mingw* )
 
33590
                                                                                                wx_cv_version_script=no
 
33591
            ;;
 
33592
 
 
33593
        *)
 
33594
            echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
 
33595
echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
 
33596
if test "${wx_cv_version_script+set}" = set; then
 
33597
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33598
else
 
33599
 
 
33600
                echo "VER_1 { *; };" >conftest.sym
 
33601
                echo "int main() { return 0; }" >conftest.cpp
 
33602
 
 
33603
                if { ac_try='
 
33604
                        $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
 
33605
                        -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
 
33606
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33607
  (eval $ac_try) 2>&5
 
33608
  ac_status=$?
 
33609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33610
  (exit $ac_status); }; } ; then
 
33611
                  if test -s conftest.stderr ; then
 
33612
                      wx_cv_version_script=no
 
33613
                  else
 
33614
                      wx_cv_version_script=yes
 
33615
                  fi
 
33616
                else
 
33617
                  wx_cv_version_script=no
 
33618
                fi
 
33619
 
 
33620
                                                                                                                                                                                                if test $wx_cv_version_script = yes
 
33621
                then
 
33622
                  echo "struct B { virtual ~B() { } }; \
 
33623
                        struct D : public B { }; \
 
33624
                        void F() { D d; }" > conftest.cpp
 
33625
 
 
33626
                  if { ac_try='
 
33627
                        $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
 
33628
                        -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
 
33629
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33630
  (eval $ac_try) 2>&5
 
33631
  ac_status=$?
 
33632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33633
  (exit $ac_status); }; } &&
 
33634
                     { ac_try='
 
33635
                        $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
 
33636
                        -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
 
33637
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33638
  (eval $ac_try) 2>&5
 
33639
  ac_status=$?
 
33640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33641
  (exit $ac_status); }; }
 
33642
                  then
 
33643
                    if { ac_try='
 
33644
                          $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
 
33645
                          -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
 
33646
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33647
  (eval $ac_try) 2>&5
 
33648
  ac_status=$?
 
33649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33650
  (exit $ac_status); }; }
 
33651
                    then
 
33652
                      wx_cv_version_script=yes
 
33653
                    else
 
33654
                      wx_cv_version_script=no
 
33655
                    fi
 
33656
                  fi
 
33657
                fi
 
33658
 
 
33659
                rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
 
33660
                rm -f conftest1.output conftest2.output conftest3.output
 
33661
 
 
33662
fi
 
33663
echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
 
33664
echo "${ECHO_T}$wx_cv_version_script" >&6
 
33665
 
 
33666
            if test $wx_cv_version_script = yes ; then
 
33667
                LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
 
33668
            fi
 
33669
            ;;
 
33670
    esac
 
33671
 
 
33672
 
 
33673
    case "${host}" in
 
33674
      *-*-linux* | *-*-gnu* )
 
33675
        SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
 
33676
        WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
 
33677
        ;;
 
33678
 
 
33679
      *-*-solaris2* )
 
33680
        if test "$GCC" = yes ; then
 
33681
                                    CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
 
33682
 
 
33683
                                    saveLdflags="$LDFLAGS"
 
33684
            LDFLAGS="$saveLdflags -Wl,-rpath,/"
 
33685
            echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
 
33686
echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
 
33687
            cat >conftest.$ac_ext <<_ACEOF
 
33688
/* confdefs.h.  */
 
33689
_ACEOF
 
33690
cat confdefs.h >>conftest.$ac_ext
 
33691
cat >>conftest.$ac_ext <<_ACEOF
 
33692
/* end confdefs.h.  */
 
33693
 
 
33694
int
 
33695
main ()
 
33696
{
 
33697
 
 
33698
  ;
 
33699
  return 0;
 
33700
}
 
33701
_ACEOF
 
33702
rm -f conftest.$ac_objext conftest$ac_exeext
 
33703
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
33704
  (eval $ac_link) 2>conftest.er1
 
33705
  ac_status=$?
 
33706
  grep -v '^ *+' conftest.er1 >conftest.err
 
33707
  rm -f conftest.er1
 
33708
  cat conftest.err >&5
 
33709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33710
  (exit $ac_status); } &&
 
33711
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33712
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33713
  (eval $ac_try) 2>&5
 
33714
  ac_status=$?
 
33715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33716
  (exit $ac_status); }; } &&
 
33717
         { ac_try='test -s conftest$ac_exeext'
 
33718
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33719
  (eval $ac_try) 2>&5
 
33720
  ac_status=$?
 
33721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33722
  (exit $ac_status); }; }; then
 
33723
 
 
33724
                    echo "$as_me:$LINENO: result: yes" >&5
 
33725
echo "${ECHO_T}yes" >&6
 
33726
                    SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
 
33727
                    WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
 
33728
 
 
33729
else
 
33730
  echo "$as_me: failed program was:" >&5
 
33731
sed 's/^/| /' conftest.$ac_ext >&5
 
33732
 
 
33733
 
 
33734
                    echo "$as_me:$LINENO: result: no" >&5
 
33735
echo "${ECHO_T}no" >&6
 
33736
                    echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
 
33737
echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
 
33738
                    LDFLAGS="$saveLdflags -Wl,-R,/"
 
33739
                    cat >conftest.$ac_ext <<_ACEOF
 
33740
/* confdefs.h.  */
 
33741
_ACEOF
 
33742
cat confdefs.h >>conftest.$ac_ext
 
33743
cat >>conftest.$ac_ext <<_ACEOF
 
33744
/* end confdefs.h.  */
 
33745
 
 
33746
int
 
33747
main ()
 
33748
{
 
33749
 
 
33750
  ;
 
33751
  return 0;
 
33752
}
 
33753
_ACEOF
 
33754
rm -f conftest.$ac_objext conftest$ac_exeext
 
33755
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
33756
  (eval $ac_link) 2>conftest.er1
 
33757
  ac_status=$?
 
33758
  grep -v '^ *+' conftest.er1 >conftest.err
 
33759
  rm -f conftest.er1
 
33760
  cat conftest.err >&5
 
33761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33762
  (exit $ac_status); } &&
 
33763
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33764
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33765
  (eval $ac_try) 2>&5
 
33766
  ac_status=$?
 
33767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33768
  (exit $ac_status); }; } &&
 
33769
         { ac_try='test -s conftest$ac_exeext'
 
33770
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33771
  (eval $ac_try) 2>&5
 
33772
  ac_status=$?
 
33773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33774
  (exit $ac_status); }; }; then
 
33775
 
 
33776
                            echo "$as_me:$LINENO: result: yes" >&5
 
33777
echo "${ECHO_T}yes" >&6
 
33778
                            SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
 
33779
                            WXCONFIG_RPATH="-Wl,-R,\$libdir"
 
33780
 
 
33781
else
 
33782
  echo "$as_me: failed program was:" >&5
 
33783
sed 's/^/| /' conftest.$ac_ext >&5
 
33784
 
 
33785
 
 
33786
                            echo "$as_me:$LINENO: result: no" >&5
 
33787
echo "${ECHO_T}no" >&6
 
33788
 
 
33789
fi
 
33790
rm -f conftest.err conftest.$ac_objext \
 
33791
      conftest$ac_exeext conftest.$ac_ext
 
33792
 
 
33793
fi
 
33794
rm -f conftest.err conftest.$ac_objext \
 
33795
      conftest$ac_exeext conftest.$ac_ext
 
33796
            LDFLAGS="$saveLdflags"
 
33797
        else
 
33798
            SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
 
33799
            WXCONFIG_RPATH="-R\$libdir"
 
33800
        fi
 
33801
      ;;
 
33802
 
 
33803
      *-*-darwin* )
 
33804
        install_name_tool=`which install_name_tool`
 
33805
        if test "$install_name_tool" -a -x "$install_name_tool"; then
 
33806
            SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
 
33807
            cat <<EOF >change-install-names
 
33808
#!/bin/sh
 
33809
libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
 
33810
inst_cmd="install_name_tool "
 
33811
for i in \${libnames} ; do
 
33812
    inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
 
33813
done
 
33814
\${inst_cmd} \${3}
 
33815
EOF
 
33816
            chmod +x change-install-names
 
33817
        fi
 
33818
      ;;
 
33819
 
 
33820
      *-*-cygwin* | *-*-mingw32* )
 
33821
                        WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
 
33822
        ;;
 
33823
 
 
33824
      *-*-hpux* )
 
33825
        SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
 
33826
        WXCONFIG_RPATH="-Wl,+b,\$libdir"
 
33827
        ;;
 
33828
 
 
33829
    esac
 
33830
 
 
33831
    if test $wxUSE_RPATH = "no"; then
 
33832
        SAMPLES_RPATH_FLAG=''
 
33833
        SAMPLES_RPATH_POSTLINK=''
 
33834
        WXCONFIG_RPATH=''
 
33835
    fi
 
33836
 
 
33837
    SHARED=1
 
33838
 
 
33839
else
 
33840
 
 
33841
    config_linkage_component="-static"
 
33842
    SHARED=0
 
33843
 
 
33844
fi
 
33845
 
 
33846
 
 
33847
UNICODE=0
 
33848
lib_unicode_suffix=
 
33849
WX_CHARTYPE="ansi"
 
33850
if test "$wxUSE_UNICODE" = "yes"; then
 
33851
    lib_unicode_suffix=u
 
33852
    WX_CHARTYPE="unicode"
 
33853
    UNICODE=1
 
33854
fi
 
33855
 
 
33856
lib_debug_suffix=
 
33857
WX_DEBUGTYPE="release"
 
33858
DEBUG_FLAG=0
 
33859
if test "$wxUSE_DEBUG_FLAG" = "yes"; then
 
33860
    lib_debug_suffix=d
 
33861
    WX_DEBUGTYPE="debug"
 
33862
    DEBUG_FLAG=1
 
33863
fi
 
33864
 
 
33865
WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
 
33866
WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
 
33867
 
 
33868
DEBUG_INFO=0
 
33869
if test "$wxUSE_DEBUG_INFO" = "yes"; then
 
33870
    DEBUG_INFO=1
 
33871
fi
 
33872
 
 
33873
WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
 
33874
 
 
33875
TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
 
33876
 
 
33877
TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
 
33878
 
 
33879
if test "$cross_compiling" = "yes"; then
 
33880
    HOST_SUFFIX="-$host_alias"
 
33881
    TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
 
33882
    TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
 
33883
fi
 
33884
 
 
33885
WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
 
33886
if test "${TOOLKIT_DIR}" = "os2"; then
 
33887
    WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
 
33888
else
 
33889
    WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
 
33890
fi
 
33891
 
 
33892
 
 
33893
 
 
33894
if test "$wxUSE_COCOA" = 1; then
 
33895
 
 
33896
 
 
33897
    ac_ext=c
 
33898
ac_cpp='$CPP $CPPFLAGS'
 
33899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
33900
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
33901
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
33902
 
 
33903
ac_ext=m
 
33904
 
 
33905
    echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
 
33906
echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
 
33907
    cat >conftest.$ac_ext <<_ACEOF
 
33908
/* confdefs.h.  */
 
33909
_ACEOF
 
33910
cat confdefs.h >>conftest.$ac_ext
 
33911
cat >>conftest.$ac_ext <<_ACEOF
 
33912
/* end confdefs.h.  */
 
33913
#include <AppKit/NSEvent.h>
 
33914
#include <CoreFoundation/CoreFoundation.h>
 
33915
 
 
33916
int
 
33917
main ()
 
33918
{
 
33919
 
 
33920
  ;
 
33921
  return 0;
 
33922
}
 
33923
_ACEOF
 
33924
rm -f conftest.$ac_objext
 
33925
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
33926
  (eval $ac_compile) 2>conftest.er1
 
33927
  ac_status=$?
 
33928
  grep -v '^ *+' conftest.er1 >conftest.err
 
33929
  rm -f conftest.er1
 
33930
  cat conftest.err >&5
 
33931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33932
  (exit $ac_status); } &&
 
33933
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33934
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33935
  (eval $ac_try) 2>&5
 
33936
  ac_status=$?
 
33937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33938
  (exit $ac_status); }; } &&
 
33939
         { ac_try='test -s conftest.$ac_objext'
 
33940
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33941
  (eval $ac_try) 2>&5
 
33942
  ac_status=$?
 
33943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33944
  (exit $ac_status); }; }; then
 
33945
  echo "$as_me:$LINENO: result: no" >&5
 
33946
echo "${ECHO_T}no" >&6
 
33947
else
 
33948
  echo "$as_me: failed program was:" >&5
 
33949
sed 's/^/| /' conftest.$ac_ext >&5
 
33950
 
 
33951
echo "$as_me:$LINENO: result: yes" >&5
 
33952
echo "${ECHO_T}yes" >&6
 
33953
        echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
 
33954
echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
 
33955
        cat >conftest.$ac_ext <<_ACEOF
 
33956
/* confdefs.h.  */
 
33957
_ACEOF
 
33958
cat confdefs.h >>conftest.$ac_ext
 
33959
cat >>conftest.$ac_ext <<_ACEOF
 
33960
/* end confdefs.h.  */
 
33961
#define __Point__ 1
 
33962
#include <AppKit/NSEvent.h>
 
33963
#include <CoreFoundation/CoreFoundation.h>
 
33964
 
 
33965
int
 
33966
main ()
 
33967
{
 
33968
 
 
33969
  ;
 
33970
  return 0;
 
33971
}
 
33972
_ACEOF
 
33973
rm -f conftest.$ac_objext
 
33974
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
33975
  (eval $ac_compile) 2>conftest.er1
 
33976
  ac_status=$?
 
33977
  grep -v '^ *+' conftest.er1 >conftest.err
 
33978
  rm -f conftest.er1
 
33979
  cat conftest.err >&5
 
33980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33981
  (exit $ac_status); } &&
 
33982
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
33983
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33984
  (eval $ac_try) 2>&5
 
33985
  ac_status=$?
 
33986
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33987
  (exit $ac_status); }; } &&
 
33988
         { ac_try='test -s conftest.$ac_objext'
 
33989
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
33990
  (eval $ac_try) 2>&5
 
33991
  ac_status=$?
 
33992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33993
  (exit $ac_status); }; }; then
 
33994
  echo "$as_me:$LINENO: result: yes" >&5
 
33995
echo "${ECHO_T}yes" >&6
 
33996
            cat >>confdefs.h <<\_ACEOF
 
33997
#define __Point__ 1
 
33998
_ACEOF
 
33999
 
 
34000
 
 
34001
else
 
34002
  echo "$as_me: failed program was:" >&5
 
34003
sed 's/^/| /' conftest.$ac_ext >&5
 
34004
 
 
34005
{ { echo "$as_me:$LINENO: error: no
 
34006
See \`config.log' for more details." >&5
 
34007
echo "$as_me: error: no
 
34008
See \`config.log' for more details." >&2;}
 
34009
   { (exit 1); exit 1; }; }
 
34010
 
 
34011
fi
 
34012
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34013
 
 
34014
fi
 
34015
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34016
    ac_ext=c
 
34017
ac_cpp='$CPP $CPPFLAGS'
 
34018
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
34019
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
34020
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
34021
 
 
34022
fi
 
34023
 
 
34024
if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
 
34025
            WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
 
34026
    WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
 
34027
 
 
34028
        LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
 
34029
 
 
34030
    # Extract the first word of "Rez", so it can be a program name with args.
 
34031
set dummy Rez; ac_word=$2
 
34032
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
34033
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
34034
if test "${ac_cv_prog_REZ+set}" = set; then
 
34035
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34036
else
 
34037
  if test -n "$REZ"; then
 
34038
  ac_cv_prog_REZ="$REZ" # Let the user override the test.
 
34039
else
 
34040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
34041
for as_dir in $PATH
 
34042
do
 
34043
  IFS=$as_save_IFS
 
34044
  test -z "$as_dir" && as_dir=.
 
34045
  for ac_exec_ext in '' $ac_executable_extensions; do
 
34046
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
34047
    ac_cv_prog_REZ="Rez"
 
34048
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
34049
    break 2
 
34050
  fi
 
34051
done
 
34052
done
 
34053
 
 
34054
  test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
 
34055
fi
 
34056
fi
 
34057
REZ=$ac_cv_prog_REZ
 
34058
if test -n "$REZ"; then
 
34059
  echo "$as_me:$LINENO: result: $REZ" >&5
 
34060
echo "${ECHO_T}$REZ" >&6
 
34061
else
 
34062
  echo "$as_me:$LINENO: result: no" >&5
 
34063
echo "${ECHO_T}no" >&6
 
34064
fi
 
34065
 
 
34066
    # Extract the first word of "DeRez", so it can be a program name with args.
 
34067
set dummy DeRez; ac_word=$2
 
34068
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
34069
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
34070
if test "${ac_cv_prog_DEREZ+set}" = set; then
 
34071
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34072
else
 
34073
  if test -n "$DEREZ"; then
 
34074
  ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
 
34075
else
 
34076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
34077
for as_dir in $PATH
 
34078
do
 
34079
  IFS=$as_save_IFS
 
34080
  test -z "$as_dir" && as_dir=.
 
34081
  for ac_exec_ext in '' $ac_executable_extensions; do
 
34082
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
34083
    ac_cv_prog_DEREZ="DeRez"
 
34084
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
34085
    break 2
 
34086
  fi
 
34087
done
 
34088
done
 
34089
 
 
34090
  test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
 
34091
fi
 
34092
fi
 
34093
DEREZ=$ac_cv_prog_DEREZ
 
34094
if test -n "$DEREZ"; then
 
34095
  echo "$as_me:$LINENO: result: $DEREZ" >&5
 
34096
echo "${ECHO_T}$DEREZ" >&6
 
34097
else
 
34098
  echo "$as_me:$LINENO: result: no" >&5
 
34099
echo "${ECHO_T}no" >&6
 
34100
fi
 
34101
 
 
34102
    # Extract the first word of "SetFile", so it can be a program name with args.
 
34103
set dummy SetFile; ac_word=$2
 
34104
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
34105
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
34106
if test "${ac_cv_prog_SETFILE+set}" = set; then
 
34107
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34108
else
 
34109
  if test -n "$SETFILE"; then
 
34110
  ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
 
34111
else
 
34112
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
34113
for as_dir in $PATH
 
34114
do
 
34115
  IFS=$as_save_IFS
 
34116
  test -z "$as_dir" && as_dir=.
 
34117
  for ac_exec_ext in '' $ac_executable_extensions; do
 
34118
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
34119
    ac_cv_prog_SETFILE="SetFile"
 
34120
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
34121
    break 2
 
34122
  fi
 
34123
done
 
34124
done
 
34125
 
 
34126
  test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
 
34127
fi
 
34128
fi
 
34129
SETFILE=$ac_cv_prog_SETFILE
 
34130
if test -n "$SETFILE"; then
 
34131
  echo "$as_me:$LINENO: result: $SETFILE" >&5
 
34132
echo "${ECHO_T}$SETFILE" >&6
 
34133
else
 
34134
  echo "$as_me:$LINENO: result: no" >&5
 
34135
echo "${ECHO_T}no" >&6
 
34136
fi
 
34137
 
 
34138
 
 
34139
    MACSETFILE="\$(SETFILE)"
 
34140
 
 
34141
            if test "$wxUSE_MAC" = 1; then
 
34142
        POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
 
34143
        RESCOMP="$REZ"
 
34144
        WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
 
34145
    else
 
34146
        POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
 
34147
        RESCOMP="echo -n \| $REZ"
 
34148
        WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
 
34149
    fi
 
34150
 
 
34151
else
 
34152
        MACSETFILE="@true"
 
34153
 
 
34154
    if test "$wxUSE_PM" = 1; then
 
34155
        RESCOMP="emxbind"
 
34156
        WXCONFIG_RESFLAGS="-ep"
 
34157
 
 
34158
                POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
 
34159
    else
 
34160
        POSTLINK_COMMAND="@true"
 
34161
    fi
 
34162
 
 
34163
fi
 
34164
 
 
34165
 
 
34166
 
 
34167
echo "$as_me:$LINENO: checking for mode_t" >&5
 
34168
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
 
34169
if test "${ac_cv_type_mode_t+set}" = set; then
 
34170
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34171
else
 
34172
  cat >conftest.$ac_ext <<_ACEOF
 
34173
/* confdefs.h.  */
 
34174
_ACEOF
 
34175
cat confdefs.h >>conftest.$ac_ext
 
34176
cat >>conftest.$ac_ext <<_ACEOF
 
34177
/* end confdefs.h.  */
 
34178
$ac_includes_default
 
34179
int
 
34180
main ()
 
34181
{
 
34182
if ((mode_t *) 0)
 
34183
  return 0;
 
34184
if (sizeof (mode_t))
 
34185
  return 0;
 
34186
  ;
 
34187
  return 0;
 
34188
}
 
34189
_ACEOF
 
34190
rm -f conftest.$ac_objext
 
34191
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34192
  (eval $ac_compile) 2>conftest.er1
 
34193
  ac_status=$?
 
34194
  grep -v '^ *+' conftest.er1 >conftest.err
 
34195
  rm -f conftest.er1
 
34196
  cat conftest.err >&5
 
34197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34198
  (exit $ac_status); } &&
 
34199
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34200
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34201
  (eval $ac_try) 2>&5
 
34202
  ac_status=$?
 
34203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34204
  (exit $ac_status); }; } &&
 
34205
         { ac_try='test -s conftest.$ac_objext'
 
34206
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34207
  (eval $ac_try) 2>&5
 
34208
  ac_status=$?
 
34209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34210
  (exit $ac_status); }; }; then
 
34211
  ac_cv_type_mode_t=yes
 
34212
else
 
34213
  echo "$as_me: failed program was:" >&5
 
34214
sed 's/^/| /' conftest.$ac_ext >&5
 
34215
 
 
34216
ac_cv_type_mode_t=no
 
34217
fi
 
34218
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34219
fi
 
34220
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
 
34221
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
 
34222
if test $ac_cv_type_mode_t = yes; then
 
34223
  :
 
34224
else
 
34225
 
 
34226
cat >>confdefs.h <<_ACEOF
 
34227
#define mode_t int
 
34228
_ACEOF
 
34229
 
 
34230
fi
 
34231
 
 
34232
echo "$as_me:$LINENO: checking for off_t" >&5
 
34233
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
34234
if test "${ac_cv_type_off_t+set}" = set; then
 
34235
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34236
else
 
34237
  cat >conftest.$ac_ext <<_ACEOF
 
34238
/* confdefs.h.  */
 
34239
_ACEOF
 
34240
cat confdefs.h >>conftest.$ac_ext
 
34241
cat >>conftest.$ac_ext <<_ACEOF
 
34242
/* end confdefs.h.  */
 
34243
$ac_includes_default
 
34244
int
 
34245
main ()
 
34246
{
 
34247
if ((off_t *) 0)
 
34248
  return 0;
 
34249
if (sizeof (off_t))
 
34250
  return 0;
 
34251
  ;
 
34252
  return 0;
 
34253
}
 
34254
_ACEOF
 
34255
rm -f conftest.$ac_objext
 
34256
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34257
  (eval $ac_compile) 2>conftest.er1
 
34258
  ac_status=$?
 
34259
  grep -v '^ *+' conftest.er1 >conftest.err
 
34260
  rm -f conftest.er1
 
34261
  cat conftest.err >&5
 
34262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34263
  (exit $ac_status); } &&
 
34264
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34265
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34266
  (eval $ac_try) 2>&5
 
34267
  ac_status=$?
 
34268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34269
  (exit $ac_status); }; } &&
 
34270
         { ac_try='test -s conftest.$ac_objext'
 
34271
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34272
  (eval $ac_try) 2>&5
 
34273
  ac_status=$?
 
34274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34275
  (exit $ac_status); }; }; then
 
34276
  ac_cv_type_off_t=yes
 
34277
else
 
34278
  echo "$as_me: failed program was:" >&5
 
34279
sed 's/^/| /' conftest.$ac_ext >&5
 
34280
 
 
34281
ac_cv_type_off_t=no
 
34282
fi
 
34283
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34284
fi
 
34285
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
34286
echo "${ECHO_T}$ac_cv_type_off_t" >&6
 
34287
if test $ac_cv_type_off_t = yes; then
 
34288
  :
 
34289
else
 
34290
 
 
34291
cat >>confdefs.h <<_ACEOF
 
34292
#define off_t long
 
34293
_ACEOF
 
34294
 
 
34295
fi
 
34296
 
 
34297
echo "$as_me:$LINENO: checking for pid_t" >&5
 
34298
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 
34299
if test "${ac_cv_type_pid_t+set}" = set; then
 
34300
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34301
else
 
34302
  cat >conftest.$ac_ext <<_ACEOF
 
34303
/* confdefs.h.  */
 
34304
_ACEOF
 
34305
cat confdefs.h >>conftest.$ac_ext
 
34306
cat >>conftest.$ac_ext <<_ACEOF
 
34307
/* end confdefs.h.  */
 
34308
$ac_includes_default
 
34309
int
 
34310
main ()
 
34311
{
 
34312
if ((pid_t *) 0)
 
34313
  return 0;
 
34314
if (sizeof (pid_t))
 
34315
  return 0;
 
34316
  ;
 
34317
  return 0;
 
34318
}
 
34319
_ACEOF
 
34320
rm -f conftest.$ac_objext
 
34321
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34322
  (eval $ac_compile) 2>conftest.er1
 
34323
  ac_status=$?
 
34324
  grep -v '^ *+' conftest.er1 >conftest.err
 
34325
  rm -f conftest.er1
 
34326
  cat conftest.err >&5
 
34327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34328
  (exit $ac_status); } &&
 
34329
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34330
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34331
  (eval $ac_try) 2>&5
 
34332
  ac_status=$?
 
34333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34334
  (exit $ac_status); }; } &&
 
34335
         { ac_try='test -s conftest.$ac_objext'
 
34336
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34337
  (eval $ac_try) 2>&5
 
34338
  ac_status=$?
 
34339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34340
  (exit $ac_status); }; }; then
 
34341
  ac_cv_type_pid_t=yes
 
34342
else
 
34343
  echo "$as_me: failed program was:" >&5
 
34344
sed 's/^/| /' conftest.$ac_ext >&5
 
34345
 
 
34346
ac_cv_type_pid_t=no
 
34347
fi
 
34348
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34349
fi
 
34350
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
34351
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
 
34352
if test $ac_cv_type_pid_t = yes; then
 
34353
  :
 
34354
else
 
34355
 
 
34356
cat >>confdefs.h <<_ACEOF
 
34357
#define pid_t int
 
34358
_ACEOF
 
34359
 
 
34360
fi
 
34361
 
 
34362
echo "$as_me:$LINENO: checking for size_t" >&5
 
34363
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
34364
if test "${ac_cv_type_size_t+set}" = set; then
 
34365
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34366
else
 
34367
  cat >conftest.$ac_ext <<_ACEOF
 
34368
/* confdefs.h.  */
 
34369
_ACEOF
 
34370
cat confdefs.h >>conftest.$ac_ext
 
34371
cat >>conftest.$ac_ext <<_ACEOF
 
34372
/* end confdefs.h.  */
 
34373
$ac_includes_default
 
34374
int
 
34375
main ()
 
34376
{
 
34377
if ((size_t *) 0)
 
34378
  return 0;
 
34379
if (sizeof (size_t))
 
34380
  return 0;
 
34381
  ;
 
34382
  return 0;
 
34383
}
 
34384
_ACEOF
 
34385
rm -f conftest.$ac_objext
 
34386
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34387
  (eval $ac_compile) 2>conftest.er1
 
34388
  ac_status=$?
 
34389
  grep -v '^ *+' conftest.er1 >conftest.err
 
34390
  rm -f conftest.er1
 
34391
  cat conftest.err >&5
 
34392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34393
  (exit $ac_status); } &&
 
34394
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34395
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34396
  (eval $ac_try) 2>&5
 
34397
  ac_status=$?
 
34398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34399
  (exit $ac_status); }; } &&
 
34400
         { ac_try='test -s conftest.$ac_objext'
 
34401
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34402
  (eval $ac_try) 2>&5
 
34403
  ac_status=$?
 
34404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34405
  (exit $ac_status); }; }; then
 
34406
  ac_cv_type_size_t=yes
 
34407
else
 
34408
  echo "$as_me: failed program was:" >&5
 
34409
sed 's/^/| /' conftest.$ac_ext >&5
 
34410
 
 
34411
ac_cv_type_size_t=no
 
34412
fi
 
34413
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34414
fi
 
34415
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
34416
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
34417
if test $ac_cv_type_size_t = yes; then
 
34418
  :
 
34419
else
 
34420
 
 
34421
cat >>confdefs.h <<_ACEOF
 
34422
#define size_t unsigned
 
34423
_ACEOF
 
34424
 
 
34425
fi
 
34426
 
 
34427
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
 
34428
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
 
34429
if test "${ac_cv_type_uid_t+set}" = set; then
 
34430
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34431
else
 
34432
  cat >conftest.$ac_ext <<_ACEOF
 
34433
/* confdefs.h.  */
 
34434
_ACEOF
 
34435
cat confdefs.h >>conftest.$ac_ext
 
34436
cat >>conftest.$ac_ext <<_ACEOF
 
34437
/* end confdefs.h.  */
 
34438
#include <sys/types.h>
 
34439
 
 
34440
_ACEOF
 
34441
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
34442
  $EGREP "uid_t" >/dev/null 2>&1; then
 
34443
  ac_cv_type_uid_t=yes
 
34444
else
 
34445
  ac_cv_type_uid_t=no
 
34446
fi
 
34447
rm -f conftest*
 
34448
 
 
34449
fi
 
34450
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
 
34451
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
 
34452
if test $ac_cv_type_uid_t = no; then
 
34453
 
 
34454
cat >>confdefs.h <<\_ACEOF
 
34455
#define uid_t int
 
34456
_ACEOF
 
34457
 
 
34458
 
 
34459
cat >>confdefs.h <<\_ACEOF
 
34460
#define gid_t int
 
34461
_ACEOF
 
34462
 
 
34463
fi
 
34464
 
 
34465
 
 
34466
echo "$as_me:$LINENO: checking for ssize_t" >&5
 
34467
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
 
34468
if test "${ac_cv_type_ssize_t+set}" = set; then
 
34469
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34470
else
 
34471
  cat >conftest.$ac_ext <<_ACEOF
 
34472
/* confdefs.h.  */
 
34473
_ACEOF
 
34474
cat confdefs.h >>conftest.$ac_ext
 
34475
cat >>conftest.$ac_ext <<_ACEOF
 
34476
/* end confdefs.h.  */
 
34477
$ac_includes_default
 
34478
int
 
34479
main ()
 
34480
{
 
34481
if ((ssize_t *) 0)
 
34482
  return 0;
 
34483
if (sizeof (ssize_t))
 
34484
  return 0;
 
34485
  ;
 
34486
  return 0;
 
34487
}
 
34488
_ACEOF
 
34489
rm -f conftest.$ac_objext
 
34490
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34491
  (eval $ac_compile) 2>conftest.er1
 
34492
  ac_status=$?
 
34493
  grep -v '^ *+' conftest.er1 >conftest.err
 
34494
  rm -f conftest.er1
 
34495
  cat conftest.err >&5
 
34496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34497
  (exit $ac_status); } &&
 
34498
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34500
  (eval $ac_try) 2>&5
 
34501
  ac_status=$?
 
34502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34503
  (exit $ac_status); }; } &&
 
34504
         { ac_try='test -s conftest.$ac_objext'
 
34505
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34506
  (eval $ac_try) 2>&5
 
34507
  ac_status=$?
 
34508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34509
  (exit $ac_status); }; }; then
 
34510
  ac_cv_type_ssize_t=yes
 
34511
else
 
34512
  echo "$as_me: failed program was:" >&5
 
34513
sed 's/^/| /' conftest.$ac_ext >&5
 
34514
 
 
34515
ac_cv_type_ssize_t=no
 
34516
fi
 
34517
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34518
fi
 
34519
echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
 
34520
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
 
34521
if test $ac_cv_type_ssize_t = yes; then
 
34522
 
 
34523
cat >>confdefs.h <<_ACEOF
 
34524
#define HAVE_SSIZE_T 1
 
34525
_ACEOF
 
34526
 
 
34527
 
 
34528
fi
 
34529
 
 
34530
 
 
34531
ac_ext=cc
 
34532
ac_cpp='$CXXCPP $CPPFLAGS'
 
34533
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
34534
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
34535
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
34536
 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
 
34537
echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
 
34538
if test "${wx_cv_size_t_is_uint+set}" = set; then
 
34539
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34540
else
 
34541
 
 
34542
                            cat >conftest.$ac_ext <<_ACEOF
 
34543
/* confdefs.h.  */
 
34544
_ACEOF
 
34545
cat confdefs.h >>conftest.$ac_ext
 
34546
cat >>conftest.$ac_ext <<_ACEOF
 
34547
/* end confdefs.h.  */
 
34548
#include <stddef.h>
 
34549
int
 
34550
main ()
 
34551
{
 
34552
 
 
34553
            return 0; }
 
34554
 
 
34555
            struct Foo { void foo(size_t); void foo(unsigned int); };
 
34556
 
 
34557
            int bar() {
 
34558
 
 
34559
  ;
 
34560
  return 0;
 
34561
}
 
34562
_ACEOF
 
34563
rm -f conftest.$ac_objext
 
34564
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34565
  (eval $ac_compile) 2>conftest.er1
 
34566
  ac_status=$?
 
34567
  grep -v '^ *+' conftest.er1 >conftest.err
 
34568
  rm -f conftest.er1
 
34569
  cat conftest.err >&5
 
34570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34571
  (exit $ac_status); } &&
 
34572
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
34573
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34574
  (eval $ac_try) 2>&5
 
34575
  ac_status=$?
 
34576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34577
  (exit $ac_status); }; } &&
 
34578
         { ac_try='test -s conftest.$ac_objext'
 
34579
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34580
  (eval $ac_try) 2>&5
 
34581
  ac_status=$?
 
34582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34583
  (exit $ac_status); }; }; then
 
34584
  wx_cv_size_t_is_uint=no
 
34585
else
 
34586
  echo "$as_me: failed program was:" >&5
 
34587
sed 's/^/| /' conftest.$ac_ext >&5
 
34588
 
 
34589
wx_cv_size_t_is_uint=yes
 
34590
 
 
34591
fi
 
34592
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34593
 
 
34594
 
 
34595
fi
 
34596
echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
 
34597
echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
 
34598
 
 
34599
if test "$wx_cv_size_t_is_uint" = "yes"; then
 
34600
    cat >>confdefs.h <<\_ACEOF
 
34601
#define wxSIZE_T_IS_UINT 1
 
34602
_ACEOF
 
34603
 
 
34604
else
 
34605
    echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
 
34606
echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
 
34607
if test "${wx_cv_size_t_is_ulong+set}" = set; then
 
34608
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34609
else
 
34610
  cat >conftest.$ac_ext <<_ACEOF
 
34611
/* confdefs.h.  */
 
34612
_ACEOF
 
34613
cat confdefs.h >>conftest.$ac_ext
 
34614
cat >>conftest.$ac_ext <<_ACEOF
 
34615
/* end confdefs.h.  */
 
34616
#include <stddef.h>
 
34617
int
 
34618
main ()
 
34619
{
 
34620
 
 
34621
                return 0; }
 
34622
 
 
34623
                struct Foo { void foo(size_t); void foo(unsigned long); };
 
34624
 
 
34625
                int bar() {
 
34626
 
 
34627
  ;
 
34628
  return 0;
 
34629
}
 
34630
_ACEOF
 
34631
rm -f conftest.$ac_objext
 
34632
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34633
  (eval $ac_compile) 2>conftest.er1
 
34634
  ac_status=$?
 
34635
  grep -v '^ *+' conftest.er1 >conftest.err
 
34636
  rm -f conftest.er1
 
34637
  cat conftest.err >&5
 
34638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34639
  (exit $ac_status); } &&
 
34640
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
34641
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34642
  (eval $ac_try) 2>&5
 
34643
  ac_status=$?
 
34644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34645
  (exit $ac_status); }; } &&
 
34646
         { ac_try='test -s conftest.$ac_objext'
 
34647
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34648
  (eval $ac_try) 2>&5
 
34649
  ac_status=$?
 
34650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34651
  (exit $ac_status); }; }; then
 
34652
  wx_cv_size_t_is_ulong=no
 
34653
else
 
34654
  echo "$as_me: failed program was:" >&5
 
34655
sed 's/^/| /' conftest.$ac_ext >&5
 
34656
 
 
34657
wx_cv_size_t_is_ulong=yes
 
34658
 
 
34659
fi
 
34660
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34661
 
 
34662
fi
 
34663
echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
 
34664
echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
 
34665
 
 
34666
    if test "$wx_cv_size_t_is_ulong" = "yes"; then
 
34667
        cat >>confdefs.h <<\_ACEOF
 
34668
#define wxSIZE_T_IS_ULONG 1
 
34669
_ACEOF
 
34670
 
 
34671
    fi
 
34672
fi
 
34673
 
 
34674
ac_ext=c
 
34675
ac_cpp='$CPP $CPPFLAGS'
 
34676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
34677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
34678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
34679
 
 
34680
 
 
34681
echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
 
34682
echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
 
34683
if test "${wx_cv_struct_pw_gecos+set}" = set; then
 
34684
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34685
else
 
34686
 
 
34687
        cat >conftest.$ac_ext <<_ACEOF
 
34688
/* confdefs.h.  */
 
34689
_ACEOF
 
34690
cat confdefs.h >>conftest.$ac_ext
 
34691
cat >>conftest.$ac_ext <<_ACEOF
 
34692
/* end confdefs.h.  */
 
34693
#include <pwd.h>
 
34694
int
 
34695
main ()
 
34696
{
 
34697
 
 
34698
                char *p;
 
34699
                struct passwd *pw;
 
34700
                p = pw->pw_gecos;
 
34701
 
 
34702
  ;
 
34703
  return 0;
 
34704
}
 
34705
_ACEOF
 
34706
rm -f conftest.$ac_objext
 
34707
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
34708
  (eval $ac_compile) 2>conftest.er1
 
34709
  ac_status=$?
 
34710
  grep -v '^ *+' conftest.er1 >conftest.err
 
34711
  rm -f conftest.er1
 
34712
  cat conftest.err >&5
 
34713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34714
  (exit $ac_status); } &&
 
34715
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34716
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34717
  (eval $ac_try) 2>&5
 
34718
  ac_status=$?
 
34719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34720
  (exit $ac_status); }; } &&
 
34721
         { ac_try='test -s conftest.$ac_objext'
 
34722
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34723
  (eval $ac_try) 2>&5
 
34724
  ac_status=$?
 
34725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34726
  (exit $ac_status); }; }; then
 
34727
 
 
34728
                wx_cv_struct_pw_gecos=yes
 
34729
 
 
34730
else
 
34731
  echo "$as_me: failed program was:" >&5
 
34732
sed 's/^/| /' conftest.$ac_ext >&5
 
34733
 
 
34734
 
 
34735
                wx_cv_struct_pw_gecos=no
 
34736
 
 
34737
 
 
34738
fi
 
34739
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
34740
 
 
34741
 
 
34742
fi
 
34743
echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
 
34744
echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
 
34745
 
 
34746
if test "$wx_cv_struct_pw_gecos" = "yes"; then
 
34747
    cat >>confdefs.h <<\_ACEOF
 
34748
#define HAVE_PW_GECOS 1
 
34749
_ACEOF
 
34750
 
 
34751
fi
 
34752
 
 
34753
 
 
34754
if test "$wxUSE_WCHAR_T" = "yes"; then
 
34755
    cat >>confdefs.h <<\_ACEOF
 
34756
#define wxUSE_WCHAR_T 1
 
34757
_ACEOF
 
34758
 
 
34759
 
 
34760
        WCSLEN_FOUND=0
 
34761
    WCHAR_LINK=
 
34762
 
 
34763
for ac_func in wcslen
 
34764
do
 
34765
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
34766
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
34767
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
34768
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
34769
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34770
else
 
34771
  cat >conftest.$ac_ext <<_ACEOF
 
34772
/* confdefs.h.  */
 
34773
_ACEOF
 
34774
cat confdefs.h >>conftest.$ac_ext
 
34775
cat >>conftest.$ac_ext <<_ACEOF
 
34776
/* end confdefs.h.  */
 
34777
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
34778
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
34779
#define $ac_func innocuous_$ac_func
 
34780
 
 
34781
/* System header to define __stub macros and hopefully few prototypes,
 
34782
    which can conflict with char $ac_func (); below.
 
34783
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
34784
    <limits.h> exists even on freestanding compilers.  */
 
34785
 
 
34786
#ifdef __STDC__
 
34787
# include <limits.h>
 
34788
#else
 
34789
# include <assert.h>
 
34790
#endif
 
34791
 
 
34792
#undef $ac_func
 
34793
 
 
34794
/* Override any gcc2 internal prototype to avoid an error.  */
 
34795
#ifdef __cplusplus
 
34796
extern "C"
 
34797
{
 
34798
#endif
 
34799
/* We use char because int might match the return type of a gcc2
 
34800
   builtin and then its argument prototype would still apply.  */
 
34801
char $ac_func ();
 
34802
/* The GNU C library defines this for functions which it implements
 
34803
    to always fail with ENOSYS.  Some functions are actually named
 
34804
    something starting with __ and the normal name is an alias.  */
 
34805
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
34806
choke me
 
34807
#else
 
34808
char (*f) () = $ac_func;
 
34809
#endif
 
34810
#ifdef __cplusplus
 
34811
}
 
34812
#endif
 
34813
 
 
34814
int
 
34815
main ()
 
34816
{
 
34817
return f != $ac_func;
 
34818
  ;
 
34819
  return 0;
 
34820
}
 
34821
_ACEOF
 
34822
rm -f conftest.$ac_objext conftest$ac_exeext
 
34823
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
34824
  (eval $ac_link) 2>conftest.er1
 
34825
  ac_status=$?
 
34826
  grep -v '^ *+' conftest.er1 >conftest.err
 
34827
  rm -f conftest.er1
 
34828
  cat conftest.err >&5
 
34829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34830
  (exit $ac_status); } &&
 
34831
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34832
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34833
  (eval $ac_try) 2>&5
 
34834
  ac_status=$?
 
34835
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34836
  (exit $ac_status); }; } &&
 
34837
         { ac_try='test -s conftest$ac_exeext'
 
34838
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34839
  (eval $ac_try) 2>&5
 
34840
  ac_status=$?
 
34841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34842
  (exit $ac_status); }; }; then
 
34843
  eval "$as_ac_var=yes"
 
34844
else
 
34845
  echo "$as_me: failed program was:" >&5
 
34846
sed 's/^/| /' conftest.$ac_ext >&5
 
34847
 
 
34848
eval "$as_ac_var=no"
 
34849
fi
 
34850
rm -f conftest.err conftest.$ac_objext \
 
34851
      conftest$ac_exeext conftest.$ac_ext
 
34852
fi
 
34853
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
34854
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
34855
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
34856
  cat >>confdefs.h <<_ACEOF
 
34857
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
34858
_ACEOF
 
34859
 WCSLEN_FOUND=1
 
34860
fi
 
34861
done
 
34862
 
 
34863
 
 
34864
    if test "$WCSLEN_FOUND" = 0; then
 
34865
        if test "$TOOLKIT" = "MSW"; then
 
34866
            echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
 
34867
echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
 
34868
if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
 
34869
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34870
else
 
34871
  ac_check_lib_save_LIBS=$LIBS
 
34872
LIBS="-lmsvcrt  $LIBS"
 
34873
cat >conftest.$ac_ext <<_ACEOF
 
34874
/* confdefs.h.  */
 
34875
_ACEOF
 
34876
cat confdefs.h >>conftest.$ac_ext
 
34877
cat >>conftest.$ac_ext <<_ACEOF
 
34878
/* end confdefs.h.  */
 
34879
 
 
34880
/* Override any gcc2 internal prototype to avoid an error.  */
 
34881
#ifdef __cplusplus
 
34882
extern "C"
 
34883
#endif
 
34884
/* We use char because int might match the return type of a gcc2
 
34885
   builtin and then its argument prototype would still apply.  */
 
34886
char wcslen ();
 
34887
int
 
34888
main ()
 
34889
{
 
34890
wcslen ();
 
34891
  ;
 
34892
  return 0;
 
34893
}
 
34894
_ACEOF
 
34895
rm -f conftest.$ac_objext conftest$ac_exeext
 
34896
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
34897
  (eval $ac_link) 2>conftest.er1
 
34898
  ac_status=$?
 
34899
  grep -v '^ *+' conftest.er1 >conftest.err
 
34900
  rm -f conftest.er1
 
34901
  cat conftest.err >&5
 
34902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34903
  (exit $ac_status); } &&
 
34904
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34905
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34906
  (eval $ac_try) 2>&5
 
34907
  ac_status=$?
 
34908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34909
  (exit $ac_status); }; } &&
 
34910
         { ac_try='test -s conftest$ac_exeext'
 
34911
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34912
  (eval $ac_try) 2>&5
 
34913
  ac_status=$?
 
34914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34915
  (exit $ac_status); }; }; then
 
34916
  ac_cv_lib_msvcrt_wcslen=yes
 
34917
else
 
34918
  echo "$as_me: failed program was:" >&5
 
34919
sed 's/^/| /' conftest.$ac_ext >&5
 
34920
 
 
34921
ac_cv_lib_msvcrt_wcslen=no
 
34922
fi
 
34923
rm -f conftest.err conftest.$ac_objext \
 
34924
      conftest$ac_exeext conftest.$ac_ext
 
34925
LIBS=$ac_check_lib_save_LIBS
 
34926
fi
 
34927
echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
 
34928
echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
 
34929
if test $ac_cv_lib_msvcrt_wcslen = yes; then
 
34930
  WCHAR_OK=1
 
34931
fi
 
34932
 
 
34933
        else
 
34934
            echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
 
34935
echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
 
34936
if test "${ac_cv_lib_w_wcslen+set}" = set; then
 
34937
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34938
else
 
34939
  ac_check_lib_save_LIBS=$LIBS
 
34940
LIBS="-lw  $LIBS"
 
34941
cat >conftest.$ac_ext <<_ACEOF
 
34942
/* confdefs.h.  */
 
34943
_ACEOF
 
34944
cat confdefs.h >>conftest.$ac_ext
 
34945
cat >>conftest.$ac_ext <<_ACEOF
 
34946
/* end confdefs.h.  */
 
34947
 
 
34948
/* Override any gcc2 internal prototype to avoid an error.  */
 
34949
#ifdef __cplusplus
 
34950
extern "C"
 
34951
#endif
 
34952
/* We use char because int might match the return type of a gcc2
 
34953
   builtin and then its argument prototype would still apply.  */
 
34954
char wcslen ();
 
34955
int
 
34956
main ()
 
34957
{
 
34958
wcslen ();
 
34959
  ;
 
34960
  return 0;
 
34961
}
 
34962
_ACEOF
 
34963
rm -f conftest.$ac_objext conftest$ac_exeext
 
34964
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
34965
  (eval $ac_link) 2>conftest.er1
 
34966
  ac_status=$?
 
34967
  grep -v '^ *+' conftest.er1 >conftest.err
 
34968
  rm -f conftest.er1
 
34969
  cat conftest.err >&5
 
34970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34971
  (exit $ac_status); } &&
 
34972
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
34973
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34974
  (eval $ac_try) 2>&5
 
34975
  ac_status=$?
 
34976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34977
  (exit $ac_status); }; } &&
 
34978
         { ac_try='test -s conftest$ac_exeext'
 
34979
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
34980
  (eval $ac_try) 2>&5
 
34981
  ac_status=$?
 
34982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34983
  (exit $ac_status); }; }; then
 
34984
  ac_cv_lib_w_wcslen=yes
 
34985
else
 
34986
  echo "$as_me: failed program was:" >&5
 
34987
sed 's/^/| /' conftest.$ac_ext >&5
 
34988
 
 
34989
ac_cv_lib_w_wcslen=no
 
34990
fi
 
34991
rm -f conftest.err conftest.$ac_objext \
 
34992
      conftest$ac_exeext conftest.$ac_ext
 
34993
LIBS=$ac_check_lib_save_LIBS
 
34994
fi
 
34995
echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
 
34996
echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
 
34997
if test $ac_cv_lib_w_wcslen = yes; then
 
34998
 
 
34999
                            WCHAR_LINK=" -lw"
 
35000
                            WCSLEN_FOUND=1
 
35001
 
 
35002
fi
 
35003
 
 
35004
        fi
 
35005
    fi
 
35006
 
 
35007
    if test "$WCSLEN_FOUND" = 1; then
 
35008
        cat >>confdefs.h <<\_ACEOF
 
35009
#define HAVE_WCSLEN 1
 
35010
_ACEOF
 
35011
 
 
35012
    fi
 
35013
 
 
35014
                    if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
 
35015
        CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
 
35016
    fi
 
35017
 
 
35018
                echo "$as_me:$LINENO: checking for mbstate_t" >&5
 
35019
echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
 
35020
if test "${ac_cv_type_mbstate_t+set}" = set; then
 
35021
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35022
else
 
35023
  cat >conftest.$ac_ext <<_ACEOF
 
35024
/* confdefs.h.  */
 
35025
_ACEOF
 
35026
cat confdefs.h >>conftest.$ac_ext
 
35027
cat >>conftest.$ac_ext <<_ACEOF
 
35028
/* end confdefs.h.  */
 
35029
#include <wchar.h>
 
35030
 
 
35031
int
 
35032
main ()
 
35033
{
 
35034
if ((mbstate_t *) 0)
 
35035
  return 0;
 
35036
if (sizeof (mbstate_t))
 
35037
  return 0;
 
35038
  ;
 
35039
  return 0;
 
35040
}
 
35041
_ACEOF
 
35042
rm -f conftest.$ac_objext
 
35043
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35044
  (eval $ac_compile) 2>conftest.er1
 
35045
  ac_status=$?
 
35046
  grep -v '^ *+' conftest.er1 >conftest.err
 
35047
  rm -f conftest.er1
 
35048
  cat conftest.err >&5
 
35049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35050
  (exit $ac_status); } &&
 
35051
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35052
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35053
  (eval $ac_try) 2>&5
 
35054
  ac_status=$?
 
35055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35056
  (exit $ac_status); }; } &&
 
35057
         { ac_try='test -s conftest.$ac_objext'
 
35058
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35059
  (eval $ac_try) 2>&5
 
35060
  ac_status=$?
 
35061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35062
  (exit $ac_status); }; }; then
 
35063
  ac_cv_type_mbstate_t=yes
 
35064
else
 
35065
  echo "$as_me: failed program was:" >&5
 
35066
sed 's/^/| /' conftest.$ac_ext >&5
 
35067
 
 
35068
ac_cv_type_mbstate_t=no
 
35069
fi
 
35070
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35071
fi
 
35072
echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
 
35073
echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
 
35074
if test $ac_cv_type_mbstate_t = yes; then
 
35075
 
 
35076
cat >>confdefs.h <<_ACEOF
 
35077
#define HAVE_MBSTATE_T 1
 
35078
_ACEOF
 
35079
 
 
35080
 
 
35081
for ac_func in wcsrtombs
 
35082
do
 
35083
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
35084
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
35085
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
35086
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
35087
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35088
else
 
35089
  cat >conftest.$ac_ext <<_ACEOF
 
35090
/* confdefs.h.  */
 
35091
_ACEOF
 
35092
cat confdefs.h >>conftest.$ac_ext
 
35093
cat >>conftest.$ac_ext <<_ACEOF
 
35094
/* end confdefs.h.  */
 
35095
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
35096
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
35097
#define $ac_func innocuous_$ac_func
 
35098
 
 
35099
/* System header to define __stub macros and hopefully few prototypes,
 
35100
    which can conflict with char $ac_func (); below.
 
35101
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
35102
    <limits.h> exists even on freestanding compilers.  */
 
35103
 
 
35104
#ifdef __STDC__
 
35105
# include <limits.h>
 
35106
#else
 
35107
# include <assert.h>
 
35108
#endif
 
35109
 
 
35110
#undef $ac_func
 
35111
 
 
35112
/* Override any gcc2 internal prototype to avoid an error.  */
 
35113
#ifdef __cplusplus
 
35114
extern "C"
 
35115
{
 
35116
#endif
 
35117
/* We use char because int might match the return type of a gcc2
 
35118
   builtin and then its argument prototype would still apply.  */
 
35119
char $ac_func ();
 
35120
/* The GNU C library defines this for functions which it implements
 
35121
    to always fail with ENOSYS.  Some functions are actually named
 
35122
    something starting with __ and the normal name is an alias.  */
 
35123
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
35124
choke me
 
35125
#else
 
35126
char (*f) () = $ac_func;
 
35127
#endif
 
35128
#ifdef __cplusplus
 
35129
}
 
35130
#endif
 
35131
 
 
35132
int
 
35133
main ()
 
35134
{
 
35135
return f != $ac_func;
 
35136
  ;
 
35137
  return 0;
 
35138
}
 
35139
_ACEOF
 
35140
rm -f conftest.$ac_objext conftest$ac_exeext
 
35141
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
35142
  (eval $ac_link) 2>conftest.er1
 
35143
  ac_status=$?
 
35144
  grep -v '^ *+' conftest.er1 >conftest.err
 
35145
  rm -f conftest.er1
 
35146
  cat conftest.err >&5
 
35147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35148
  (exit $ac_status); } &&
 
35149
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35151
  (eval $ac_try) 2>&5
 
35152
  ac_status=$?
 
35153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35154
  (exit $ac_status); }; } &&
 
35155
         { ac_try='test -s conftest$ac_exeext'
 
35156
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35157
  (eval $ac_try) 2>&5
 
35158
  ac_status=$?
 
35159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35160
  (exit $ac_status); }; }; then
 
35161
  eval "$as_ac_var=yes"
 
35162
else
 
35163
  echo "$as_me: failed program was:" >&5
 
35164
sed 's/^/| /' conftest.$ac_ext >&5
 
35165
 
 
35166
eval "$as_ac_var=no"
 
35167
fi
 
35168
rm -f conftest.err conftest.$ac_objext \
 
35169
      conftest$ac_exeext conftest.$ac_ext
 
35170
fi
 
35171
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
35172
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
35173
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
35174
  cat >>confdefs.h <<_ACEOF
 
35175
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
35176
_ACEOF
 
35177
 
 
35178
fi
 
35179
done
 
35180
 
 
35181
fi
 
35182
 
 
35183
else
 
35184
    { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
 
35185
echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
 
35186
fi
 
35187
 
 
35188
 
 
35189
 
 
35190
for ac_func in snprintf vsnprintf
 
35191
do
 
35192
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
35193
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
35194
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
35195
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
35196
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35197
else
 
35198
  cat >conftest.$ac_ext <<_ACEOF
 
35199
/* confdefs.h.  */
 
35200
_ACEOF
 
35201
cat confdefs.h >>conftest.$ac_ext
 
35202
cat >>conftest.$ac_ext <<_ACEOF
 
35203
/* end confdefs.h.  */
 
35204
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
35205
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
35206
#define $ac_func innocuous_$ac_func
 
35207
 
 
35208
/* System header to define __stub macros and hopefully few prototypes,
 
35209
    which can conflict with char $ac_func (); below.
 
35210
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
35211
    <limits.h> exists even on freestanding compilers.  */
 
35212
 
 
35213
#ifdef __STDC__
 
35214
# include <limits.h>
 
35215
#else
 
35216
# include <assert.h>
 
35217
#endif
 
35218
 
 
35219
#undef $ac_func
 
35220
 
 
35221
/* Override any gcc2 internal prototype to avoid an error.  */
 
35222
#ifdef __cplusplus
 
35223
extern "C"
 
35224
{
 
35225
#endif
 
35226
/* We use char because int might match the return type of a gcc2
 
35227
   builtin and then its argument prototype would still apply.  */
 
35228
char $ac_func ();
 
35229
/* The GNU C library defines this for functions which it implements
 
35230
    to always fail with ENOSYS.  Some functions are actually named
 
35231
    something starting with __ and the normal name is an alias.  */
 
35232
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
35233
choke me
 
35234
#else
 
35235
char (*f) () = $ac_func;
 
35236
#endif
 
35237
#ifdef __cplusplus
 
35238
}
 
35239
#endif
 
35240
 
 
35241
int
 
35242
main ()
 
35243
{
 
35244
return f != $ac_func;
 
35245
  ;
 
35246
  return 0;
 
35247
}
 
35248
_ACEOF
 
35249
rm -f conftest.$ac_objext conftest$ac_exeext
 
35250
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
35251
  (eval $ac_link) 2>conftest.er1
 
35252
  ac_status=$?
 
35253
  grep -v '^ *+' conftest.er1 >conftest.err
 
35254
  rm -f conftest.er1
 
35255
  cat conftest.err >&5
 
35256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35257
  (exit $ac_status); } &&
 
35258
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35259
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35260
  (eval $ac_try) 2>&5
 
35261
  ac_status=$?
 
35262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35263
  (exit $ac_status); }; } &&
 
35264
         { ac_try='test -s conftest$ac_exeext'
 
35265
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35266
  (eval $ac_try) 2>&5
 
35267
  ac_status=$?
 
35268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35269
  (exit $ac_status); }; }; then
 
35270
  eval "$as_ac_var=yes"
 
35271
else
 
35272
  echo "$as_me: failed program was:" >&5
 
35273
sed 's/^/| /' conftest.$ac_ext >&5
 
35274
 
 
35275
eval "$as_ac_var=no"
 
35276
fi
 
35277
rm -f conftest.err conftest.$ac_objext \
 
35278
      conftest$ac_exeext conftest.$ac_ext
 
35279
fi
 
35280
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
35281
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
35282
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
35283
  cat >>confdefs.h <<_ACEOF
 
35284
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
35285
_ACEOF
 
35286
 
 
35287
fi
 
35288
done
 
35289
 
 
35290
 
 
35291
if test "$ac_cv_func_vsnprintf" = "yes"; then
 
35292
        echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
 
35293
echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
 
35294
if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
 
35295
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35296
else
 
35297
 
 
35298
                                                            cat >conftest.$ac_ext <<_ACEOF
 
35299
/* confdefs.h.  */
 
35300
_ACEOF
 
35301
cat confdefs.h >>conftest.$ac_ext
 
35302
cat >>conftest.$ac_ext <<_ACEOF
 
35303
/* end confdefs.h.  */
 
35304
 
 
35305
                    #include <stdio.h>
 
35306
                    #include <stdarg.h>
 
35307
                    #ifdef __MSL__
 
35308
                    #if __MSL__ >= 0x6000
 
35309
                    namespace std {}
 
35310
                    using namespace std;
 
35311
                    #endif
 
35312
                    #endif
 
35313
 
 
35314
int
 
35315
main ()
 
35316
{
 
35317
 
 
35318
                    char *buf;
 
35319
                    va_list ap;
 
35320
                    vsnprintf(buf, 10u, "%s", ap);
 
35321
 
 
35322
  ;
 
35323
  return 0;
 
35324
}
 
35325
_ACEOF
 
35326
rm -f conftest.$ac_objext
 
35327
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35328
  (eval $ac_compile) 2>conftest.er1
 
35329
  ac_status=$?
 
35330
  grep -v '^ *+' conftest.er1 >conftest.err
 
35331
  rm -f conftest.er1
 
35332
  cat conftest.err >&5
 
35333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35334
  (exit $ac_status); } &&
 
35335
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35336
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35337
  (eval $ac_try) 2>&5
 
35338
  ac_status=$?
 
35339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35340
  (exit $ac_status); }; } &&
 
35341
         { ac_try='test -s conftest.$ac_objext'
 
35342
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35343
  (eval $ac_try) 2>&5
 
35344
  ac_status=$?
 
35345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35346
  (exit $ac_status); }; }; then
 
35347
  wx_cv_func_vsnprintf_decl=yes
 
35348
else
 
35349
  echo "$as_me: failed program was:" >&5
 
35350
sed 's/^/| /' conftest.$ac_ext >&5
 
35351
 
 
35352
wx_cv_func_vsnprintf_decl=no
 
35353
 
 
35354
fi
 
35355
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35356
 
 
35357
 
 
35358
fi
 
35359
echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
 
35360
echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
 
35361
 
 
35362
    if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
 
35363
        cat >>confdefs.h <<\_ACEOF
 
35364
#define HAVE_VSNPRINTF_DECL 1
 
35365
_ACEOF
 
35366
 
 
35367
 
 
35368
                        echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
 
35369
echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
 
35370
if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
 
35371
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35372
else
 
35373
 
 
35374
                cat >conftest.$ac_ext <<_ACEOF
 
35375
/* confdefs.h.  */
 
35376
_ACEOF
 
35377
cat confdefs.h >>conftest.$ac_ext
 
35378
cat >>conftest.$ac_ext <<_ACEOF
 
35379
/* end confdefs.h.  */
 
35380
 
 
35381
                        #include <stdio.h>
 
35382
                        #include <stdarg.h>
 
35383
                        #ifdef __MSL__
 
35384
                        #if __MSL__ >= 0x6000
 
35385
                        namespace std {}
 
35386
                        using namespace std;
 
35387
                        #endif
 
35388
                        #endif
 
35389
 
 
35390
int
 
35391
main ()
 
35392
{
 
35393
 
 
35394
                        char *buf;
 
35395
                        va_list ap;
 
35396
                        const char *fmt = "%s";
 
35397
                        vsnprintf(buf, 10u, fmt, ap);
 
35398
 
 
35399
  ;
 
35400
  return 0;
 
35401
}
 
35402
_ACEOF
 
35403
rm -f conftest.$ac_objext
 
35404
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35405
  (eval $ac_compile) 2>conftest.er1
 
35406
  ac_status=$?
 
35407
  grep -v '^ *+' conftest.er1 >conftest.err
 
35408
  rm -f conftest.er1
 
35409
  cat conftest.err >&5
 
35410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35411
  (exit $ac_status); } &&
 
35412
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35414
  (eval $ac_try) 2>&5
 
35415
  ac_status=$?
 
35416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35417
  (exit $ac_status); }; } &&
 
35418
         { ac_try='test -s conftest.$ac_objext'
 
35419
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35420
  (eval $ac_try) 2>&5
 
35421
  ac_status=$?
 
35422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35423
  (exit $ac_status); }; }; then
 
35424
  wx_cv_func_broken_vsnprintf_decl=no
 
35425
else
 
35426
  echo "$as_me: failed program was:" >&5
 
35427
sed 's/^/| /' conftest.$ac_ext >&5
 
35428
 
 
35429
wx_cv_func_broken_vsnprintf_decl=yes
 
35430
 
 
35431
fi
 
35432
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35433
 
 
35434
 
 
35435
fi
 
35436
echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
 
35437
echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
 
35438
 
 
35439
        if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
 
35440
            cat >>confdefs.h <<\_ACEOF
 
35441
#define HAVE_BROKEN_VSNPRINTF_DECL 1
 
35442
_ACEOF
 
35443
 
 
35444
        fi
 
35445
    fi
 
35446
fi
 
35447
 
 
35448
if test "$ac_cv_func_snprintf" = "yes"; then
 
35449
    echo "$as_me:$LINENO: checking for snprintf declaration" >&5
 
35450
echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
 
35451
if test "${wx_cv_func_snprintf_decl+set}" = set; then
 
35452
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35453
else
 
35454
 
 
35455
            cat >conftest.$ac_ext <<_ACEOF
 
35456
/* confdefs.h.  */
 
35457
_ACEOF
 
35458
cat confdefs.h >>conftest.$ac_ext
 
35459
cat >>conftest.$ac_ext <<_ACEOF
 
35460
/* end confdefs.h.  */
 
35461
 
 
35462
                    #include <stdio.h>
 
35463
                    #include <stdarg.h>
 
35464
                    #ifdef __MSL__
 
35465
                    #if __MSL__ >= 0x6000
 
35466
                    namespace std {}
 
35467
                    using namespace std;
 
35468
                    #endif
 
35469
                    #endif
 
35470
 
 
35471
int
 
35472
main ()
 
35473
{
 
35474
 
 
35475
                    char *buf;
 
35476
                    snprintf(buf, 10u, "%s", "wx");
 
35477
 
 
35478
  ;
 
35479
  return 0;
 
35480
}
 
35481
_ACEOF
 
35482
rm -f conftest.$ac_objext
 
35483
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35484
  (eval $ac_compile) 2>conftest.er1
 
35485
  ac_status=$?
 
35486
  grep -v '^ *+' conftest.er1 >conftest.err
 
35487
  rm -f conftest.er1
 
35488
  cat conftest.err >&5
 
35489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35490
  (exit $ac_status); } &&
 
35491
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35493
  (eval $ac_try) 2>&5
 
35494
  ac_status=$?
 
35495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35496
  (exit $ac_status); }; } &&
 
35497
         { ac_try='test -s conftest.$ac_objext'
 
35498
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35499
  (eval $ac_try) 2>&5
 
35500
  ac_status=$?
 
35501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35502
  (exit $ac_status); }; }; then
 
35503
  wx_cv_func_snprintf_decl=yes
 
35504
else
 
35505
  echo "$as_me: failed program was:" >&5
 
35506
sed 's/^/| /' conftest.$ac_ext >&5
 
35507
 
 
35508
wx_cv_func_snprintf_decl=no
 
35509
 
 
35510
fi
 
35511
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35512
 
 
35513
 
 
35514
fi
 
35515
echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
 
35516
echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
 
35517
 
 
35518
    if test "$wx_cv_func_snprintf_decl" = "yes"; then
 
35519
        cat >>confdefs.h <<\_ACEOF
 
35520
#define HAVE_SNPRINTF_DECL 1
 
35521
_ACEOF
 
35522
 
 
35523
 
 
35524
                        echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
 
35525
echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
 
35526
if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
 
35527
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35528
else
 
35529
 
 
35530
                cat >conftest.$ac_ext <<_ACEOF
 
35531
/* confdefs.h.  */
 
35532
_ACEOF
 
35533
cat confdefs.h >>conftest.$ac_ext
 
35534
cat >>conftest.$ac_ext <<_ACEOF
 
35535
/* end confdefs.h.  */
 
35536
 
 
35537
                        #include <stdio.h>
 
35538
                        #include <stdarg.h>
 
35539
                        #ifdef __MSL__
 
35540
                        #if __MSL__ >= 0x6000
 
35541
                        namespace std {}
 
35542
                        using namespace std;
 
35543
                        #endif
 
35544
                        #endif
 
35545
 
 
35546
int
 
35547
main ()
 
35548
{
 
35549
 
 
35550
                        char *buf;
 
35551
                        const char *fmt = "%s";
 
35552
                        snprintf(buf, 10u, fmt, "wx");
 
35553
 
 
35554
  ;
 
35555
  return 0;
 
35556
}
 
35557
_ACEOF
 
35558
rm -f conftest.$ac_objext
 
35559
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35560
  (eval $ac_compile) 2>conftest.er1
 
35561
  ac_status=$?
 
35562
  grep -v '^ *+' conftest.er1 >conftest.err
 
35563
  rm -f conftest.er1
 
35564
  cat conftest.err >&5
 
35565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35566
  (exit $ac_status); } &&
 
35567
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35568
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35569
  (eval $ac_try) 2>&5
 
35570
  ac_status=$?
 
35571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35572
  (exit $ac_status); }; } &&
 
35573
         { ac_try='test -s conftest.$ac_objext'
 
35574
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35575
  (eval $ac_try) 2>&5
 
35576
  ac_status=$?
 
35577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35578
  (exit $ac_status); }; }; then
 
35579
  wx_cv_func_broken_snprintf_decl=no
 
35580
else
 
35581
  echo "$as_me: failed program was:" >&5
 
35582
sed 's/^/| /' conftest.$ac_ext >&5
 
35583
 
 
35584
wx_cv_func_broken_snprintf_decl=yes
 
35585
 
 
35586
fi
 
35587
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35588
 
 
35589
 
 
35590
fi
 
35591
echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
 
35592
echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
 
35593
 
 
35594
        if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
 
35595
            cat >>confdefs.h <<\_ACEOF
 
35596
#define HAVE_BROKEN_SNPRINTF_DECL 1
 
35597
_ACEOF
 
35598
 
 
35599
        fi
 
35600
    fi
 
35601
 
 
35602
    if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
 
35603
 
 
35604
                                        echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
 
35605
echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
 
35606
if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
 
35607
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35608
else
 
35609
 
 
35610
                if test "$cross_compiling" = yes; then
 
35611
 
 
35612
                        { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
 
35613
define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
 
35614
echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
 
35615
define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
 
35616
                        wx_cv_func_snprintf_pos_params=no
 
35617
 
 
35618
 
 
35619
else
 
35620
  cat >conftest.$ac_ext <<_ACEOF
 
35621
/* confdefs.h.  */
 
35622
_ACEOF
 
35623
cat confdefs.h >>conftest.$ac_ext
 
35624
cat >>conftest.$ac_ext <<_ACEOF
 
35625
/* end confdefs.h.  */
 
35626
 
 
35627
                        #include <stdio.h>
 
35628
 
 
35629
                        int main (void)
 
35630
                        {
 
35631
                            char buffer[128];
 
35632
                            snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
 
35633
                            if (strcmp ("2 3 1", buffer) == 0)
 
35634
                                exit (0);
 
35635
                            exit (1);
 
35636
                        }
 
35637
 
 
35638
_ACEOF
 
35639
rm -f conftest$ac_exeext
 
35640
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
35641
  (eval $ac_link) 2>&5
 
35642
  ac_status=$?
 
35643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35644
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
35645
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35646
  (eval $ac_try) 2>&5
 
35647
  ac_status=$?
 
35648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35649
  (exit $ac_status); }; }; then
 
35650
  wx_cv_func_snprintf_pos_params=no
 
35651
else
 
35652
  echo "$as_me: program exited with status $ac_status" >&5
 
35653
echo "$as_me: failed program was:" >&5
 
35654
sed 's/^/| /' conftest.$ac_ext >&5
 
35655
 
 
35656
( exit $ac_status )
 
35657
wx_cv_func_snprintf_pos_params=yes
 
35658
fi
 
35659
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
35660
fi
 
35661
 
 
35662
 
 
35663
fi
 
35664
echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
 
35665
echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
 
35666
 
 
35667
        if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
 
35668
            cat >>confdefs.h <<\_ACEOF
 
35669
#define HAVE_UNIX98_PRINTF 1
 
35670
_ACEOF
 
35671
 
 
35672
        fi
 
35673
    fi
 
35674
fi
 
35675
 
 
35676
if test "$wxUSE_UNICODE" = yes; then
 
35677
 
 
35678
 
 
35679
for ac_func in swprintf
 
35680
do
 
35681
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
35682
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
35683
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
35684
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
35685
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35686
else
 
35687
  cat >conftest.$ac_ext <<_ACEOF
 
35688
/* confdefs.h.  */
 
35689
_ACEOF
 
35690
cat confdefs.h >>conftest.$ac_ext
 
35691
cat >>conftest.$ac_ext <<_ACEOF
 
35692
/* end confdefs.h.  */
 
35693
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
35694
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
35695
#define $ac_func innocuous_$ac_func
 
35696
 
 
35697
/* System header to define __stub macros and hopefully few prototypes,
 
35698
    which can conflict with char $ac_func (); below.
 
35699
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
35700
    <limits.h> exists even on freestanding compilers.  */
 
35701
 
 
35702
#ifdef __STDC__
 
35703
# include <limits.h>
 
35704
#else
 
35705
# include <assert.h>
 
35706
#endif
 
35707
 
 
35708
#undef $ac_func
 
35709
 
 
35710
/* Override any gcc2 internal prototype to avoid an error.  */
 
35711
#ifdef __cplusplus
 
35712
extern "C"
 
35713
{
 
35714
#endif
 
35715
/* We use char because int might match the return type of a gcc2
 
35716
   builtin and then its argument prototype would still apply.  */
 
35717
char $ac_func ();
 
35718
/* The GNU C library defines this for functions which it implements
 
35719
    to always fail with ENOSYS.  Some functions are actually named
 
35720
    something starting with __ and the normal name is an alias.  */
 
35721
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
35722
choke me
 
35723
#else
 
35724
char (*f) () = $ac_func;
 
35725
#endif
 
35726
#ifdef __cplusplus
 
35727
}
 
35728
#endif
 
35729
 
 
35730
int
 
35731
main ()
 
35732
{
 
35733
return f != $ac_func;
 
35734
  ;
 
35735
  return 0;
 
35736
}
 
35737
_ACEOF
 
35738
rm -f conftest.$ac_objext conftest$ac_exeext
 
35739
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
35740
  (eval $ac_link) 2>conftest.er1
 
35741
  ac_status=$?
 
35742
  grep -v '^ *+' conftest.er1 >conftest.err
 
35743
  rm -f conftest.er1
 
35744
  cat conftest.err >&5
 
35745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35746
  (exit $ac_status); } &&
 
35747
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35748
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35749
  (eval $ac_try) 2>&5
 
35750
  ac_status=$?
 
35751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35752
  (exit $ac_status); }; } &&
 
35753
         { ac_try='test -s conftest$ac_exeext'
 
35754
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35755
  (eval $ac_try) 2>&5
 
35756
  ac_status=$?
 
35757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35758
  (exit $ac_status); }; }; then
 
35759
  eval "$as_ac_var=yes"
 
35760
else
 
35761
  echo "$as_me: failed program was:" >&5
 
35762
sed 's/^/| /' conftest.$ac_ext >&5
 
35763
 
 
35764
eval "$as_ac_var=no"
 
35765
fi
 
35766
rm -f conftest.err conftest.$ac_objext \
 
35767
      conftest$ac_exeext conftest.$ac_ext
 
35768
fi
 
35769
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
35770
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
35771
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
35772
  cat >>confdefs.h <<_ACEOF
 
35773
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
35774
_ACEOF
 
35775
 
 
35776
fi
 
35777
done
 
35778
 
 
35779
 
 
35780
    if test "$ac_cv_func_swprintf" = "yes"; then
 
35781
        echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
 
35782
echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
 
35783
if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
 
35784
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35785
else
 
35786
 
 
35787
                cat >conftest.$ac_ext <<_ACEOF
 
35788
/* confdefs.h.  */
 
35789
_ACEOF
 
35790
cat confdefs.h >>conftest.$ac_ext
 
35791
cat >>conftest.$ac_ext <<_ACEOF
 
35792
/* end confdefs.h.  */
 
35793
 
 
35794
                        #include <stdio.h>
 
35795
                        #include <stdarg.h>
 
35796
                        #include <wchar.h>
 
35797
 
 
35798
int
 
35799
main ()
 
35800
{
 
35801
 
 
35802
                        wchar_t *buf;
 
35803
                        const wchar_t *fmt = L"test";
 
35804
                        swprintf(buf, 10u, fmt);
 
35805
 
 
35806
  ;
 
35807
  return 0;
 
35808
}
 
35809
_ACEOF
 
35810
rm -f conftest.$ac_objext
 
35811
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35812
  (eval $ac_compile) 2>conftest.er1
 
35813
  ac_status=$?
 
35814
  grep -v '^ *+' conftest.er1 >conftest.err
 
35815
  rm -f conftest.er1
 
35816
  cat conftest.err >&5
 
35817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35818
  (exit $ac_status); } &&
 
35819
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35820
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35821
  (eval $ac_try) 2>&5
 
35822
  ac_status=$?
 
35823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35824
  (exit $ac_status); }; } &&
 
35825
         { ac_try='test -s conftest.$ac_objext'
 
35826
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35827
  (eval $ac_try) 2>&5
 
35828
  ac_status=$?
 
35829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35830
  (exit $ac_status); }; }; then
 
35831
  wx_cv_func_broken_swprintf_decl=no
 
35832
else
 
35833
  echo "$as_me: failed program was:" >&5
 
35834
sed 's/^/| /' conftest.$ac_ext >&5
 
35835
 
 
35836
wx_cv_func_broken_swprintf_decl=yes
 
35837
 
 
35838
fi
 
35839
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35840
 
 
35841
 
 
35842
fi
 
35843
echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
 
35844
echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
 
35845
 
 
35846
        if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
 
35847
            cat >>confdefs.h <<\_ACEOF
 
35848
#define HAVE_BROKEN_SWPRINTF_DECL 1
 
35849
_ACEOF
 
35850
 
 
35851
        fi
 
35852
    fi
 
35853
 
 
35854
            wchar_headers="#include <stdio.h>
 
35855
#include <wchar.h>"
 
35856
    case "${host}" in
 
35857
        *-*-solaris2* )
 
35858
 
 
35859
for ac_header in widec.h
 
35860
do
 
35861
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
35862
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
35863
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
35864
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
35865
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35866
else
 
35867
  cat >conftest.$ac_ext <<_ACEOF
 
35868
/* confdefs.h.  */
 
35869
_ACEOF
 
35870
cat confdefs.h >>conftest.$ac_ext
 
35871
cat >>conftest.$ac_ext <<_ACEOF
 
35872
/* end confdefs.h.  */
 
35873
$ac_includes_default
 
35874
 
 
35875
#include <$ac_header>
 
35876
_ACEOF
 
35877
rm -f conftest.$ac_objext
 
35878
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
35879
  (eval $ac_compile) 2>conftest.er1
 
35880
  ac_status=$?
 
35881
  grep -v '^ *+' conftest.er1 >conftest.err
 
35882
  rm -f conftest.er1
 
35883
  cat conftest.err >&5
 
35884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35885
  (exit $ac_status); } &&
 
35886
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35888
  (eval $ac_try) 2>&5
 
35889
  ac_status=$?
 
35890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35891
  (exit $ac_status); }; } &&
 
35892
         { ac_try='test -s conftest.$ac_objext'
 
35893
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35894
  (eval $ac_try) 2>&5
 
35895
  ac_status=$?
 
35896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35897
  (exit $ac_status); }; }; then
 
35898
  eval "$as_ac_Header=yes"
 
35899
else
 
35900
  echo "$as_me: failed program was:" >&5
 
35901
sed 's/^/| /' conftest.$ac_ext >&5
 
35902
 
 
35903
eval "$as_ac_Header=no"
 
35904
fi
 
35905
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35906
fi
 
35907
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
35908
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
35909
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
35910
  cat >>confdefs.h <<_ACEOF
 
35911
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
35912
_ACEOF
 
35913
 
 
35914
fi
 
35915
 
 
35916
done
 
35917
 
 
35918
            if test "$ac_cv_header_widec_h" = "yes"; then
 
35919
                wchar_headers="$wchar_headers
 
35920
#include <widec.h>"
 
35921
            fi
 
35922
    esac
 
35923
 
 
35924
 
 
35925
  for wx_func in wputc wputchar putws fputws wprintf vswprintf
 
35926
  do
 
35927
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
35928
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
35929
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
35930
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35931
else
 
35932
 
 
35933
        cat >conftest.$ac_ext <<_ACEOF
 
35934
 
 
35935
            /* confdefs.h.  */
 
35936
_ACEOF
 
35937
cat confdefs.h >>conftest.$ac_ext
 
35938
cat >>conftest.$ac_ext <<_ACEOF
 
35939
/* end confdefs.h.  */
 
35940
 
 
35941
                $wchar_headers
 
35942
                $ac_includes_default
 
35943
 
 
35944
int
 
35945
main ()
 
35946
{
 
35947
 
 
35948
                #ifndef $wx_func
 
35949
                  &$wx_func;
 
35950
                #endif
 
35951
 
 
35952
 
 
35953
  ;
 
35954
  return 0;
 
35955
}
 
35956
 
 
35957
_ACEOF
 
35958
rm -f conftest.$ac_objext conftest$ac_exeext
 
35959
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
35960
  (eval $ac_link) 2>conftest.er1
 
35961
  ac_status=$?
 
35962
  grep -v '^ *+' conftest.er1 >conftest.err
 
35963
  rm -f conftest.er1
 
35964
  cat conftest.err >&5
 
35965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35966
  (exit $ac_status); } &&
 
35967
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
35968
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35969
  (eval $ac_try) 2>&5
 
35970
  ac_status=$?
 
35971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35972
  (exit $ac_status); }; } &&
 
35973
         { ac_try='test -s conftest$ac_exeext'
 
35974
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
35975
  (eval $ac_try) 2>&5
 
35976
  ac_status=$?
 
35977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35978
  (exit $ac_status); }; }; then
 
35979
  eval wx_cv_func_$wx_func=yes
 
35980
else
 
35981
  echo "$as_me: failed program was:" >&5
 
35982
sed 's/^/| /' conftest.$ac_ext >&5
 
35983
 
 
35984
eval wx_cv_func_$wx_func=no
 
35985
fi
 
35986
rm -f conftest.err conftest.$ac_objext \
 
35987
      conftest$ac_exeext conftest.$ac_ext
 
35988
 
 
35989
fi
 
35990
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
35991
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
35992
 
 
35993
    if eval test \$wx_cv_func_$wx_func = yes
 
35994
    then
 
35995
      cat >>confdefs.h <<_ACEOF
 
35996
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
35997
_ACEOF
 
35998
 
 
35999
 
 
36000
    else
 
36001
      :
 
36002
 
 
36003
    fi
 
36004
  done
 
36005
 
 
36006
 
 
36007
                echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
 
36008
echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
 
36009
    cat >conftest.$ac_ext <<_ACEOF
 
36010
/* confdefs.h.  */
 
36011
_ACEOF
 
36012
cat confdefs.h >>conftest.$ac_ext
 
36013
cat >>conftest.$ac_ext <<_ACEOF
 
36014
/* end confdefs.h.  */
 
36015
#include <wchar.h>
 
36016
int
 
36017
main ()
 
36018
{
 
36019
&_vsnwprintf;
 
36020
  ;
 
36021
  return 0;
 
36022
}
 
36023
_ACEOF
 
36024
rm -f conftest.$ac_objext
 
36025
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
36026
  (eval $ac_compile) 2>conftest.er1
 
36027
  ac_status=$?
 
36028
  grep -v '^ *+' conftest.er1 >conftest.err
 
36029
  rm -f conftest.er1
 
36030
  cat conftest.err >&5
 
36031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36032
  (exit $ac_status); } &&
 
36033
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36034
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36035
  (eval $ac_try) 2>&5
 
36036
  ac_status=$?
 
36037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36038
  (exit $ac_status); }; } &&
 
36039
         { ac_try='test -s conftest.$ac_objext'
 
36040
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36041
  (eval $ac_try) 2>&5
 
36042
  ac_status=$?
 
36043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36044
  (exit $ac_status); }; }; then
 
36045
  echo "$as_me:$LINENO: result: yes" >&5
 
36046
echo "${ECHO_T}yes" >&6
 
36047
                    cat >>confdefs.h <<\_ACEOF
 
36048
#define HAVE__VSNWPRINTF 1
 
36049
_ACEOF
 
36050
 
 
36051
else
 
36052
  echo "$as_me: failed program was:" >&5
 
36053
sed 's/^/| /' conftest.$ac_ext >&5
 
36054
 
 
36055
echo "$as_me:$LINENO: result: no" >&5
 
36056
echo "${ECHO_T}no" >&6
 
36057
fi
 
36058
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
 
36059
fi
 
36060
 
 
36061
if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
 
36062
 
 
36063
  for wx_func in fnmatch
 
36064
  do
 
36065
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
36066
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
36067
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
36068
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36069
else
 
36070
 
 
36071
        cat >conftest.$ac_ext <<_ACEOF
 
36072
 
 
36073
            /* confdefs.h.  */
 
36074
_ACEOF
 
36075
cat confdefs.h >>conftest.$ac_ext
 
36076
cat >>conftest.$ac_ext <<_ACEOF
 
36077
/* end confdefs.h.  */
 
36078
 
 
36079
                #include <fnmatch.h>
 
36080
                $ac_includes_default
 
36081
 
 
36082
int
 
36083
main ()
 
36084
{
 
36085
 
 
36086
                #ifndef $wx_func
 
36087
                  &$wx_func;
 
36088
                #endif
 
36089
 
 
36090
 
 
36091
  ;
 
36092
  return 0;
 
36093
}
 
36094
 
 
36095
_ACEOF
 
36096
rm -f conftest.$ac_objext conftest$ac_exeext
 
36097
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36098
  (eval $ac_link) 2>conftest.er1
 
36099
  ac_status=$?
 
36100
  grep -v '^ *+' conftest.er1 >conftest.err
 
36101
  rm -f conftest.er1
 
36102
  cat conftest.err >&5
 
36103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36104
  (exit $ac_status); } &&
 
36105
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36107
  (eval $ac_try) 2>&5
 
36108
  ac_status=$?
 
36109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36110
  (exit $ac_status); }; } &&
 
36111
         { ac_try='test -s conftest$ac_exeext'
 
36112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36113
  (eval $ac_try) 2>&5
 
36114
  ac_status=$?
 
36115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36116
  (exit $ac_status); }; }; then
 
36117
  eval wx_cv_func_$wx_func=yes
 
36118
else
 
36119
  echo "$as_me: failed program was:" >&5
 
36120
sed 's/^/| /' conftest.$ac_ext >&5
 
36121
 
 
36122
eval wx_cv_func_$wx_func=no
 
36123
fi
 
36124
rm -f conftest.err conftest.$ac_objext \
 
36125
      conftest$ac_exeext conftest.$ac_ext
 
36126
 
 
36127
fi
 
36128
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
36129
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
36130
 
 
36131
    if eval test \$wx_cv_func_$wx_func = yes
 
36132
    then
 
36133
      cat >>confdefs.h <<_ACEOF
 
36134
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
36135
_ACEOF
 
36136
 
 
36137
 
 
36138
    else
 
36139
      :
 
36140
 
 
36141
    fi
 
36142
  done
 
36143
 
 
36144
fi
 
36145
 
 
36146
if test "$wxUSE_FILE" = "yes"; then
 
36147
 
 
36148
  for wx_func in fsync
 
36149
  do
 
36150
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
36151
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
36152
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
36153
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36154
else
 
36155
 
 
36156
        cat >conftest.$ac_ext <<_ACEOF
 
36157
 
 
36158
            /* confdefs.h.  */
 
36159
_ACEOF
 
36160
cat confdefs.h >>conftest.$ac_ext
 
36161
cat >>conftest.$ac_ext <<_ACEOF
 
36162
/* end confdefs.h.  */
 
36163
 
 
36164
 
 
36165
                $ac_includes_default
 
36166
 
 
36167
int
 
36168
main ()
 
36169
{
 
36170
 
 
36171
                #ifndef $wx_func
 
36172
                  &$wx_func;
 
36173
                #endif
 
36174
 
 
36175
 
 
36176
  ;
 
36177
  return 0;
 
36178
}
 
36179
 
 
36180
_ACEOF
 
36181
rm -f conftest.$ac_objext conftest$ac_exeext
 
36182
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36183
  (eval $ac_link) 2>conftest.er1
 
36184
  ac_status=$?
 
36185
  grep -v '^ *+' conftest.er1 >conftest.err
 
36186
  rm -f conftest.er1
 
36187
  cat conftest.err >&5
 
36188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36189
  (exit $ac_status); } &&
 
36190
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36191
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36192
  (eval $ac_try) 2>&5
 
36193
  ac_status=$?
 
36194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36195
  (exit $ac_status); }; } &&
 
36196
         { ac_try='test -s conftest$ac_exeext'
 
36197
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36198
  (eval $ac_try) 2>&5
 
36199
  ac_status=$?
 
36200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36201
  (exit $ac_status); }; }; then
 
36202
  eval wx_cv_func_$wx_func=yes
 
36203
else
 
36204
  echo "$as_me: failed program was:" >&5
 
36205
sed 's/^/| /' conftest.$ac_ext >&5
 
36206
 
 
36207
eval wx_cv_func_$wx_func=no
 
36208
fi
 
36209
rm -f conftest.err conftest.$ac_objext \
 
36210
      conftest$ac_exeext conftest.$ac_ext
 
36211
 
 
36212
fi
 
36213
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
36214
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
36215
 
 
36216
    if eval test \$wx_cv_func_$wx_func = yes
 
36217
    then
 
36218
      cat >>confdefs.h <<_ACEOF
 
36219
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
36220
_ACEOF
 
36221
 
 
36222
 
 
36223
    else
 
36224
      :
 
36225
 
 
36226
    fi
 
36227
  done
 
36228
 
 
36229
fi
 
36230
 
 
36231
ac_ext=cc
 
36232
ac_cpp='$CXXCPP $CPPFLAGS'
 
36233
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
36234
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
36235
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
36236
 
 
36237
 
 
36238
  for wx_func in round
 
36239
  do
 
36240
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
36241
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
36242
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
36243
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36244
else
 
36245
 
 
36246
        cat >conftest.$ac_ext <<_ACEOF
 
36247
 
 
36248
            /* confdefs.h.  */
 
36249
_ACEOF
 
36250
cat confdefs.h >>conftest.$ac_ext
 
36251
cat >>conftest.$ac_ext <<_ACEOF
 
36252
/* end confdefs.h.  */
 
36253
 
 
36254
                #include <math.h>
 
36255
                $ac_includes_default
 
36256
 
 
36257
int
 
36258
main ()
 
36259
{
 
36260
 
 
36261
                #ifndef $wx_func
 
36262
                  &$wx_func;
 
36263
                #endif
 
36264
 
 
36265
 
 
36266
  ;
 
36267
  return 0;
 
36268
}
 
36269
 
 
36270
_ACEOF
 
36271
rm -f conftest.$ac_objext conftest$ac_exeext
 
36272
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36273
  (eval $ac_link) 2>conftest.er1
 
36274
  ac_status=$?
 
36275
  grep -v '^ *+' conftest.er1 >conftest.err
 
36276
  rm -f conftest.er1
 
36277
  cat conftest.err >&5
 
36278
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36279
  (exit $ac_status); } &&
 
36280
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
36281
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36282
  (eval $ac_try) 2>&5
 
36283
  ac_status=$?
 
36284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36285
  (exit $ac_status); }; } &&
 
36286
         { ac_try='test -s conftest$ac_exeext'
 
36287
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36288
  (eval $ac_try) 2>&5
 
36289
  ac_status=$?
 
36290
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36291
  (exit $ac_status); }; }; then
 
36292
  eval wx_cv_func_$wx_func=yes
 
36293
else
 
36294
  echo "$as_me: failed program was:" >&5
 
36295
sed 's/^/| /' conftest.$ac_ext >&5
 
36296
 
 
36297
eval wx_cv_func_$wx_func=no
 
36298
fi
 
36299
rm -f conftest.err conftest.$ac_objext \
 
36300
      conftest$ac_exeext conftest.$ac_ext
 
36301
 
 
36302
fi
 
36303
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
36304
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
36305
 
 
36306
    if eval test \$wx_cv_func_$wx_func = yes
 
36307
    then
 
36308
      cat >>confdefs.h <<_ACEOF
 
36309
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
36310
_ACEOF
 
36311
 
 
36312
 
 
36313
    else
 
36314
      :
 
36315
 
 
36316
    fi
 
36317
  done
 
36318
 
 
36319
ac_ext=c
 
36320
ac_cpp='$CPP $CPPFLAGS'
 
36321
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
36322
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
36323
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
36324
 
 
36325
 
 
36326
if test "$TOOLKIT" != "MSW"; then
 
36327
 
 
36328
 
 
36329
 
 
36330
 
 
36331
 
 
36332
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
 
36333
if test "${with_libiconv_prefix+set}" = set; then
 
36334
  withval="$with_libiconv_prefix"
 
36335
 
 
36336
    for dir in `echo "$withval" | tr : ' '`; do
 
36337
      if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
 
36338
      if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
 
36339
    done
 
36340
 
 
36341
fi;
 
36342
 
 
36343
  echo "$as_me:$LINENO: checking for iconv" >&5
 
36344
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
 
36345
if test "${am_cv_func_iconv+set}" = set; then
 
36346
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36347
else
 
36348
 
 
36349
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
36350
    am_cv_lib_iconv=no
 
36351
    cat >conftest.$ac_ext <<_ACEOF
 
36352
/* confdefs.h.  */
 
36353
_ACEOF
 
36354
cat confdefs.h >>conftest.$ac_ext
 
36355
cat >>conftest.$ac_ext <<_ACEOF
 
36356
/* end confdefs.h.  */
 
36357
#include <stdlib.h>
 
36358
#include <iconv.h>
 
36359
int
 
36360
main ()
 
36361
{
 
36362
iconv_t cd = iconv_open("","");
 
36363
       iconv(cd,NULL,NULL,NULL,NULL);
 
36364
       iconv_close(cd);
 
36365
  ;
 
36366
  return 0;
 
36367
}
 
36368
_ACEOF
 
36369
rm -f conftest.$ac_objext conftest$ac_exeext
 
36370
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36371
  (eval $ac_link) 2>conftest.er1
 
36372
  ac_status=$?
 
36373
  grep -v '^ *+' conftest.er1 >conftest.err
 
36374
  rm -f conftest.er1
 
36375
  cat conftest.err >&5
 
36376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36377
  (exit $ac_status); } &&
 
36378
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36379
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36380
  (eval $ac_try) 2>&5
 
36381
  ac_status=$?
 
36382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36383
  (exit $ac_status); }; } &&
 
36384
         { ac_try='test -s conftest$ac_exeext'
 
36385
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36386
  (eval $ac_try) 2>&5
 
36387
  ac_status=$?
 
36388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36389
  (exit $ac_status); }; }; then
 
36390
  am_cv_func_iconv=yes
 
36391
else
 
36392
  echo "$as_me: failed program was:" >&5
 
36393
sed 's/^/| /' conftest.$ac_ext >&5
 
36394
 
 
36395
fi
 
36396
rm -f conftest.err conftest.$ac_objext \
 
36397
      conftest$ac_exeext conftest.$ac_ext
 
36398
    if test "$am_cv_func_iconv" != yes; then
 
36399
      am_save_LIBS="$LIBS"
 
36400
      LIBS="$LIBS -liconv"
 
36401
      cat >conftest.$ac_ext <<_ACEOF
 
36402
/* confdefs.h.  */
 
36403
_ACEOF
 
36404
cat confdefs.h >>conftest.$ac_ext
 
36405
cat >>conftest.$ac_ext <<_ACEOF
 
36406
/* end confdefs.h.  */
 
36407
#include <stdlib.h>
 
36408
#include <iconv.h>
 
36409
int
 
36410
main ()
 
36411
{
 
36412
iconv_t cd = iconv_open("","");
 
36413
         iconv(cd,NULL,NULL,NULL,NULL);
 
36414
         iconv_close(cd);
 
36415
  ;
 
36416
  return 0;
 
36417
}
 
36418
_ACEOF
 
36419
rm -f conftest.$ac_objext conftest$ac_exeext
 
36420
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36421
  (eval $ac_link) 2>conftest.er1
 
36422
  ac_status=$?
 
36423
  grep -v '^ *+' conftest.er1 >conftest.err
 
36424
  rm -f conftest.er1
 
36425
  cat conftest.err >&5
 
36426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36427
  (exit $ac_status); } &&
 
36428
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36429
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36430
  (eval $ac_try) 2>&5
 
36431
  ac_status=$?
 
36432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36433
  (exit $ac_status); }; } &&
 
36434
         { ac_try='test -s conftest$ac_exeext'
 
36435
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36436
  (eval $ac_try) 2>&5
 
36437
  ac_status=$?
 
36438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36439
  (exit $ac_status); }; }; then
 
36440
  am_cv_lib_iconv=yes
 
36441
        am_cv_func_iconv=yes
 
36442
else
 
36443
  echo "$as_me: failed program was:" >&5
 
36444
sed 's/^/| /' conftest.$ac_ext >&5
 
36445
 
 
36446
fi
 
36447
rm -f conftest.err conftest.$ac_objext \
 
36448
      conftest$ac_exeext conftest.$ac_ext
 
36449
      LIBS="$am_save_LIBS"
 
36450
    fi
 
36451
 
 
36452
fi
 
36453
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
36454
echo "${ECHO_T}$am_cv_func_iconv" >&6
 
36455
  if test "$am_cv_func_iconv" = yes; then
 
36456
 
 
36457
cat >>confdefs.h <<\_ACEOF
 
36458
#define HAVE_ICONV 1
 
36459
_ACEOF
 
36460
 
 
36461
    echo "$as_me:$LINENO: checking if iconv needs const" >&5
 
36462
echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
 
36463
if test "${wx_cv_func_iconv_const+set}" = set; then
 
36464
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36465
else
 
36466
  cat >conftest.$ac_ext <<_ACEOF
 
36467
/* confdefs.h.  */
 
36468
_ACEOF
 
36469
cat confdefs.h >>conftest.$ac_ext
 
36470
cat >>conftest.$ac_ext <<_ACEOF
 
36471
/* end confdefs.h.  */
 
36472
 
 
36473
#include <stdlib.h>
 
36474
#include <iconv.h>
 
36475
extern
 
36476
#ifdef __cplusplus
 
36477
"C"
 
36478
#endif
 
36479
#if defined(__STDC__) || defined(__cplusplus)
 
36480
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 
36481
#else
 
36482
size_t iconv();
 
36483
#endif
 
36484
 
 
36485
int
 
36486
main ()
 
36487
{
 
36488
 
 
36489
  ;
 
36490
  return 0;
 
36491
}
 
36492
_ACEOF
 
36493
rm -f conftest.$ac_objext
 
36494
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
36495
  (eval $ac_compile) 2>conftest.er1
 
36496
  ac_status=$?
 
36497
  grep -v '^ *+' conftest.er1 >conftest.err
 
36498
  rm -f conftest.er1
 
36499
  cat conftest.err >&5
 
36500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36501
  (exit $ac_status); } &&
 
36502
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36503
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36504
  (eval $ac_try) 2>&5
 
36505
  ac_status=$?
 
36506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36507
  (exit $ac_status); }; } &&
 
36508
         { ac_try='test -s conftest.$ac_objext'
 
36509
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36510
  (eval $ac_try) 2>&5
 
36511
  ac_status=$?
 
36512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36513
  (exit $ac_status); }; }; then
 
36514
  wx_cv_func_iconv_const="no"
 
36515
else
 
36516
  echo "$as_me: failed program was:" >&5
 
36517
sed 's/^/| /' conftest.$ac_ext >&5
 
36518
 
 
36519
wx_cv_func_iconv_const="yes"
 
36520
 
 
36521
fi
 
36522
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
36523
 
 
36524
fi
 
36525
echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
 
36526
echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
 
36527
 
 
36528
    iconv_const=
 
36529
    if test "x$wx_cv_func_iconv_const" = "xyes"; then
 
36530
        iconv_const="const"
 
36531
    fi
 
36532
 
 
36533
 
 
36534
cat >>confdefs.h <<_ACEOF
 
36535
#define ICONV_CONST $iconv_const
 
36536
_ACEOF
 
36537
 
 
36538
  fi
 
36539
  LIBICONV=
 
36540
  if test "$am_cv_lib_iconv" = yes; then
 
36541
    LIBICONV="-liconv"
 
36542
  fi
 
36543
 
 
36544
 
 
36545
LIBS="$LIBICONV $LIBS"
 
36546
 
 
36547
if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
 
36548
 
 
36549
for ac_func in sigaction
 
36550
do
 
36551
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
36552
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
36553
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
36554
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
36555
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36556
else
 
36557
  cat >conftest.$ac_ext <<_ACEOF
 
36558
/* confdefs.h.  */
 
36559
_ACEOF
 
36560
cat confdefs.h >>conftest.$ac_ext
 
36561
cat >>conftest.$ac_ext <<_ACEOF
 
36562
/* end confdefs.h.  */
 
36563
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
36564
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
36565
#define $ac_func innocuous_$ac_func
 
36566
 
 
36567
/* System header to define __stub macros and hopefully few prototypes,
 
36568
    which can conflict with char $ac_func (); below.
 
36569
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
36570
    <limits.h> exists even on freestanding compilers.  */
 
36571
 
 
36572
#ifdef __STDC__
 
36573
# include <limits.h>
 
36574
#else
 
36575
# include <assert.h>
 
36576
#endif
 
36577
 
 
36578
#undef $ac_func
 
36579
 
 
36580
/* Override any gcc2 internal prototype to avoid an error.  */
 
36581
#ifdef __cplusplus
 
36582
extern "C"
 
36583
{
 
36584
#endif
 
36585
/* We use char because int might match the return type of a gcc2
 
36586
   builtin and then its argument prototype would still apply.  */
 
36587
char $ac_func ();
 
36588
/* The GNU C library defines this for functions which it implements
 
36589
    to always fail with ENOSYS.  Some functions are actually named
 
36590
    something starting with __ and the normal name is an alias.  */
 
36591
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
36592
choke me
 
36593
#else
 
36594
char (*f) () = $ac_func;
 
36595
#endif
 
36596
#ifdef __cplusplus
 
36597
}
 
36598
#endif
 
36599
 
 
36600
int
 
36601
main ()
 
36602
{
 
36603
return f != $ac_func;
 
36604
  ;
 
36605
  return 0;
 
36606
}
 
36607
_ACEOF
 
36608
rm -f conftest.$ac_objext conftest$ac_exeext
 
36609
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36610
  (eval $ac_link) 2>conftest.er1
 
36611
  ac_status=$?
 
36612
  grep -v '^ *+' conftest.er1 >conftest.err
 
36613
  rm -f conftest.er1
 
36614
  cat conftest.err >&5
 
36615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36616
  (exit $ac_status); } &&
 
36617
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
36618
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36619
  (eval $ac_try) 2>&5
 
36620
  ac_status=$?
 
36621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36622
  (exit $ac_status); }; } &&
 
36623
         { ac_try='test -s conftest$ac_exeext'
 
36624
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36625
  (eval $ac_try) 2>&5
 
36626
  ac_status=$?
 
36627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36628
  (exit $ac_status); }; }; then
 
36629
  eval "$as_ac_var=yes"
 
36630
else
 
36631
  echo "$as_me: failed program was:" >&5
 
36632
sed 's/^/| /' conftest.$ac_ext >&5
 
36633
 
 
36634
eval "$as_ac_var=no"
 
36635
fi
 
36636
rm -f conftest.err conftest.$ac_objext \
 
36637
      conftest$ac_exeext conftest.$ac_ext
 
36638
fi
 
36639
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
36640
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
36641
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
36642
  cat >>confdefs.h <<_ACEOF
 
36643
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
36644
_ACEOF
 
36645
 
 
36646
fi
 
36647
done
 
36648
 
 
36649
 
 
36650
    if test "$ac_cv_func_sigaction" = "no"; then
 
36651
        { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
 
36652
echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
 
36653
        wxUSE_ON_FATAL_EXCEPTION=no
 
36654
    fi
 
36655
 
 
36656
    if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
 
36657
      echo "$as_me:$LINENO: checking for sa_handler type" >&5
 
36658
echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
 
36659
if test "${wx_cv_type_sa_handler+set}" = set; then
 
36660
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36661
else
 
36662
 
 
36663
                ac_ext=cc
 
36664
ac_cpp='$CXXCPP $CPPFLAGS'
 
36665
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
36666
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
36667
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
36668
 
 
36669
        cat >conftest.$ac_ext <<_ACEOF
 
36670
/* confdefs.h.  */
 
36671
_ACEOF
 
36672
cat confdefs.h >>conftest.$ac_ext
 
36673
cat >>conftest.$ac_ext <<_ACEOF
 
36674
/* end confdefs.h.  */
 
36675
#include <signal.h>
 
36676
int
 
36677
main ()
 
36678
{
 
36679
 
 
36680
                        extern void testSigHandler(int);
 
36681
 
 
36682
                        struct sigaction sa;
 
36683
                        sa.sa_handler = testSigHandler;
 
36684
 
 
36685
  ;
 
36686
  return 0;
 
36687
}
 
36688
_ACEOF
 
36689
rm -f conftest.$ac_objext
 
36690
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
36691
  (eval $ac_compile) 2>conftest.er1
 
36692
  ac_status=$?
 
36693
  grep -v '^ *+' conftest.er1 >conftest.err
 
36694
  rm -f conftest.er1
 
36695
  cat conftest.err >&5
 
36696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36697
  (exit $ac_status); } &&
 
36698
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
36699
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36700
  (eval $ac_try) 2>&5
 
36701
  ac_status=$?
 
36702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36703
  (exit $ac_status); }; } &&
 
36704
         { ac_try='test -s conftest.$ac_objext'
 
36705
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36706
  (eval $ac_try) 2>&5
 
36707
  ac_status=$?
 
36708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36709
  (exit $ac_status); }; }; then
 
36710
 
 
36711
                        wx_cv_type_sa_handler=int
 
36712
 
 
36713
else
 
36714
  echo "$as_me: failed program was:" >&5
 
36715
sed 's/^/| /' conftest.$ac_ext >&5
 
36716
 
 
36717
 
 
36718
                        wx_cv_type_sa_handler=void
 
36719
 
 
36720
fi
 
36721
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
36722
        ac_ext=c
 
36723
ac_cpp='$CPP $CPPFLAGS'
 
36724
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
36725
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
36726
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
36727
 
 
36728
 
 
36729
fi
 
36730
echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
 
36731
echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
 
36732
 
 
36733
      cat >>confdefs.h <<_ACEOF
 
36734
#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
 
36735
_ACEOF
 
36736
 
 
36737
    fi
 
36738
fi
 
36739
 
 
36740
if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
 
36741
    ac_ext=cc
 
36742
ac_cpp='$CXXCPP $CPPFLAGS'
 
36743
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
36744
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
36745
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
36746
 
 
36747
    echo "$as_me:$LINENO: checking for library containing backtrace" >&5
 
36748
echo $ECHO_N "checking for library containing backtrace... $ECHO_C" >&6
 
36749
if test "${ac_cv_search_backtrace+set}" = set; then
 
36750
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36751
else
 
36752
  ac_func_search_save_LIBS=$LIBS
 
36753
ac_cv_search_backtrace=no
 
36754
cat >conftest.$ac_ext <<_ACEOF
 
36755
/* confdefs.h.  */
 
36756
_ACEOF
 
36757
cat confdefs.h >>conftest.$ac_ext
 
36758
cat >>conftest.$ac_ext <<_ACEOF
 
36759
/* end confdefs.h.  */
 
36760
 
 
36761
/* Override any gcc2 internal prototype to avoid an error.  */
 
36762
#ifdef __cplusplus
 
36763
extern "C"
 
36764
#endif
 
36765
/* We use char because int might match the return type of a gcc2
 
36766
   builtin and then its argument prototype would still apply.  */
 
36767
char backtrace ();
 
36768
int
 
36769
main ()
 
36770
{
 
36771
backtrace ();
 
36772
  ;
 
36773
  return 0;
 
36774
}
 
36775
_ACEOF
 
36776
rm -f conftest.$ac_objext conftest$ac_exeext
 
36777
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36778
  (eval $ac_link) 2>conftest.er1
 
36779
  ac_status=$?
 
36780
  grep -v '^ *+' conftest.er1 >conftest.err
 
36781
  rm -f conftest.er1
 
36782
  cat conftest.err >&5
 
36783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36784
  (exit $ac_status); } &&
 
36785
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
36786
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36787
  (eval $ac_try) 2>&5
 
36788
  ac_status=$?
 
36789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36790
  (exit $ac_status); }; } &&
 
36791
         { ac_try='test -s conftest$ac_exeext'
 
36792
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36793
  (eval $ac_try) 2>&5
 
36794
  ac_status=$?
 
36795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36796
  (exit $ac_status); }; }; then
 
36797
  ac_cv_search_backtrace="none required"
 
36798
else
 
36799
  echo "$as_me: failed program was:" >&5
 
36800
sed 's/^/| /' conftest.$ac_ext >&5
 
36801
 
 
36802
fi
 
36803
rm -f conftest.err conftest.$ac_objext \
 
36804
      conftest$ac_exeext conftest.$ac_ext
 
36805
if test "$ac_cv_search_backtrace" = no; then
 
36806
  for ac_lib in execinfo; do
 
36807
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
36808
    cat >conftest.$ac_ext <<_ACEOF
 
36809
/* confdefs.h.  */
 
36810
_ACEOF
 
36811
cat confdefs.h >>conftest.$ac_ext
 
36812
cat >>conftest.$ac_ext <<_ACEOF
 
36813
/* end confdefs.h.  */
 
36814
 
 
36815
/* Override any gcc2 internal prototype to avoid an error.  */
 
36816
#ifdef __cplusplus
 
36817
extern "C"
 
36818
#endif
 
36819
/* We use char because int might match the return type of a gcc2
 
36820
   builtin and then its argument prototype would still apply.  */
 
36821
char backtrace ();
 
36822
int
 
36823
main ()
 
36824
{
 
36825
backtrace ();
 
36826
  ;
 
36827
  return 0;
 
36828
}
 
36829
_ACEOF
 
36830
rm -f conftest.$ac_objext conftest$ac_exeext
 
36831
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36832
  (eval $ac_link) 2>conftest.er1
 
36833
  ac_status=$?
 
36834
  grep -v '^ *+' conftest.er1 >conftest.err
 
36835
  rm -f conftest.er1
 
36836
  cat conftest.err >&5
 
36837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36838
  (exit $ac_status); } &&
 
36839
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
36840
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36841
  (eval $ac_try) 2>&5
 
36842
  ac_status=$?
 
36843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36844
  (exit $ac_status); }; } &&
 
36845
         { ac_try='test -s conftest$ac_exeext'
 
36846
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36847
  (eval $ac_try) 2>&5
 
36848
  ac_status=$?
 
36849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36850
  (exit $ac_status); }; }; then
 
36851
  ac_cv_search_backtrace="-l$ac_lib"
 
36852
break
 
36853
else
 
36854
  echo "$as_me: failed program was:" >&5
 
36855
sed 's/^/| /' conftest.$ac_ext >&5
 
36856
 
 
36857
fi
 
36858
rm -f conftest.err conftest.$ac_objext \
 
36859
      conftest$ac_exeext conftest.$ac_ext
 
36860
  done
 
36861
fi
 
36862
LIBS=$ac_func_search_save_LIBS
 
36863
fi
 
36864
echo "$as_me:$LINENO: result: $ac_cv_search_backtrace" >&5
 
36865
echo "${ECHO_T}$ac_cv_search_backtrace" >&6
 
36866
if test "$ac_cv_search_backtrace" != no; then
 
36867
  test "$ac_cv_search_backtrace" = "none required" || LIBS="$ac_cv_search_backtrace $LIBS"
 
36868
  echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
 
36869
echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
 
36870
if test "${wx_cv_func_backtrace+set}" = set; then
 
36871
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36872
else
 
36873
  cat >conftest.$ac_ext <<_ACEOF
 
36874
/* confdefs.h.  */
 
36875
_ACEOF
 
36876
cat confdefs.h >>conftest.$ac_ext
 
36877
cat >>conftest.$ac_ext <<_ACEOF
 
36878
/* end confdefs.h.  */
 
36879
#include <execinfo.h>
 
36880
int
 
36881
main ()
 
36882
{
 
36883
 
 
36884
                    void *trace[1];
 
36885
                    char **messages;
 
36886
                    backtrace(trace, 1);
 
36887
                    messages = backtrace_symbols(trace, 1);
 
36888
 
 
36889
  ;
 
36890
  return 0;
 
36891
}
 
36892
_ACEOF
 
36893
rm -f conftest.$ac_objext conftest$ac_exeext
 
36894
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36895
  (eval $ac_link) 2>conftest.er1
 
36896
  ac_status=$?
 
36897
  grep -v '^ *+' conftest.er1 >conftest.err
 
36898
  rm -f conftest.er1
 
36899
  cat conftest.err >&5
 
36900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36901
  (exit $ac_status); } &&
 
36902
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
36903
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36904
  (eval $ac_try) 2>&5
 
36905
  ac_status=$?
 
36906
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36907
  (exit $ac_status); }; } &&
 
36908
         { ac_try='test -s conftest$ac_exeext'
 
36909
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36910
  (eval $ac_try) 2>&5
 
36911
  ac_status=$?
 
36912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36913
  (exit $ac_status); }; }; then
 
36914
  wx_cv_func_backtrace=yes
 
36915
else
 
36916
  echo "$as_me: failed program was:" >&5
 
36917
sed 's/^/| /' conftest.$ac_ext >&5
 
36918
 
 
36919
wx_cv_func_backtrace=no
 
36920
 
 
36921
fi
 
36922
rm -f conftest.err conftest.$ac_objext \
 
36923
      conftest$ac_exeext conftest.$ac_ext
 
36924
 
 
36925
fi
 
36926
echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
 
36927
echo "${ECHO_T}$wx_cv_func_backtrace" >&6
 
36928
else
 
36929
  wx_cv_func_backtrace=no
 
36930
fi
 
36931
 
 
36932
 
 
36933
    if test "$wx_cv_func_backtrace" = "no"; then
 
36934
        { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
 
36935
echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
 
36936
        wxUSE_STACKWALKER=no
 
36937
    else
 
36938
        echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
 
36939
echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
 
36940
if test "${wx_cv_func_cxa_demangle+set}" = set; then
 
36941
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36942
else
 
36943
 
 
36944
                cat >conftest.$ac_ext <<_ACEOF
 
36945
/* confdefs.h.  */
 
36946
_ACEOF
 
36947
cat confdefs.h >>conftest.$ac_ext
 
36948
cat >>conftest.$ac_ext <<_ACEOF
 
36949
/* end confdefs.h.  */
 
36950
#include <cxxabi.h>
 
36951
int
 
36952
main ()
 
36953
{
 
36954
 
 
36955
                        int rc;
 
36956
                        __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
 
36957
 
 
36958
  ;
 
36959
  return 0;
 
36960
}
 
36961
_ACEOF
 
36962
rm -f conftest.$ac_objext conftest$ac_exeext
 
36963
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
36964
  (eval $ac_link) 2>conftest.er1
 
36965
  ac_status=$?
 
36966
  grep -v '^ *+' conftest.er1 >conftest.err
 
36967
  rm -f conftest.er1
 
36968
  cat conftest.err >&5
 
36969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36970
  (exit $ac_status); } &&
 
36971
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
36972
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36973
  (eval $ac_try) 2>&5
 
36974
  ac_status=$?
 
36975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36976
  (exit $ac_status); }; } &&
 
36977
         { ac_try='test -s conftest$ac_exeext'
 
36978
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
36979
  (eval $ac_try) 2>&5
 
36980
  ac_status=$?
 
36981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36982
  (exit $ac_status); }; }; then
 
36983
  wx_cv_func_cxa_demangle=yes
 
36984
else
 
36985
  echo "$as_me: failed program was:" >&5
 
36986
sed 's/^/| /' conftest.$ac_ext >&5
 
36987
 
 
36988
wx_cv_func_cxa_demangle=no
 
36989
 
 
36990
fi
 
36991
rm -f conftest.err conftest.$ac_objext \
 
36992
      conftest$ac_exeext conftest.$ac_ext
 
36993
 
 
36994
 
 
36995
fi
 
36996
echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
 
36997
echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
 
36998
 
 
36999
        if test "$wx_cv_func_cxa_demangle" = "yes"; then
 
37000
            cat >>confdefs.h <<\_ACEOF
 
37001
#define HAVE_CXA_DEMANGLE 1
 
37002
_ACEOF
 
37003
 
 
37004
        fi
 
37005
    fi
 
37006
    ac_ext=c
 
37007
ac_cpp='$CPP $CPPFLAGS'
 
37008
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
37009
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
37010
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
37011
 
 
37012
fi
 
37013
 
 
37014
if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
 
37015
    { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
 
37016
echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
 
37017
    wxUSE_STACKWALKER=no
 
37018
fi
 
37019
 
 
37020
 
 
37021
 
 
37022
 
 
37023
for ac_func in mkstemp mktemp
 
37024
do
 
37025
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
37026
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
37027
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
37028
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
37029
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37030
else
 
37031
  cat >conftest.$ac_ext <<_ACEOF
 
37032
/* confdefs.h.  */
 
37033
_ACEOF
 
37034
cat confdefs.h >>conftest.$ac_ext
 
37035
cat >>conftest.$ac_ext <<_ACEOF
 
37036
/* end confdefs.h.  */
 
37037
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
37038
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
37039
#define $ac_func innocuous_$ac_func
 
37040
 
 
37041
/* System header to define __stub macros and hopefully few prototypes,
 
37042
    which can conflict with char $ac_func (); below.
 
37043
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
37044
    <limits.h> exists even on freestanding compilers.  */
 
37045
 
 
37046
#ifdef __STDC__
 
37047
# include <limits.h>
 
37048
#else
 
37049
# include <assert.h>
 
37050
#endif
 
37051
 
 
37052
#undef $ac_func
 
37053
 
 
37054
/* Override any gcc2 internal prototype to avoid an error.  */
 
37055
#ifdef __cplusplus
 
37056
extern "C"
 
37057
{
 
37058
#endif
 
37059
/* We use char because int might match the return type of a gcc2
 
37060
   builtin and then its argument prototype would still apply.  */
 
37061
char $ac_func ();
 
37062
/* The GNU C library defines this for functions which it implements
 
37063
    to always fail with ENOSYS.  Some functions are actually named
 
37064
    something starting with __ and the normal name is an alias.  */
 
37065
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
37066
choke me
 
37067
#else
 
37068
char (*f) () = $ac_func;
 
37069
#endif
 
37070
#ifdef __cplusplus
 
37071
}
 
37072
#endif
 
37073
 
 
37074
int
 
37075
main ()
 
37076
{
 
37077
return f != $ac_func;
 
37078
  ;
 
37079
  return 0;
 
37080
}
 
37081
_ACEOF
 
37082
rm -f conftest.$ac_objext conftest$ac_exeext
 
37083
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
37084
  (eval $ac_link) 2>conftest.er1
 
37085
  ac_status=$?
 
37086
  grep -v '^ *+' conftest.er1 >conftest.err
 
37087
  rm -f conftest.er1
 
37088
  cat conftest.err >&5
 
37089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37090
  (exit $ac_status); } &&
 
37091
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37092
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37093
  (eval $ac_try) 2>&5
 
37094
  ac_status=$?
 
37095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37096
  (exit $ac_status); }; } &&
 
37097
         { ac_try='test -s conftest$ac_exeext'
 
37098
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37099
  (eval $ac_try) 2>&5
 
37100
  ac_status=$?
 
37101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37102
  (exit $ac_status); }; }; then
 
37103
  eval "$as_ac_var=yes"
 
37104
else
 
37105
  echo "$as_me: failed program was:" >&5
 
37106
sed 's/^/| /' conftest.$ac_ext >&5
 
37107
 
 
37108
eval "$as_ac_var=no"
 
37109
fi
 
37110
rm -f conftest.err conftest.$ac_objext \
 
37111
      conftest$ac_exeext conftest.$ac_ext
 
37112
fi
 
37113
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
37114
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
37115
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
37116
  cat >>confdefs.h <<_ACEOF
 
37117
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
37118
_ACEOF
 
37119
 break
 
37120
fi
 
37121
done
 
37122
 
 
37123
 
 
37124
echo "$as_me:$LINENO: checking for statfs" >&5
 
37125
echo $ECHO_N "checking for statfs... $ECHO_C" >&6
 
37126
if test "${wx_cv_func_statfs+set}" = set; then
 
37127
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37128
else
 
37129
  cat >conftest.$ac_ext <<_ACEOF
 
37130
/* confdefs.h.  */
 
37131
_ACEOF
 
37132
cat confdefs.h >>conftest.$ac_ext
 
37133
cat >>conftest.$ac_ext <<_ACEOF
 
37134
/* end confdefs.h.  */
 
37135
 
 
37136
             #if defined(__BSD__)
 
37137
             #include <sys/param.h>
 
37138
             #include <sys/mount.h>
 
37139
             #else
 
37140
             #include <sys/vfs.h>
 
37141
             #endif
 
37142
 
 
37143
int
 
37144
main ()
 
37145
{
 
37146
 
 
37147
             long l;
 
37148
             struct statfs fs;
 
37149
             statfs("/", &fs);
 
37150
             l = fs.f_bsize;
 
37151
             l += fs.f_blocks;
 
37152
             l += fs.f_bavail;
 
37153
 
 
37154
  ;
 
37155
  return 0;
 
37156
}
 
37157
_ACEOF
 
37158
rm -f conftest.$ac_objext
 
37159
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
37160
  (eval $ac_compile) 2>conftest.er1
 
37161
  ac_status=$?
 
37162
  grep -v '^ *+' conftest.er1 >conftest.err
 
37163
  rm -f conftest.er1
 
37164
  cat conftest.err >&5
 
37165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37166
  (exit $ac_status); } &&
 
37167
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37168
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37169
  (eval $ac_try) 2>&5
 
37170
  ac_status=$?
 
37171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37172
  (exit $ac_status); }; } &&
 
37173
         { ac_try='test -s conftest.$ac_objext'
 
37174
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37175
  (eval $ac_try) 2>&5
 
37176
  ac_status=$?
 
37177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37178
  (exit $ac_status); }; }; then
 
37179
  wx_cv_func_statfs=yes
 
37180
else
 
37181
  echo "$as_me: failed program was:" >&5
 
37182
sed 's/^/| /' conftest.$ac_ext >&5
 
37183
 
 
37184
wx_cv_func_statfs=no
 
37185
 
 
37186
fi
 
37187
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
37188
 
 
37189
fi
 
37190
echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
 
37191
echo "${ECHO_T}$wx_cv_func_statfs" >&6
 
37192
 
 
37193
if test "$wx_cv_func_statfs" = "yes"; then
 
37194
        echo "$as_me:$LINENO: checking for statfs declaration" >&5
 
37195
echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
 
37196
if test "${wx_cv_func_statfs_decl+set}" = set; then
 
37197
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37198
else
 
37199
  ac_ext=cc
 
37200
ac_cpp='$CXXCPP $CPPFLAGS'
 
37201
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
37202
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
37203
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
37204
 
 
37205
        cat >conftest.$ac_ext <<_ACEOF
 
37206
/* confdefs.h.  */
 
37207
_ACEOF
 
37208
cat confdefs.h >>conftest.$ac_ext
 
37209
cat >>conftest.$ac_ext <<_ACEOF
 
37210
/* end confdefs.h.  */
 
37211
 
 
37212
                 #if defined(__BSD__)
 
37213
                 #include <sys/param.h>
 
37214
                 #include <sys/mount.h>
 
37215
                 #else
 
37216
                 #include <sys/vfs.h>
 
37217
                 #endif
 
37218
 
 
37219
int
 
37220
main ()
 
37221
{
 
37222
 
 
37223
                struct statfs fs;
 
37224
                statfs("", &fs);
 
37225
 
 
37226
  ;
 
37227
  return 0;
 
37228
}
 
37229
_ACEOF
 
37230
rm -f conftest.$ac_objext
 
37231
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
37232
  (eval $ac_compile) 2>conftest.er1
 
37233
  ac_status=$?
 
37234
  grep -v '^ *+' conftest.er1 >conftest.err
 
37235
  rm -f conftest.er1
 
37236
  cat conftest.err >&5
 
37237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37238
  (exit $ac_status); } &&
 
37239
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
37240
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37241
  (eval $ac_try) 2>&5
 
37242
  ac_status=$?
 
37243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37244
  (exit $ac_status); }; } &&
 
37245
         { ac_try='test -s conftest.$ac_objext'
 
37246
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37247
  (eval $ac_try) 2>&5
 
37248
  ac_status=$?
 
37249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37250
  (exit $ac_status); }; }; then
 
37251
  wx_cv_func_statfs_decl=yes
 
37252
else
 
37253
  echo "$as_me: failed program was:" >&5
 
37254
sed 's/^/| /' conftest.$ac_ext >&5
 
37255
 
 
37256
wx_cv_func_statfs_decl=no
 
37257
 
 
37258
fi
 
37259
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
37260
        ac_ext=c
 
37261
ac_cpp='$CPP $CPPFLAGS'
 
37262
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
37263
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
37264
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
37265
 
 
37266
 
 
37267
fi
 
37268
echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
 
37269
echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
 
37270
 
 
37271
    if test "$wx_cv_func_statfs_decl" = "yes"; then
 
37272
        cat >>confdefs.h <<\_ACEOF
 
37273
#define HAVE_STATFS_DECL 1
 
37274
_ACEOF
 
37275
 
 
37276
    fi
 
37277
 
 
37278
    wx_cv_type_statvfs_t="struct statfs"
 
37279
    cat >>confdefs.h <<\_ACEOF
 
37280
#define HAVE_STATFS 1
 
37281
_ACEOF
 
37282
 
 
37283
else
 
37284
    echo "$as_me:$LINENO: checking for statvfs" >&5
 
37285
echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
 
37286
if test "${wx_cv_func_statvfs+set}" = set; then
 
37287
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37288
else
 
37289
  cat >conftest.$ac_ext <<_ACEOF
 
37290
/* confdefs.h.  */
 
37291
_ACEOF
 
37292
cat confdefs.h >>conftest.$ac_ext
 
37293
cat >>conftest.$ac_ext <<_ACEOF
 
37294
/* end confdefs.h.  */
 
37295
 
 
37296
                #include <stddef.h>
 
37297
                #include <sys/statvfs.h>
 
37298
 
 
37299
int
 
37300
main ()
 
37301
{
 
37302
 
 
37303
                statvfs("/", NULL);
 
37304
 
 
37305
  ;
 
37306
  return 0;
 
37307
}
 
37308
_ACEOF
 
37309
rm -f conftest.$ac_objext
 
37310
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
37311
  (eval $ac_compile) 2>conftest.er1
 
37312
  ac_status=$?
 
37313
  grep -v '^ *+' conftest.er1 >conftest.err
 
37314
  rm -f conftest.er1
 
37315
  cat conftest.err >&5
 
37316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37317
  (exit $ac_status); } &&
 
37318
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37319
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37320
  (eval $ac_try) 2>&5
 
37321
  ac_status=$?
 
37322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37323
  (exit $ac_status); }; } &&
 
37324
         { ac_try='test -s conftest.$ac_objext'
 
37325
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37326
  (eval $ac_try) 2>&5
 
37327
  ac_status=$?
 
37328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37329
  (exit $ac_status); }; }; then
 
37330
  wx_cv_func_statvfs=yes
 
37331
else
 
37332
  echo "$as_me: failed program was:" >&5
 
37333
sed 's/^/| /' conftest.$ac_ext >&5
 
37334
 
 
37335
wx_cv_func_statvfs=no
 
37336
 
 
37337
fi
 
37338
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
37339
 
 
37340
fi
 
37341
echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
 
37342
echo "${ECHO_T}$wx_cv_func_statvfs" >&6
 
37343
 
 
37344
    if test "$wx_cv_func_statvfs" = "yes"; then
 
37345
                                                                echo "$as_me:$LINENO: checking for statvfs argument type" >&5
 
37346
echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
 
37347
if test "${wx_cv_type_statvfs_t+set}" = set; then
 
37348
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37349
else
 
37350
  ac_ext=cc
 
37351
ac_cpp='$CXXCPP $CPPFLAGS'
 
37352
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
37353
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
37354
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
37355
 
 
37356
            cat >conftest.$ac_ext <<_ACEOF
 
37357
/* confdefs.h.  */
 
37358
_ACEOF
 
37359
cat confdefs.h >>conftest.$ac_ext
 
37360
cat >>conftest.$ac_ext <<_ACEOF
 
37361
/* end confdefs.h.  */
 
37362
 
 
37363
                    #include <sys/statvfs.h>
 
37364
 
 
37365
int
 
37366
main ()
 
37367
{
 
37368
 
 
37369
                    long l;
 
37370
                    statvfs_t fs;
 
37371
                    statvfs("/", &fs);
 
37372
                    l = fs.f_bsize;
 
37373
                    l += fs.f_blocks;
 
37374
                    l += fs.f_bavail;
 
37375
 
 
37376
  ;
 
37377
  return 0;
 
37378
}
 
37379
_ACEOF
 
37380
rm -f conftest.$ac_objext
 
37381
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
37382
  (eval $ac_compile) 2>conftest.er1
 
37383
  ac_status=$?
 
37384
  grep -v '^ *+' conftest.er1 >conftest.err
 
37385
  rm -f conftest.er1
 
37386
  cat conftest.err >&5
 
37387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37388
  (exit $ac_status); } &&
 
37389
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
37390
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37391
  (eval $ac_try) 2>&5
 
37392
  ac_status=$?
 
37393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37394
  (exit $ac_status); }; } &&
 
37395
         { ac_try='test -s conftest.$ac_objext'
 
37396
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37397
  (eval $ac_try) 2>&5
 
37398
  ac_status=$?
 
37399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37400
  (exit $ac_status); }; }; then
 
37401
  wx_cv_type_statvfs_t=statvfs_t
 
37402
else
 
37403
  echo "$as_me: failed program was:" >&5
 
37404
sed 's/^/| /' conftest.$ac_ext >&5
 
37405
 
 
37406
 
 
37407
                    cat >conftest.$ac_ext <<_ACEOF
 
37408
/* confdefs.h.  */
 
37409
_ACEOF
 
37410
cat confdefs.h >>conftest.$ac_ext
 
37411
cat >>conftest.$ac_ext <<_ACEOF
 
37412
/* end confdefs.h.  */
 
37413
 
 
37414
                            #include <sys/statvfs.h>
 
37415
 
 
37416
int
 
37417
main ()
 
37418
{
 
37419
 
 
37420
                            long l;
 
37421
                            struct statvfs fs;
 
37422
                            statvfs("/", &fs);
 
37423
                            l = fs.f_bsize;
 
37424
                            l += fs.f_blocks;
 
37425
                            l += fs.f_bavail;
 
37426
 
 
37427
  ;
 
37428
  return 0;
 
37429
}
 
37430
_ACEOF
 
37431
rm -f conftest.$ac_objext
 
37432
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
37433
  (eval $ac_compile) 2>conftest.er1
 
37434
  ac_status=$?
 
37435
  grep -v '^ *+' conftest.er1 >conftest.err
 
37436
  rm -f conftest.er1
 
37437
  cat conftest.err >&5
 
37438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37439
  (exit $ac_status); } &&
 
37440
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
37441
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37442
  (eval $ac_try) 2>&5
 
37443
  ac_status=$?
 
37444
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37445
  (exit $ac_status); }; } &&
 
37446
         { ac_try='test -s conftest.$ac_objext'
 
37447
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37448
  (eval $ac_try) 2>&5
 
37449
  ac_status=$?
 
37450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37451
  (exit $ac_status); }; }; then
 
37452
  wx_cv_type_statvfs_t="struct statvfs"
 
37453
else
 
37454
  echo "$as_me: failed program was:" >&5
 
37455
sed 's/^/| /' conftest.$ac_ext >&5
 
37456
 
 
37457
wx_cv_type_statvfs_t="unknown"
 
37458
 
 
37459
fi
 
37460
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
37461
 
 
37462
 
 
37463
fi
 
37464
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
37465
            ac_ext=c
 
37466
ac_cpp='$CPP $CPPFLAGS'
 
37467
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
37468
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
37469
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
37470
 
 
37471
 
 
37472
fi
 
37473
echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
 
37474
echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
 
37475
 
 
37476
        if test "$wx_cv_type_statvfs_t" != "unknown"; then
 
37477
            cat >>confdefs.h <<\_ACEOF
 
37478
#define HAVE_STATVFS 1
 
37479
_ACEOF
 
37480
 
 
37481
        fi
 
37482
    else
 
37483
                wx_cv_type_statvfs_t="unknown"
 
37484
    fi
 
37485
fi
 
37486
 
 
37487
if test "$wx_cv_type_statvfs_t" != "unknown"; then
 
37488
    cat >>confdefs.h <<_ACEOF
 
37489
#define WX_STATFS_T $wx_cv_type_statvfs_t
 
37490
_ACEOF
 
37491
 
 
37492
else
 
37493
    { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
 
37494
echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
 
37495
fi
 
37496
 
 
37497
if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
 
37498
 
 
37499
 
 
37500
for ac_func in fcntl flock
 
37501
do
 
37502
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
37503
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
37504
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
37505
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
37506
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37507
else
 
37508
  cat >conftest.$ac_ext <<_ACEOF
 
37509
/* confdefs.h.  */
 
37510
_ACEOF
 
37511
cat confdefs.h >>conftest.$ac_ext
 
37512
cat >>conftest.$ac_ext <<_ACEOF
 
37513
/* end confdefs.h.  */
 
37514
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
37515
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
37516
#define $ac_func innocuous_$ac_func
 
37517
 
 
37518
/* System header to define __stub macros and hopefully few prototypes,
 
37519
    which can conflict with char $ac_func (); below.
 
37520
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
37521
    <limits.h> exists even on freestanding compilers.  */
 
37522
 
 
37523
#ifdef __STDC__
 
37524
# include <limits.h>
 
37525
#else
 
37526
# include <assert.h>
 
37527
#endif
 
37528
 
 
37529
#undef $ac_func
 
37530
 
 
37531
/* Override any gcc2 internal prototype to avoid an error.  */
 
37532
#ifdef __cplusplus
 
37533
extern "C"
 
37534
{
 
37535
#endif
 
37536
/* We use char because int might match the return type of a gcc2
 
37537
   builtin and then its argument prototype would still apply.  */
 
37538
char $ac_func ();
 
37539
/* The GNU C library defines this for functions which it implements
 
37540
    to always fail with ENOSYS.  Some functions are actually named
 
37541
    something starting with __ and the normal name is an alias.  */
 
37542
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
37543
choke me
 
37544
#else
 
37545
char (*f) () = $ac_func;
 
37546
#endif
 
37547
#ifdef __cplusplus
 
37548
}
 
37549
#endif
 
37550
 
 
37551
int
 
37552
main ()
 
37553
{
 
37554
return f != $ac_func;
 
37555
  ;
 
37556
  return 0;
 
37557
}
 
37558
_ACEOF
 
37559
rm -f conftest.$ac_objext conftest$ac_exeext
 
37560
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
37561
  (eval $ac_link) 2>conftest.er1
 
37562
  ac_status=$?
 
37563
  grep -v '^ *+' conftest.er1 >conftest.err
 
37564
  rm -f conftest.er1
 
37565
  cat conftest.err >&5
 
37566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37567
  (exit $ac_status); } &&
 
37568
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37569
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37570
  (eval $ac_try) 2>&5
 
37571
  ac_status=$?
 
37572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37573
  (exit $ac_status); }; } &&
 
37574
         { ac_try='test -s conftest$ac_exeext'
 
37575
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37576
  (eval $ac_try) 2>&5
 
37577
  ac_status=$?
 
37578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37579
  (exit $ac_status); }; }; then
 
37580
  eval "$as_ac_var=yes"
 
37581
else
 
37582
  echo "$as_me: failed program was:" >&5
 
37583
sed 's/^/| /' conftest.$ac_ext >&5
 
37584
 
 
37585
eval "$as_ac_var=no"
 
37586
fi
 
37587
rm -f conftest.err conftest.$ac_objext \
 
37588
      conftest$ac_exeext conftest.$ac_ext
 
37589
fi
 
37590
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
37591
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
37592
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
37593
  cat >>confdefs.h <<_ACEOF
 
37594
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
37595
_ACEOF
 
37596
 break
 
37597
fi
 
37598
done
 
37599
 
 
37600
 
 
37601
    if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
 
37602
        { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
 
37603
echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
 
37604
        wxUSE_SNGLINST_CHECKER=no
 
37605
    fi
 
37606
fi
 
37607
 
 
37608
 
 
37609
for ac_func in timegm
 
37610
do
 
37611
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
37612
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
37613
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
37614
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
37615
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37616
else
 
37617
  cat >conftest.$ac_ext <<_ACEOF
 
37618
/* confdefs.h.  */
 
37619
_ACEOF
 
37620
cat confdefs.h >>conftest.$ac_ext
 
37621
cat >>conftest.$ac_ext <<_ACEOF
 
37622
/* end confdefs.h.  */
 
37623
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
37624
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
37625
#define $ac_func innocuous_$ac_func
 
37626
 
 
37627
/* System header to define __stub macros and hopefully few prototypes,
 
37628
    which can conflict with char $ac_func (); below.
 
37629
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
37630
    <limits.h> exists even on freestanding compilers.  */
 
37631
 
 
37632
#ifdef __STDC__
 
37633
# include <limits.h>
 
37634
#else
 
37635
# include <assert.h>
 
37636
#endif
 
37637
 
 
37638
#undef $ac_func
 
37639
 
 
37640
/* Override any gcc2 internal prototype to avoid an error.  */
 
37641
#ifdef __cplusplus
 
37642
extern "C"
 
37643
{
 
37644
#endif
 
37645
/* We use char because int might match the return type of a gcc2
 
37646
   builtin and then its argument prototype would still apply.  */
 
37647
char $ac_func ();
 
37648
/* The GNU C library defines this for functions which it implements
 
37649
    to always fail with ENOSYS.  Some functions are actually named
 
37650
    something starting with __ and the normal name is an alias.  */
 
37651
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
37652
choke me
 
37653
#else
 
37654
char (*f) () = $ac_func;
 
37655
#endif
 
37656
#ifdef __cplusplus
 
37657
}
 
37658
#endif
 
37659
 
 
37660
int
 
37661
main ()
 
37662
{
 
37663
return f != $ac_func;
 
37664
  ;
 
37665
  return 0;
 
37666
}
 
37667
_ACEOF
 
37668
rm -f conftest.$ac_objext conftest$ac_exeext
 
37669
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
37670
  (eval $ac_link) 2>conftest.er1
 
37671
  ac_status=$?
 
37672
  grep -v '^ *+' conftest.er1 >conftest.err
 
37673
  rm -f conftest.er1
 
37674
  cat conftest.err >&5
 
37675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37676
  (exit $ac_status); } &&
 
37677
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37678
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37679
  (eval $ac_try) 2>&5
 
37680
  ac_status=$?
 
37681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37682
  (exit $ac_status); }; } &&
 
37683
         { ac_try='test -s conftest$ac_exeext'
 
37684
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37685
  (eval $ac_try) 2>&5
 
37686
  ac_status=$?
 
37687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37688
  (exit $ac_status); }; }; then
 
37689
  eval "$as_ac_var=yes"
 
37690
else
 
37691
  echo "$as_me: failed program was:" >&5
 
37692
sed 's/^/| /' conftest.$ac_ext >&5
 
37693
 
 
37694
eval "$as_ac_var=no"
 
37695
fi
 
37696
rm -f conftest.err conftest.$ac_objext \
 
37697
      conftest$ac_exeext conftest.$ac_ext
 
37698
fi
 
37699
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
37700
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
37701
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
37702
  cat >>confdefs.h <<_ACEOF
 
37703
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
37704
_ACEOF
 
37705
 
 
37706
fi
 
37707
done
 
37708
 
 
37709
 
 
37710
 
 
37711
 
 
37712
for ac_func in setenv putenv
 
37713
do
 
37714
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
37715
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
37716
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
37717
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
37718
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37719
else
 
37720
  cat >conftest.$ac_ext <<_ACEOF
 
37721
/* confdefs.h.  */
 
37722
_ACEOF
 
37723
cat confdefs.h >>conftest.$ac_ext
 
37724
cat >>conftest.$ac_ext <<_ACEOF
 
37725
/* end confdefs.h.  */
 
37726
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
37727
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
37728
#define $ac_func innocuous_$ac_func
 
37729
 
 
37730
/* System header to define __stub macros and hopefully few prototypes,
 
37731
    which can conflict with char $ac_func (); below.
 
37732
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
37733
    <limits.h> exists even on freestanding compilers.  */
 
37734
 
 
37735
#ifdef __STDC__
 
37736
# include <limits.h>
 
37737
#else
 
37738
# include <assert.h>
 
37739
#endif
 
37740
 
 
37741
#undef $ac_func
 
37742
 
 
37743
/* Override any gcc2 internal prototype to avoid an error.  */
 
37744
#ifdef __cplusplus
 
37745
extern "C"
 
37746
{
 
37747
#endif
 
37748
/* We use char because int might match the return type of a gcc2
 
37749
   builtin and then its argument prototype would still apply.  */
 
37750
char $ac_func ();
 
37751
/* The GNU C library defines this for functions which it implements
 
37752
    to always fail with ENOSYS.  Some functions are actually named
 
37753
    something starting with __ and the normal name is an alias.  */
 
37754
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
37755
choke me
 
37756
#else
 
37757
char (*f) () = $ac_func;
 
37758
#endif
 
37759
#ifdef __cplusplus
 
37760
}
 
37761
#endif
 
37762
 
 
37763
int
 
37764
main ()
 
37765
{
 
37766
return f != $ac_func;
 
37767
  ;
 
37768
  return 0;
 
37769
}
 
37770
_ACEOF
 
37771
rm -f conftest.$ac_objext conftest$ac_exeext
 
37772
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
37773
  (eval $ac_link) 2>conftest.er1
 
37774
  ac_status=$?
 
37775
  grep -v '^ *+' conftest.er1 >conftest.err
 
37776
  rm -f conftest.er1
 
37777
  cat conftest.err >&5
 
37778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37779
  (exit $ac_status); } &&
 
37780
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37781
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37782
  (eval $ac_try) 2>&5
 
37783
  ac_status=$?
 
37784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37785
  (exit $ac_status); }; } &&
 
37786
         { ac_try='test -s conftest$ac_exeext'
 
37787
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37788
  (eval $ac_try) 2>&5
 
37789
  ac_status=$?
 
37790
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37791
  (exit $ac_status); }; }; then
 
37792
  eval "$as_ac_var=yes"
 
37793
else
 
37794
  echo "$as_me: failed program was:" >&5
 
37795
sed 's/^/| /' conftest.$ac_ext >&5
 
37796
 
 
37797
eval "$as_ac_var=no"
 
37798
fi
 
37799
rm -f conftest.err conftest.$ac_objext \
 
37800
      conftest$ac_exeext conftest.$ac_ext
 
37801
fi
 
37802
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
37803
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
37804
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
37805
  cat >>confdefs.h <<_ACEOF
 
37806
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
37807
_ACEOF
 
37808
 break
 
37809
fi
 
37810
done
 
37811
 
 
37812
if test "$ac_cv_func_setenv" = "yes"; then
 
37813
 
 
37814
for ac_func in unsetenv
 
37815
do
 
37816
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
37817
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
37818
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
37819
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
37820
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37821
else
 
37822
  cat >conftest.$ac_ext <<_ACEOF
 
37823
/* confdefs.h.  */
 
37824
_ACEOF
 
37825
cat confdefs.h >>conftest.$ac_ext
 
37826
cat >>conftest.$ac_ext <<_ACEOF
 
37827
/* end confdefs.h.  */
 
37828
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
37829
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
37830
#define $ac_func innocuous_$ac_func
 
37831
 
 
37832
/* System header to define __stub macros and hopefully few prototypes,
 
37833
    which can conflict with char $ac_func (); below.
 
37834
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
37835
    <limits.h> exists even on freestanding compilers.  */
 
37836
 
 
37837
#ifdef __STDC__
 
37838
# include <limits.h>
 
37839
#else
 
37840
# include <assert.h>
 
37841
#endif
 
37842
 
 
37843
#undef $ac_func
 
37844
 
 
37845
/* Override any gcc2 internal prototype to avoid an error.  */
 
37846
#ifdef __cplusplus
 
37847
extern "C"
 
37848
{
 
37849
#endif
 
37850
/* We use char because int might match the return type of a gcc2
 
37851
   builtin and then its argument prototype would still apply.  */
 
37852
char $ac_func ();
 
37853
/* The GNU C library defines this for functions which it implements
 
37854
    to always fail with ENOSYS.  Some functions are actually named
 
37855
    something starting with __ and the normal name is an alias.  */
 
37856
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
37857
choke me
 
37858
#else
 
37859
char (*f) () = $ac_func;
 
37860
#endif
 
37861
#ifdef __cplusplus
 
37862
}
 
37863
#endif
 
37864
 
 
37865
int
 
37866
main ()
 
37867
{
 
37868
return f != $ac_func;
 
37869
  ;
 
37870
  return 0;
 
37871
}
 
37872
_ACEOF
 
37873
rm -f conftest.$ac_objext conftest$ac_exeext
 
37874
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
37875
  (eval $ac_link) 2>conftest.er1
 
37876
  ac_status=$?
 
37877
  grep -v '^ *+' conftest.er1 >conftest.err
 
37878
  rm -f conftest.er1
 
37879
  cat conftest.err >&5
 
37880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37881
  (exit $ac_status); } &&
 
37882
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
37883
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37884
  (eval $ac_try) 2>&5
 
37885
  ac_status=$?
 
37886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37887
  (exit $ac_status); }; } &&
 
37888
         { ac_try='test -s conftest$ac_exeext'
 
37889
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
37890
  (eval $ac_try) 2>&5
 
37891
  ac_status=$?
 
37892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
37893
  (exit $ac_status); }; }; then
 
37894
  eval "$as_ac_var=yes"
 
37895
else
 
37896
  echo "$as_me: failed program was:" >&5
 
37897
sed 's/^/| /' conftest.$ac_ext >&5
 
37898
 
 
37899
eval "$as_ac_var=no"
 
37900
fi
 
37901
rm -f conftest.err conftest.$ac_objext \
 
37902
      conftest$ac_exeext conftest.$ac_ext
 
37903
fi
 
37904
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
37905
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
37906
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
37907
  cat >>confdefs.h <<_ACEOF
 
37908
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
37909
_ACEOF
 
37910
 
 
37911
fi
 
37912
done
 
37913
 
 
37914
fi
 
37915
 
 
37916
HAVE_SOME_SLEEP_FUNC=0
 
37917
if test "$USE_BEOS" = 1; then
 
37918
            cat >>confdefs.h <<\_ACEOF
 
37919
#define HAVE_SLEEP 1
 
37920
_ACEOF
 
37921
 
 
37922
    HAVE_SOME_SLEEP_FUNC=1
 
37923
fi
 
37924
 
 
37925
if test "$USE_DARWIN" = 1; then
 
37926
            cat >>confdefs.h <<\_ACEOF
 
37927
#define HAVE_USLEEP 1
 
37928
_ACEOF
 
37929
 
 
37930
    HAVE_SOME_SLEEP_FUNC=1
 
37931
fi
 
37932
 
 
37933
if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
 
37934
        POSIX4_LINK=
 
37935
 
 
37936
for ac_func in nanosleep
 
37937
do
 
37938
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
37939
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
37940
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
37941
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
37942
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
37943
else
 
37944
  cat >conftest.$ac_ext <<_ACEOF
 
37945
/* confdefs.h.  */
 
37946
_ACEOF
 
37947
cat confdefs.h >>conftest.$ac_ext
 
37948
cat >>conftest.$ac_ext <<_ACEOF
 
37949
/* end confdefs.h.  */
 
37950
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
37951
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
37952
#define $ac_func innocuous_$ac_func
 
37953
 
 
37954
/* System header to define __stub macros and hopefully few prototypes,
 
37955
    which can conflict with char $ac_func (); below.
 
37956
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
37957
    <limits.h> exists even on freestanding compilers.  */
 
37958
 
 
37959
#ifdef __STDC__
 
37960
# include <limits.h>
 
37961
#else
 
37962
# include <assert.h>
 
37963
#endif
 
37964
 
 
37965
#undef $ac_func
 
37966
 
 
37967
/* Override any gcc2 internal prototype to avoid an error.  */
 
37968
#ifdef __cplusplus
 
37969
extern "C"
 
37970
{
 
37971
#endif
 
37972
/* We use char because int might match the return type of a gcc2
 
37973
   builtin and then its argument prototype would still apply.  */
 
37974
char $ac_func ();
 
37975
/* The GNU C library defines this for functions which it implements
 
37976
    to always fail with ENOSYS.  Some functions are actually named
 
37977
    something starting with __ and the normal name is an alias.  */
 
37978
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
37979
choke me
 
37980
#else
 
37981
char (*f) () = $ac_func;
 
37982
#endif
 
37983
#ifdef __cplusplus
 
37984
}
 
37985
#endif
 
37986
 
 
37987
int
 
37988
main ()
 
37989
{
 
37990
return f != $ac_func;
 
37991
  ;
 
37992
  return 0;
 
37993
}
 
37994
_ACEOF
 
37995
rm -f conftest.$ac_objext conftest$ac_exeext
 
37996
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
37997
  (eval $ac_link) 2>conftest.er1
 
37998
  ac_status=$?
 
37999
  grep -v '^ *+' conftest.er1 >conftest.err
 
38000
  rm -f conftest.er1
 
38001
  cat conftest.err >&5
 
38002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38003
  (exit $ac_status); } &&
 
38004
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38005
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38006
  (eval $ac_try) 2>&5
 
38007
  ac_status=$?
 
38008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38009
  (exit $ac_status); }; } &&
 
38010
         { ac_try='test -s conftest$ac_exeext'
 
38011
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38012
  (eval $ac_try) 2>&5
 
38013
  ac_status=$?
 
38014
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38015
  (exit $ac_status); }; }; then
 
38016
  eval "$as_ac_var=yes"
 
38017
else
 
38018
  echo "$as_me: failed program was:" >&5
 
38019
sed 's/^/| /' conftest.$ac_ext >&5
 
38020
 
 
38021
eval "$as_ac_var=no"
 
38022
fi
 
38023
rm -f conftest.err conftest.$ac_objext \
 
38024
      conftest$ac_exeext conftest.$ac_ext
 
38025
fi
 
38026
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
38027
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
38028
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
38029
  cat >>confdefs.h <<_ACEOF
 
38030
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
38031
_ACEOF
 
38032
 cat >>confdefs.h <<\_ACEOF
 
38033
#define HAVE_NANOSLEEP 1
 
38034
_ACEOF
 
38035
 
 
38036
else
 
38037
 
 
38038
            echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
 
38039
echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
 
38040
if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
 
38041
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38042
else
 
38043
  ac_check_lib_save_LIBS=$LIBS
 
38044
LIBS="-lposix4  $LIBS"
 
38045
cat >conftest.$ac_ext <<_ACEOF
 
38046
/* confdefs.h.  */
 
38047
_ACEOF
 
38048
cat confdefs.h >>conftest.$ac_ext
 
38049
cat >>conftest.$ac_ext <<_ACEOF
 
38050
/* end confdefs.h.  */
 
38051
 
 
38052
/* Override any gcc2 internal prototype to avoid an error.  */
 
38053
#ifdef __cplusplus
 
38054
extern "C"
 
38055
#endif
 
38056
/* We use char because int might match the return type of a gcc2
 
38057
   builtin and then its argument prototype would still apply.  */
 
38058
char nanosleep ();
 
38059
int
 
38060
main ()
 
38061
{
 
38062
nanosleep ();
 
38063
  ;
 
38064
  return 0;
 
38065
}
 
38066
_ACEOF
 
38067
rm -f conftest.$ac_objext conftest$ac_exeext
 
38068
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38069
  (eval $ac_link) 2>conftest.er1
 
38070
  ac_status=$?
 
38071
  grep -v '^ *+' conftest.er1 >conftest.err
 
38072
  rm -f conftest.er1
 
38073
  cat conftest.err >&5
 
38074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38075
  (exit $ac_status); } &&
 
38076
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38077
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38078
  (eval $ac_try) 2>&5
 
38079
  ac_status=$?
 
38080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38081
  (exit $ac_status); }; } &&
 
38082
         { ac_try='test -s conftest$ac_exeext'
 
38083
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38084
  (eval $ac_try) 2>&5
 
38085
  ac_status=$?
 
38086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38087
  (exit $ac_status); }; }; then
 
38088
  ac_cv_lib_posix4_nanosleep=yes
 
38089
else
 
38090
  echo "$as_me: failed program was:" >&5
 
38091
sed 's/^/| /' conftest.$ac_ext >&5
 
38092
 
 
38093
ac_cv_lib_posix4_nanosleep=no
 
38094
fi
 
38095
rm -f conftest.err conftest.$ac_objext \
 
38096
      conftest$ac_exeext conftest.$ac_ext
 
38097
LIBS=$ac_check_lib_save_LIBS
 
38098
fi
 
38099
echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
 
38100
echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
 
38101
if test $ac_cv_lib_posix4_nanosleep = yes; then
 
38102
 
 
38103
                    cat >>confdefs.h <<\_ACEOF
 
38104
#define HAVE_NANOSLEEP 1
 
38105
_ACEOF
 
38106
 
 
38107
                    POSIX4_LINK=" -lposix4"
 
38108
 
 
38109
else
 
38110
 
 
38111
 
 
38112
  for wx_func in usleep
 
38113
  do
 
38114
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
38115
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
38116
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
38117
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38118
else
 
38119
 
 
38120
        cat >conftest.$ac_ext <<_ACEOF
 
38121
 
 
38122
            /* confdefs.h.  */
 
38123
_ACEOF
 
38124
cat confdefs.h >>conftest.$ac_ext
 
38125
cat >>conftest.$ac_ext <<_ACEOF
 
38126
/* end confdefs.h.  */
 
38127
 
 
38128
 
 
38129
                $ac_includes_default
 
38130
 
 
38131
int
 
38132
main ()
 
38133
{
 
38134
 
 
38135
                #ifndef $wx_func
 
38136
                  &$wx_func;
 
38137
                #endif
 
38138
 
 
38139
 
 
38140
  ;
 
38141
  return 0;
 
38142
}
 
38143
 
 
38144
_ACEOF
 
38145
rm -f conftest.$ac_objext conftest$ac_exeext
 
38146
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38147
  (eval $ac_link) 2>conftest.er1
 
38148
  ac_status=$?
 
38149
  grep -v '^ *+' conftest.er1 >conftest.err
 
38150
  rm -f conftest.er1
 
38151
  cat conftest.err >&5
 
38152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38153
  (exit $ac_status); } &&
 
38154
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38155
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38156
  (eval $ac_try) 2>&5
 
38157
  ac_status=$?
 
38158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38159
  (exit $ac_status); }; } &&
 
38160
         { ac_try='test -s conftest$ac_exeext'
 
38161
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38162
  (eval $ac_try) 2>&5
 
38163
  ac_status=$?
 
38164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38165
  (exit $ac_status); }; }; then
 
38166
  eval wx_cv_func_$wx_func=yes
 
38167
else
 
38168
  echo "$as_me: failed program was:" >&5
 
38169
sed 's/^/| /' conftest.$ac_ext >&5
 
38170
 
 
38171
eval wx_cv_func_$wx_func=no
 
38172
fi
 
38173
rm -f conftest.err conftest.$ac_objext \
 
38174
      conftest$ac_exeext conftest.$ac_ext
 
38175
 
 
38176
fi
 
38177
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
38178
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
38179
 
 
38180
    if eval test \$wx_cv_func_$wx_func = yes
 
38181
    then
 
38182
      cat >>confdefs.h <<_ACEOF
 
38183
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
38184
_ACEOF
 
38185
 
 
38186
 
 
38187
    else
 
38188
      :
 
38189
      { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
 
38190
echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
 
38191
 
 
38192
    fi
 
38193
  done
 
38194
 
 
38195
 
 
38196
 
 
38197
fi
 
38198
 
 
38199
 
 
38200
 
 
38201
fi
 
38202
done
 
38203
 
 
38204
fi
 
38205
 
 
38206
 
 
38207
  for wx_func in uname
 
38208
  do
 
38209
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
38210
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
38211
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
38212
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38213
else
 
38214
 
 
38215
        cat >conftest.$ac_ext <<_ACEOF
 
38216
 
 
38217
            /* confdefs.h.  */
 
38218
_ACEOF
 
38219
cat confdefs.h >>conftest.$ac_ext
 
38220
cat >>conftest.$ac_ext <<_ACEOF
 
38221
/* end confdefs.h.  */
 
38222
 
 
38223
                #include <sys/utsname.h>
 
38224
                $ac_includes_default
 
38225
 
 
38226
int
 
38227
main ()
 
38228
{
 
38229
 
 
38230
                #ifndef $wx_func
 
38231
                  &$wx_func;
 
38232
                #endif
 
38233
 
 
38234
 
 
38235
  ;
 
38236
  return 0;
 
38237
}
 
38238
 
 
38239
_ACEOF
 
38240
rm -f conftest.$ac_objext conftest$ac_exeext
 
38241
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38242
  (eval $ac_link) 2>conftest.er1
 
38243
  ac_status=$?
 
38244
  grep -v '^ *+' conftest.er1 >conftest.err
 
38245
  rm -f conftest.er1
 
38246
  cat conftest.err >&5
 
38247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38248
  (exit $ac_status); } &&
 
38249
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38250
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38251
  (eval $ac_try) 2>&5
 
38252
  ac_status=$?
 
38253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38254
  (exit $ac_status); }; } &&
 
38255
         { ac_try='test -s conftest$ac_exeext'
 
38256
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38257
  (eval $ac_try) 2>&5
 
38258
  ac_status=$?
 
38259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38260
  (exit $ac_status); }; }; then
 
38261
  eval wx_cv_func_$wx_func=yes
 
38262
else
 
38263
  echo "$as_me: failed program was:" >&5
 
38264
sed 's/^/| /' conftest.$ac_ext >&5
 
38265
 
 
38266
eval wx_cv_func_$wx_func=no
 
38267
fi
 
38268
rm -f conftest.err conftest.$ac_objext \
 
38269
      conftest$ac_exeext conftest.$ac_ext
 
38270
 
 
38271
fi
 
38272
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
38273
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
38274
 
 
38275
    if eval test \$wx_cv_func_$wx_func = yes
 
38276
    then
 
38277
      cat >>confdefs.h <<_ACEOF
 
38278
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
38279
_ACEOF
 
38280
 
 
38281
 
 
38282
    else
 
38283
      :
 
38284
 
 
38285
    fi
 
38286
  done
 
38287
 
 
38288
if test "$wx_cv_func_uname" != yes; then
 
38289
 
 
38290
  for wx_func in gethostname
 
38291
  do
 
38292
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
38293
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
38294
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
38295
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38296
else
 
38297
 
 
38298
        cat >conftest.$ac_ext <<_ACEOF
 
38299
 
 
38300
            /* confdefs.h.  */
 
38301
_ACEOF
 
38302
cat confdefs.h >>conftest.$ac_ext
 
38303
cat >>conftest.$ac_ext <<_ACEOF
 
38304
/* end confdefs.h.  */
 
38305
 
 
38306
 
 
38307
                $ac_includes_default
 
38308
 
 
38309
int
 
38310
main ()
 
38311
{
 
38312
 
 
38313
                #ifndef $wx_func
 
38314
                  &$wx_func;
 
38315
                #endif
 
38316
 
 
38317
 
 
38318
  ;
 
38319
  return 0;
 
38320
}
 
38321
 
 
38322
_ACEOF
 
38323
rm -f conftest.$ac_objext conftest$ac_exeext
 
38324
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38325
  (eval $ac_link) 2>conftest.er1
 
38326
  ac_status=$?
 
38327
  grep -v '^ *+' conftest.er1 >conftest.err
 
38328
  rm -f conftest.er1
 
38329
  cat conftest.err >&5
 
38330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38331
  (exit $ac_status); } &&
 
38332
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38333
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38334
  (eval $ac_try) 2>&5
 
38335
  ac_status=$?
 
38336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38337
  (exit $ac_status); }; } &&
 
38338
         { ac_try='test -s conftest$ac_exeext'
 
38339
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38340
  (eval $ac_try) 2>&5
 
38341
  ac_status=$?
 
38342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38343
  (exit $ac_status); }; }; then
 
38344
  eval wx_cv_func_$wx_func=yes
 
38345
else
 
38346
  echo "$as_me: failed program was:" >&5
 
38347
sed 's/^/| /' conftest.$ac_ext >&5
 
38348
 
 
38349
eval wx_cv_func_$wx_func=no
 
38350
fi
 
38351
rm -f conftest.err conftest.$ac_objext \
 
38352
      conftest$ac_exeext conftest.$ac_ext
 
38353
 
 
38354
fi
 
38355
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
38356
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
38357
 
 
38358
    if eval test \$wx_cv_func_$wx_func = yes
 
38359
    then
 
38360
      cat >>confdefs.h <<_ACEOF
 
38361
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
38362
_ACEOF
 
38363
 
 
38364
 
 
38365
    else
 
38366
      :
 
38367
 
 
38368
    fi
 
38369
  done
 
38370
 
 
38371
fi
 
38372
 
 
38373
 
 
38374
  for wx_func in strtok_r
 
38375
  do
 
38376
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
38377
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
38378
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
38379
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38380
else
 
38381
 
 
38382
        cat >conftest.$ac_ext <<_ACEOF
 
38383
 
 
38384
            /* confdefs.h.  */
 
38385
_ACEOF
 
38386
cat confdefs.h >>conftest.$ac_ext
 
38387
cat >>conftest.$ac_ext <<_ACEOF
 
38388
/* end confdefs.h.  */
 
38389
 
 
38390
                #define _REENTRANT
 
38391
                $ac_includes_default
 
38392
 
 
38393
int
 
38394
main ()
 
38395
{
 
38396
 
 
38397
                #ifndef $wx_func
 
38398
                  &$wx_func;
 
38399
                #endif
 
38400
 
 
38401
 
 
38402
  ;
 
38403
  return 0;
 
38404
}
 
38405
 
 
38406
_ACEOF
 
38407
rm -f conftest.$ac_objext conftest$ac_exeext
 
38408
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38409
  (eval $ac_link) 2>conftest.er1
 
38410
  ac_status=$?
 
38411
  grep -v '^ *+' conftest.er1 >conftest.err
 
38412
  rm -f conftest.er1
 
38413
  cat conftest.err >&5
 
38414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38415
  (exit $ac_status); } &&
 
38416
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38417
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38418
  (eval $ac_try) 2>&5
 
38419
  ac_status=$?
 
38420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38421
  (exit $ac_status); }; } &&
 
38422
         { ac_try='test -s conftest$ac_exeext'
 
38423
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38424
  (eval $ac_try) 2>&5
 
38425
  ac_status=$?
 
38426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38427
  (exit $ac_status); }; }; then
 
38428
  eval wx_cv_func_$wx_func=yes
 
38429
else
 
38430
  echo "$as_me: failed program was:" >&5
 
38431
sed 's/^/| /' conftest.$ac_ext >&5
 
38432
 
 
38433
eval wx_cv_func_$wx_func=no
 
38434
fi
 
38435
rm -f conftest.err conftest.$ac_objext \
 
38436
      conftest$ac_exeext conftest.$ac_ext
 
38437
 
 
38438
fi
 
38439
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
38440
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
38441
 
 
38442
    if eval test \$wx_cv_func_$wx_func = yes
 
38443
    then
 
38444
      cat >>confdefs.h <<_ACEOF
 
38445
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
38446
_ACEOF
 
38447
 
 
38448
 
 
38449
    else
 
38450
      :
 
38451
 
 
38452
    fi
 
38453
  done
 
38454
 
 
38455
 
 
38456
INET_LINK=
 
38457
 
 
38458
for ac_func in inet_addr
 
38459
do
 
38460
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
38461
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
38462
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
38463
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
38464
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38465
else
 
38466
  cat >conftest.$ac_ext <<_ACEOF
 
38467
/* confdefs.h.  */
 
38468
_ACEOF
 
38469
cat confdefs.h >>conftest.$ac_ext
 
38470
cat >>conftest.$ac_ext <<_ACEOF
 
38471
/* end confdefs.h.  */
 
38472
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
38473
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
38474
#define $ac_func innocuous_$ac_func
 
38475
 
 
38476
/* System header to define __stub macros and hopefully few prototypes,
 
38477
    which can conflict with char $ac_func (); below.
 
38478
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
38479
    <limits.h> exists even on freestanding compilers.  */
 
38480
 
 
38481
#ifdef __STDC__
 
38482
# include <limits.h>
 
38483
#else
 
38484
# include <assert.h>
 
38485
#endif
 
38486
 
 
38487
#undef $ac_func
 
38488
 
 
38489
/* Override any gcc2 internal prototype to avoid an error.  */
 
38490
#ifdef __cplusplus
 
38491
extern "C"
 
38492
{
 
38493
#endif
 
38494
/* We use char because int might match the return type of a gcc2
 
38495
   builtin and then its argument prototype would still apply.  */
 
38496
char $ac_func ();
 
38497
/* The GNU C library defines this for functions which it implements
 
38498
    to always fail with ENOSYS.  Some functions are actually named
 
38499
    something starting with __ and the normal name is an alias.  */
 
38500
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
38501
choke me
 
38502
#else
 
38503
char (*f) () = $ac_func;
 
38504
#endif
 
38505
#ifdef __cplusplus
 
38506
}
 
38507
#endif
 
38508
 
 
38509
int
 
38510
main ()
 
38511
{
 
38512
return f != $ac_func;
 
38513
  ;
 
38514
  return 0;
 
38515
}
 
38516
_ACEOF
 
38517
rm -f conftest.$ac_objext conftest$ac_exeext
 
38518
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38519
  (eval $ac_link) 2>conftest.er1
 
38520
  ac_status=$?
 
38521
  grep -v '^ *+' conftest.er1 >conftest.err
 
38522
  rm -f conftest.er1
 
38523
  cat conftest.err >&5
 
38524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38525
  (exit $ac_status); } &&
 
38526
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38527
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38528
  (eval $ac_try) 2>&5
 
38529
  ac_status=$?
 
38530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38531
  (exit $ac_status); }; } &&
 
38532
         { ac_try='test -s conftest$ac_exeext'
 
38533
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38534
  (eval $ac_try) 2>&5
 
38535
  ac_status=$?
 
38536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38537
  (exit $ac_status); }; }; then
 
38538
  eval "$as_ac_var=yes"
 
38539
else
 
38540
  echo "$as_me: failed program was:" >&5
 
38541
sed 's/^/| /' conftest.$ac_ext >&5
 
38542
 
 
38543
eval "$as_ac_var=no"
 
38544
fi
 
38545
rm -f conftest.err conftest.$ac_objext \
 
38546
      conftest$ac_exeext conftest.$ac_ext
 
38547
fi
 
38548
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
38549
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
38550
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
38551
  cat >>confdefs.h <<_ACEOF
 
38552
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
38553
_ACEOF
 
38554
 cat >>confdefs.h <<\_ACEOF
 
38555
#define HAVE_INET_ADDR 1
 
38556
_ACEOF
 
38557
 
 
38558
else
 
38559
 
 
38560
        echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
 
38561
echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
 
38562
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
 
38563
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38564
else
 
38565
  ac_check_lib_save_LIBS=$LIBS
 
38566
LIBS="-lnsl  $LIBS"
 
38567
cat >conftest.$ac_ext <<_ACEOF
 
38568
/* confdefs.h.  */
 
38569
_ACEOF
 
38570
cat confdefs.h >>conftest.$ac_ext
 
38571
cat >>conftest.$ac_ext <<_ACEOF
 
38572
/* end confdefs.h.  */
 
38573
 
 
38574
/* Override any gcc2 internal prototype to avoid an error.  */
 
38575
#ifdef __cplusplus
 
38576
extern "C"
 
38577
#endif
 
38578
/* We use char because int might match the return type of a gcc2
 
38579
   builtin and then its argument prototype would still apply.  */
 
38580
char inet_addr ();
 
38581
int
 
38582
main ()
 
38583
{
 
38584
inet_addr ();
 
38585
  ;
 
38586
  return 0;
 
38587
}
 
38588
_ACEOF
 
38589
rm -f conftest.$ac_objext conftest$ac_exeext
 
38590
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38591
  (eval $ac_link) 2>conftest.er1
 
38592
  ac_status=$?
 
38593
  grep -v '^ *+' conftest.er1 >conftest.err
 
38594
  rm -f conftest.er1
 
38595
  cat conftest.err >&5
 
38596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38597
  (exit $ac_status); } &&
 
38598
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38599
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38600
  (eval $ac_try) 2>&5
 
38601
  ac_status=$?
 
38602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38603
  (exit $ac_status); }; } &&
 
38604
         { ac_try='test -s conftest$ac_exeext'
 
38605
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38606
  (eval $ac_try) 2>&5
 
38607
  ac_status=$?
 
38608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38609
  (exit $ac_status); }; }; then
 
38610
  ac_cv_lib_nsl_inet_addr=yes
 
38611
else
 
38612
  echo "$as_me: failed program was:" >&5
 
38613
sed 's/^/| /' conftest.$ac_ext >&5
 
38614
 
 
38615
ac_cv_lib_nsl_inet_addr=no
 
38616
fi
 
38617
rm -f conftest.err conftest.$ac_objext \
 
38618
      conftest$ac_exeext conftest.$ac_ext
 
38619
LIBS=$ac_check_lib_save_LIBS
 
38620
fi
 
38621
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
 
38622
echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
 
38623
if test $ac_cv_lib_nsl_inet_addr = yes; then
 
38624
  INET_LINK="nsl"
 
38625
else
 
38626
 
 
38627
                echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
 
38628
echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
 
38629
if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
 
38630
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38631
else
 
38632
  ac_check_lib_save_LIBS=$LIBS
 
38633
LIBS="-lresolv  $LIBS"
 
38634
cat >conftest.$ac_ext <<_ACEOF
 
38635
/* confdefs.h.  */
 
38636
_ACEOF
 
38637
cat confdefs.h >>conftest.$ac_ext
 
38638
cat >>conftest.$ac_ext <<_ACEOF
 
38639
/* end confdefs.h.  */
 
38640
 
 
38641
/* Override any gcc2 internal prototype to avoid an error.  */
 
38642
#ifdef __cplusplus
 
38643
extern "C"
 
38644
#endif
 
38645
/* We use char because int might match the return type of a gcc2
 
38646
   builtin and then its argument prototype would still apply.  */
 
38647
char inet_addr ();
 
38648
int
 
38649
main ()
 
38650
{
 
38651
inet_addr ();
 
38652
  ;
 
38653
  return 0;
 
38654
}
 
38655
_ACEOF
 
38656
rm -f conftest.$ac_objext conftest$ac_exeext
 
38657
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38658
  (eval $ac_link) 2>conftest.er1
 
38659
  ac_status=$?
 
38660
  grep -v '^ *+' conftest.er1 >conftest.err
 
38661
  rm -f conftest.er1
 
38662
  cat conftest.err >&5
 
38663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38664
  (exit $ac_status); } &&
 
38665
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38666
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38667
  (eval $ac_try) 2>&5
 
38668
  ac_status=$?
 
38669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38670
  (exit $ac_status); }; } &&
 
38671
         { ac_try='test -s conftest$ac_exeext'
 
38672
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38673
  (eval $ac_try) 2>&5
 
38674
  ac_status=$?
 
38675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38676
  (exit $ac_status); }; }; then
 
38677
  ac_cv_lib_resolv_inet_addr=yes
 
38678
else
 
38679
  echo "$as_me: failed program was:" >&5
 
38680
sed 's/^/| /' conftest.$ac_ext >&5
 
38681
 
 
38682
ac_cv_lib_resolv_inet_addr=no
 
38683
fi
 
38684
rm -f conftest.err conftest.$ac_objext \
 
38685
      conftest$ac_exeext conftest.$ac_ext
 
38686
LIBS=$ac_check_lib_save_LIBS
 
38687
fi
 
38688
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
 
38689
echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
 
38690
if test $ac_cv_lib_resolv_inet_addr = yes; then
 
38691
  INET_LINK="resolv"
 
38692
else
 
38693
 
 
38694
                        echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
 
38695
echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
 
38696
if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
 
38697
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38698
else
 
38699
  ac_check_lib_save_LIBS=$LIBS
 
38700
LIBS="-lsocket  $LIBS"
 
38701
cat >conftest.$ac_ext <<_ACEOF
 
38702
/* confdefs.h.  */
 
38703
_ACEOF
 
38704
cat confdefs.h >>conftest.$ac_ext
 
38705
cat >>conftest.$ac_ext <<_ACEOF
 
38706
/* end confdefs.h.  */
 
38707
 
 
38708
/* Override any gcc2 internal prototype to avoid an error.  */
 
38709
#ifdef __cplusplus
 
38710
extern "C"
 
38711
#endif
 
38712
/* We use char because int might match the return type of a gcc2
 
38713
   builtin and then its argument prototype would still apply.  */
 
38714
char inet_addr ();
 
38715
int
 
38716
main ()
 
38717
{
 
38718
inet_addr ();
 
38719
  ;
 
38720
  return 0;
 
38721
}
 
38722
_ACEOF
 
38723
rm -f conftest.$ac_objext conftest$ac_exeext
 
38724
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38725
  (eval $ac_link) 2>conftest.er1
 
38726
  ac_status=$?
 
38727
  grep -v '^ *+' conftest.er1 >conftest.err
 
38728
  rm -f conftest.er1
 
38729
  cat conftest.err >&5
 
38730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38731
  (exit $ac_status); } &&
 
38732
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38733
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38734
  (eval $ac_try) 2>&5
 
38735
  ac_status=$?
 
38736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38737
  (exit $ac_status); }; } &&
 
38738
         { ac_try='test -s conftest$ac_exeext'
 
38739
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38740
  (eval $ac_try) 2>&5
 
38741
  ac_status=$?
 
38742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38743
  (exit $ac_status); }; }; then
 
38744
  ac_cv_lib_socket_inet_addr=yes
 
38745
else
 
38746
  echo "$as_me: failed program was:" >&5
 
38747
sed 's/^/| /' conftest.$ac_ext >&5
 
38748
 
 
38749
ac_cv_lib_socket_inet_addr=no
 
38750
fi
 
38751
rm -f conftest.err conftest.$ac_objext \
 
38752
      conftest$ac_exeext conftest.$ac_ext
 
38753
LIBS=$ac_check_lib_save_LIBS
 
38754
fi
 
38755
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
 
38756
echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
 
38757
if test $ac_cv_lib_socket_inet_addr = yes; then
 
38758
  INET_LINK="socket"
 
38759
 
 
38760
fi
 
38761
 
 
38762
 
 
38763
 
 
38764
fi
 
38765
 
 
38766
 
 
38767
 
 
38768
fi
 
38769
 
 
38770
 
 
38771
 
 
38772
fi
 
38773
done
 
38774
 
 
38775
 
 
38776
 
 
38777
for ac_func in inet_aton
 
38778
do
 
38779
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
38780
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
38781
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
38782
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
38783
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38784
else
 
38785
  cat >conftest.$ac_ext <<_ACEOF
 
38786
/* confdefs.h.  */
 
38787
_ACEOF
 
38788
cat confdefs.h >>conftest.$ac_ext
 
38789
cat >>conftest.$ac_ext <<_ACEOF
 
38790
/* end confdefs.h.  */
 
38791
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
38792
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
38793
#define $ac_func innocuous_$ac_func
 
38794
 
 
38795
/* System header to define __stub macros and hopefully few prototypes,
 
38796
    which can conflict with char $ac_func (); below.
 
38797
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
38798
    <limits.h> exists even on freestanding compilers.  */
 
38799
 
 
38800
#ifdef __STDC__
 
38801
# include <limits.h>
 
38802
#else
 
38803
# include <assert.h>
 
38804
#endif
 
38805
 
 
38806
#undef $ac_func
 
38807
 
 
38808
/* Override any gcc2 internal prototype to avoid an error.  */
 
38809
#ifdef __cplusplus
 
38810
extern "C"
 
38811
{
 
38812
#endif
 
38813
/* We use char because int might match the return type of a gcc2
 
38814
   builtin and then its argument prototype would still apply.  */
 
38815
char $ac_func ();
 
38816
/* The GNU C library defines this for functions which it implements
 
38817
    to always fail with ENOSYS.  Some functions are actually named
 
38818
    something starting with __ and the normal name is an alias.  */
 
38819
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
38820
choke me
 
38821
#else
 
38822
char (*f) () = $ac_func;
 
38823
#endif
 
38824
#ifdef __cplusplus
 
38825
}
 
38826
#endif
 
38827
 
 
38828
int
 
38829
main ()
 
38830
{
 
38831
return f != $ac_func;
 
38832
  ;
 
38833
  return 0;
 
38834
}
 
38835
_ACEOF
 
38836
rm -f conftest.$ac_objext conftest$ac_exeext
 
38837
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38838
  (eval $ac_link) 2>conftest.er1
 
38839
  ac_status=$?
 
38840
  grep -v '^ *+' conftest.er1 >conftest.err
 
38841
  rm -f conftest.er1
 
38842
  cat conftest.err >&5
 
38843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38844
  (exit $ac_status); } &&
 
38845
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38846
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38847
  (eval $ac_try) 2>&5
 
38848
  ac_status=$?
 
38849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38850
  (exit $ac_status); }; } &&
 
38851
         { ac_try='test -s conftest$ac_exeext'
 
38852
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38853
  (eval $ac_try) 2>&5
 
38854
  ac_status=$?
 
38855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38856
  (exit $ac_status); }; }; then
 
38857
  eval "$as_ac_var=yes"
 
38858
else
 
38859
  echo "$as_me: failed program was:" >&5
 
38860
sed 's/^/| /' conftest.$ac_ext >&5
 
38861
 
 
38862
eval "$as_ac_var=no"
 
38863
fi
 
38864
rm -f conftest.err conftest.$ac_objext \
 
38865
      conftest$ac_exeext conftest.$ac_ext
 
38866
fi
 
38867
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
38868
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
38869
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
38870
  cat >>confdefs.h <<_ACEOF
 
38871
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
38872
_ACEOF
 
38873
 cat >>confdefs.h <<\_ACEOF
 
38874
#define HAVE_INET_ATON 1
 
38875
_ACEOF
 
38876
 
 
38877
else
 
38878
 
 
38879
                        as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
 
38880
echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
 
38881
echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
 
38882
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
 
38883
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38884
else
 
38885
  ac_check_lib_save_LIBS=$LIBS
 
38886
LIBS="-l$INET_LINK  $LIBS"
 
38887
cat >conftest.$ac_ext <<_ACEOF
 
38888
/* confdefs.h.  */
 
38889
_ACEOF
 
38890
cat confdefs.h >>conftest.$ac_ext
 
38891
cat >>conftest.$ac_ext <<_ACEOF
 
38892
/* end confdefs.h.  */
 
38893
 
 
38894
/* Override any gcc2 internal prototype to avoid an error.  */
 
38895
#ifdef __cplusplus
 
38896
extern "C"
 
38897
#endif
 
38898
/* We use char because int might match the return type of a gcc2
 
38899
   builtin and then its argument prototype would still apply.  */
 
38900
char inet_aton ();
 
38901
int
 
38902
main ()
 
38903
{
 
38904
inet_aton ();
 
38905
  ;
 
38906
  return 0;
 
38907
}
 
38908
_ACEOF
 
38909
rm -f conftest.$ac_objext conftest$ac_exeext
 
38910
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38911
  (eval $ac_link) 2>conftest.er1
 
38912
  ac_status=$?
 
38913
  grep -v '^ *+' conftest.er1 >conftest.err
 
38914
  rm -f conftest.er1
 
38915
  cat conftest.err >&5
 
38916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38917
  (exit $ac_status); } &&
 
38918
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
38919
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38920
  (eval $ac_try) 2>&5
 
38921
  ac_status=$?
 
38922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38923
  (exit $ac_status); }; } &&
 
38924
         { ac_try='test -s conftest$ac_exeext'
 
38925
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
38926
  (eval $ac_try) 2>&5
 
38927
  ac_status=$?
 
38928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
38929
  (exit $ac_status); }; }; then
 
38930
  eval "$as_ac_Lib=yes"
 
38931
else
 
38932
  echo "$as_me: failed program was:" >&5
 
38933
sed 's/^/| /' conftest.$ac_ext >&5
 
38934
 
 
38935
eval "$as_ac_Lib=no"
 
38936
fi
 
38937
rm -f conftest.err conftest.$ac_objext \
 
38938
      conftest$ac_exeext conftest.$ac_ext
 
38939
LIBS=$ac_check_lib_save_LIBS
 
38940
fi
 
38941
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
 
38942
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
 
38943
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
38944
  cat >>confdefs.h <<\_ACEOF
 
38945
#define HAVE_INET_ATON 1
 
38946
_ACEOF
 
38947
 
 
38948
fi
 
38949
 
 
38950
 
 
38951
fi
 
38952
done
 
38953
 
 
38954
 
 
38955
if test "x$INET_LINK" != "x"; then
 
38956
    cat >>confdefs.h <<\_ACEOF
 
38957
#define HAVE_INET_ADDR 1
 
38958
_ACEOF
 
38959
 
 
38960
    INET_LINK=" -l$INET_LINK"
 
38961
fi
 
38962
 
 
38963
 
 
38964
  for wx_func in fdopen
 
38965
  do
 
38966
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
38967
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
38968
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
38969
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
38970
else
 
38971
 
 
38972
        cat >conftest.$ac_ext <<_ACEOF
 
38973
 
 
38974
            /* confdefs.h.  */
 
38975
_ACEOF
 
38976
cat confdefs.h >>conftest.$ac_ext
 
38977
cat >>conftest.$ac_ext <<_ACEOF
 
38978
/* end confdefs.h.  */
 
38979
 
 
38980
 
 
38981
                $ac_includes_default
 
38982
 
 
38983
int
 
38984
main ()
 
38985
{
 
38986
 
 
38987
                #ifndef $wx_func
 
38988
                  &$wx_func;
 
38989
                #endif
 
38990
 
 
38991
 
 
38992
  ;
 
38993
  return 0;
 
38994
}
 
38995
 
 
38996
_ACEOF
 
38997
rm -f conftest.$ac_objext conftest$ac_exeext
 
38998
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
38999
  (eval $ac_link) 2>conftest.er1
 
39000
  ac_status=$?
 
39001
  grep -v '^ *+' conftest.er1 >conftest.err
 
39002
  rm -f conftest.er1
 
39003
  cat conftest.err >&5
 
39004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39005
  (exit $ac_status); } &&
 
39006
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39008
  (eval $ac_try) 2>&5
 
39009
  ac_status=$?
 
39010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39011
  (exit $ac_status); }; } &&
 
39012
         { ac_try='test -s conftest$ac_exeext'
 
39013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39014
  (eval $ac_try) 2>&5
 
39015
  ac_status=$?
 
39016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39017
  (exit $ac_status); }; }; then
 
39018
  eval wx_cv_func_$wx_func=yes
 
39019
else
 
39020
  echo "$as_me: failed program was:" >&5
 
39021
sed 's/^/| /' conftest.$ac_ext >&5
 
39022
 
 
39023
eval wx_cv_func_$wx_func=no
 
39024
fi
 
39025
rm -f conftest.err conftest.$ac_objext \
 
39026
      conftest$ac_exeext conftest.$ac_ext
 
39027
 
 
39028
fi
 
39029
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
39030
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
39031
 
 
39032
    if eval test \$wx_cv_func_$wx_func = yes
 
39033
    then
 
39034
      cat >>confdefs.h <<_ACEOF
 
39035
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
39036
_ACEOF
 
39037
 
 
39038
 
 
39039
    else
 
39040
      :
 
39041
 
 
39042
    fi
 
39043
  done
 
39044
 
 
39045
 
 
39046
if test "$wxUSE_TARSTREAM" = "yes"; then
 
39047
 
 
39048
  for wx_func in sysconf
 
39049
  do
 
39050
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
39051
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
39052
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
39053
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39054
else
 
39055
 
 
39056
        cat >conftest.$ac_ext <<_ACEOF
 
39057
 
 
39058
            /* confdefs.h.  */
 
39059
_ACEOF
 
39060
cat confdefs.h >>conftest.$ac_ext
 
39061
cat >>conftest.$ac_ext <<_ACEOF
 
39062
/* end confdefs.h.  */
 
39063
 
 
39064
 
 
39065
                $ac_includes_default
 
39066
 
 
39067
int
 
39068
main ()
 
39069
{
 
39070
 
 
39071
                #ifndef $wx_func
 
39072
                  &$wx_func;
 
39073
                #endif
 
39074
 
 
39075
 
 
39076
  ;
 
39077
  return 0;
 
39078
}
 
39079
 
 
39080
_ACEOF
 
39081
rm -f conftest.$ac_objext conftest$ac_exeext
 
39082
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
39083
  (eval $ac_link) 2>conftest.er1
 
39084
  ac_status=$?
 
39085
  grep -v '^ *+' conftest.er1 >conftest.err
 
39086
  rm -f conftest.er1
 
39087
  cat conftest.err >&5
 
39088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39089
  (exit $ac_status); } &&
 
39090
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39091
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39092
  (eval $ac_try) 2>&5
 
39093
  ac_status=$?
 
39094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39095
  (exit $ac_status); }; } &&
 
39096
         { ac_try='test -s conftest$ac_exeext'
 
39097
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39098
  (eval $ac_try) 2>&5
 
39099
  ac_status=$?
 
39100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39101
  (exit $ac_status); }; }; then
 
39102
  eval wx_cv_func_$wx_func=yes
 
39103
else
 
39104
  echo "$as_me: failed program was:" >&5
 
39105
sed 's/^/| /' conftest.$ac_ext >&5
 
39106
 
 
39107
eval wx_cv_func_$wx_func=no
 
39108
fi
 
39109
rm -f conftest.err conftest.$ac_objext \
 
39110
      conftest$ac_exeext conftest.$ac_ext
 
39111
 
 
39112
fi
 
39113
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
39114
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
39115
 
 
39116
    if eval test \$wx_cv_func_$wx_func = yes
 
39117
    then
 
39118
      cat >>confdefs.h <<_ACEOF
 
39119
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
39120
_ACEOF
 
39121
 
 
39122
 
 
39123
    else
 
39124
      :
 
39125
 
 
39126
    fi
 
39127
  done
 
39128
 
 
39129
 
 
39130
 
 
39131
  for wx_func in getpwuid_r
 
39132
  do
 
39133
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
39134
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
39135
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
39136
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39137
else
 
39138
 
 
39139
        cat >conftest.$ac_ext <<_ACEOF
 
39140
 
 
39141
            /* confdefs.h.  */
 
39142
_ACEOF
 
39143
cat confdefs.h >>conftest.$ac_ext
 
39144
cat >>conftest.$ac_ext <<_ACEOF
 
39145
/* end confdefs.h.  */
 
39146
 
 
39147
 
 
39148
                    #define _REENTRANT
 
39149
                    #include <pwd.h>
 
39150
 
 
39151
                $ac_includes_default
 
39152
 
 
39153
int
 
39154
main ()
 
39155
{
 
39156
 
 
39157
                #ifndef $wx_func
 
39158
                  &$wx_func;
 
39159
                #endif
 
39160
 
 
39161
                    struct passwd pw, *ppw;
 
39162
                    char buf[1024];
 
39163
                    getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
 
39164
 
 
39165
 
 
39166
  ;
 
39167
  return 0;
 
39168
}
 
39169
 
 
39170
_ACEOF
 
39171
rm -f conftest.$ac_objext conftest$ac_exeext
 
39172
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
39173
  (eval $ac_link) 2>conftest.er1
 
39174
  ac_status=$?
 
39175
  grep -v '^ *+' conftest.er1 >conftest.err
 
39176
  rm -f conftest.er1
 
39177
  cat conftest.err >&5
 
39178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39179
  (exit $ac_status); } &&
 
39180
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39181
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39182
  (eval $ac_try) 2>&5
 
39183
  ac_status=$?
 
39184
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39185
  (exit $ac_status); }; } &&
 
39186
         { ac_try='test -s conftest$ac_exeext'
 
39187
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39188
  (eval $ac_try) 2>&5
 
39189
  ac_status=$?
 
39190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39191
  (exit $ac_status); }; }; then
 
39192
  eval wx_cv_func_$wx_func=yes
 
39193
else
 
39194
  echo "$as_me: failed program was:" >&5
 
39195
sed 's/^/| /' conftest.$ac_ext >&5
 
39196
 
 
39197
eval wx_cv_func_$wx_func=no
 
39198
fi
 
39199
rm -f conftest.err conftest.$ac_objext \
 
39200
      conftest$ac_exeext conftest.$ac_ext
 
39201
 
 
39202
fi
 
39203
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
39204
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
39205
 
 
39206
    if eval test \$wx_cv_func_$wx_func = yes
 
39207
    then
 
39208
      cat >>confdefs.h <<_ACEOF
 
39209
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
39210
_ACEOF
 
39211
 
 
39212
 
 
39213
    else
 
39214
      :
 
39215
 
 
39216
    fi
 
39217
  done
 
39218
 
 
39219
 
 
39220
 
 
39221
  for wx_func in getgrgid_r
 
39222
  do
 
39223
    echo "$as_me:$LINENO: checking for $wx_func" >&5
 
39224
echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
 
39225
if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
 
39226
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39227
else
 
39228
 
 
39229
        cat >conftest.$ac_ext <<_ACEOF
 
39230
 
 
39231
            /* confdefs.h.  */
 
39232
_ACEOF
 
39233
cat confdefs.h >>conftest.$ac_ext
 
39234
cat >>conftest.$ac_ext <<_ACEOF
 
39235
/* end confdefs.h.  */
 
39236
 
 
39237
 
 
39238
                    #define _REENTRANT
 
39239
                    #include <grp.h>
 
39240
 
 
39241
                $ac_includes_default
 
39242
 
 
39243
int
 
39244
main ()
 
39245
{
 
39246
 
 
39247
                #ifndef $wx_func
 
39248
                  &$wx_func;
 
39249
                #endif
 
39250
 
 
39251
                    struct group grp, *pgrp;
 
39252
                    char buf[1024];
 
39253
                    getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
 
39254
 
 
39255
 
 
39256
  ;
 
39257
  return 0;
 
39258
}
 
39259
 
 
39260
_ACEOF
 
39261
rm -f conftest.$ac_objext conftest$ac_exeext
 
39262
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
39263
  (eval $ac_link) 2>conftest.er1
 
39264
  ac_status=$?
 
39265
  grep -v '^ *+' conftest.er1 >conftest.err
 
39266
  rm -f conftest.er1
 
39267
  cat conftest.err >&5
 
39268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39269
  (exit $ac_status); } &&
 
39270
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39271
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39272
  (eval $ac_try) 2>&5
 
39273
  ac_status=$?
 
39274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39275
  (exit $ac_status); }; } &&
 
39276
         { ac_try='test -s conftest$ac_exeext'
 
39277
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39278
  (eval $ac_try) 2>&5
 
39279
  ac_status=$?
 
39280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39281
  (exit $ac_status); }; }; then
 
39282
  eval wx_cv_func_$wx_func=yes
 
39283
else
 
39284
  echo "$as_me: failed program was:" >&5
 
39285
sed 's/^/| /' conftest.$ac_ext >&5
 
39286
 
 
39287
eval wx_cv_func_$wx_func=no
 
39288
fi
 
39289
rm -f conftest.err conftest.$ac_objext \
 
39290
      conftest$ac_exeext conftest.$ac_ext
 
39291
 
 
39292
fi
 
39293
echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
 
39294
echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
 
39295
 
 
39296
    if eval test \$wx_cv_func_$wx_func = yes
 
39297
    then
 
39298
      cat >>confdefs.h <<_ACEOF
 
39299
#define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
 
39300
_ACEOF
 
39301
 
 
39302
 
 
39303
    else
 
39304
      :
 
39305
 
 
39306
    fi
 
39307
  done
 
39308
 
 
39309
fi
 
39310
 
 
39311
fi
 
39312
 
 
39313
 
 
39314
 
 
39315
 
 
39316
EXTRALIBS_ESD=
 
39317
echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
 
39318
echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
 
39319
if test "${ac_cv_lib_esd_esd_close+set}" = set; then
 
39320
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39321
else
 
39322
  ac_check_lib_save_LIBS=$LIBS
 
39323
LIBS="-lesd  $LIBS"
 
39324
cat >conftest.$ac_ext <<_ACEOF
 
39325
/* confdefs.h.  */
 
39326
_ACEOF
 
39327
cat confdefs.h >>conftest.$ac_ext
 
39328
cat >>conftest.$ac_ext <<_ACEOF
 
39329
/* end confdefs.h.  */
 
39330
 
 
39331
/* Override any gcc2 internal prototype to avoid an error.  */
 
39332
#ifdef __cplusplus
 
39333
extern "C"
 
39334
#endif
 
39335
/* We use char because int might match the return type of a gcc2
 
39336
   builtin and then its argument prototype would still apply.  */
 
39337
char esd_close ();
 
39338
int
 
39339
main ()
 
39340
{
 
39341
esd_close ();
 
39342
  ;
 
39343
  return 0;
 
39344
}
 
39345
_ACEOF
 
39346
rm -f conftest.$ac_objext conftest$ac_exeext
 
39347
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
39348
  (eval $ac_link) 2>conftest.er1
 
39349
  ac_status=$?
 
39350
  grep -v '^ *+' conftest.er1 >conftest.err
 
39351
  rm -f conftest.er1
 
39352
  cat conftest.err >&5
 
39353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39354
  (exit $ac_status); } &&
 
39355
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39356
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39357
  (eval $ac_try) 2>&5
 
39358
  ac_status=$?
 
39359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39360
  (exit $ac_status); }; } &&
 
39361
         { ac_try='test -s conftest$ac_exeext'
 
39362
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39363
  (eval $ac_try) 2>&5
 
39364
  ac_status=$?
 
39365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39366
  (exit $ac_status); }; }; then
 
39367
  ac_cv_lib_esd_esd_close=yes
 
39368
else
 
39369
  echo "$as_me: failed program was:" >&5
 
39370
sed 's/^/| /' conftest.$ac_ext >&5
 
39371
 
 
39372
ac_cv_lib_esd_esd_close=no
 
39373
fi
 
39374
rm -f conftest.err conftest.$ac_objext \
 
39375
      conftest$ac_exeext conftest.$ac_ext
 
39376
LIBS=$ac_check_lib_save_LIBS
 
39377
fi
 
39378
echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
 
39379
echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
 
39380
if test $ac_cv_lib_esd_esd_close = yes; then
 
39381
 
 
39382
 
 
39383
for ac_header in esd.h
 
39384
do
 
39385
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
39386
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
39387
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
39388
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
39389
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39390
else
 
39391
  cat >conftest.$ac_ext <<_ACEOF
 
39392
/* confdefs.h.  */
 
39393
_ACEOF
 
39394
cat confdefs.h >>conftest.$ac_ext
 
39395
cat >>conftest.$ac_ext <<_ACEOF
 
39396
/* end confdefs.h.  */
 
39397
 
 
39398
 
 
39399
#include <$ac_header>
 
39400
_ACEOF
 
39401
rm -f conftest.$ac_objext
 
39402
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
39403
  (eval $ac_compile) 2>conftest.er1
 
39404
  ac_status=$?
 
39405
  grep -v '^ *+' conftest.er1 >conftest.err
 
39406
  rm -f conftest.er1
 
39407
  cat conftest.err >&5
 
39408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39409
  (exit $ac_status); } &&
 
39410
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39411
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39412
  (eval $ac_try) 2>&5
 
39413
  ac_status=$?
 
39414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39415
  (exit $ac_status); }; } &&
 
39416
         { ac_try='test -s conftest.$ac_objext'
 
39417
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39418
  (eval $ac_try) 2>&5
 
39419
  ac_status=$?
 
39420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39421
  (exit $ac_status); }; }; then
 
39422
  eval "$as_ac_Header=yes"
 
39423
else
 
39424
  echo "$as_me: failed program was:" >&5
 
39425
sed 's/^/| /' conftest.$ac_ext >&5
 
39426
 
 
39427
eval "$as_ac_Header=no"
 
39428
fi
 
39429
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
39430
fi
 
39431
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
39432
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
39433
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
39434
  cat >>confdefs.h <<_ACEOF
 
39435
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
39436
_ACEOF
 
39437
 
 
39438
    EXTRALIBS_ESD="-lesd"
 
39439
 
 
39440
fi
 
39441
 
 
39442
done
 
39443
 
 
39444
 
 
39445
fi
 
39446
 
 
39447
 
 
39448
 
 
39449
echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
 
39450
echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
 
39451
cat >conftest.$ac_ext <<_ACEOF
 
39452
/* confdefs.h.  */
 
39453
_ACEOF
 
39454
cat confdefs.h >>conftest.$ac_ext
 
39455
cat >>conftest.$ac_ext <<_ACEOF
 
39456
/* end confdefs.h.  */
 
39457
#ifdef __linux__
 
39458
                #include <linux/cdrom.h>
 
39459
                #else
 
39460
                /* For Solaris */
 
39461
                #include <sys/cdio.h>
 
39462
                #endif
 
39463
 
 
39464
int
 
39465
main ()
 
39466
{
 
39467
struct cdrom_tocentry entry, old_entry;
 
39468
  ;
 
39469
  return 0;
 
39470
}
 
39471
_ACEOF
 
39472
rm -f conftest.$ac_objext
 
39473
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
39474
  (eval $ac_compile) 2>conftest.er1
 
39475
  ac_status=$?
 
39476
  grep -v '^ *+' conftest.er1 >conftest.err
 
39477
  rm -f conftest.er1
 
39478
  cat conftest.err >&5
 
39479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39480
  (exit $ac_status); } &&
 
39481
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39482
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39483
  (eval $ac_try) 2>&5
 
39484
  ac_status=$?
 
39485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39486
  (exit $ac_status); }; } &&
 
39487
         { ac_try='test -s conftest.$ac_objext'
 
39488
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39489
  (eval $ac_try) 2>&5
 
39490
  ac_status=$?
 
39491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39492
  (exit $ac_status); }; }; then
 
39493
  echo "$as_me:$LINENO: result: yes" >&5
 
39494
echo "${ECHO_T}yes" >&6
 
39495
                cat >>confdefs.h <<\_ACEOF
 
39496
#define HAVE_KNOWN_CDROM_INTERFACE 1
 
39497
_ACEOF
 
39498
 
 
39499
else
 
39500
  echo "$as_me: failed program was:" >&5
 
39501
sed 's/^/| /' conftest.$ac_ext >&5
 
39502
 
 
39503
echo "$as_me:$LINENO: result: no" >&5
 
39504
echo "${ECHO_T}no" >&6
 
39505
fi
 
39506
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
39507
 
 
39508
 
 
39509
cat >confcache <<\_ACEOF
 
39510
# This file is a shell script that caches the results of configure
 
39511
# tests run on this system so they can be shared between configure
 
39512
# scripts and configure runs, see configure's option --config-cache.
 
39513
# It is not useful on other systems.  If it contains results you don't
 
39514
# want to keep, you may remove or edit it.
 
39515
#
 
39516
# config.status only pays attention to the cache file if you give it
 
39517
# the --recheck option to rerun configure.
 
39518
#
 
39519
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
39520
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
39521
# following values.
 
39522
 
 
39523
_ACEOF
 
39524
 
 
39525
# The following way of writing the cache mishandles newlines in values,
 
39526
# but we know of no workaround that is simple, portable, and efficient.
 
39527
# So, don't put newlines in cache variables' values.
 
39528
# Ultrix sh set writes to stderr and can't be redirected directly,
 
39529
# and sets the high bit in the cache file unless we assign to the vars.
 
39530
{
 
39531
  (set) 2>&1 |
 
39532
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
39533
    *ac_space=\ *)
 
39534
      # `set' does not quote correctly, so add quotes (double-quote
 
39535
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
39536
      sed -n \
 
39537
        "s/'/'\\\\''/g;
 
39538
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
39539
      ;;
 
39540
    *)
 
39541
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
39542
      sed -n \
 
39543
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
39544
      ;;
 
39545
    esac;
 
39546
} |
 
39547
  sed '
 
39548
     t clear
 
39549
     : clear
 
39550
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
39551
     t end
 
39552
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
39553
     : end' >>confcache
 
39554
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
39555
  if test -w $cache_file; then
 
39556
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
39557
    cat confcache >$cache_file
 
39558
  else
 
39559
    echo "not updating unwritable cache $cache_file"
 
39560
  fi
 
39561
fi
 
39562
rm -f confcache
 
39563
 
 
39564
 
 
39565
if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
 
39566
 
 
39567
 
 
39568
    THREADS_LINK=
 
39569
    THREADS_CFLAGS=
 
39570
 
 
39571
    if test "$wxUSE_THREADS" = "yes" ; then
 
39572
        if test "$USE_BEOS" = 1; then
 
39573
            { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
 
39574
echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
 
39575
            wxUSE_THREADS="no"
 
39576
        fi
 
39577
    fi
 
39578
 
 
39579
    if test "$wxUSE_THREADS" = "yes" ; then
 
39580
 
 
39581
 
 
39582
                                THREAD_OPTS="-pthread"
 
39583
        case "${host}" in
 
39584
          *-*-solaris2* | *-*-sunos4* )
 
39585
                if test "x$GCC" = "xyes"; then
 
39586
                                        THREAD_OPTS="-pthreads $THREAD_OPTS"
 
39587
                else
 
39588
                    THREAD_OPTS="-mt $THREAD_OPTS"
 
39589
                fi
 
39590
                ;;
 
39591
          *-*-freebsd*)
 
39592
                                                THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
 
39593
                ;;
 
39594
          *-*-darwin* | *-*-cygwin* )
 
39595
                                                THREAD_OPTS=""
 
39596
                ;;
 
39597
          *-*-aix*)
 
39598
                                THREAD_OPTS="pthreads"
 
39599
                ;;
 
39600
          *-hp-hpux* )
 
39601
                if test "x$GCC" = "xyes"; then
 
39602
                                        $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
 
39603
                        THREAD_OPTS=""
 
39604
                else
 
39605
                                                            THREAD_OPTS="-mt"
 
39606
                fi
 
39607
                ;;
 
39608
 
 
39609
          *-*-irix* )
 
39610
                                                                if test "x$GCC" = "xyes"; then
 
39611
                    THREAD_OPTS=""
 
39612
                fi
 
39613
                ;;
 
39614
 
 
39615
          *-*-*UnixWare*)
 
39616
                                if test "x$GCC" != "xyes"; then
 
39617
                    THREAD_OPTS="-Ethread"
 
39618
                fi
 
39619
                ;;
 
39620
        esac
 
39621
 
 
39622
                                THREAD_OPTS="$THREAD_OPTS pthread none"
 
39623
 
 
39624
                THREADS_OK=no
 
39625
        for flag in $THREAD_OPTS; do
 
39626
            case $flag in
 
39627
                none)
 
39628
                    echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
 
39629
echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
 
39630
                    ;;
 
39631
 
 
39632
                -*)
 
39633
                    echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
 
39634
echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
 
39635
                    THREADS_CFLAGS="$flag"
 
39636
                    ;;
 
39637
 
 
39638
                *)
 
39639
                    echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
 
39640
echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
 
39641
                    THREADS_LINK="-l$flag"
 
39642
                    ;;
 
39643
              esac
 
39644
 
 
39645
              save_LIBS="$LIBS"
 
39646
              save_CFLAGS="$CFLAGS"
 
39647
              LIBS="$THREADS_LINK $LIBS"
 
39648
              CFLAGS="$THREADS_CFLAGS $CFLAGS"
 
39649
 
 
39650
              cat >conftest.$ac_ext <<_ACEOF
 
39651
/* confdefs.h.  */
 
39652
_ACEOF
 
39653
cat confdefs.h >>conftest.$ac_ext
 
39654
cat >>conftest.$ac_ext <<_ACEOF
 
39655
/* end confdefs.h.  */
 
39656
#include <pthread.h>
 
39657
int
 
39658
main ()
 
39659
{
 
39660
pthread_create(0,0,0,0);
 
39661
  ;
 
39662
  return 0;
 
39663
}
 
39664
_ACEOF
 
39665
rm -f conftest.$ac_objext conftest$ac_exeext
 
39666
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
39667
  (eval $ac_link) 2>conftest.er1
 
39668
  ac_status=$?
 
39669
  grep -v '^ *+' conftest.er1 >conftest.err
 
39670
  rm -f conftest.er1
 
39671
  cat conftest.err >&5
 
39672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39673
  (exit $ac_status); } &&
 
39674
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39675
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39676
  (eval $ac_try) 2>&5
 
39677
  ac_status=$?
 
39678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39679
  (exit $ac_status); }; } &&
 
39680
         { ac_try='test -s conftest$ac_exeext'
 
39681
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39682
  (eval $ac_try) 2>&5
 
39683
  ac_status=$?
 
39684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39685
  (exit $ac_status); }; }; then
 
39686
  THREADS_OK=yes
 
39687
else
 
39688
  echo "$as_me: failed program was:" >&5
 
39689
sed 's/^/| /' conftest.$ac_ext >&5
 
39690
 
 
39691
fi
 
39692
rm -f conftest.err conftest.$ac_objext \
 
39693
      conftest$ac_exeext conftest.$ac_ext
 
39694
 
 
39695
              LIBS="$save_LIBS"
 
39696
              CFLAGS="$save_CFLAGS"
 
39697
 
 
39698
              echo "$as_me:$LINENO: result: $THREADS_OK" >&5
 
39699
echo "${ECHO_T}$THREADS_OK" >&6
 
39700
              if test "x$THREADS_OK" = "xyes"; then
 
39701
                      break;
 
39702
              fi
 
39703
 
 
39704
              THREADS_LINK=""
 
39705
              THREADS_CFLAGS=""
 
39706
      done
 
39707
 
 
39708
      if test "x$THREADS_OK" != "xyes"; then
 
39709
          wxUSE_THREADS=no
 
39710
          { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
 
39711
echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
 
39712
      else
 
39713
                              LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
 
39714
          LIBS="$THREADS_LINK $LIBS"
 
39715
 
 
39716
          echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
 
39717
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
 
39718
          flag=no
 
39719
          case "${host}" in
 
39720
            *-aix*)
 
39721
                                                                                                                LDFLAGS="-L/usr/lib/threads $LDFLAGS"
 
39722
                flag="-D_THREAD_SAFE"
 
39723
                ;;
 
39724
            *-freebsd*)
 
39725
                flag="-D_THREAD_SAFE"
 
39726
                ;;
 
39727
            *-hp-hpux* )
 
39728
                flag="-D_REENTRANT"
 
39729
                if test "x$GCC" != "xyes"; then
 
39730
                                        flag="$flag -D_RWSTD_MULTI_THREAD"
 
39731
                fi
 
39732
                ;;
 
39733
            *solaris* | alpha*-osf*)
 
39734
                flag="-D_REENTRANT"
 
39735
                ;;
 
39736
          esac
 
39737
          echo "$as_me:$LINENO: result: ${flag}" >&5
 
39738
echo "${ECHO_T}${flag}" >&6
 
39739
          if test "x$flag" != xno; then
 
39740
              THREADS_CFLAGS="$THREADS_CFLAGS $flag"
 
39741
          fi
 
39742
 
 
39743
                    WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
 
39744
      fi
 
39745
    fi
 
39746
 
 
39747
        if test "$wxUSE_THREADS" = "yes" ; then
 
39748
 
 
39749
for ac_func in thr_setconcurrency
 
39750
do
 
39751
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
39752
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
39753
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
39754
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
39755
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39756
else
 
39757
  cat >conftest.$ac_ext <<_ACEOF
 
39758
/* confdefs.h.  */
 
39759
_ACEOF
 
39760
cat confdefs.h >>conftest.$ac_ext
 
39761
cat >>conftest.$ac_ext <<_ACEOF
 
39762
/* end confdefs.h.  */
 
39763
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
39764
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
39765
#define $ac_func innocuous_$ac_func
 
39766
 
 
39767
/* System header to define __stub macros and hopefully few prototypes,
 
39768
    which can conflict with char $ac_func (); below.
 
39769
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
39770
    <limits.h> exists even on freestanding compilers.  */
 
39771
 
 
39772
#ifdef __STDC__
 
39773
# include <limits.h>
 
39774
#else
 
39775
# include <assert.h>
 
39776
#endif
 
39777
 
 
39778
#undef $ac_func
 
39779
 
 
39780
/* Override any gcc2 internal prototype to avoid an error.  */
 
39781
#ifdef __cplusplus
 
39782
extern "C"
 
39783
{
 
39784
#endif
 
39785
/* We use char because int might match the return type of a gcc2
 
39786
   builtin and then its argument prototype would still apply.  */
 
39787
char $ac_func ();
 
39788
/* The GNU C library defines this for functions which it implements
 
39789
    to always fail with ENOSYS.  Some functions are actually named
 
39790
    something starting with __ and the normal name is an alias.  */
 
39791
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
39792
choke me
 
39793
#else
 
39794
char (*f) () = $ac_func;
 
39795
#endif
 
39796
#ifdef __cplusplus
 
39797
}
 
39798
#endif
 
39799
 
 
39800
int
 
39801
main ()
 
39802
{
 
39803
return f != $ac_func;
 
39804
  ;
 
39805
  return 0;
 
39806
}
 
39807
_ACEOF
 
39808
rm -f conftest.$ac_objext conftest$ac_exeext
 
39809
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
39810
  (eval $ac_link) 2>conftest.er1
 
39811
  ac_status=$?
 
39812
  grep -v '^ *+' conftest.er1 >conftest.err
 
39813
  rm -f conftest.er1
 
39814
  cat conftest.err >&5
 
39815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39816
  (exit $ac_status); } &&
 
39817
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39818
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39819
  (eval $ac_try) 2>&5
 
39820
  ac_status=$?
 
39821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39822
  (exit $ac_status); }; } &&
 
39823
         { ac_try='test -s conftest$ac_exeext'
 
39824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39825
  (eval $ac_try) 2>&5
 
39826
  ac_status=$?
 
39827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39828
  (exit $ac_status); }; }; then
 
39829
  eval "$as_ac_var=yes"
 
39830
else
 
39831
  echo "$as_me: failed program was:" >&5
 
39832
sed 's/^/| /' conftest.$ac_ext >&5
 
39833
 
 
39834
eval "$as_ac_var=no"
 
39835
fi
 
39836
rm -f conftest.err conftest.$ac_objext \
 
39837
      conftest$ac_exeext conftest.$ac_ext
 
39838
fi
 
39839
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
39840
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
39841
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
39842
  cat >>confdefs.h <<_ACEOF
 
39843
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
39844
_ACEOF
 
39845
 
 
39846
fi
 
39847
done
 
39848
 
 
39849
 
 
39850
                  echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
 
39851
echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
 
39852
if test "${wx_cv_func_pthread_cleanup+set}" = set; then
 
39853
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39854
else
 
39855
 
 
39856
        cat >conftest.$ac_ext <<_ACEOF
 
39857
/* confdefs.h.  */
 
39858
_ACEOF
 
39859
cat confdefs.h >>conftest.$ac_ext
 
39860
cat >>conftest.$ac_ext <<_ACEOF
 
39861
/* end confdefs.h.  */
 
39862
#include <pthread.h>
 
39863
               void ThreadCleanupFunc(void *p);
 
39864
 
 
39865
int
 
39866
main ()
 
39867
{
 
39868
 
 
39869
                void *p;
 
39870
                pthread_cleanup_push(ThreadCleanupFunc, p);
 
39871
                pthread_cleanup_pop(0);
 
39872
 
 
39873
  ;
 
39874
  return 0;
 
39875
}
 
39876
_ACEOF
 
39877
rm -f conftest.$ac_objext
 
39878
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
39879
  (eval $ac_compile) 2>conftest.er1
 
39880
  ac_status=$?
 
39881
  grep -v '^ *+' conftest.er1 >conftest.err
 
39882
  rm -f conftest.er1
 
39883
  cat conftest.err >&5
 
39884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39885
  (exit $ac_status); } &&
 
39886
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39888
  (eval $ac_try) 2>&5
 
39889
  ac_status=$?
 
39890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39891
  (exit $ac_status); }; } &&
 
39892
         { ac_try='test -s conftest.$ac_objext'
 
39893
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39894
  (eval $ac_try) 2>&5
 
39895
  ac_status=$?
 
39896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39897
  (exit $ac_status); }; }; then
 
39898
 
 
39899
               wx_cv_func_pthread_cleanup=yes
 
39900
 
 
39901
else
 
39902
  echo "$as_me: failed program was:" >&5
 
39903
sed 's/^/| /' conftest.$ac_ext >&5
 
39904
 
 
39905
 
 
39906
               wx_cv_func_pthread_cleanup=no
 
39907
 
 
39908
 
 
39909
fi
 
39910
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
39911
 
 
39912
fi
 
39913
echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
 
39914
echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
 
39915
      if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
 
39916
        cat >>confdefs.h <<\_ACEOF
 
39917
#define wxHAVE_PTHREAD_CLEANUP 1
 
39918
_ACEOF
 
39919
 
 
39920
      fi
 
39921
 
 
39922
 
 
39923
for ac_header in sched.h
 
39924
do
 
39925
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
39926
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
39927
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
39928
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
39929
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39930
else
 
39931
  cat >conftest.$ac_ext <<_ACEOF
 
39932
/* confdefs.h.  */
 
39933
_ACEOF
 
39934
cat confdefs.h >>conftest.$ac_ext
 
39935
cat >>conftest.$ac_ext <<_ACEOF
 
39936
/* end confdefs.h.  */
 
39937
$ac_includes_default
 
39938
 
 
39939
#include <$ac_header>
 
39940
_ACEOF
 
39941
rm -f conftest.$ac_objext
 
39942
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
39943
  (eval $ac_compile) 2>conftest.er1
 
39944
  ac_status=$?
 
39945
  grep -v '^ *+' conftest.er1 >conftest.err
 
39946
  rm -f conftest.er1
 
39947
  cat conftest.err >&5
 
39948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39949
  (exit $ac_status); } &&
 
39950
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
39951
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39952
  (eval $ac_try) 2>&5
 
39953
  ac_status=$?
 
39954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39955
  (exit $ac_status); }; } &&
 
39956
         { ac_try='test -s conftest.$ac_objext'
 
39957
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
39958
  (eval $ac_try) 2>&5
 
39959
  ac_status=$?
 
39960
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
39961
  (exit $ac_status); }; }; then
 
39962
  eval "$as_ac_Header=yes"
 
39963
else
 
39964
  echo "$as_me: failed program was:" >&5
 
39965
sed 's/^/| /' conftest.$ac_ext >&5
 
39966
 
 
39967
eval "$as_ac_Header=no"
 
39968
fi
 
39969
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
39970
fi
 
39971
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
39972
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
39973
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
39974
  cat >>confdefs.h <<_ACEOF
 
39975
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
39976
_ACEOF
 
39977
 
 
39978
fi
 
39979
 
 
39980
done
 
39981
 
 
39982
      if test "$ac_cv_header_sched_h" = "yes"; then
 
39983
          echo "$as_me:$LINENO: checking for sched_yield" >&5
 
39984
echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
 
39985
if test "${ac_cv_func_sched_yield+set}" = set; then
 
39986
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
39987
else
 
39988
  cat >conftest.$ac_ext <<_ACEOF
 
39989
/* confdefs.h.  */
 
39990
_ACEOF
 
39991
cat confdefs.h >>conftest.$ac_ext
 
39992
cat >>conftest.$ac_ext <<_ACEOF
 
39993
/* end confdefs.h.  */
 
39994
/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
 
39995
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
39996
#define sched_yield innocuous_sched_yield
 
39997
 
 
39998
/* System header to define __stub macros and hopefully few prototypes,
 
39999
    which can conflict with char sched_yield (); below.
 
40000
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
40001
    <limits.h> exists even on freestanding compilers.  */
 
40002
 
 
40003
#ifdef __STDC__
 
40004
# include <limits.h>
 
40005
#else
 
40006
# include <assert.h>
 
40007
#endif
 
40008
 
 
40009
#undef sched_yield
 
40010
 
 
40011
/* Override any gcc2 internal prototype to avoid an error.  */
 
40012
#ifdef __cplusplus
 
40013
extern "C"
 
40014
{
 
40015
#endif
 
40016
/* We use char because int might match the return type of a gcc2
 
40017
   builtin and then its argument prototype would still apply.  */
 
40018
char sched_yield ();
 
40019
/* The GNU C library defines this for functions which it implements
 
40020
    to always fail with ENOSYS.  Some functions are actually named
 
40021
    something starting with __ and the normal name is an alias.  */
 
40022
#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
 
40023
choke me
 
40024
#else
 
40025
char (*f) () = sched_yield;
 
40026
#endif
 
40027
#ifdef __cplusplus
 
40028
}
 
40029
#endif
 
40030
 
 
40031
int
 
40032
main ()
 
40033
{
 
40034
return f != sched_yield;
 
40035
  ;
 
40036
  return 0;
 
40037
}
 
40038
_ACEOF
 
40039
rm -f conftest.$ac_objext conftest$ac_exeext
 
40040
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40041
  (eval $ac_link) 2>conftest.er1
 
40042
  ac_status=$?
 
40043
  grep -v '^ *+' conftest.er1 >conftest.err
 
40044
  rm -f conftest.er1
 
40045
  cat conftest.err >&5
 
40046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40047
  (exit $ac_status); } &&
 
40048
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40049
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40050
  (eval $ac_try) 2>&5
 
40051
  ac_status=$?
 
40052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40053
  (exit $ac_status); }; } &&
 
40054
         { ac_try='test -s conftest$ac_exeext'
 
40055
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40056
  (eval $ac_try) 2>&5
 
40057
  ac_status=$?
 
40058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40059
  (exit $ac_status); }; }; then
 
40060
  ac_cv_func_sched_yield=yes
 
40061
else
 
40062
  echo "$as_me: failed program was:" >&5
 
40063
sed 's/^/| /' conftest.$ac_ext >&5
 
40064
 
 
40065
ac_cv_func_sched_yield=no
 
40066
fi
 
40067
rm -f conftest.err conftest.$ac_objext \
 
40068
      conftest$ac_exeext conftest.$ac_ext
 
40069
fi
 
40070
echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
 
40071
echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
 
40072
if test $ac_cv_func_sched_yield = yes; then
 
40073
  cat >>confdefs.h <<\_ACEOF
 
40074
#define HAVE_SCHED_YIELD 1
 
40075
_ACEOF
 
40076
 
 
40077
else
 
40078
 
 
40079
                echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
 
40080
echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
 
40081
if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
 
40082
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40083
else
 
40084
  ac_check_lib_save_LIBS=$LIBS
 
40085
LIBS="-lposix4  $LIBS"
 
40086
cat >conftest.$ac_ext <<_ACEOF
 
40087
/* confdefs.h.  */
 
40088
_ACEOF
 
40089
cat confdefs.h >>conftest.$ac_ext
 
40090
cat >>conftest.$ac_ext <<_ACEOF
 
40091
/* end confdefs.h.  */
 
40092
 
 
40093
/* Override any gcc2 internal prototype to avoid an error.  */
 
40094
#ifdef __cplusplus
 
40095
extern "C"
 
40096
#endif
 
40097
/* We use char because int might match the return type of a gcc2
 
40098
   builtin and then its argument prototype would still apply.  */
 
40099
char sched_yield ();
 
40100
int
 
40101
main ()
 
40102
{
 
40103
sched_yield ();
 
40104
  ;
 
40105
  return 0;
 
40106
}
 
40107
_ACEOF
 
40108
rm -f conftest.$ac_objext conftest$ac_exeext
 
40109
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40110
  (eval $ac_link) 2>conftest.er1
 
40111
  ac_status=$?
 
40112
  grep -v '^ *+' conftest.er1 >conftest.err
 
40113
  rm -f conftest.er1
 
40114
  cat conftest.err >&5
 
40115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40116
  (exit $ac_status); } &&
 
40117
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40118
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40119
  (eval $ac_try) 2>&5
 
40120
  ac_status=$?
 
40121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40122
  (exit $ac_status); }; } &&
 
40123
         { ac_try='test -s conftest$ac_exeext'
 
40124
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40125
  (eval $ac_try) 2>&5
 
40126
  ac_status=$?
 
40127
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40128
  (exit $ac_status); }; }; then
 
40129
  ac_cv_lib_posix4_sched_yield=yes
 
40130
else
 
40131
  echo "$as_me: failed program was:" >&5
 
40132
sed 's/^/| /' conftest.$ac_ext >&5
 
40133
 
 
40134
ac_cv_lib_posix4_sched_yield=no
 
40135
fi
 
40136
rm -f conftest.err conftest.$ac_objext \
 
40137
      conftest$ac_exeext conftest.$ac_ext
 
40138
LIBS=$ac_check_lib_save_LIBS
 
40139
fi
 
40140
echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
 
40141
echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
 
40142
if test $ac_cv_lib_posix4_sched_yield = yes; then
 
40143
  cat >>confdefs.h <<\_ACEOF
 
40144
#define HAVE_SCHED_YIELD 1
 
40145
_ACEOF
 
40146
 POSIX4_LINK=" -lposix4"
 
40147
else
 
40148
  { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
 
40149
echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
 
40150
 
 
40151
fi
 
40152
 
 
40153
 
 
40154
 
 
40155
fi
 
40156
 
 
40157
      fi
 
40158
 
 
40159
                                          HAVE_PRIOR_FUNCS=0
 
40160
      echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
 
40161
echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
 
40162
if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
 
40163
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40164
else
 
40165
  cat >conftest.$ac_ext <<_ACEOF
 
40166
/* confdefs.h.  */
 
40167
_ACEOF
 
40168
cat confdefs.h >>conftest.$ac_ext
 
40169
cat >>conftest.$ac_ext <<_ACEOF
 
40170
/* end confdefs.h.  */
 
40171
/* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
 
40172
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
40173
#define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
 
40174
 
 
40175
/* System header to define __stub macros and hopefully few prototypes,
 
40176
    which can conflict with char pthread_attr_getschedpolicy (); below.
 
40177
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
40178
    <limits.h> exists even on freestanding compilers.  */
 
40179
 
 
40180
#ifdef __STDC__
 
40181
# include <limits.h>
 
40182
#else
 
40183
# include <assert.h>
 
40184
#endif
 
40185
 
 
40186
#undef pthread_attr_getschedpolicy
 
40187
 
 
40188
/* Override any gcc2 internal prototype to avoid an error.  */
 
40189
#ifdef __cplusplus
 
40190
extern "C"
 
40191
{
 
40192
#endif
 
40193
/* We use char because int might match the return type of a gcc2
 
40194
   builtin and then its argument prototype would still apply.  */
 
40195
char pthread_attr_getschedpolicy ();
 
40196
/* The GNU C library defines this for functions which it implements
 
40197
    to always fail with ENOSYS.  Some functions are actually named
 
40198
    something starting with __ and the normal name is an alias.  */
 
40199
#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
 
40200
choke me
 
40201
#else
 
40202
char (*f) () = pthread_attr_getschedpolicy;
 
40203
#endif
 
40204
#ifdef __cplusplus
 
40205
}
 
40206
#endif
 
40207
 
 
40208
int
 
40209
main ()
 
40210
{
 
40211
return f != pthread_attr_getschedpolicy;
 
40212
  ;
 
40213
  return 0;
 
40214
}
 
40215
_ACEOF
 
40216
rm -f conftest.$ac_objext conftest$ac_exeext
 
40217
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40218
  (eval $ac_link) 2>conftest.er1
 
40219
  ac_status=$?
 
40220
  grep -v '^ *+' conftest.er1 >conftest.err
 
40221
  rm -f conftest.er1
 
40222
  cat conftest.err >&5
 
40223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40224
  (exit $ac_status); } &&
 
40225
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40226
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40227
  (eval $ac_try) 2>&5
 
40228
  ac_status=$?
 
40229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40230
  (exit $ac_status); }; } &&
 
40231
         { ac_try='test -s conftest$ac_exeext'
 
40232
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40233
  (eval $ac_try) 2>&5
 
40234
  ac_status=$?
 
40235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40236
  (exit $ac_status); }; }; then
 
40237
  ac_cv_func_pthread_attr_getschedpolicy=yes
 
40238
else
 
40239
  echo "$as_me: failed program was:" >&5
 
40240
sed 's/^/| /' conftest.$ac_ext >&5
 
40241
 
 
40242
ac_cv_func_pthread_attr_getschedpolicy=no
 
40243
fi
 
40244
rm -f conftest.err conftest.$ac_objext \
 
40245
      conftest$ac_exeext conftest.$ac_ext
 
40246
fi
 
40247
echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
 
40248
echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
 
40249
if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
 
40250
  echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
 
40251
echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
 
40252
if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
 
40253
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40254
else
 
40255
  cat >conftest.$ac_ext <<_ACEOF
 
40256
/* confdefs.h.  */
 
40257
_ACEOF
 
40258
cat confdefs.h >>conftest.$ac_ext
 
40259
cat >>conftest.$ac_ext <<_ACEOF
 
40260
/* end confdefs.h.  */
 
40261
/* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
 
40262
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
40263
#define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
 
40264
 
 
40265
/* System header to define __stub macros and hopefully few prototypes,
 
40266
    which can conflict with char pthread_attr_setschedparam (); below.
 
40267
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
40268
    <limits.h> exists even on freestanding compilers.  */
 
40269
 
 
40270
#ifdef __STDC__
 
40271
# include <limits.h>
 
40272
#else
 
40273
# include <assert.h>
 
40274
#endif
 
40275
 
 
40276
#undef pthread_attr_setschedparam
 
40277
 
 
40278
/* Override any gcc2 internal prototype to avoid an error.  */
 
40279
#ifdef __cplusplus
 
40280
extern "C"
 
40281
{
 
40282
#endif
 
40283
/* We use char because int might match the return type of a gcc2
 
40284
   builtin and then its argument prototype would still apply.  */
 
40285
char pthread_attr_setschedparam ();
 
40286
/* The GNU C library defines this for functions which it implements
 
40287
    to always fail with ENOSYS.  Some functions are actually named
 
40288
    something starting with __ and the normal name is an alias.  */
 
40289
#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
 
40290
choke me
 
40291
#else
 
40292
char (*f) () = pthread_attr_setschedparam;
 
40293
#endif
 
40294
#ifdef __cplusplus
 
40295
}
 
40296
#endif
 
40297
 
 
40298
int
 
40299
main ()
 
40300
{
 
40301
return f != pthread_attr_setschedparam;
 
40302
  ;
 
40303
  return 0;
 
40304
}
 
40305
_ACEOF
 
40306
rm -f conftest.$ac_objext conftest$ac_exeext
 
40307
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40308
  (eval $ac_link) 2>conftest.er1
 
40309
  ac_status=$?
 
40310
  grep -v '^ *+' conftest.er1 >conftest.err
 
40311
  rm -f conftest.er1
 
40312
  cat conftest.err >&5
 
40313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40314
  (exit $ac_status); } &&
 
40315
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40316
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40317
  (eval $ac_try) 2>&5
 
40318
  ac_status=$?
 
40319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40320
  (exit $ac_status); }; } &&
 
40321
         { ac_try='test -s conftest$ac_exeext'
 
40322
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40323
  (eval $ac_try) 2>&5
 
40324
  ac_status=$?
 
40325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40326
  (exit $ac_status); }; }; then
 
40327
  ac_cv_func_pthread_attr_setschedparam=yes
 
40328
else
 
40329
  echo "$as_me: failed program was:" >&5
 
40330
sed 's/^/| /' conftest.$ac_ext >&5
 
40331
 
 
40332
ac_cv_func_pthread_attr_setschedparam=no
 
40333
fi
 
40334
rm -f conftest.err conftest.$ac_objext \
 
40335
      conftest$ac_exeext conftest.$ac_ext
 
40336
fi
 
40337
echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
 
40338
echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
 
40339
if test $ac_cv_func_pthread_attr_setschedparam = yes; then
 
40340
  echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
 
40341
echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
 
40342
if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
 
40343
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40344
else
 
40345
  cat >conftest.$ac_ext <<_ACEOF
 
40346
/* confdefs.h.  */
 
40347
_ACEOF
 
40348
cat confdefs.h >>conftest.$ac_ext
 
40349
cat >>conftest.$ac_ext <<_ACEOF
 
40350
/* end confdefs.h.  */
 
40351
/* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
 
40352
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
40353
#define sched_get_priority_max innocuous_sched_get_priority_max
 
40354
 
 
40355
/* System header to define __stub macros and hopefully few prototypes,
 
40356
    which can conflict with char sched_get_priority_max (); below.
 
40357
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
40358
    <limits.h> exists even on freestanding compilers.  */
 
40359
 
 
40360
#ifdef __STDC__
 
40361
# include <limits.h>
 
40362
#else
 
40363
# include <assert.h>
 
40364
#endif
 
40365
 
 
40366
#undef sched_get_priority_max
 
40367
 
 
40368
/* Override any gcc2 internal prototype to avoid an error.  */
 
40369
#ifdef __cplusplus
 
40370
extern "C"
 
40371
{
 
40372
#endif
 
40373
/* We use char because int might match the return type of a gcc2
 
40374
   builtin and then its argument prototype would still apply.  */
 
40375
char sched_get_priority_max ();
 
40376
/* The GNU C library defines this for functions which it implements
 
40377
    to always fail with ENOSYS.  Some functions are actually named
 
40378
    something starting with __ and the normal name is an alias.  */
 
40379
#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
 
40380
choke me
 
40381
#else
 
40382
char (*f) () = sched_get_priority_max;
 
40383
#endif
 
40384
#ifdef __cplusplus
 
40385
}
 
40386
#endif
 
40387
 
 
40388
int
 
40389
main ()
 
40390
{
 
40391
return f != sched_get_priority_max;
 
40392
  ;
 
40393
  return 0;
 
40394
}
 
40395
_ACEOF
 
40396
rm -f conftest.$ac_objext conftest$ac_exeext
 
40397
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40398
  (eval $ac_link) 2>conftest.er1
 
40399
  ac_status=$?
 
40400
  grep -v '^ *+' conftest.er1 >conftest.err
 
40401
  rm -f conftest.er1
 
40402
  cat conftest.err >&5
 
40403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40404
  (exit $ac_status); } &&
 
40405
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40406
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40407
  (eval $ac_try) 2>&5
 
40408
  ac_status=$?
 
40409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40410
  (exit $ac_status); }; } &&
 
40411
         { ac_try='test -s conftest$ac_exeext'
 
40412
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40413
  (eval $ac_try) 2>&5
 
40414
  ac_status=$?
 
40415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40416
  (exit $ac_status); }; }; then
 
40417
  ac_cv_func_sched_get_priority_max=yes
 
40418
else
 
40419
  echo "$as_me: failed program was:" >&5
 
40420
sed 's/^/| /' conftest.$ac_ext >&5
 
40421
 
 
40422
ac_cv_func_sched_get_priority_max=no
 
40423
fi
 
40424
rm -f conftest.err conftest.$ac_objext \
 
40425
      conftest$ac_exeext conftest.$ac_ext
 
40426
fi
 
40427
echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
 
40428
echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
 
40429
if test $ac_cv_func_sched_get_priority_max = yes; then
 
40430
  HAVE_PRIOR_FUNCS=1
 
40431
else
 
40432
  echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
 
40433
echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
 
40434
if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
 
40435
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40436
else
 
40437
  ac_check_lib_save_LIBS=$LIBS
 
40438
LIBS="-lposix4  $LIBS"
 
40439
cat >conftest.$ac_ext <<_ACEOF
 
40440
/* confdefs.h.  */
 
40441
_ACEOF
 
40442
cat confdefs.h >>conftest.$ac_ext
 
40443
cat >>conftest.$ac_ext <<_ACEOF
 
40444
/* end confdefs.h.  */
 
40445
 
 
40446
/* Override any gcc2 internal prototype to avoid an error.  */
 
40447
#ifdef __cplusplus
 
40448
extern "C"
 
40449
#endif
 
40450
/* We use char because int might match the return type of a gcc2
 
40451
   builtin and then its argument prototype would still apply.  */
 
40452
char sched_get_priority_max ();
 
40453
int
 
40454
main ()
 
40455
{
 
40456
sched_get_priority_max ();
 
40457
  ;
 
40458
  return 0;
 
40459
}
 
40460
_ACEOF
 
40461
rm -f conftest.$ac_objext conftest$ac_exeext
 
40462
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40463
  (eval $ac_link) 2>conftest.er1
 
40464
  ac_status=$?
 
40465
  grep -v '^ *+' conftest.er1 >conftest.err
 
40466
  rm -f conftest.er1
 
40467
  cat conftest.err >&5
 
40468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40469
  (exit $ac_status); } &&
 
40470
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40471
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40472
  (eval $ac_try) 2>&5
 
40473
  ac_status=$?
 
40474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40475
  (exit $ac_status); }; } &&
 
40476
         { ac_try='test -s conftest$ac_exeext'
 
40477
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40478
  (eval $ac_try) 2>&5
 
40479
  ac_status=$?
 
40480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40481
  (exit $ac_status); }; }; then
 
40482
  ac_cv_lib_posix4_sched_get_priority_max=yes
 
40483
else
 
40484
  echo "$as_me: failed program was:" >&5
 
40485
sed 's/^/| /' conftest.$ac_ext >&5
 
40486
 
 
40487
ac_cv_lib_posix4_sched_get_priority_max=no
 
40488
fi
 
40489
rm -f conftest.err conftest.$ac_objext \
 
40490
      conftest$ac_exeext conftest.$ac_ext
 
40491
LIBS=$ac_check_lib_save_LIBS
 
40492
fi
 
40493
echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
 
40494
echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
 
40495
if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
 
40496
 
 
40497
                                HAVE_PRIOR_FUNCS=1
 
40498
                                POSIX4_LINK=" -lposix4"
 
40499
 
 
40500
fi
 
40501
 
 
40502
 
 
40503
fi
 
40504
 
 
40505
 
 
40506
fi
 
40507
 
 
40508
 
 
40509
fi
 
40510
 
 
40511
 
 
40512
      if test "$HAVE_PRIOR_FUNCS" = 1; then
 
40513
        cat >>confdefs.h <<\_ACEOF
 
40514
#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
 
40515
_ACEOF
 
40516
 
 
40517
      else
 
40518
        { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
 
40519
echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
 
40520
      fi
 
40521
 
 
40522
      echo "$as_me:$LINENO: checking for pthread_cancel" >&5
 
40523
echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
 
40524
if test "${ac_cv_func_pthread_cancel+set}" = set; then
 
40525
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40526
else
 
40527
  cat >conftest.$ac_ext <<_ACEOF
 
40528
/* confdefs.h.  */
 
40529
_ACEOF
 
40530
cat confdefs.h >>conftest.$ac_ext
 
40531
cat >>conftest.$ac_ext <<_ACEOF
 
40532
/* end confdefs.h.  */
 
40533
/* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
 
40534
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
40535
#define pthread_cancel innocuous_pthread_cancel
 
40536
 
 
40537
/* System header to define __stub macros and hopefully few prototypes,
 
40538
    which can conflict with char pthread_cancel (); below.
 
40539
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
40540
    <limits.h> exists even on freestanding compilers.  */
 
40541
 
 
40542
#ifdef __STDC__
 
40543
# include <limits.h>
 
40544
#else
 
40545
# include <assert.h>
 
40546
#endif
 
40547
 
 
40548
#undef pthread_cancel
 
40549
 
 
40550
/* Override any gcc2 internal prototype to avoid an error.  */
 
40551
#ifdef __cplusplus
 
40552
extern "C"
 
40553
{
 
40554
#endif
 
40555
/* We use char because int might match the return type of a gcc2
 
40556
   builtin and then its argument prototype would still apply.  */
 
40557
char pthread_cancel ();
 
40558
/* The GNU C library defines this for functions which it implements
 
40559
    to always fail with ENOSYS.  Some functions are actually named
 
40560
    something starting with __ and the normal name is an alias.  */
 
40561
#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
 
40562
choke me
 
40563
#else
 
40564
char (*f) () = pthread_cancel;
 
40565
#endif
 
40566
#ifdef __cplusplus
 
40567
}
 
40568
#endif
 
40569
 
 
40570
int
 
40571
main ()
 
40572
{
 
40573
return f != pthread_cancel;
 
40574
  ;
 
40575
  return 0;
 
40576
}
 
40577
_ACEOF
 
40578
rm -f conftest.$ac_objext conftest$ac_exeext
 
40579
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40580
  (eval $ac_link) 2>conftest.er1
 
40581
  ac_status=$?
 
40582
  grep -v '^ *+' conftest.er1 >conftest.err
 
40583
  rm -f conftest.er1
 
40584
  cat conftest.err >&5
 
40585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40586
  (exit $ac_status); } &&
 
40587
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40588
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40589
  (eval $ac_try) 2>&5
 
40590
  ac_status=$?
 
40591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40592
  (exit $ac_status); }; } &&
 
40593
         { ac_try='test -s conftest$ac_exeext'
 
40594
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40595
  (eval $ac_try) 2>&5
 
40596
  ac_status=$?
 
40597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40598
  (exit $ac_status); }; }; then
 
40599
  ac_cv_func_pthread_cancel=yes
 
40600
else
 
40601
  echo "$as_me: failed program was:" >&5
 
40602
sed 's/^/| /' conftest.$ac_ext >&5
 
40603
 
 
40604
ac_cv_func_pthread_cancel=no
 
40605
fi
 
40606
rm -f conftest.err conftest.$ac_objext \
 
40607
      conftest$ac_exeext conftest.$ac_ext
 
40608
fi
 
40609
echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
 
40610
echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
 
40611
if test $ac_cv_func_pthread_cancel = yes; then
 
40612
  cat >>confdefs.h <<\_ACEOF
 
40613
#define HAVE_PTHREAD_CANCEL 1
 
40614
_ACEOF
 
40615
 
 
40616
else
 
40617
  { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
 
40618
echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
 
40619
fi
 
40620
 
 
40621
 
 
40622
      echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
 
40623
echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
 
40624
if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
 
40625
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40626
else
 
40627
  cat >conftest.$ac_ext <<_ACEOF
 
40628
/* confdefs.h.  */
 
40629
_ACEOF
 
40630
cat confdefs.h >>conftest.$ac_ext
 
40631
cat >>conftest.$ac_ext <<_ACEOF
 
40632
/* end confdefs.h.  */
 
40633
/* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
 
40634
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
40635
#define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
 
40636
 
 
40637
/* System header to define __stub macros and hopefully few prototypes,
 
40638
    which can conflict with char pthread_attr_setstacksize (); below.
 
40639
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
40640
    <limits.h> exists even on freestanding compilers.  */
 
40641
 
 
40642
#ifdef __STDC__
 
40643
# include <limits.h>
 
40644
#else
 
40645
# include <assert.h>
 
40646
#endif
 
40647
 
 
40648
#undef pthread_attr_setstacksize
 
40649
 
 
40650
/* Override any gcc2 internal prototype to avoid an error.  */
 
40651
#ifdef __cplusplus
 
40652
extern "C"
 
40653
{
 
40654
#endif
 
40655
/* We use char because int might match the return type of a gcc2
 
40656
   builtin and then its argument prototype would still apply.  */
 
40657
char pthread_attr_setstacksize ();
 
40658
/* The GNU C library defines this for functions which it implements
 
40659
    to always fail with ENOSYS.  Some functions are actually named
 
40660
    something starting with __ and the normal name is an alias.  */
 
40661
#if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
 
40662
choke me
 
40663
#else
 
40664
char (*f) () = pthread_attr_setstacksize;
 
40665
#endif
 
40666
#ifdef __cplusplus
 
40667
}
 
40668
#endif
 
40669
 
 
40670
int
 
40671
main ()
 
40672
{
 
40673
return f != pthread_attr_setstacksize;
 
40674
  ;
 
40675
  return 0;
 
40676
}
 
40677
_ACEOF
 
40678
rm -f conftest.$ac_objext conftest$ac_exeext
 
40679
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
40680
  (eval $ac_link) 2>conftest.er1
 
40681
  ac_status=$?
 
40682
  grep -v '^ *+' conftest.er1 >conftest.err
 
40683
  rm -f conftest.er1
 
40684
  cat conftest.err >&5
 
40685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40686
  (exit $ac_status); } &&
 
40687
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40688
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40689
  (eval $ac_try) 2>&5
 
40690
  ac_status=$?
 
40691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40692
  (exit $ac_status); }; } &&
 
40693
         { ac_try='test -s conftest$ac_exeext'
 
40694
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40695
  (eval $ac_try) 2>&5
 
40696
  ac_status=$?
 
40697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40698
  (exit $ac_status); }; }; then
 
40699
  ac_cv_func_pthread_attr_setstacksize=yes
 
40700
else
 
40701
  echo "$as_me: failed program was:" >&5
 
40702
sed 's/^/| /' conftest.$ac_ext >&5
 
40703
 
 
40704
ac_cv_func_pthread_attr_setstacksize=no
 
40705
fi
 
40706
rm -f conftest.err conftest.$ac_objext \
 
40707
      conftest$ac_exeext conftest.$ac_ext
 
40708
fi
 
40709
echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
 
40710
echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
 
40711
if test $ac_cv_func_pthread_attr_setstacksize = yes; then
 
40712
  cat >>confdefs.h <<\_ACEOF
 
40713
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
 
40714
_ACEOF
 
40715
 
 
40716
fi
 
40717
 
 
40718
 
 
40719
 
 
40720
      echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
 
40721
echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
 
40722
if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
 
40723
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40724
else
 
40725
 
 
40726
        cat >conftest.$ac_ext <<_ACEOF
 
40727
/* confdefs.h.  */
 
40728
_ACEOF
 
40729
cat confdefs.h >>conftest.$ac_ext
 
40730
cat >>conftest.$ac_ext <<_ACEOF
 
40731
/* end confdefs.h.  */
 
40732
#include <pthread.h>
 
40733
int
 
40734
main ()
 
40735
{
 
40736
 
 
40737
               pthread_mutexattr_t attr;
 
40738
               pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
 
40739
 
 
40740
  ;
 
40741
  return 0;
 
40742
}
 
40743
_ACEOF
 
40744
rm -f conftest.$ac_objext
 
40745
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
40746
  (eval $ac_compile) 2>conftest.er1
 
40747
  ac_status=$?
 
40748
  grep -v '^ *+' conftest.er1 >conftest.err
 
40749
  rm -f conftest.er1
 
40750
  cat conftest.err >&5
 
40751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40752
  (exit $ac_status); } &&
 
40753
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40754
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40755
  (eval $ac_try) 2>&5
 
40756
  ac_status=$?
 
40757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40758
  (exit $ac_status); }; } &&
 
40759
         { ac_try='test -s conftest.$ac_objext'
 
40760
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40761
  (eval $ac_try) 2>&5
 
40762
  ac_status=$?
 
40763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40764
  (exit $ac_status); }; }; then
 
40765
  wx_cv_type_pthread_mutexattr_t=yes
 
40766
else
 
40767
  echo "$as_me: failed program was:" >&5
 
40768
sed 's/^/| /' conftest.$ac_ext >&5
 
40769
 
 
40770
wx_cv_type_pthread_mutexattr_t=no
 
40771
 
 
40772
fi
 
40773
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
40774
 
 
40775
fi
 
40776
echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
 
40777
echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
 
40778
 
 
40779
      if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
 
40780
        cat >>confdefs.h <<\_ACEOF
 
40781
#define HAVE_PTHREAD_MUTEXATTR_T 1
 
40782
_ACEOF
 
40783
 
 
40784
 
 
40785
                        echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
 
40786
echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
 
40787
if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
 
40788
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40789
else
 
40790
 
 
40791
                       cat >conftest.$ac_ext <<_ACEOF
 
40792
/* confdefs.h.  */
 
40793
_ACEOF
 
40794
cat confdefs.h >>conftest.$ac_ext
 
40795
cat >>conftest.$ac_ext <<_ACEOF
 
40796
/* end confdefs.h.  */
 
40797
#include <pthread.h>
 
40798
int
 
40799
main ()
 
40800
{
 
40801
 
 
40802
                               pthread_mutexattr_t attr;
 
40803
                               pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
 
40804
 
 
40805
  ;
 
40806
  return 0;
 
40807
}
 
40808
_ACEOF
 
40809
rm -f conftest.$ac_objext
 
40810
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
40811
  (eval $ac_compile) 2>conftest.er1
 
40812
  ac_status=$?
 
40813
  grep -v '^ *+' conftest.er1 >conftest.err
 
40814
  rm -f conftest.er1
 
40815
  cat conftest.err >&5
 
40816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40817
  (exit $ac_status); } &&
 
40818
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40819
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40820
  (eval $ac_try) 2>&5
 
40821
  ac_status=$?
 
40822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40823
  (exit $ac_status); }; } &&
 
40824
         { ac_try='test -s conftest.$ac_objext'
 
40825
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40826
  (eval $ac_try) 2>&5
 
40827
  ac_status=$?
 
40828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40829
  (exit $ac_status); }; }; then
 
40830
  wx_cv_func_pthread_mutexattr_settype_decl=yes
 
40831
else
 
40832
  echo "$as_me: failed program was:" >&5
 
40833
sed 's/^/| /' conftest.$ac_ext >&5
 
40834
 
 
40835
wx_cv_func_pthread_mutexattr_settype_decl=no
 
40836
 
 
40837
fi
 
40838
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
40839
 
 
40840
fi
 
40841
echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
 
40842
echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
 
40843
        if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
 
40844
            cat >>confdefs.h <<\_ACEOF
 
40845
#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
 
40846
_ACEOF
 
40847
 
 
40848
        fi
 
40849
      else
 
40850
                echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
 
40851
echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
 
40852
if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
 
40853
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40854
else
 
40855
 
 
40856
            cat >conftest.$ac_ext <<_ACEOF
 
40857
/* confdefs.h.  */
 
40858
_ACEOF
 
40859
cat confdefs.h >>conftest.$ac_ext
 
40860
cat >>conftest.$ac_ext <<_ACEOF
 
40861
/* end confdefs.h.  */
 
40862
#include <pthread.h>
 
40863
int
 
40864
main ()
 
40865
{
 
40866
 
 
40867
                    pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
 
40868
 
 
40869
  ;
 
40870
  return 0;
 
40871
}
 
40872
_ACEOF
 
40873
rm -f conftest.$ac_objext
 
40874
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
40875
  (eval $ac_compile) 2>conftest.er1
 
40876
  ac_status=$?
 
40877
  grep -v '^ *+' conftest.er1 >conftest.err
 
40878
  rm -f conftest.er1
 
40879
  cat conftest.err >&5
 
40880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40881
  (exit $ac_status); } &&
 
40882
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40883
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40884
  (eval $ac_try) 2>&5
 
40885
  ac_status=$?
 
40886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40887
  (exit $ac_status); }; } &&
 
40888
         { ac_try='test -s conftest.$ac_objext'
 
40889
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40890
  (eval $ac_try) 2>&5
 
40891
  ac_status=$?
 
40892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40893
  (exit $ac_status); }; }; then
 
40894
 
 
40895
                    wx_cv_type_pthread_rec_mutex_init=yes
 
40896
 
 
40897
else
 
40898
  echo "$as_me: failed program was:" >&5
 
40899
sed 's/^/| /' conftest.$ac_ext >&5
 
40900
 
 
40901
 
 
40902
                    wx_cv_type_pthread_rec_mutex_init=no
 
40903
 
 
40904
 
 
40905
fi
 
40906
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
40907
 
 
40908
fi
 
40909
echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
 
40910
echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
 
40911
        if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
 
40912
          cat >>confdefs.h <<\_ACEOF
 
40913
#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
 
40914
_ACEOF
 
40915
 
 
40916
        else
 
40917
                    { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
 
40918
echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
 
40919
        fi
 
40920
      fi
 
40921
    fi
 
40922
 
 
40923
else
 
40924
    if test "$wxUSE_THREADS" = "yes" ; then
 
40925
      case "${host}" in
 
40926
        x86_64-*-mingw32* )
 
40927
        ;;
 
40928
        *-*-mingw32* )
 
40929
                        echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
 
40930
echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
 
40931
if test "${wx_cv_cflags_mthread+set}" = set; then
 
40932
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
40933
else
 
40934
 
 
40935
                    CFLAGS_OLD="$CFLAGS"
 
40936
                    CFLAGS="-mthreads $CFLAGS"
 
40937
                    cat >conftest.$ac_ext <<_ACEOF
 
40938
/* confdefs.h.  */
 
40939
_ACEOF
 
40940
cat confdefs.h >>conftest.$ac_ext
 
40941
cat >>conftest.$ac_ext <<_ACEOF
 
40942
/* end confdefs.h.  */
 
40943
 
 
40944
int
 
40945
main ()
 
40946
{
 
40947
 
 
40948
  ;
 
40949
  return 0;
 
40950
}
 
40951
_ACEOF
 
40952
rm -f conftest.$ac_objext
 
40953
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
40954
  (eval $ac_compile) 2>conftest.er1
 
40955
  ac_status=$?
 
40956
  grep -v '^ *+' conftest.er1 >conftest.err
 
40957
  rm -f conftest.er1
 
40958
  cat conftest.err >&5
 
40959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40960
  (exit $ac_status); } &&
 
40961
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
40962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40963
  (eval $ac_try) 2>&5
 
40964
  ac_status=$?
 
40965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40966
  (exit $ac_status); }; } &&
 
40967
         { ac_try='test -s conftest.$ac_objext'
 
40968
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
40969
  (eval $ac_try) 2>&5
 
40970
  ac_status=$?
 
40971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
40972
  (exit $ac_status); }; }; then
 
40973
  wx_cv_cflags_mthread=yes
 
40974
else
 
40975
  echo "$as_me: failed program was:" >&5
 
40976
sed 's/^/| /' conftest.$ac_ext >&5
 
40977
 
 
40978
wx_cv_cflags_mthread=no
 
40979
 
 
40980
fi
 
40981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
40982
 
 
40983
 
 
40984
fi
 
40985
echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
 
40986
echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
 
40987
 
 
40988
            if test "$wx_cv_cflags_mthread" = "yes"; then
 
40989
                                WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
 
40990
                LDFLAGS="$LDFLAGS -mthreads"
 
40991
            else
 
40992
                                CFLAGS="$CFLAGS_OLD"
 
40993
            fi
 
40994
        ;;
 
40995
        *-pc-os2*emx )
 
40996
            WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
 
40997
            LDFLAGS="$LDFLAGS -Zmt"
 
40998
        ;;
 
40999
      esac
 
41000
    fi
 
41001
fi
 
41002
 
 
41003
echo "$as_me:$LINENO: checking for localtime_r" >&5
 
41004
echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
 
41005
if test "${ac_cv_func_localtime_r+set}" = set; then
 
41006
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41007
else
 
41008
  cat >conftest.$ac_ext <<_ACEOF
 
41009
/* confdefs.h.  */
 
41010
_ACEOF
 
41011
cat confdefs.h >>conftest.$ac_ext
 
41012
cat >>conftest.$ac_ext <<_ACEOF
 
41013
/* end confdefs.h.  */
 
41014
/* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
 
41015
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
41016
#define localtime_r innocuous_localtime_r
 
41017
 
 
41018
/* System header to define __stub macros and hopefully few prototypes,
 
41019
    which can conflict with char localtime_r (); below.
 
41020
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
41021
    <limits.h> exists even on freestanding compilers.  */
 
41022
 
 
41023
#ifdef __STDC__
 
41024
# include <limits.h>
 
41025
#else
 
41026
# include <assert.h>
 
41027
#endif
 
41028
 
 
41029
#undef localtime_r
 
41030
 
 
41031
/* Override any gcc2 internal prototype to avoid an error.  */
 
41032
#ifdef __cplusplus
 
41033
extern "C"
 
41034
{
 
41035
#endif
 
41036
/* We use char because int might match the return type of a gcc2
 
41037
   builtin and then its argument prototype would still apply.  */
 
41038
char localtime_r ();
 
41039
/* The GNU C library defines this for functions which it implements
 
41040
    to always fail with ENOSYS.  Some functions are actually named
 
41041
    something starting with __ and the normal name is an alias.  */
 
41042
#if defined (__stub_localtime_r) || defined (__stub___localtime_r)
 
41043
choke me
 
41044
#else
 
41045
char (*f) () = localtime_r;
 
41046
#endif
 
41047
#ifdef __cplusplus
 
41048
}
 
41049
#endif
 
41050
 
 
41051
int
 
41052
main ()
 
41053
{
 
41054
return f != localtime_r;
 
41055
  ;
 
41056
  return 0;
 
41057
}
 
41058
_ACEOF
 
41059
rm -f conftest.$ac_objext conftest$ac_exeext
 
41060
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
41061
  (eval $ac_link) 2>conftest.er1
 
41062
  ac_status=$?
 
41063
  grep -v '^ *+' conftest.er1 >conftest.err
 
41064
  rm -f conftest.er1
 
41065
  cat conftest.err >&5
 
41066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41067
  (exit $ac_status); } &&
 
41068
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41069
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41070
  (eval $ac_try) 2>&5
 
41071
  ac_status=$?
 
41072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41073
  (exit $ac_status); }; } &&
 
41074
         { ac_try='test -s conftest$ac_exeext'
 
41075
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41076
  (eval $ac_try) 2>&5
 
41077
  ac_status=$?
 
41078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41079
  (exit $ac_status); }; }; then
 
41080
  ac_cv_func_localtime_r=yes
 
41081
else
 
41082
  echo "$as_me: failed program was:" >&5
 
41083
sed 's/^/| /' conftest.$ac_ext >&5
 
41084
 
 
41085
ac_cv_func_localtime_r=no
 
41086
fi
 
41087
rm -f conftest.err conftest.$ac_objext \
 
41088
      conftest$ac_exeext conftest.$ac_ext
 
41089
fi
 
41090
echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
 
41091
echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
 
41092
if test $ac_cv_func_localtime_r = yes; then
 
41093
   cat >>confdefs.h <<\_ACEOF
 
41094
#define HAVE_LOCALTIME_R 1
 
41095
_ACEOF
 
41096
 
 
41097
fi
 
41098
 
 
41099
echo "$as_me:$LINENO: checking for gmtime_r" >&5
 
41100
echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
 
41101
if test "${ac_cv_func_gmtime_r+set}" = set; then
 
41102
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41103
else
 
41104
  cat >conftest.$ac_ext <<_ACEOF
 
41105
/* confdefs.h.  */
 
41106
_ACEOF
 
41107
cat confdefs.h >>conftest.$ac_ext
 
41108
cat >>conftest.$ac_ext <<_ACEOF
 
41109
/* end confdefs.h.  */
 
41110
/* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
 
41111
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
41112
#define gmtime_r innocuous_gmtime_r
 
41113
 
 
41114
/* System header to define __stub macros and hopefully few prototypes,
 
41115
    which can conflict with char gmtime_r (); below.
 
41116
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
41117
    <limits.h> exists even on freestanding compilers.  */
 
41118
 
 
41119
#ifdef __STDC__
 
41120
# include <limits.h>
 
41121
#else
 
41122
# include <assert.h>
 
41123
#endif
 
41124
 
 
41125
#undef gmtime_r
 
41126
 
 
41127
/* Override any gcc2 internal prototype to avoid an error.  */
 
41128
#ifdef __cplusplus
 
41129
extern "C"
 
41130
{
 
41131
#endif
 
41132
/* We use char because int might match the return type of a gcc2
 
41133
   builtin and then its argument prototype would still apply.  */
 
41134
char gmtime_r ();
 
41135
/* The GNU C library defines this for functions which it implements
 
41136
    to always fail with ENOSYS.  Some functions are actually named
 
41137
    something starting with __ and the normal name is an alias.  */
 
41138
#if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
 
41139
choke me
 
41140
#else
 
41141
char (*f) () = gmtime_r;
 
41142
#endif
 
41143
#ifdef __cplusplus
 
41144
}
 
41145
#endif
 
41146
 
 
41147
int
 
41148
main ()
 
41149
{
 
41150
return f != gmtime_r;
 
41151
  ;
 
41152
  return 0;
 
41153
}
 
41154
_ACEOF
 
41155
rm -f conftest.$ac_objext conftest$ac_exeext
 
41156
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
41157
  (eval $ac_link) 2>conftest.er1
 
41158
  ac_status=$?
 
41159
  grep -v '^ *+' conftest.er1 >conftest.err
 
41160
  rm -f conftest.er1
 
41161
  cat conftest.err >&5
 
41162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41163
  (exit $ac_status); } &&
 
41164
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41165
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41166
  (eval $ac_try) 2>&5
 
41167
  ac_status=$?
 
41168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41169
  (exit $ac_status); }; } &&
 
41170
         { ac_try='test -s conftest$ac_exeext'
 
41171
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41172
  (eval $ac_try) 2>&5
 
41173
  ac_status=$?
 
41174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41175
  (exit $ac_status); }; }; then
 
41176
  ac_cv_func_gmtime_r=yes
 
41177
else
 
41178
  echo "$as_me: failed program was:" >&5
 
41179
sed 's/^/| /' conftest.$ac_ext >&5
 
41180
 
 
41181
ac_cv_func_gmtime_r=no
 
41182
fi
 
41183
rm -f conftest.err conftest.$ac_objext \
 
41184
      conftest$ac_exeext conftest.$ac_ext
 
41185
fi
 
41186
echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
 
41187
echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
 
41188
if test $ac_cv_func_gmtime_r = yes; then
 
41189
   cat >>confdefs.h <<\_ACEOF
 
41190
#define HAVE_GMTIME_R 1
 
41191
_ACEOF
 
41192
 
 
41193
fi
 
41194
 
 
41195
echo "$as_me:$LINENO: checking for readdir_r" >&5
 
41196
echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
 
41197
if test "${ac_cv_func_readdir_r+set}" = set; then
 
41198
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41199
else
 
41200
  cat >conftest.$ac_ext <<_ACEOF
 
41201
/* confdefs.h.  */
 
41202
_ACEOF
 
41203
cat confdefs.h >>conftest.$ac_ext
 
41204
cat >>conftest.$ac_ext <<_ACEOF
 
41205
/* end confdefs.h.  */
 
41206
/* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
 
41207
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
41208
#define readdir_r innocuous_readdir_r
 
41209
 
 
41210
/* System header to define __stub macros and hopefully few prototypes,
 
41211
    which can conflict with char readdir_r (); below.
 
41212
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
41213
    <limits.h> exists even on freestanding compilers.  */
 
41214
 
 
41215
#ifdef __STDC__
 
41216
# include <limits.h>
 
41217
#else
 
41218
# include <assert.h>
 
41219
#endif
 
41220
 
 
41221
#undef readdir_r
 
41222
 
 
41223
/* Override any gcc2 internal prototype to avoid an error.  */
 
41224
#ifdef __cplusplus
 
41225
extern "C"
 
41226
{
 
41227
#endif
 
41228
/* We use char because int might match the return type of a gcc2
 
41229
   builtin and then its argument prototype would still apply.  */
 
41230
char readdir_r ();
 
41231
/* The GNU C library defines this for functions which it implements
 
41232
    to always fail with ENOSYS.  Some functions are actually named
 
41233
    something starting with __ and the normal name is an alias.  */
 
41234
#if defined (__stub_readdir_r) || defined (__stub___readdir_r)
 
41235
choke me
 
41236
#else
 
41237
char (*f) () = readdir_r;
 
41238
#endif
 
41239
#ifdef __cplusplus
 
41240
}
 
41241
#endif
 
41242
 
 
41243
int
 
41244
main ()
 
41245
{
 
41246
return f != readdir_r;
 
41247
  ;
 
41248
  return 0;
 
41249
}
 
41250
_ACEOF
 
41251
rm -f conftest.$ac_objext conftest$ac_exeext
 
41252
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
41253
  (eval $ac_link) 2>conftest.er1
 
41254
  ac_status=$?
 
41255
  grep -v '^ *+' conftest.er1 >conftest.err
 
41256
  rm -f conftest.er1
 
41257
  cat conftest.err >&5
 
41258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41259
  (exit $ac_status); } &&
 
41260
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41262
  (eval $ac_try) 2>&5
 
41263
  ac_status=$?
 
41264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41265
  (exit $ac_status); }; } &&
 
41266
         { ac_try='test -s conftest$ac_exeext'
 
41267
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41268
  (eval $ac_try) 2>&5
 
41269
  ac_status=$?
 
41270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41271
  (exit $ac_status); }; }; then
 
41272
  ac_cv_func_readdir_r=yes
 
41273
else
 
41274
  echo "$as_me: failed program was:" >&5
 
41275
sed 's/^/| /' conftest.$ac_ext >&5
 
41276
 
 
41277
ac_cv_func_readdir_r=no
 
41278
fi
 
41279
rm -f conftest.err conftest.$ac_objext \
 
41280
      conftest$ac_exeext conftest.$ac_ext
 
41281
fi
 
41282
echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
 
41283
echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
 
41284
if test $ac_cv_func_readdir_r = yes; then
 
41285
   cat >>confdefs.h <<\_ACEOF
 
41286
#define HAVE_READDIR_R 1
 
41287
_ACEOF
 
41288
 
 
41289
fi
 
41290
 
 
41291
 
 
41292
 
 
41293
 
 
41294
    ac_ext=c
 
41295
ac_cpp='$CPP $CPPFLAGS'
 
41296
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
41297
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
41298
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
41299
 
 
41300
    echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
 
41301
echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
 
41302
 
 
41303
    if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
 
41304
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41305
else
 
41306
 
 
41307
 
 
41308
################################################################
 
41309
 
 
41310
ac_cv_func_which_gethostbyname_r=unknown
 
41311
 
 
41312
#
 
41313
# ONE ARGUMENT (sanity check)
 
41314
#
 
41315
 
 
41316
# This should fail, as there is no variant of gethostbyname_r() that takes
 
41317
# a single argument. If it actually compiles, then we can assume that
 
41318
# netdb.h is not declaring the function, and the compiler is thereby
 
41319
# assuming an implicit prototype. In which case, we're out of luck.
 
41320
#
 
41321
cat >conftest.$ac_ext <<_ACEOF
 
41322
/* confdefs.h.  */
 
41323
_ACEOF
 
41324
cat confdefs.h >>conftest.$ac_ext
 
41325
cat >>conftest.$ac_ext <<_ACEOF
 
41326
/* end confdefs.h.  */
 
41327
#include <netdb.h>
 
41328
int
 
41329
main ()
 
41330
{
 
41331
 
 
41332
            char *name = "www.gnu.org";
 
41333
            (void)gethostbyname_r(name) /* ; */
 
41334
 
 
41335
  ;
 
41336
  return 0;
 
41337
}
 
41338
_ACEOF
 
41339
rm -f conftest.$ac_objext
 
41340
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41341
  (eval $ac_compile) 2>conftest.er1
 
41342
  ac_status=$?
 
41343
  grep -v '^ *+' conftest.er1 >conftest.err
 
41344
  rm -f conftest.er1
 
41345
  cat conftest.err >&5
 
41346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41347
  (exit $ac_status); } &&
 
41348
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41349
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41350
  (eval $ac_try) 2>&5
 
41351
  ac_status=$?
 
41352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41353
  (exit $ac_status); }; } &&
 
41354
         { ac_try='test -s conftest.$ac_objext'
 
41355
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41356
  (eval $ac_try) 2>&5
 
41357
  ac_status=$?
 
41358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41359
  (exit $ac_status); }; }; then
 
41360
  ac_cv_func_which_gethostbyname_r=no
 
41361
else
 
41362
  echo "$as_me: failed program was:" >&5
 
41363
sed 's/^/| /' conftest.$ac_ext >&5
 
41364
 
 
41365
fi
 
41366
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41367
 
 
41368
#
 
41369
# SIX ARGUMENTS
 
41370
# (e.g. Linux)
 
41371
#
 
41372
 
 
41373
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
 
41374
 
 
41375
cat >conftest.$ac_ext <<_ACEOF
 
41376
/* confdefs.h.  */
 
41377
_ACEOF
 
41378
cat confdefs.h >>conftest.$ac_ext
 
41379
cat >>conftest.$ac_ext <<_ACEOF
 
41380
/* end confdefs.h.  */
 
41381
#include <netdb.h>
 
41382
int
 
41383
main ()
 
41384
{
 
41385
 
 
41386
            char *name = "www.gnu.org";
 
41387
            struct hostent ret, *retp;
 
41388
            char buf[1024];
 
41389
            int buflen = 1024;
 
41390
            int my_h_errno;
 
41391
            (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
 
41392
 
 
41393
  ;
 
41394
  return 0;
 
41395
}
 
41396
_ACEOF
 
41397
rm -f conftest.$ac_objext
 
41398
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41399
  (eval $ac_compile) 2>conftest.er1
 
41400
  ac_status=$?
 
41401
  grep -v '^ *+' conftest.er1 >conftest.err
 
41402
  rm -f conftest.er1
 
41403
  cat conftest.err >&5
 
41404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41405
  (exit $ac_status); } &&
 
41406
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41407
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41408
  (eval $ac_try) 2>&5
 
41409
  ac_status=$?
 
41410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41411
  (exit $ac_status); }; } &&
 
41412
         { ac_try='test -s conftest.$ac_objext'
 
41413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41414
  (eval $ac_try) 2>&5
 
41415
  ac_status=$?
 
41416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41417
  (exit $ac_status); }; }; then
 
41418
  ac_cv_func_which_gethostbyname_r=six
 
41419
else
 
41420
  echo "$as_me: failed program was:" >&5
 
41421
sed 's/^/| /' conftest.$ac_ext >&5
 
41422
 
 
41423
fi
 
41424
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41425
 
 
41426
fi
 
41427
 
 
41428
#
 
41429
# FIVE ARGUMENTS
 
41430
# (e.g. Solaris)
 
41431
#
 
41432
 
 
41433
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
 
41434
 
 
41435
cat >conftest.$ac_ext <<_ACEOF
 
41436
/* confdefs.h.  */
 
41437
_ACEOF
 
41438
cat confdefs.h >>conftest.$ac_ext
 
41439
cat >>conftest.$ac_ext <<_ACEOF
 
41440
/* end confdefs.h.  */
 
41441
#include <netdb.h>
 
41442
int
 
41443
main ()
 
41444
{
 
41445
 
 
41446
            char *name = "www.gnu.org";
 
41447
            struct hostent ret;
 
41448
            char buf[1024];
 
41449
            int buflen = 1024;
 
41450
            int my_h_errno;
 
41451
            (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
 
41452
 
 
41453
  ;
 
41454
  return 0;
 
41455
}
 
41456
_ACEOF
 
41457
rm -f conftest.$ac_objext
 
41458
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41459
  (eval $ac_compile) 2>conftest.er1
 
41460
  ac_status=$?
 
41461
  grep -v '^ *+' conftest.er1 >conftest.err
 
41462
  rm -f conftest.er1
 
41463
  cat conftest.err >&5
 
41464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41465
  (exit $ac_status); } &&
 
41466
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41467
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41468
  (eval $ac_try) 2>&5
 
41469
  ac_status=$?
 
41470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41471
  (exit $ac_status); }; } &&
 
41472
         { ac_try='test -s conftest.$ac_objext'
 
41473
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41474
  (eval $ac_try) 2>&5
 
41475
  ac_status=$?
 
41476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41477
  (exit $ac_status); }; }; then
 
41478
  ac_cv_func_which_gethostbyname_r=five
 
41479
else
 
41480
  echo "$as_me: failed program was:" >&5
 
41481
sed 's/^/| /' conftest.$ac_ext >&5
 
41482
 
 
41483
fi
 
41484
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41485
 
 
41486
fi
 
41487
 
 
41488
#
 
41489
# THREE ARGUMENTS
 
41490
# (e.g. AIX, HP-UX, Tru64)
 
41491
#
 
41492
 
 
41493
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
 
41494
 
 
41495
cat >conftest.$ac_ext <<_ACEOF
 
41496
/* confdefs.h.  */
 
41497
_ACEOF
 
41498
cat confdefs.h >>conftest.$ac_ext
 
41499
cat >>conftest.$ac_ext <<_ACEOF
 
41500
/* end confdefs.h.  */
 
41501
#include <netdb.h>
 
41502
int
 
41503
main ()
 
41504
{
 
41505
 
 
41506
            char *name = "www.gnu.org";
 
41507
            struct hostent ret;
 
41508
            struct hostent_data data;
 
41509
            (void)gethostbyname_r(name, &ret, &data) /* ; */
 
41510
 
 
41511
  ;
 
41512
  return 0;
 
41513
}
 
41514
_ACEOF
 
41515
rm -f conftest.$ac_objext
 
41516
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41517
  (eval $ac_compile) 2>conftest.er1
 
41518
  ac_status=$?
 
41519
  grep -v '^ *+' conftest.er1 >conftest.err
 
41520
  rm -f conftest.er1
 
41521
  cat conftest.err >&5
 
41522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41523
  (exit $ac_status); } &&
 
41524
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41525
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41526
  (eval $ac_try) 2>&5
 
41527
  ac_status=$?
 
41528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41529
  (exit $ac_status); }; } &&
 
41530
         { ac_try='test -s conftest.$ac_objext'
 
41531
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41532
  (eval $ac_try) 2>&5
 
41533
  ac_status=$?
 
41534
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41535
  (exit $ac_status); }; }; then
 
41536
  ac_cv_func_which_gethostbyname_r=three
 
41537
else
 
41538
  echo "$as_me: failed program was:" >&5
 
41539
sed 's/^/| /' conftest.$ac_ext >&5
 
41540
 
 
41541
fi
 
41542
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41543
 
 
41544
fi
 
41545
 
 
41546
################################################################
 
41547
 
 
41548
 
 
41549
fi
 
41550
 
 
41551
case "$ac_cv_func_which_gethostbyname_r" in
 
41552
    three)
 
41553
    echo "$as_me:$LINENO: result: three" >&5
 
41554
echo "${ECHO_T}three" >&6
 
41555
    cat >>confdefs.h <<\_ACEOF
 
41556
#define HAVE_FUNC_GETHOSTBYNAME_R_3 1
 
41557
_ACEOF
 
41558
 
 
41559
    ;;
 
41560
 
 
41561
    five)
 
41562
    echo "$as_me:$LINENO: result: five" >&5
 
41563
echo "${ECHO_T}five" >&6
 
41564
    cat >>confdefs.h <<\_ACEOF
 
41565
#define HAVE_FUNC_GETHOSTBYNAME_R_5 1
 
41566
_ACEOF
 
41567
 
 
41568
    ;;
 
41569
 
 
41570
    six)
 
41571
    echo "$as_me:$LINENO: result: six" >&5
 
41572
echo "${ECHO_T}six" >&6
 
41573
    cat >>confdefs.h <<\_ACEOF
 
41574
#define HAVE_FUNC_GETHOSTBYNAME_R_6 1
 
41575
_ACEOF
 
41576
 
 
41577
    ;;
 
41578
 
 
41579
    no)
 
41580
    echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
 
41581
echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
 
41582
    ;;
 
41583
 
 
41584
    unknown)
 
41585
    echo "$as_me:$LINENO: result: can't tell" >&5
 
41586
echo "${ECHO_T}can't tell" >&6
 
41587
    ;;
 
41588
 
 
41589
    *)
 
41590
    { { echo "$as_me:$LINENO: error: internal error" >&5
 
41591
echo "$as_me: error: internal error" >&2;}
 
41592
   { (exit 1); exit 1; }; }
 
41593
    ;;
 
41594
esac
 
41595
 
 
41596
ac_ext=c
 
41597
ac_cpp='$CPP $CPPFLAGS'
 
41598
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
41599
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
41600
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
41601
 
 
41602
 
 
41603
 
 
41604
      if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
 
41605
              "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
 
41606
          echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
41607
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
41608
if test "${ac_cv_func_gethostbyname+set}" = set; then
 
41609
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41610
else
 
41611
  cat >conftest.$ac_ext <<_ACEOF
 
41612
/* confdefs.h.  */
 
41613
_ACEOF
 
41614
cat confdefs.h >>conftest.$ac_ext
 
41615
cat >>conftest.$ac_ext <<_ACEOF
 
41616
/* end confdefs.h.  */
 
41617
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
41618
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
41619
#define gethostbyname innocuous_gethostbyname
 
41620
 
 
41621
/* System header to define __stub macros and hopefully few prototypes,
 
41622
    which can conflict with char gethostbyname (); below.
 
41623
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
41624
    <limits.h> exists even on freestanding compilers.  */
 
41625
 
 
41626
#ifdef __STDC__
 
41627
# include <limits.h>
 
41628
#else
 
41629
# include <assert.h>
 
41630
#endif
 
41631
 
 
41632
#undef gethostbyname
 
41633
 
 
41634
/* Override any gcc2 internal prototype to avoid an error.  */
 
41635
#ifdef __cplusplus
 
41636
extern "C"
 
41637
{
 
41638
#endif
 
41639
/* We use char because int might match the return type of a gcc2
 
41640
   builtin and then its argument prototype would still apply.  */
 
41641
char gethostbyname ();
 
41642
/* The GNU C library defines this for functions which it implements
 
41643
    to always fail with ENOSYS.  Some functions are actually named
 
41644
    something starting with __ and the normal name is an alias.  */
 
41645
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
41646
choke me
 
41647
#else
 
41648
char (*f) () = gethostbyname;
 
41649
#endif
 
41650
#ifdef __cplusplus
 
41651
}
 
41652
#endif
 
41653
 
 
41654
int
 
41655
main ()
 
41656
{
 
41657
return f != gethostbyname;
 
41658
  ;
 
41659
  return 0;
 
41660
}
 
41661
_ACEOF
 
41662
rm -f conftest.$ac_objext conftest$ac_exeext
 
41663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
41664
  (eval $ac_link) 2>conftest.er1
 
41665
  ac_status=$?
 
41666
  grep -v '^ *+' conftest.er1 >conftest.err
 
41667
  rm -f conftest.er1
 
41668
  cat conftest.err >&5
 
41669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41670
  (exit $ac_status); } &&
 
41671
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41672
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41673
  (eval $ac_try) 2>&5
 
41674
  ac_status=$?
 
41675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41676
  (exit $ac_status); }; } &&
 
41677
         { ac_try='test -s conftest$ac_exeext'
 
41678
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41679
  (eval $ac_try) 2>&5
 
41680
  ac_status=$?
 
41681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41682
  (exit $ac_status); }; }; then
 
41683
  ac_cv_func_gethostbyname=yes
 
41684
else
 
41685
  echo "$as_me: failed program was:" >&5
 
41686
sed 's/^/| /' conftest.$ac_ext >&5
 
41687
 
 
41688
ac_cv_func_gethostbyname=no
 
41689
fi
 
41690
rm -f conftest.err conftest.$ac_objext \
 
41691
      conftest$ac_exeext conftest.$ac_ext
 
41692
fi
 
41693
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
41694
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
41695
if test $ac_cv_func_gethostbyname = yes; then
 
41696
   cat >>confdefs.h <<\_ACEOF
 
41697
#define HAVE_GETHOSTBYNAME 1
 
41698
_ACEOF
 
41699
 
 
41700
fi
 
41701
 
 
41702
      fi
 
41703
 
 
41704
echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
 
41705
echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
 
41706
if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
 
41707
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41708
else
 
41709
 
 
41710
                ac_ext=cc
 
41711
ac_cpp='$CXXCPP $CPPFLAGS'
 
41712
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
41713
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
41714
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
41715
 
 
41716
 
 
41717
        cat >conftest.$ac_ext <<_ACEOF
 
41718
/* confdefs.h.  */
 
41719
_ACEOF
 
41720
cat confdefs.h >>conftest.$ac_ext
 
41721
cat >>conftest.$ac_ext <<_ACEOF
 
41722
/* end confdefs.h.  */
 
41723
#include <netdb.h>
 
41724
int
 
41725
main ()
 
41726
{
 
41727
 
 
41728
                char *name;
 
41729
                char *proto;
 
41730
                struct servent *se, *res;
 
41731
                char buffer[2048];
 
41732
                int buflen = 2048;
 
41733
                (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
 
41734
 
 
41735
  ;
 
41736
  return 0;
 
41737
}
 
41738
_ACEOF
 
41739
rm -f conftest.$ac_objext
 
41740
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41741
  (eval $ac_compile) 2>conftest.er1
 
41742
  ac_status=$?
 
41743
  grep -v '^ *+' conftest.er1 >conftest.err
 
41744
  rm -f conftest.er1
 
41745
  cat conftest.err >&5
 
41746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41747
  (exit $ac_status); } &&
 
41748
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
41749
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41750
  (eval $ac_try) 2>&5
 
41751
  ac_status=$?
 
41752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41753
  (exit $ac_status); }; } &&
 
41754
         { ac_try='test -s conftest.$ac_objext'
 
41755
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41756
  (eval $ac_try) 2>&5
 
41757
  ac_status=$?
 
41758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41759
  (exit $ac_status); }; }; then
 
41760
  ac_cv_func_which_getservbyname_r=six
 
41761
else
 
41762
  echo "$as_me: failed program was:" >&5
 
41763
sed 's/^/| /' conftest.$ac_ext >&5
 
41764
 
 
41765
 
 
41766
                cat >conftest.$ac_ext <<_ACEOF
 
41767
/* confdefs.h.  */
 
41768
_ACEOF
 
41769
cat confdefs.h >>conftest.$ac_ext
 
41770
cat >>conftest.$ac_ext <<_ACEOF
 
41771
/* end confdefs.h.  */
 
41772
#include <netdb.h>
 
41773
int
 
41774
main ()
 
41775
{
 
41776
 
 
41777
                        char *name;
 
41778
                        char *proto;
 
41779
                        struct servent *se;
 
41780
                        char buffer[2048];
 
41781
                        int buflen = 2048;
 
41782
                        (void) getservbyname_r(name, proto, se, buffer, buflen)
 
41783
 
 
41784
  ;
 
41785
  return 0;
 
41786
}
 
41787
_ACEOF
 
41788
rm -f conftest.$ac_objext
 
41789
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41790
  (eval $ac_compile) 2>conftest.er1
 
41791
  ac_status=$?
 
41792
  grep -v '^ *+' conftest.er1 >conftest.err
 
41793
  rm -f conftest.er1
 
41794
  cat conftest.err >&5
 
41795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41796
  (exit $ac_status); } &&
 
41797
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
41798
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41799
  (eval $ac_try) 2>&5
 
41800
  ac_status=$?
 
41801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41802
  (exit $ac_status); }; } &&
 
41803
         { ac_try='test -s conftest.$ac_objext'
 
41804
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41805
  (eval $ac_try) 2>&5
 
41806
  ac_status=$?
 
41807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41808
  (exit $ac_status); }; }; then
 
41809
  ac_cv_func_which_getservbyname_r=five
 
41810
else
 
41811
  echo "$as_me: failed program was:" >&5
 
41812
sed 's/^/| /' conftest.$ac_ext >&5
 
41813
 
 
41814
 
 
41815
                        cat >conftest.$ac_ext <<_ACEOF
 
41816
/* confdefs.h.  */
 
41817
_ACEOF
 
41818
cat confdefs.h >>conftest.$ac_ext
 
41819
cat >>conftest.$ac_ext <<_ACEOF
 
41820
/* end confdefs.h.  */
 
41821
#include <netdb.h>
 
41822
int
 
41823
main ()
 
41824
{
 
41825
 
 
41826
                                char *name;
 
41827
                                char *proto;
 
41828
                                struct servent *se;
 
41829
                                struct servent_data data;
 
41830
                                (void) getservbyname_r(name, proto, se, &data);
 
41831
 
 
41832
  ;
 
41833
  return 0;
 
41834
}
 
41835
_ACEOF
 
41836
rm -f conftest.$ac_objext
 
41837
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
41838
  (eval $ac_compile) 2>conftest.er1
 
41839
  ac_status=$?
 
41840
  grep -v '^ *+' conftest.er1 >conftest.err
 
41841
  rm -f conftest.er1
 
41842
  cat conftest.err >&5
 
41843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41844
  (exit $ac_status); } &&
 
41845
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
41846
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41847
  (eval $ac_try) 2>&5
 
41848
  ac_status=$?
 
41849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41850
  (exit $ac_status); }; } &&
 
41851
         { ac_try='test -s conftest.$ac_objext'
 
41852
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41853
  (eval $ac_try) 2>&5
 
41854
  ac_status=$?
 
41855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41856
  (exit $ac_status); }; }; then
 
41857
  ac_cv_func_which_getservbyname_r=four
 
41858
else
 
41859
  echo "$as_me: failed program was:" >&5
 
41860
sed 's/^/| /' conftest.$ac_ext >&5
 
41861
 
 
41862
ac_cv_func_which_getservbyname_r=no
 
41863
 
 
41864
fi
 
41865
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41866
 
 
41867
 
 
41868
fi
 
41869
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41870
 
 
41871
 
 
41872
fi
 
41873
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
41874
        ac_ext=c
 
41875
ac_cpp='$CPP $CPPFLAGS'
 
41876
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
41877
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
41878
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
41879
 
 
41880
 
 
41881
 
 
41882
fi
 
41883
echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
 
41884
echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
 
41885
 
 
41886
if test $ac_cv_func_which_getservbyname_r = six; then
 
41887
  cat >>confdefs.h <<\_ACEOF
 
41888
#define HAVE_FUNC_GETSERVBYNAME_R_6 1
 
41889
_ACEOF
 
41890
 
 
41891
elif test $ac_cv_func_which_getservbyname_r = five; then
 
41892
  cat >>confdefs.h <<\_ACEOF
 
41893
#define HAVE_FUNC_GETSERVBYNAME_R_5 1
 
41894
_ACEOF
 
41895
 
 
41896
elif test $ac_cv_func_which_getservbyname_r = four; then
 
41897
  cat >>confdefs.h <<\_ACEOF
 
41898
#define HAVE_FUNC_GETSERVBYNAME_R_4 1
 
41899
_ACEOF
 
41900
 
 
41901
fi
 
41902
 
 
41903
 
 
41904
      if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
 
41905
              "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
 
41906
 
 
41907
for ac_func in getservbyname
 
41908
do
 
41909
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
41910
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
41911
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
41912
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
41913
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
41914
else
 
41915
  cat >conftest.$ac_ext <<_ACEOF
 
41916
/* confdefs.h.  */
 
41917
_ACEOF
 
41918
cat confdefs.h >>conftest.$ac_ext
 
41919
cat >>conftest.$ac_ext <<_ACEOF
 
41920
/* end confdefs.h.  */
 
41921
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
41922
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
41923
#define $ac_func innocuous_$ac_func
 
41924
 
 
41925
/* System header to define __stub macros and hopefully few prototypes,
 
41926
    which can conflict with char $ac_func (); below.
 
41927
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
41928
    <limits.h> exists even on freestanding compilers.  */
 
41929
 
 
41930
#ifdef __STDC__
 
41931
# include <limits.h>
 
41932
#else
 
41933
# include <assert.h>
 
41934
#endif
 
41935
 
 
41936
#undef $ac_func
 
41937
 
 
41938
/* Override any gcc2 internal prototype to avoid an error.  */
 
41939
#ifdef __cplusplus
 
41940
extern "C"
 
41941
{
 
41942
#endif
 
41943
/* We use char because int might match the return type of a gcc2
 
41944
   builtin and then its argument prototype would still apply.  */
 
41945
char $ac_func ();
 
41946
/* The GNU C library defines this for functions which it implements
 
41947
    to always fail with ENOSYS.  Some functions are actually named
 
41948
    something starting with __ and the normal name is an alias.  */
 
41949
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
41950
choke me
 
41951
#else
 
41952
char (*f) () = $ac_func;
 
41953
#endif
 
41954
#ifdef __cplusplus
 
41955
}
 
41956
#endif
 
41957
 
 
41958
int
 
41959
main ()
 
41960
{
 
41961
return f != $ac_func;
 
41962
  ;
 
41963
  return 0;
 
41964
}
 
41965
_ACEOF
 
41966
rm -f conftest.$ac_objext conftest$ac_exeext
 
41967
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
41968
  (eval $ac_link) 2>conftest.er1
 
41969
  ac_status=$?
 
41970
  grep -v '^ *+' conftest.er1 >conftest.err
 
41971
  rm -f conftest.er1
 
41972
  cat conftest.err >&5
 
41973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41974
  (exit $ac_status); } &&
 
41975
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
41976
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41977
  (eval $ac_try) 2>&5
 
41978
  ac_status=$?
 
41979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41980
  (exit $ac_status); }; } &&
 
41981
         { ac_try='test -s conftest$ac_exeext'
 
41982
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
41983
  (eval $ac_try) 2>&5
 
41984
  ac_status=$?
 
41985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
41986
  (exit $ac_status); }; }; then
 
41987
  eval "$as_ac_var=yes"
 
41988
else
 
41989
  echo "$as_me: failed program was:" >&5
 
41990
sed 's/^/| /' conftest.$ac_ext >&5
 
41991
 
 
41992
eval "$as_ac_var=no"
 
41993
fi
 
41994
rm -f conftest.err conftest.$ac_objext \
 
41995
      conftest$ac_exeext conftest.$ac_ext
 
41996
fi
 
41997
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
41998
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
41999
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
42000
  cat >>confdefs.h <<_ACEOF
 
42001
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
42002
_ACEOF
 
42003
  cat >>confdefs.h <<\_ACEOF
 
42004
#define HAVE_GETSERVBYNAME 1
 
42005
_ACEOF
 
42006
 
 
42007
fi
 
42008
done
 
42009
 
 
42010
      fi
 
42011
 
 
42012
if test "$wxUSE_THREADS" = "yes"; then
 
42013
  cat >>confdefs.h <<\_ACEOF
 
42014
#define wxUSE_THREADS 1
 
42015
_ACEOF
 
42016
 
 
42017
 
 
42018
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
 
42019
else
 
42020
      if test "$wx_cv_func_strtok_r" = "yes"; then
 
42021
    echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
 
42022
echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
 
42023
    if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
 
42024
        WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
 
42025
        echo "$as_me:$LINENO: result: yes" >&5
 
42026
echo "${ECHO_T}yes" >&6
 
42027
    else
 
42028
        echo "$as_me:$LINENO: result: no" >&5
 
42029
echo "${ECHO_T}no" >&6
 
42030
    fi
 
42031
  fi
 
42032
fi
 
42033
 
 
42034
if test "$WXGTK20" = 1 ; then
 
42035
  cat >>confdefs.h <<_ACEOF
 
42036
#define __WXGTK20__ $WXGTK20
 
42037
_ACEOF
 
42038
 
 
42039
  WXGTK12=1
 
42040
fi
 
42041
 
 
42042
if test "$WXGTK12" = 1 ; then
 
42043
  cat >>confdefs.h <<_ACEOF
 
42044
#define __WXGTK12__ $WXGTK12
 
42045
_ACEOF
 
42046
 
 
42047
fi
 
42048
 
 
42049
if test "$WXGTK127" = 1 ; then
 
42050
  cat >>confdefs.h <<_ACEOF
 
42051
#define __WXGTK127__ $WXGTK127
 
42052
_ACEOF
 
42053
 
 
42054
fi
 
42055
 
 
42056
if test "$WXGPE" = 1 ; then
 
42057
  cat >>confdefs.h <<_ACEOF
 
42058
#define __WXGPE__ $WXGPE
 
42059
_ACEOF
 
42060
 
 
42061
fi
 
42062
 
 
42063
DEBUG_CFLAGS=
 
42064
if test "$wxUSE_DEBUG_INFO" = "yes" ; then
 
42065
    DEBUG_CFLAGS="-g"
 
42066
    wxUSE_OPTIMISE=no
 
42067
fi
 
42068
 
 
42069
if test "$wxUSE_DEBUG_GDB" = "yes" ; then
 
42070
    wxUSE_DEBUG_INFO=yes
 
42071
    if test "$GCC" = yes; then
 
42072
        DEBUG_CFLAGS="-ggdb"
 
42073
    fi
 
42074
fi
 
42075
 
 
42076
if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
 
42077
    cat >>confdefs.h <<\_ACEOF
 
42078
#define WXDEBUG 1
 
42079
_ACEOF
 
42080
 
 
42081
    WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
 
42082
else
 
42083
    if test "$wxUSE_GTK" = 1 ; then
 
42084
        if test "x$wxGTK_VERSION" = "x1" ; then
 
42085
            CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
 
42086
        fi
 
42087
    fi
 
42088
fi
 
42089
 
 
42090
if test "$wxUSE_MEM_TRACING" = "yes" ; then
 
42091
    cat >>confdefs.h <<\_ACEOF
 
42092
#define wxUSE_MEMORY_TRACING 1
 
42093
_ACEOF
 
42094
 
 
42095
    cat >>confdefs.h <<\_ACEOF
 
42096
#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
 
42097
_ACEOF
 
42098
 
 
42099
    cat >>confdefs.h <<\_ACEOF
 
42100
#define wxUSE_DEBUG_NEW_ALWAYS 1
 
42101
_ACEOF
 
42102
 
 
42103
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
 
42104
fi
 
42105
 
 
42106
if test "$wxUSE_DMALLOC" = "yes" ; then
 
42107
    DMALLOC_LIBS="-ldmallocthcxx"
 
42108
fi
 
42109
 
 
42110
PROFILE_FLAGS=
 
42111
if test "$wxUSE_PROFILE" = "yes" ; then
 
42112
    PROFILE_FLAGS=" -pg"
 
42113
fi
 
42114
 
 
42115
if test "$GCC" = "yes" ; then
 
42116
    if test "$wxUSE_NO_RTTI" = "yes" ; then
 
42117
        WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
 
42118
    fi
 
42119
    if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
 
42120
        WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
 
42121
    fi
 
42122
    if test "$wxUSE_PERMISSIVE" = "yes" ; then
 
42123
        WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
 
42124
    fi
 
42125
 
 
42126
                                                case "${host}" in
 
42127
      powerpc*-*-aix* )
 
42128
        WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
 
42129
        ;;
 
42130
      *-hppa* )
 
42131
        WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
 
42132
        ;;
 
42133
    esac
 
42134
fi
 
42135
 
 
42136
OPTIMISE_CFLAGS=
 
42137
if test "$wxUSE_OPTIMISE" = "no" ; then
 
42138
    if test "$GCC" = yes ; then
 
42139
                        OPTIMISE_CFLAGS="-O0"
 
42140
    fi
 
42141
else
 
42142
    if test "$GCC" = yes ; then
 
42143
        case "${host}" in
 
42144
            *-pc-os2_emx | *-pc-os2-emx )
 
42145
                                                OPTIMISE_CFLAGS="-O2"
 
42146
            ;;
 
42147
            *)
 
42148
                                                                OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
 
42149
            ;;
 
42150
        esac
 
42151
    else
 
42152
        OPTIMISE_CFLAGS="-O"
 
42153
    fi
 
42154
fi
 
42155
 
 
42156
 
 
42157
if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
 
42158
    cat >>confdefs.h <<\_ACEOF
 
42159
#define WXWIN_COMPATIBILITY_2_4 1
 
42160
_ACEOF
 
42161
 
 
42162
 
 
42163
    WXWIN_COMPATIBILITY_2_6="yes"
 
42164
fi
 
42165
 
 
42166
if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
 
42167
    cat >>confdefs.h <<\_ACEOF
 
42168
#define WXWIN_COMPATIBILITY_2_6 1
 
42169
_ACEOF
 
42170
 
 
42171
fi
 
42172
 
 
42173
 
 
42174
if test "$wxUSE_GUI" = "yes"; then
 
42175
    cat >>confdefs.h <<\_ACEOF
 
42176
#define wxUSE_GUI 1
 
42177
_ACEOF
 
42178
 
 
42179
 
 
42180
                                            fi
 
42181
 
 
42182
 
 
42183
if test "$wxUSE_UNIX" = "yes"; then
 
42184
  cat >>confdefs.h <<\_ACEOF
 
42185
#define wxUSE_UNIX 1
 
42186
_ACEOF
 
42187
 
 
42188
fi
 
42189
 
 
42190
 
 
42191
if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
 
42192
 
 
42193
    HAVE_DL_FUNCS=0
 
42194
    HAVE_SHL_FUNCS=0
 
42195
    if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
 
42196
        if test "$USE_DOS" = 1; then
 
42197
            HAVE_DL_FUNCS=0
 
42198
        else
 
42199
 
 
42200
for ac_func in dlopen
 
42201
do
 
42202
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
42203
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
42204
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
42205
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
42206
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42207
else
 
42208
  cat >conftest.$ac_ext <<_ACEOF
 
42209
/* confdefs.h.  */
 
42210
_ACEOF
 
42211
cat confdefs.h >>conftest.$ac_ext
 
42212
cat >>conftest.$ac_ext <<_ACEOF
 
42213
/* end confdefs.h.  */
 
42214
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
42215
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
42216
#define $ac_func innocuous_$ac_func
 
42217
 
 
42218
/* System header to define __stub macros and hopefully few prototypes,
 
42219
    which can conflict with char $ac_func (); below.
 
42220
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
42221
    <limits.h> exists even on freestanding compilers.  */
 
42222
 
 
42223
#ifdef __STDC__
 
42224
# include <limits.h>
 
42225
#else
 
42226
# include <assert.h>
 
42227
#endif
 
42228
 
 
42229
#undef $ac_func
 
42230
 
 
42231
/* Override any gcc2 internal prototype to avoid an error.  */
 
42232
#ifdef __cplusplus
 
42233
extern "C"
 
42234
{
 
42235
#endif
 
42236
/* We use char because int might match the return type of a gcc2
 
42237
   builtin and then its argument prototype would still apply.  */
 
42238
char $ac_func ();
 
42239
/* The GNU C library defines this for functions which it implements
 
42240
    to always fail with ENOSYS.  Some functions are actually named
 
42241
    something starting with __ and the normal name is an alias.  */
 
42242
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
42243
choke me
 
42244
#else
 
42245
char (*f) () = $ac_func;
 
42246
#endif
 
42247
#ifdef __cplusplus
 
42248
}
 
42249
#endif
 
42250
 
 
42251
int
 
42252
main ()
 
42253
{
 
42254
return f != $ac_func;
 
42255
  ;
 
42256
  return 0;
 
42257
}
 
42258
_ACEOF
 
42259
rm -f conftest.$ac_objext conftest$ac_exeext
 
42260
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42261
  (eval $ac_link) 2>conftest.er1
 
42262
  ac_status=$?
 
42263
  grep -v '^ *+' conftest.er1 >conftest.err
 
42264
  rm -f conftest.er1
 
42265
  cat conftest.err >&5
 
42266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42267
  (exit $ac_status); } &&
 
42268
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42269
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42270
  (eval $ac_try) 2>&5
 
42271
  ac_status=$?
 
42272
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42273
  (exit $ac_status); }; } &&
 
42274
         { ac_try='test -s conftest$ac_exeext'
 
42275
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42276
  (eval $ac_try) 2>&5
 
42277
  ac_status=$?
 
42278
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42279
  (exit $ac_status); }; }; then
 
42280
  eval "$as_ac_var=yes"
 
42281
else
 
42282
  echo "$as_me: failed program was:" >&5
 
42283
sed 's/^/| /' conftest.$ac_ext >&5
 
42284
 
 
42285
eval "$as_ac_var=no"
 
42286
fi
 
42287
rm -f conftest.err conftest.$ac_objext \
 
42288
      conftest$ac_exeext conftest.$ac_ext
 
42289
fi
 
42290
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
42291
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
42292
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
42293
  cat >>confdefs.h <<_ACEOF
 
42294
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
42295
_ACEOF
 
42296
 
 
42297
                cat >>confdefs.h <<\_ACEOF
 
42298
#define HAVE_DLOPEN 1
 
42299
_ACEOF
 
42300
 
 
42301
                HAVE_DL_FUNCS=1
 
42302
 
 
42303
else
 
42304
 
 
42305
                echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
42306
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
42307
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
42308
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42309
else
 
42310
  ac_check_lib_save_LIBS=$LIBS
 
42311
LIBS="-ldl  $LIBS"
 
42312
cat >conftest.$ac_ext <<_ACEOF
 
42313
/* confdefs.h.  */
 
42314
_ACEOF
 
42315
cat confdefs.h >>conftest.$ac_ext
 
42316
cat >>conftest.$ac_ext <<_ACEOF
 
42317
/* end confdefs.h.  */
 
42318
 
 
42319
/* Override any gcc2 internal prototype to avoid an error.  */
 
42320
#ifdef __cplusplus
 
42321
extern "C"
 
42322
#endif
 
42323
/* We use char because int might match the return type of a gcc2
 
42324
   builtin and then its argument prototype would still apply.  */
 
42325
char dlopen ();
 
42326
int
 
42327
main ()
 
42328
{
 
42329
dlopen ();
 
42330
  ;
 
42331
  return 0;
 
42332
}
 
42333
_ACEOF
 
42334
rm -f conftest.$ac_objext conftest$ac_exeext
 
42335
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42336
  (eval $ac_link) 2>conftest.er1
 
42337
  ac_status=$?
 
42338
  grep -v '^ *+' conftest.er1 >conftest.err
 
42339
  rm -f conftest.er1
 
42340
  cat conftest.err >&5
 
42341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42342
  (exit $ac_status); } &&
 
42343
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42344
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42345
  (eval $ac_try) 2>&5
 
42346
  ac_status=$?
 
42347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42348
  (exit $ac_status); }; } &&
 
42349
         { ac_try='test -s conftest$ac_exeext'
 
42350
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42351
  (eval $ac_try) 2>&5
 
42352
  ac_status=$?
 
42353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42354
  (exit $ac_status); }; }; then
 
42355
  ac_cv_lib_dl_dlopen=yes
 
42356
else
 
42357
  echo "$as_me: failed program was:" >&5
 
42358
sed 's/^/| /' conftest.$ac_ext >&5
 
42359
 
 
42360
ac_cv_lib_dl_dlopen=no
 
42361
fi
 
42362
rm -f conftest.err conftest.$ac_objext \
 
42363
      conftest$ac_exeext conftest.$ac_ext
 
42364
LIBS=$ac_check_lib_save_LIBS
 
42365
fi
 
42366
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
42367
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
42368
if test $ac_cv_lib_dl_dlopen = yes; then
 
42369
 
 
42370
                                cat >>confdefs.h <<\_ACEOF
 
42371
#define HAVE_DLOPEN 1
 
42372
_ACEOF
 
42373
 
 
42374
                                HAVE_DL_FUNCS=1
 
42375
                                DL_LINK=" -ldl$DL_LINK"
 
42376
 
 
42377
else
 
42378
 
 
42379
 
 
42380
for ac_func in shl_load
 
42381
do
 
42382
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
42383
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
42384
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
42385
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
42386
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42387
else
 
42388
  cat >conftest.$ac_ext <<_ACEOF
 
42389
/* confdefs.h.  */
 
42390
_ACEOF
 
42391
cat confdefs.h >>conftest.$ac_ext
 
42392
cat >>conftest.$ac_ext <<_ACEOF
 
42393
/* end confdefs.h.  */
 
42394
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
42395
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
42396
#define $ac_func innocuous_$ac_func
 
42397
 
 
42398
/* System header to define __stub macros and hopefully few prototypes,
 
42399
    which can conflict with char $ac_func (); below.
 
42400
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
42401
    <limits.h> exists even on freestanding compilers.  */
 
42402
 
 
42403
#ifdef __STDC__
 
42404
# include <limits.h>
 
42405
#else
 
42406
# include <assert.h>
 
42407
#endif
 
42408
 
 
42409
#undef $ac_func
 
42410
 
 
42411
/* Override any gcc2 internal prototype to avoid an error.  */
 
42412
#ifdef __cplusplus
 
42413
extern "C"
 
42414
{
 
42415
#endif
 
42416
/* We use char because int might match the return type of a gcc2
 
42417
   builtin and then its argument prototype would still apply.  */
 
42418
char $ac_func ();
 
42419
/* The GNU C library defines this for functions which it implements
 
42420
    to always fail with ENOSYS.  Some functions are actually named
 
42421
    something starting with __ and the normal name is an alias.  */
 
42422
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
42423
choke me
 
42424
#else
 
42425
char (*f) () = $ac_func;
 
42426
#endif
 
42427
#ifdef __cplusplus
 
42428
}
 
42429
#endif
 
42430
 
 
42431
int
 
42432
main ()
 
42433
{
 
42434
return f != $ac_func;
 
42435
  ;
 
42436
  return 0;
 
42437
}
 
42438
_ACEOF
 
42439
rm -f conftest.$ac_objext conftest$ac_exeext
 
42440
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42441
  (eval $ac_link) 2>conftest.er1
 
42442
  ac_status=$?
 
42443
  grep -v '^ *+' conftest.er1 >conftest.err
 
42444
  rm -f conftest.er1
 
42445
  cat conftest.err >&5
 
42446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42447
  (exit $ac_status); } &&
 
42448
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42449
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42450
  (eval $ac_try) 2>&5
 
42451
  ac_status=$?
 
42452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42453
  (exit $ac_status); }; } &&
 
42454
         { ac_try='test -s conftest$ac_exeext'
 
42455
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42456
  (eval $ac_try) 2>&5
 
42457
  ac_status=$?
 
42458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42459
  (exit $ac_status); }; }; then
 
42460
  eval "$as_ac_var=yes"
 
42461
else
 
42462
  echo "$as_me: failed program was:" >&5
 
42463
sed 's/^/| /' conftest.$ac_ext >&5
 
42464
 
 
42465
eval "$as_ac_var=no"
 
42466
fi
 
42467
rm -f conftest.err conftest.$ac_objext \
 
42468
      conftest$ac_exeext conftest.$ac_ext
 
42469
fi
 
42470
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
42471
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
42472
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
42473
  cat >>confdefs.h <<_ACEOF
 
42474
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
42475
_ACEOF
 
42476
 
 
42477
                                                cat >>confdefs.h <<\_ACEOF
 
42478
#define HAVE_SHL_LOAD 1
 
42479
_ACEOF
 
42480
 
 
42481
                                                HAVE_SHL_FUNCS=1
 
42482
 
 
42483
else
 
42484
 
 
42485
                                                echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
 
42486
echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
 
42487
if test "${ac_cv_lib_shl_load_dld+set}" = set; then
 
42488
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42489
else
 
42490
  ac_check_lib_save_LIBS=$LIBS
 
42491
LIBS="-lshl_load  $LIBS"
 
42492
cat >conftest.$ac_ext <<_ACEOF
 
42493
/* confdefs.h.  */
 
42494
_ACEOF
 
42495
cat confdefs.h >>conftest.$ac_ext
 
42496
cat >>conftest.$ac_ext <<_ACEOF
 
42497
/* end confdefs.h.  */
 
42498
 
 
42499
/* Override any gcc2 internal prototype to avoid an error.  */
 
42500
#ifdef __cplusplus
 
42501
extern "C"
 
42502
#endif
 
42503
/* We use char because int might match the return type of a gcc2
 
42504
   builtin and then its argument prototype would still apply.  */
 
42505
char dld ();
 
42506
int
 
42507
main ()
 
42508
{
 
42509
dld ();
 
42510
  ;
 
42511
  return 0;
 
42512
}
 
42513
_ACEOF
 
42514
rm -f conftest.$ac_objext conftest$ac_exeext
 
42515
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42516
  (eval $ac_link) 2>conftest.er1
 
42517
  ac_status=$?
 
42518
  grep -v '^ *+' conftest.er1 >conftest.err
 
42519
  rm -f conftest.er1
 
42520
  cat conftest.err >&5
 
42521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42522
  (exit $ac_status); } &&
 
42523
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42524
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42525
  (eval $ac_try) 2>&5
 
42526
  ac_status=$?
 
42527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42528
  (exit $ac_status); }; } &&
 
42529
         { ac_try='test -s conftest$ac_exeext'
 
42530
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42531
  (eval $ac_try) 2>&5
 
42532
  ac_status=$?
 
42533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42534
  (exit $ac_status); }; }; then
 
42535
  ac_cv_lib_shl_load_dld=yes
 
42536
else
 
42537
  echo "$as_me: failed program was:" >&5
 
42538
sed 's/^/| /' conftest.$ac_ext >&5
 
42539
 
 
42540
ac_cv_lib_shl_load_dld=no
 
42541
fi
 
42542
rm -f conftest.err conftest.$ac_objext \
 
42543
      conftest$ac_exeext conftest.$ac_ext
 
42544
LIBS=$ac_check_lib_save_LIBS
 
42545
fi
 
42546
echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
 
42547
echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
 
42548
if test $ac_cv_lib_shl_load_dld = yes; then
 
42549
 
 
42550
                                                                HAVE_SHL_FUNCS=1
 
42551
                                                                DL_LINK=" -ldld$DL_LINK"
 
42552
 
 
42553
fi
 
42554
 
 
42555
 
 
42556
fi
 
42557
done
 
42558
 
 
42559
 
 
42560
fi
 
42561
 
 
42562
 
 
42563
fi
 
42564
done
 
42565
 
 
42566
 
 
42567
                        if test "$HAVE_DL_FUNCS" = 1; then
 
42568
 
 
42569
for ac_func in dlerror
 
42570
do
 
42571
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
42572
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
42573
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
42574
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
42575
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42576
else
 
42577
  cat >conftest.$ac_ext <<_ACEOF
 
42578
/* confdefs.h.  */
 
42579
_ACEOF
 
42580
cat confdefs.h >>conftest.$ac_ext
 
42581
cat >>conftest.$ac_ext <<_ACEOF
 
42582
/* end confdefs.h.  */
 
42583
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
42584
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
42585
#define $ac_func innocuous_$ac_func
 
42586
 
 
42587
/* System header to define __stub macros and hopefully few prototypes,
 
42588
    which can conflict with char $ac_func (); below.
 
42589
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
42590
    <limits.h> exists even on freestanding compilers.  */
 
42591
 
 
42592
#ifdef __STDC__
 
42593
# include <limits.h>
 
42594
#else
 
42595
# include <assert.h>
 
42596
#endif
 
42597
 
 
42598
#undef $ac_func
 
42599
 
 
42600
/* Override any gcc2 internal prototype to avoid an error.  */
 
42601
#ifdef __cplusplus
 
42602
extern "C"
 
42603
{
 
42604
#endif
 
42605
/* We use char because int might match the return type of a gcc2
 
42606
   builtin and then its argument prototype would still apply.  */
 
42607
char $ac_func ();
 
42608
/* The GNU C library defines this for functions which it implements
 
42609
    to always fail with ENOSYS.  Some functions are actually named
 
42610
    something starting with __ and the normal name is an alias.  */
 
42611
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
42612
choke me
 
42613
#else
 
42614
char (*f) () = $ac_func;
 
42615
#endif
 
42616
#ifdef __cplusplus
 
42617
}
 
42618
#endif
 
42619
 
 
42620
int
 
42621
main ()
 
42622
{
 
42623
return f != $ac_func;
 
42624
  ;
 
42625
  return 0;
 
42626
}
 
42627
_ACEOF
 
42628
rm -f conftest.$ac_objext conftest$ac_exeext
 
42629
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42630
  (eval $ac_link) 2>conftest.er1
 
42631
  ac_status=$?
 
42632
  grep -v '^ *+' conftest.er1 >conftest.err
 
42633
  rm -f conftest.er1
 
42634
  cat conftest.err >&5
 
42635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42636
  (exit $ac_status); } &&
 
42637
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42638
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42639
  (eval $ac_try) 2>&5
 
42640
  ac_status=$?
 
42641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42642
  (exit $ac_status); }; } &&
 
42643
         { ac_try='test -s conftest$ac_exeext'
 
42644
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42645
  (eval $ac_try) 2>&5
 
42646
  ac_status=$?
 
42647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42648
  (exit $ac_status); }; }; then
 
42649
  eval "$as_ac_var=yes"
 
42650
else
 
42651
  echo "$as_me: failed program was:" >&5
 
42652
sed 's/^/| /' conftest.$ac_ext >&5
 
42653
 
 
42654
eval "$as_ac_var=no"
 
42655
fi
 
42656
rm -f conftest.err conftest.$ac_objext \
 
42657
      conftest$ac_exeext conftest.$ac_ext
 
42658
fi
 
42659
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
42660
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
42661
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
42662
  cat >>confdefs.h <<_ACEOF
 
42663
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
42664
_ACEOF
 
42665
 cat >>confdefs.h <<\_ACEOF
 
42666
#define HAVE_DLERROR 1
 
42667
_ACEOF
 
42668
 
 
42669
else
 
42670
 
 
42671
                        echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
 
42672
echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
 
42673
if test "${ac_cv_lib_dl_dlerror+set}" = set; then
 
42674
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42675
else
 
42676
  ac_check_lib_save_LIBS=$LIBS
 
42677
LIBS="-ldl  $LIBS"
 
42678
cat >conftest.$ac_ext <<_ACEOF
 
42679
/* confdefs.h.  */
 
42680
_ACEOF
 
42681
cat confdefs.h >>conftest.$ac_ext
 
42682
cat >>conftest.$ac_ext <<_ACEOF
 
42683
/* end confdefs.h.  */
 
42684
 
 
42685
/* Override any gcc2 internal prototype to avoid an error.  */
 
42686
#ifdef __cplusplus
 
42687
extern "C"
 
42688
#endif
 
42689
/* We use char because int might match the return type of a gcc2
 
42690
   builtin and then its argument prototype would still apply.  */
 
42691
char dlerror ();
 
42692
int
 
42693
main ()
 
42694
{
 
42695
dlerror ();
 
42696
  ;
 
42697
  return 0;
 
42698
}
 
42699
_ACEOF
 
42700
rm -f conftest.$ac_objext conftest$ac_exeext
 
42701
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42702
  (eval $ac_link) 2>conftest.er1
 
42703
  ac_status=$?
 
42704
  grep -v '^ *+' conftest.er1 >conftest.err
 
42705
  rm -f conftest.er1
 
42706
  cat conftest.err >&5
 
42707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42708
  (exit $ac_status); } &&
 
42709
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42710
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42711
  (eval $ac_try) 2>&5
 
42712
  ac_status=$?
 
42713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42714
  (exit $ac_status); }; } &&
 
42715
         { ac_try='test -s conftest$ac_exeext'
 
42716
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42717
  (eval $ac_try) 2>&5
 
42718
  ac_status=$?
 
42719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42720
  (exit $ac_status); }; }; then
 
42721
  ac_cv_lib_dl_dlerror=yes
 
42722
else
 
42723
  echo "$as_me: failed program was:" >&5
 
42724
sed 's/^/| /' conftest.$ac_ext >&5
 
42725
 
 
42726
ac_cv_lib_dl_dlerror=no
 
42727
fi
 
42728
rm -f conftest.err conftest.$ac_objext \
 
42729
      conftest$ac_exeext conftest.$ac_ext
 
42730
LIBS=$ac_check_lib_save_LIBS
 
42731
fi
 
42732
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
 
42733
echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
 
42734
if test $ac_cv_lib_dl_dlerror = yes; then
 
42735
  cat >>confdefs.h <<\_ACEOF
 
42736
#define HAVE_DLERROR 1
 
42737
_ACEOF
 
42738
 
 
42739
fi
 
42740
 
 
42741
 
 
42742
 
 
42743
fi
 
42744
done
 
42745
 
 
42746
            fi
 
42747
        fi
 
42748
 
 
42749
                if test "$USE_DARWIN" = 1; then
 
42750
                        HAVE_DL_FUNCS=1
 
42751
        fi
 
42752
 
 
42753
        if test "$HAVE_DL_FUNCS" = 0; then
 
42754
            if test "$HAVE_SHL_FUNCS" = 0; then
 
42755
              if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
 
42756
                  { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
 
42757
echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
 
42758
                  wxUSE_DYNAMIC_LOADER=no
 
42759
                  wxUSE_DYNLIB_CLASS=no
 
42760
              else
 
42761
                  { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
 
42762
echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
 
42763
              fi
 
42764
            fi
 
42765
        fi
 
42766
    fi
 
42767
fi
 
42768
 
 
42769
if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
 
42770
    cat >>confdefs.h <<\_ACEOF
 
42771
#define wxUSE_DYNAMIC_LOADER 1
 
42772
_ACEOF
 
42773
 
 
42774
fi
 
42775
if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
 
42776
    cat >>confdefs.h <<\_ACEOF
 
42777
#define wxUSE_DYNLIB_CLASS 1
 
42778
_ACEOF
 
42779
 
 
42780
fi
 
42781
 
 
42782
 
 
42783
 
 
42784
if test "$wxUSE_PLUGINS" = "yes" ; then
 
42785
    if test "$wxUSE_SHARED" = "no" ; then
 
42786
        { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
 
42787
echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
 
42788
        wxUSE_PLUGINS=no
 
42789
    fi
 
42790
    if test "$wxUSE_MONOLITHIC" = "yes" ; then
 
42791
        { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
 
42792
echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
 
42793
        wxUSE_PLUGINS=no
 
42794
    fi
 
42795
    if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
 
42796
        { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
 
42797
echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
 
42798
        wxUSE_PLUGINS=no
 
42799
    fi
 
42800
    if test "$wxUSE_PLUGINS" = "yes" ; then
 
42801
        cat >>confdefs.h <<\_ACEOF
 
42802
#define wxUSE_PLUGINS 1
 
42803
_ACEOF
 
42804
 
 
42805
    fi
 
42806
fi
 
42807
 
 
42808
 
 
42809
if test "$wxUSE_STL" = "yes"; then
 
42810
  cat >>confdefs.h <<\_ACEOF
 
42811
#define wxUSE_STL 1
 
42812
_ACEOF
 
42813
 
 
42814
fi
 
42815
 
 
42816
if test "$wxUSE_APPLE_IEEE" = "yes"; then
 
42817
  cat >>confdefs.h <<\_ACEOF
 
42818
#define wxUSE_APPLE_IEEE 1
 
42819
_ACEOF
 
42820
 
 
42821
fi
 
42822
 
 
42823
if test "$wxUSE_TIMER" = "yes"; then
 
42824
  cat >>confdefs.h <<\_ACEOF
 
42825
#define wxUSE_TIMER 1
 
42826
_ACEOF
 
42827
 
 
42828
fi
 
42829
 
 
42830
if test "$USE_UNIX" = "1" ; then
 
42831
        if test "$wxUSE_MGL" != 1; then
 
42832
                                echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
 
42833
echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
 
42834
if test "${ac_cv_header_sys_soundcard+set}" = set; then
 
42835
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
42836
else
 
42837
 
 
42838
            cat >conftest.$ac_ext <<_ACEOF
 
42839
/* confdefs.h.  */
 
42840
_ACEOF
 
42841
cat confdefs.h >>conftest.$ac_ext
 
42842
cat >>conftest.$ac_ext <<_ACEOF
 
42843
/* end confdefs.h.  */
 
42844
 
 
42845
                    #include <sys/ioctl.h>
 
42846
                    #include <sys/soundcard.h>
 
42847
 
 
42848
int
 
42849
main ()
 
42850
{
 
42851
 
 
42852
                    ioctl(0, SNDCTL_DSP_SPEED, 0);
 
42853
 
 
42854
  ;
 
42855
  return 0;
 
42856
}
 
42857
_ACEOF
 
42858
rm -f conftest.$ac_objext conftest$ac_exeext
 
42859
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42860
  (eval $ac_link) 2>conftest.er1
 
42861
  ac_status=$?
 
42862
  grep -v '^ *+' conftest.er1 >conftest.err
 
42863
  rm -f conftest.er1
 
42864
  cat conftest.err >&5
 
42865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42866
  (exit $ac_status); } &&
 
42867
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42868
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42869
  (eval $ac_try) 2>&5
 
42870
  ac_status=$?
 
42871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42872
  (exit $ac_status); }; } &&
 
42873
         { ac_try='test -s conftest$ac_exeext'
 
42874
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42875
  (eval $ac_try) 2>&5
 
42876
  ac_status=$?
 
42877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42878
  (exit $ac_status); }; }; then
 
42879
  ac_cv_header_sys_soundcard=yes
 
42880
else
 
42881
  echo "$as_me: failed program was:" >&5
 
42882
sed 's/^/| /' conftest.$ac_ext >&5
 
42883
 
 
42884
 
 
42885
                    saveLibs="$LIBS"
 
42886
                    LIBS="$saveLibs -lossaudio"
 
42887
                    cat >conftest.$ac_ext <<_ACEOF
 
42888
/* confdefs.h.  */
 
42889
_ACEOF
 
42890
cat confdefs.h >>conftest.$ac_ext
 
42891
cat >>conftest.$ac_ext <<_ACEOF
 
42892
/* end confdefs.h.  */
 
42893
 
 
42894
                            #include <sys/ioctl.h>
 
42895
                            #include <sys/soundcard.h>
 
42896
 
 
42897
int
 
42898
main ()
 
42899
{
 
42900
 
 
42901
                            ioctl(0, SNDCTL_DSP_SPEED, 0);
 
42902
 
 
42903
  ;
 
42904
  return 0;
 
42905
}
 
42906
_ACEOF
 
42907
rm -f conftest.$ac_objext conftest$ac_exeext
 
42908
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
42909
  (eval $ac_link) 2>conftest.er1
 
42910
  ac_status=$?
 
42911
  grep -v '^ *+' conftest.er1 >conftest.err
 
42912
  rm -f conftest.er1
 
42913
  cat conftest.err >&5
 
42914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42915
  (exit $ac_status); } &&
 
42916
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
42917
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42918
  (eval $ac_try) 2>&5
 
42919
  ac_status=$?
 
42920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42921
  (exit $ac_status); }; } &&
 
42922
         { ac_try='test -s conftest$ac_exeext'
 
42923
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
42924
  (eval $ac_try) 2>&5
 
42925
  ac_status=$?
 
42926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
42927
  (exit $ac_status); }; }; then
 
42928
  ac_cv_header_sys_soundcard=yes
 
42929
else
 
42930
  echo "$as_me: failed program was:" >&5
 
42931
sed 's/^/| /' conftest.$ac_ext >&5
 
42932
 
 
42933
 
 
42934
                            LIBS="$saveLibs"
 
42935
                            ac_cv_header_sys_soundcard=no
 
42936
 
 
42937
 
 
42938
fi
 
42939
rm -f conftest.err conftest.$ac_objext \
 
42940
      conftest$ac_exeext conftest.$ac_ext
 
42941
 
 
42942
 
 
42943
fi
 
42944
rm -f conftest.err conftest.$ac_objext \
 
42945
      conftest$ac_exeext conftest.$ac_ext
 
42946
 
 
42947
fi
 
42948
echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
 
42949
echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
 
42950
    fi
 
42951
 
 
42952
    if test "$ac_cv_header_sys_soundcard" = "yes"; then
 
42953
        cat >>confdefs.h <<\_ACEOF
 
42954
#define HAVE_SYS_SOUNDCARD_H 1
 
42955
_ACEOF
 
42956
 
 
42957
    else
 
42958
        DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
 
42959
    fi
 
42960
fi
 
42961
 
 
42962
WITH_PLUGIN_SDL=0
 
42963
if test "$wxUSE_SOUND" = "yes"; then
 
42964
  if test "$USE_UNIX" = "1" ; then
 
42965
    if test "$wxUSE_LIBSDL" != "no"; then
 
42966
 
 
42967
# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
 
42968
if test "${with_sdl_prefix+set}" = set; then
 
42969
  withval="$with_sdl_prefix"
 
42970
  sdl_prefix="$withval"
 
42971
else
 
42972
  sdl_prefix=""
 
42973
fi;
 
42974
 
 
42975
# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
 
42976
if test "${with_sdl_exec_prefix+set}" = set; then
 
42977
  withval="$with_sdl_exec_prefix"
 
42978
  sdl_exec_prefix="$withval"
 
42979
else
 
42980
  sdl_exec_prefix=""
 
42981
fi;
 
42982
# Check whether --enable-sdltest or --disable-sdltest was given.
 
42983
if test "${enable_sdltest+set}" = set; then
 
42984
  enableval="$enable_sdltest"
 
42985
 
 
42986
else
 
42987
  enable_sdltest=yes
 
42988
fi;
 
42989
 
 
42990
  if test x$sdl_exec_prefix != x ; then
 
42991
    sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
 
42992
    if test x${SDL_CONFIG+set} != xset ; then
 
42993
      SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
 
42994
    fi
 
42995
  fi
 
42996
  if test x$sdl_prefix != x ; then
 
42997
    sdl_args="$sdl_args --prefix=$sdl_prefix"
 
42998
    if test x${SDL_CONFIG+set} != xset ; then
 
42999
      SDL_CONFIG=$sdl_prefix/bin/sdl-config
 
43000
    fi
 
43001
  fi
 
43002
 
 
43003
  if test "x$prefix" != xNONE; then
 
43004
    PATH="$prefix/bin:$prefix/usr/bin:$PATH"
 
43005
  fi
 
43006
  # Extract the first word of "sdl-config", so it can be a program name with args.
 
43007
set dummy sdl-config; ac_word=$2
 
43008
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
43009
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
43010
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
 
43011
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
43012
else
 
43013
  case $SDL_CONFIG in
 
43014
  [\\/]* | ?:[\\/]*)
 
43015
  ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
 
43016
  ;;
 
43017
  *)
 
43018
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
43019
for as_dir in $PATH
 
43020
do
 
43021
  IFS=$as_save_IFS
 
43022
  test -z "$as_dir" && as_dir=.
 
43023
  for ac_exec_ext in '' $ac_executable_extensions; do
 
43024
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
43025
    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
43026
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
43027
    break 2
 
43028
  fi
 
43029
done
 
43030
done
 
43031
 
 
43032
  test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
 
43033
  ;;
 
43034
esac
 
43035
fi
 
43036
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
 
43037
 
 
43038
if test -n "$SDL_CONFIG"; then
 
43039
  echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
 
43040
echo "${ECHO_T}$SDL_CONFIG" >&6
 
43041
else
 
43042
  echo "$as_me:$LINENO: result: no" >&5
 
43043
echo "${ECHO_T}no" >&6
 
43044
fi
 
43045
 
 
43046
  min_sdl_version=1.2.0
 
43047
  echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
 
43048
echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
 
43049
  no_sdl=""
 
43050
  if test "$SDL_CONFIG" = "no" ; then
 
43051
    no_sdl=yes
 
43052
  else
 
43053
    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
 
43054
    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
 
43055
 
 
43056
    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
 
43057
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
43058
    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
 
43059
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
43060
    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
 
43061
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
43062
    if test "x$enable_sdltest" = "xyes" ; then
 
43063
      ac_save_CFLAGS="$CFLAGS"
 
43064
      ac_save_CXXFLAGS="$CXXFLAGS"
 
43065
      ac_save_LIBS="$LIBS"
 
43066
      CFLAGS="$CFLAGS $SDL_CFLAGS"
 
43067
      CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
 
43068
      LIBS="$LIBS $SDL_LIBS"
 
43069
      rm -f conf.sdltest
 
43070
      if test "$cross_compiling" = yes; then
 
43071
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
43072
else
 
43073
  cat >conftest.$ac_ext <<_ACEOF
 
43074
/* confdefs.h.  */
 
43075
_ACEOF
 
43076
cat confdefs.h >>conftest.$ac_ext
 
43077
cat >>conftest.$ac_ext <<_ACEOF
 
43078
/* end confdefs.h.  */
 
43079
 
 
43080
#include <stdio.h>
 
43081
#include <stdlib.h>
 
43082
#include <string.h>
 
43083
#include "SDL.h"
 
43084
 
 
43085
char*
 
43086
my_strdup (char *str)
 
43087
{
 
43088
  char *new_str;
 
43089
 
 
43090
  if (str)
 
43091
    {
 
43092
      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
 
43093
      strcpy (new_str, str);
 
43094
    }
 
43095
  else
 
43096
    new_str = NULL;
 
43097
 
 
43098
  return new_str;
 
43099
}
 
43100
 
 
43101
int main (int argc, char *argv[])
 
43102
{
 
43103
  int major, minor, micro;
 
43104
  char *tmp_version;
 
43105
 
 
43106
  /* This hangs on some systems (?)
 
43107
  system ("touch conf.sdltest");
 
43108
  */
 
43109
  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
 
43110
 
 
43111
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
43112
  tmp_version = my_strdup("$min_sdl_version");
 
43113
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
43114
     printf("%s, bad version string\n", "$min_sdl_version");
 
43115
     exit(1);
 
43116
   }
 
43117
 
 
43118
   if (($sdl_major_version > major) ||
 
43119
      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
 
43120
      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
 
43121
    {
 
43122
      return 0;
 
43123
    }
 
43124
  else
 
43125
    {
 
43126
      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
 
43127
      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
 
43128
      printf("*** best to upgrade to the required version.\n");
 
43129
      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
 
43130
      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
 
43131
      printf("*** config.cache before re-running configure\n");
 
43132
      return 1;
 
43133
    }
 
43134
}
 
43135
 
 
43136
 
 
43137
_ACEOF
 
43138
rm -f conftest$ac_exeext
 
43139
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
43140
  (eval $ac_link) 2>&5
 
43141
  ac_status=$?
 
43142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43143
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
43144
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
43145
  (eval $ac_try) 2>&5
 
43146
  ac_status=$?
 
43147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43148
  (exit $ac_status); }; }; then
 
43149
  :
 
43150
else
 
43151
  echo "$as_me: program exited with status $ac_status" >&5
 
43152
echo "$as_me: failed program was:" >&5
 
43153
sed 's/^/| /' conftest.$ac_ext >&5
 
43154
 
 
43155
( exit $ac_status )
 
43156
no_sdl=yes
 
43157
fi
 
43158
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
43159
fi
 
43160
       CFLAGS="$ac_save_CFLAGS"
 
43161
       CXXFLAGS="$ac_save_CXXFLAGS"
 
43162
       LIBS="$ac_save_LIBS"
 
43163
     fi
 
43164
  fi
 
43165
  if test "x$no_sdl" = x ; then
 
43166
     echo "$as_me:$LINENO: result: yes" >&5
 
43167
echo "${ECHO_T}yes" >&6
 
43168
 
 
43169
                    EXTRALIBS_SDL="$SDL_LIBS"
 
43170
                    CFLAGS="$SDL_CFLAGS $CFLAGS"
 
43171
                    CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
 
43172
                    cat >>confdefs.h <<\_ACEOF
 
43173
#define wxUSE_LIBSDL 1
 
43174
_ACEOF
 
43175
 
 
43176
 
 
43177
  else
 
43178
     echo "$as_me:$LINENO: result: no" >&5
 
43179
echo "${ECHO_T}no" >&6
 
43180
     if test "$SDL_CONFIG" = "no" ; then
 
43181
       echo "*** The sdl-config script installed by SDL could not be found"
 
43182
       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
 
43183
       echo "*** your path, or set the SDL_CONFIG environment variable to the"
 
43184
       echo "*** full path to sdl-config."
 
43185
     else
 
43186
       if test -f conf.sdltest ; then
 
43187
        :
 
43188
       else
 
43189
          echo "*** Could not run SDL test program, checking why..."
 
43190
          CFLAGS="$CFLAGS $SDL_CFLAGS"
 
43191
          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
 
43192
          LIBS="$LIBS $SDL_LIBS"
 
43193
          cat >conftest.$ac_ext <<_ACEOF
 
43194
/* confdefs.h.  */
 
43195
_ACEOF
 
43196
cat confdefs.h >>conftest.$ac_ext
 
43197
cat >>conftest.$ac_ext <<_ACEOF
 
43198
/* end confdefs.h.  */
 
43199
 
 
43200
#include <stdio.h>
 
43201
#include "SDL.h"
 
43202
 
 
43203
int main(int argc, char *argv[])
 
43204
{ return 0; }
 
43205
#undef  main
 
43206
#define main K_and_R_C_main
 
43207
 
 
43208
int
 
43209
main ()
 
43210
{
 
43211
 return 0;
 
43212
  ;
 
43213
  return 0;
 
43214
}
 
43215
_ACEOF
 
43216
rm -f conftest.$ac_objext conftest$ac_exeext
 
43217
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
43218
  (eval $ac_link) 2>conftest.er1
 
43219
  ac_status=$?
 
43220
  grep -v '^ *+' conftest.er1 >conftest.err
 
43221
  rm -f conftest.er1
 
43222
  cat conftest.err >&5
 
43223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43224
  (exit $ac_status); } &&
 
43225
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
43226
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
43227
  (eval $ac_try) 2>&5
 
43228
  ac_status=$?
 
43229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43230
  (exit $ac_status); }; } &&
 
43231
         { ac_try='test -s conftest$ac_exeext'
 
43232
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
43233
  (eval $ac_try) 2>&5
 
43234
  ac_status=$?
 
43235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43236
  (exit $ac_status); }; }; then
 
43237
   echo "*** The test program compiled, but did not run. This usually means"
 
43238
          echo "*** that the run-time linker is not finding SDL or finding the wrong"
 
43239
          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
 
43240
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
43241
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
43242
          echo "*** is required on your system"
 
43243
          echo "***"
 
43244
          echo "*** If you have an old version installed, it is best to remove it, although"
 
43245
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
43246
else
 
43247
  echo "$as_me: failed program was:" >&5
 
43248
sed 's/^/| /' conftest.$ac_ext >&5
 
43249
 
 
43250
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
43251
          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
 
43252
          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
 
43253
          echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
 
43254
fi
 
43255
rm -f conftest.err conftest.$ac_objext \
 
43256
      conftest$ac_exeext conftest.$ac_ext
 
43257
          CFLAGS="$ac_save_CFLAGS"
 
43258
          CXXFLAGS="$ac_save_CXXFLAGS"
 
43259
          LIBS="$ac_save_LIBS"
 
43260
       fi
 
43261
     fi
 
43262
     SDL_CFLAGS=""
 
43263
     SDL_LIBS=""
 
43264
     wxUSE_LIBSDL="no"
 
43265
  fi
 
43266
 
 
43267
 
 
43268
  rm -f conf.sdltest
 
43269
 
 
43270
      if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
 
43271
        WITH_PLUGIN_SDL=1
 
43272
      fi
 
43273
    fi
 
43274
  else
 
43275
        if test "$wxUSE_MGL" = 1; then
 
43276
        { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
 
43277
echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
 
43278
        wxUSE_SOUND="no"
 
43279
    fi
 
43280
  fi
 
43281
fi
 
43282
 
 
43283
if test "$wxUSE_SOUND" = "yes"; then
 
43284
  cat >>confdefs.h <<\_ACEOF
 
43285
#define wxUSE_SOUND 1
 
43286
_ACEOF
 
43287
 
 
43288
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
 
43289
fi
 
43290
 
 
43291
if test "$WXGTK20" = 1; then
 
43292
 
 
43293
 
 
43294
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
43295
        if test -n "$ac_tool_prefix"; then
 
43296
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
43297
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
43298
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
43299
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
43300
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
43301
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
43302
else
 
43303
  case $PKG_CONFIG in
 
43304
  [\\/]* | ?:[\\/]*)
 
43305
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
43306
  ;;
 
43307
  *)
 
43308
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
43309
for as_dir in $PATH
 
43310
do
 
43311
  IFS=$as_save_IFS
 
43312
  test -z "$as_dir" && as_dir=.
 
43313
  for ac_exec_ext in '' $ac_executable_extensions; do
 
43314
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
43315
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
43316
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
43317
    break 2
 
43318
  fi
 
43319
done
 
43320
done
 
43321
 
 
43322
  ;;
 
43323
esac
 
43324
fi
 
43325
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
43326
 
 
43327
if test -n "$PKG_CONFIG"; then
 
43328
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
43329
echo "${ECHO_T}$PKG_CONFIG" >&6
 
43330
else
 
43331
  echo "$as_me:$LINENO: result: no" >&5
 
43332
echo "${ECHO_T}no" >&6
 
43333
fi
 
43334
 
 
43335
fi
 
43336
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
43337
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
43338
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
43339
set dummy pkg-config; ac_word=$2
 
43340
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
43341
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
43342
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
43343
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
43344
else
 
43345
  case $ac_pt_PKG_CONFIG in
 
43346
  [\\/]* | ?:[\\/]*)
 
43347
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
43348
  ;;
 
43349
  *)
 
43350
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
43351
for as_dir in $PATH
 
43352
do
 
43353
  IFS=$as_save_IFS
 
43354
  test -z "$as_dir" && as_dir=.
 
43355
  for ac_exec_ext in '' $ac_executable_extensions; do
 
43356
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
43357
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
43358
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
43359
    break 2
 
43360
  fi
 
43361
done
 
43362
done
 
43363
 
 
43364
  ;;
 
43365
esac
 
43366
fi
 
43367
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
43368
 
 
43369
if test -n "$ac_pt_PKG_CONFIG"; then
 
43370
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
43371
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
43372
else
 
43373
  echo "$as_me:$LINENO: result: no" >&5
 
43374
echo "${ECHO_T}no" >&6
 
43375
fi
 
43376
 
 
43377
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
43378
else
 
43379
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
43380
fi
 
43381
 
 
43382
fi
 
43383
if test -n "$PKG_CONFIG"; then
 
43384
        _pkg_min_version=0.9.0
 
43385
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
43386
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
43387
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
43388
                echo "$as_me:$LINENO: result: yes" >&5
 
43389
echo "${ECHO_T}yes" >&6
 
43390
        else
 
43391
                echo "$as_me:$LINENO: result: no" >&5
 
43392
echo "${ECHO_T}no" >&6
 
43393
                PKG_CONFIG=""
 
43394
        fi
 
43395
 
 
43396
fi
 
43397
 
 
43398
    if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
 
43399
        if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
 
43400
 
 
43401
 
 
43402
pkg_failed=no
 
43403
echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
 
43404
echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
 
43405
 
 
43406
if test -n "$PKG_CONFIG"; then
 
43407
    if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
 
43408
        pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
 
43409
    else
 
43410
        if test -n "$PKG_CONFIG" && \
 
43411
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
 
43412
  ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
 
43413
  ac_status=$?
 
43414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43415
  (exit $ac_status); }; then
 
43416
  pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
 
43417
else
 
43418
  pkg_failed=yes
 
43419
fi
 
43420
    fi
 
43421
else
 
43422
        pkg_failed=untried
 
43423
fi
 
43424
if test -n "$PKG_CONFIG"; then
 
43425
    if test -n "$LIBGNOMEPRINTUI_LIBS"; then
 
43426
        pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
 
43427
    else
 
43428
        if test -n "$PKG_CONFIG" && \
 
43429
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
 
43430
  ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
 
43431
  ac_status=$?
 
43432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43433
  (exit $ac_status); }; then
 
43434
  pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
 
43435
else
 
43436
  pkg_failed=yes
 
43437
fi
 
43438
    fi
 
43439
else
 
43440
        pkg_failed=untried
 
43441
fi
 
43442
 
 
43443
 
 
43444
 
 
43445
if test $pkg_failed = yes; then
 
43446
 
 
43447
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
43448
        _pkg_short_errors_supported=yes
 
43449
else
 
43450
        _pkg_short_errors_supported=no
 
43451
fi
 
43452
        if test $_pkg_short_errors_supported = yes; then
 
43453
                LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
 
43454
        else
 
43455
                LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
 
43456
        fi
 
43457
        # Put the nasty error message in config.log where it belongs
 
43458
        echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
 
43459
 
 
43460
 
 
43461
                        { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
 
43462
echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
 
43463
                        wxUSE_LIBGNOMEPRINT="no"
 
43464
 
 
43465
 
 
43466
elif test $pkg_failed = untried; then
 
43467
 
 
43468
                        { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
 
43469
echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
 
43470
                        wxUSE_LIBGNOMEPRINT="no"
 
43471
 
 
43472
 
 
43473
else
 
43474
        LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
 
43475
        LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
 
43476
        echo "$as_me:$LINENO: result: yes" >&5
 
43477
echo "${ECHO_T}yes" >&6
 
43478
 
 
43479
                        CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
 
43480
                        CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
 
43481
                        cat >>confdefs.h <<\_ACEOF
 
43482
#define wxUSE_LIBGNOMEPRINT 1
 
43483
_ACEOF
 
43484
 
 
43485
 
 
43486
fi
 
43487
        fi
 
43488
    fi
 
43489
 
 
43490
    if test "$wxUSE_MIMETYPE" = "yes" ; then
 
43491
        if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
 
43492
 
 
43493
 
 
43494
pkg_failed=no
 
43495
echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
 
43496
echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
 
43497
 
 
43498
if test -n "$PKG_CONFIG"; then
 
43499
    if test -n "$GNOMEVFS_CFLAGS"; then
 
43500
        pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
 
43501
    else
 
43502
        if test -n "$PKG_CONFIG" && \
 
43503
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
 
43504
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
 
43505
  ac_status=$?
 
43506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43507
  (exit $ac_status); }; then
 
43508
  pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
 
43509
else
 
43510
  pkg_failed=yes
 
43511
fi
 
43512
    fi
 
43513
else
 
43514
        pkg_failed=untried
 
43515
fi
 
43516
if test -n "$PKG_CONFIG"; then
 
43517
    if test -n "$GNOMEVFS_LIBS"; then
 
43518
        pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
 
43519
    else
 
43520
        if test -n "$PKG_CONFIG" && \
 
43521
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
 
43522
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
 
43523
  ac_status=$?
 
43524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43525
  (exit $ac_status); }; then
 
43526
  pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
 
43527
else
 
43528
  pkg_failed=yes
 
43529
fi
 
43530
    fi
 
43531
else
 
43532
        pkg_failed=untried
 
43533
fi
 
43534
 
 
43535
 
 
43536
 
 
43537
if test $pkg_failed = yes; then
 
43538
 
 
43539
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
43540
        _pkg_short_errors_supported=yes
 
43541
else
 
43542
        _pkg_short_errors_supported=no
 
43543
fi
 
43544
        if test $_pkg_short_errors_supported = yes; then
 
43545
                GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
 
43546
        else
 
43547
                GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
 
43548
        fi
 
43549
        # Put the nasty error message in config.log where it belongs
 
43550
        echo "$GNOMEVFS_PKG_ERRORS" >&5
 
43551
 
 
43552
 
 
43553
                        { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
 
43554
echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
 
43555
                        wxUSE_LIBGNOMEVFS="no"
 
43556
 
 
43557
 
 
43558
elif test $pkg_failed = untried; then
 
43559
 
 
43560
                        { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
 
43561
echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
 
43562
                        wxUSE_LIBGNOMEVFS="no"
 
43563
 
 
43564
 
 
43565
else
 
43566
        GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
 
43567
        GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
 
43568
        echo "$as_me:$LINENO: result: yes" >&5
 
43569
echo "${ECHO_T}yes" >&6
 
43570
 
 
43571
                        CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
 
43572
                        CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
 
43573
                        cat >>confdefs.h <<\_ACEOF
 
43574
#define wxUSE_LIBGNOMEVFS 1
 
43575
_ACEOF
 
43576
 
 
43577
 
 
43578
fi
 
43579
        fi
 
43580
    fi
 
43581
 
 
43582
    if test "$wxUSE_LIBHILDON" = "yes" ; then
 
43583
 
 
43584
pkg_failed=no
 
43585
echo "$as_me:$LINENO: checking for HILDON" >&5
 
43586
echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
 
43587
 
 
43588
if test -n "$PKG_CONFIG"; then
 
43589
    if test -n "$HILDON_CFLAGS"; then
 
43590
        pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
 
43591
    else
 
43592
        if test -n "$PKG_CONFIG" && \
 
43593
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
 
43594
  ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
 
43595
  ac_status=$?
 
43596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43597
  (exit $ac_status); }; then
 
43598
  pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
 
43599
else
 
43600
  pkg_failed=yes
 
43601
fi
 
43602
    fi
 
43603
else
 
43604
        pkg_failed=untried
 
43605
fi
 
43606
if test -n "$PKG_CONFIG"; then
 
43607
    if test -n "$HILDON_LIBS"; then
 
43608
        pkg_cv_HILDON_LIBS="$HILDON_LIBS"
 
43609
    else
 
43610
        if test -n "$PKG_CONFIG" && \
 
43611
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
 
43612
  ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
 
43613
  ac_status=$?
 
43614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
43615
  (exit $ac_status); }; then
 
43616
  pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
 
43617
else
 
43618
  pkg_failed=yes
 
43619
fi
 
43620
    fi
 
43621
else
 
43622
        pkg_failed=untried
 
43623
fi
 
43624
 
 
43625
 
 
43626
 
 
43627
if test $pkg_failed = yes; then
 
43628
 
 
43629
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
43630
        _pkg_short_errors_supported=yes
 
43631
else
 
43632
        _pkg_short_errors_supported=no
 
43633
fi
 
43634
        if test $_pkg_short_errors_supported = yes; then
 
43635
                HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
 
43636
        else
 
43637
                HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
 
43638
        fi
 
43639
        # Put the nasty error message in config.log where it belongs
 
43640
        echo "$HILDON_PKG_ERRORS" >&5
 
43641
 
 
43642
 
 
43643
                { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
 
43644
echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
 
43645
                        wxUSE_LIBHILDON="no"
 
43646
 
 
43647
 
 
43648
elif test $pkg_failed = untried; then
 
43649
 
 
43650
                { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
 
43651
echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
 
43652
                        wxUSE_LIBHILDON="no"
 
43653
 
 
43654
 
 
43655
else
 
43656
        HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
 
43657
        HILDON_LIBS=$pkg_cv_HILDON_LIBS
 
43658
        echo "$as_me:$LINENO: result: yes" >&5
 
43659
echo "${ECHO_T}yes" >&6
 
43660
 
 
43661
                EXTRALIBS_HILDON="$HILDON_LIBS"
 
43662
                CFLAGS="$CFLAGS $HILDON_CFLAGS"
 
43663
                CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
 
43664
                cat >>confdefs.h <<\_ACEOF
 
43665
#define wxUSE_LIBHILDON 1
 
43666
_ACEOF
 
43667
 
 
43668
 
 
43669
fi
 
43670
    fi
 
43671
fi
 
43672
 
 
43673
if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
 
43674
  cat >>confdefs.h <<\_ACEOF
 
43675
#define wxUSE_CMDLINE_PARSER 1
 
43676
_ACEOF
 
43677
 
 
43678
fi
 
43679
 
 
43680
if test "$wxUSE_STOPWATCH" = "yes"; then
 
43681
  cat >>confdefs.h <<\_ACEOF
 
43682
#define wxUSE_STOPWATCH 1
 
43683
_ACEOF
 
43684
 
 
43685
fi
 
43686
 
 
43687
if test "$wxUSE_DATETIME" = "yes"; then
 
43688
  cat >>confdefs.h <<\_ACEOF
 
43689
#define wxUSE_DATETIME 1
 
43690
_ACEOF
 
43691
 
 
43692
fi
 
43693
 
 
43694
if test "$wxUSE_FILE" = "yes"; then
 
43695
  cat >>confdefs.h <<\_ACEOF
 
43696
#define wxUSE_FILE 1
 
43697
_ACEOF
 
43698
 
 
43699
fi
 
43700
 
 
43701
if test "$wxUSE_FFILE" = "yes"; then
 
43702
  cat >>confdefs.h <<\_ACEOF
 
43703
#define wxUSE_FFILE 1
 
43704
_ACEOF
 
43705
 
 
43706
fi
 
43707
 
 
43708
if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
 
43709
  if test "$wxUSE_STREAMS" != yes; then
 
43710
    { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
 
43711
echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
 
43712
    wxUSE_ARCHIVE_STREAMS=no
 
43713
  else
 
43714
    cat >>confdefs.h <<\_ACEOF
 
43715
#define wxUSE_ARCHIVE_STREAMS 1
 
43716
_ACEOF
 
43717
 
 
43718
  fi
 
43719
fi
 
43720
 
 
43721
if test "$wxUSE_ZIPSTREAM" = "yes"; then
 
43722
  if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
 
43723
    { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
 
43724
echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
 
43725
  elif test "$wxUSE_ZLIB" = "no"; then
 
43726
    { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
 
43727
echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
 
43728
  else
 
43729
    cat >>confdefs.h <<\_ACEOF
 
43730
#define wxUSE_ZIPSTREAM 1
 
43731
_ACEOF
 
43732
 
 
43733
  fi
 
43734
fi
 
43735
 
 
43736
if test "$wxUSE_TARSTREAM" = "yes"; then
 
43737
  if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
 
43738
    { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
 
43739
echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
 
43740
  else
 
43741
    cat >>confdefs.h <<\_ACEOF
 
43742
#define wxUSE_TARSTREAM 1
 
43743
_ACEOF
 
43744
 
 
43745
  fi
 
43746
fi
 
43747
 
 
43748
if test "$wxUSE_FILESYSTEM" = "yes"; then
 
43749
  if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
 
43750
    { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
 
43751
echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
 
43752
    wxUSE_FILESYSTEM=no
 
43753
  else
 
43754
    cat >>confdefs.h <<\_ACEOF
 
43755
#define wxUSE_FILESYSTEM 1
 
43756
_ACEOF
 
43757
 
 
43758
  fi
 
43759
fi
 
43760
 
 
43761
if test "$wxUSE_FS_ARCHIVE" = "yes"; then
 
43762
  if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
 
43763
    { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
 
43764
echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
 
43765
  else
 
43766
    cat >>confdefs.h <<\_ACEOF
 
43767
#define wxUSE_FS_ARCHIVE 1
 
43768
_ACEOF
 
43769
 
 
43770
  fi
 
43771
fi
 
43772
 
 
43773
if test "$wxUSE_FS_ZIP" = "yes"; then
 
43774
  if test "$wxUSE_FS_ARCHIVE" != yes; then
 
43775
    { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
 
43776
echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
 
43777
  else
 
43778
    cat >>confdefs.h <<\_ACEOF
 
43779
#define wxUSE_FS_ZIP 1
 
43780
_ACEOF
 
43781
 
 
43782
  fi
 
43783
fi
 
43784
 
 
43785
if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
 
43786
  if test "$USE_UNIX" != 1; then
 
43787
    { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
 
43788
echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
 
43789
    wxUSE_ON_FATAL_EXCEPTION=no
 
43790
  else
 
43791
    cat >>confdefs.h <<\_ACEOF
 
43792
#define wxUSE_ON_FATAL_EXCEPTION 1
 
43793
_ACEOF
 
43794
 
 
43795
  fi
 
43796
fi
 
43797
 
 
43798
if test "$wxUSE_STACKWALKER" = "yes"; then
 
43799
    cat >>confdefs.h <<\_ACEOF
 
43800
#define wxUSE_STACKWALKER 1
 
43801
_ACEOF
 
43802
 
 
43803
fi
 
43804
 
 
43805
if test "$wxUSE_DEBUGREPORT" = "yes"; then
 
43806
    if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
 
43807
        { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
 
43808
echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
 
43809
        wxUSE_DEBUGREPORT=no
 
43810
    else
 
43811
        cat >>confdefs.h <<\_ACEOF
 
43812
#define wxUSE_DEBUGREPORT 1
 
43813
_ACEOF
 
43814
 
 
43815
        if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
 
43816
            SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
 
43817
        fi
 
43818
    fi
 
43819
fi
 
43820
 
 
43821
if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
 
43822
  cat >>confdefs.h <<\_ACEOF
 
43823
#define wxUSE_SNGLINST_CHECKER 1
 
43824
_ACEOF
 
43825
 
 
43826
fi
 
43827
 
 
43828
if test "$wxUSE_BUSYINFO" = "yes"; then
 
43829
  cat >>confdefs.h <<\_ACEOF
 
43830
#define wxUSE_BUSYINFO 1
 
43831
_ACEOF
 
43832
 
 
43833
fi
 
43834
 
 
43835
if test "$wxUSE_STD_IOSTREAM" = "yes"; then
 
43836
  cat >>confdefs.h <<\_ACEOF
 
43837
#define wxUSE_STD_IOSTREAM 1
 
43838
_ACEOF
 
43839
 
 
43840
fi
 
43841
 
 
43842
if test "$wxUSE_STD_STRING" = "yes"; then
 
43843
  cat >>confdefs.h <<\_ACEOF
 
43844
#define wxUSE_STD_STRING 1
 
43845
_ACEOF
 
43846
 
 
43847
fi
 
43848
 
 
43849
if test "$wxUSE_STDPATHS" = "yes"; then
 
43850
  cat >>confdefs.h <<\_ACEOF
 
43851
#define wxUSE_STDPATHS 1
 
43852
_ACEOF
 
43853
 
 
43854
fi
 
43855
 
 
43856
if test "$wxUSE_TEXTBUFFER" = "yes"; then
 
43857
    cat >>confdefs.h <<\_ACEOF
 
43858
#define wxUSE_TEXTBUFFER 1
 
43859
_ACEOF
 
43860
 
 
43861
fi
 
43862
 
 
43863
if test "$wxUSE_TEXTFILE" = "yes"; then
 
43864
  if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
 
43865
    { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
 
43866
echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
 
43867
  else
 
43868
    cat >>confdefs.h <<\_ACEOF
 
43869
#define wxUSE_TEXTFILE 1
 
43870
_ACEOF
 
43871
 
 
43872
  fi
 
43873
fi
 
43874
 
 
43875
if test "$wxUSE_CONFIG" = "yes" ; then
 
43876
  if test "$wxUSE_TEXTFILE" != "yes"; then
 
43877
    { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
 
43878
echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
 
43879
  else
 
43880
    cat >>confdefs.h <<\_ACEOF
 
43881
#define wxUSE_CONFIG 1
 
43882
_ACEOF
 
43883
 
 
43884
    cat >>confdefs.h <<\_ACEOF
 
43885
#define wxUSE_CONFIG_NATIVE 1
 
43886
_ACEOF
 
43887
 
 
43888
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
 
43889
  fi
 
43890
fi
 
43891
 
 
43892
if test "$wxUSE_INTL" = "yes" ; then
 
43893
  if test "$wxUSE_FILE" != "yes"; then
 
43894
    { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
 
43895
echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
 
43896
  else
 
43897
    cat >>confdefs.h <<\_ACEOF
 
43898
#define wxUSE_INTL 1
 
43899
_ACEOF
 
43900
 
 
43901
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
 
43902
    GUIDIST="$GUIDIST INTL_DIST"
 
43903
  fi
 
43904
fi
 
43905
 
 
43906
if test "$wxUSE_LOG" = "yes"; then
 
43907
  cat >>confdefs.h <<\_ACEOF
 
43908
#define wxUSE_LOG 1
 
43909
_ACEOF
 
43910
 
 
43911
 
 
43912
    if test "$wxUSE_LOGGUI" = "yes"; then
 
43913
      cat >>confdefs.h <<\_ACEOF
 
43914
#define wxUSE_LOGGUI 1
 
43915
_ACEOF
 
43916
 
 
43917
    fi
 
43918
 
 
43919
    if test "$wxUSE_LOGWINDOW" = "yes"; then
 
43920
      cat >>confdefs.h <<\_ACEOF
 
43921
#define wxUSE_LOGWINDOW 1
 
43922
_ACEOF
 
43923
 
 
43924
    fi
 
43925
 
 
43926
    if test "$wxUSE_LOGDIALOG" = "yes"; then
 
43927
      cat >>confdefs.h <<\_ACEOF
 
43928
#define wxUSE_LOG_DIALOG 1
 
43929
_ACEOF
 
43930
 
 
43931
    fi
 
43932
 
 
43933
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
 
43934
fi
 
43935
 
 
43936
if test "$wxUSE_LONGLONG" = "yes"; then
 
43937
  cat >>confdefs.h <<\_ACEOF
 
43938
#define wxUSE_LONGLONG 1
 
43939
_ACEOF
 
43940
 
 
43941
fi
 
43942
 
 
43943
if test "$wxUSE_GEOMETRY" = "yes"; then
 
43944
  cat >>confdefs.h <<\_ACEOF
 
43945
#define wxUSE_GEOMETRY 1
 
43946
_ACEOF
 
43947
 
 
43948
fi
 
43949
 
 
43950
if test "$wxUSE_STREAMS" = "yes" ; then
 
43951
  cat >>confdefs.h <<\_ACEOF
 
43952
#define wxUSE_STREAMS 1
 
43953
_ACEOF
 
43954
 
 
43955
fi
 
43956
 
 
43957
if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
 
43958
  cat >>confdefs.h <<\_ACEOF
 
43959
#define wxUSE_PRINTF_POS_PARAMS 1
 
43960
_ACEOF
 
43961
 
 
43962
fi
 
43963
 
 
43964
if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
 
43965
  cat >>confdefs.h <<\_ACEOF
 
43966
#define wxUSE_OBJC_UNIQUIFYING 1
 
43967
_ACEOF
 
43968
 
 
43969
fi
 
43970
 
 
43971
if test "$wxUSE_ABI_INCOMPATIBLE_FEATURES" = "yes"; then
 
43972
  cat >>confdefs.h <<\_ACEOF
 
43973
#define wxUSE_ABI_INCOMPATIBLE_FEATURES 1
 
43974
_ACEOF
 
43975
 
 
43976
fi
 
43977
 
 
43978
 
 
43979
if test "$wxUSE_DATETIME" = "yes"; then
 
43980
        echo "$as_me:$LINENO: checking for strptime" >&5
 
43981
echo $ECHO_N "checking for strptime... $ECHO_C" >&6
 
43982
if test "${ac_cv_func_strptime+set}" = set; then
 
43983
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
43984
else
 
43985
  cat >conftest.$ac_ext <<_ACEOF
 
43986
/* confdefs.h.  */
 
43987
_ACEOF
 
43988
cat confdefs.h >>conftest.$ac_ext
 
43989
cat >>conftest.$ac_ext <<_ACEOF
 
43990
/* end confdefs.h.  */
 
43991
/* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
 
43992
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
43993
#define strptime innocuous_strptime
 
43994
 
 
43995
/* System header to define __stub macros and hopefully few prototypes,
 
43996
    which can conflict with char strptime (); below.
 
43997
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
43998
    <limits.h> exists even on freestanding compilers.  */
 
43999
 
 
44000
#ifdef __STDC__
 
44001
# include <limits.h>
 
44002
#else
 
44003
# include <assert.h>
 
44004
#endif
 
44005
 
 
44006
#undef strptime
 
44007
 
 
44008
/* Override any gcc2 internal prototype to avoid an error.  */
 
44009
#ifdef __cplusplus
 
44010
extern "C"
 
44011
{
 
44012
#endif
 
44013
/* We use char because int might match the return type of a gcc2
 
44014
   builtin and then its argument prototype would still apply.  */
 
44015
char strptime ();
 
44016
/* The GNU C library defines this for functions which it implements
 
44017
    to always fail with ENOSYS.  Some functions are actually named
 
44018
    something starting with __ and the normal name is an alias.  */
 
44019
#if defined (__stub_strptime) || defined (__stub___strptime)
 
44020
choke me
 
44021
#else
 
44022
char (*f) () = strptime;
 
44023
#endif
 
44024
#ifdef __cplusplus
 
44025
}
 
44026
#endif
 
44027
 
 
44028
int
 
44029
main ()
 
44030
{
 
44031
return f != strptime;
 
44032
  ;
 
44033
  return 0;
 
44034
}
 
44035
_ACEOF
 
44036
rm -f conftest.$ac_objext conftest$ac_exeext
 
44037
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
44038
  (eval $ac_link) 2>conftest.er1
 
44039
  ac_status=$?
 
44040
  grep -v '^ *+' conftest.er1 >conftest.err
 
44041
  rm -f conftest.er1
 
44042
  cat conftest.err >&5
 
44043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44044
  (exit $ac_status); } &&
 
44045
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44046
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44047
  (eval $ac_try) 2>&5
 
44048
  ac_status=$?
 
44049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44050
  (exit $ac_status); }; } &&
 
44051
         { ac_try='test -s conftest$ac_exeext'
 
44052
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44053
  (eval $ac_try) 2>&5
 
44054
  ac_status=$?
 
44055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44056
  (exit $ac_status); }; }; then
 
44057
  ac_cv_func_strptime=yes
 
44058
else
 
44059
  echo "$as_me: failed program was:" >&5
 
44060
sed 's/^/| /' conftest.$ac_ext >&5
 
44061
 
 
44062
ac_cv_func_strptime=no
 
44063
fi
 
44064
rm -f conftest.err conftest.$ac_objext \
 
44065
      conftest$ac_exeext conftest.$ac_ext
 
44066
fi
 
44067
echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
 
44068
echo "${ECHO_T}$ac_cv_func_strptime" >&6
 
44069
 
 
44070
    if test "$ac_cv_func_strptime" = "yes"; then
 
44071
        echo "$as_me:$LINENO: checking for strptime declaration" >&5
 
44072
echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
 
44073
if test "${wx_cv_func_strptime_decl+set}" = set; then
 
44074
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44075
else
 
44076
 
 
44077
                ac_ext=cc
 
44078
ac_cpp='$CXXCPP $CPPFLAGS'
 
44079
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
44080
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
44081
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
44082
 
 
44083
                cat >conftest.$ac_ext <<_ACEOF
 
44084
/* confdefs.h.  */
 
44085
_ACEOF
 
44086
cat confdefs.h >>conftest.$ac_ext
 
44087
cat >>conftest.$ac_ext <<_ACEOF
 
44088
/* end confdefs.h.  */
 
44089
 
 
44090
                        #include <time.h>
 
44091
 
 
44092
int
 
44093
main ()
 
44094
{
 
44095
 
 
44096
                        struct tm t;
 
44097
                        strptime("foo", "bar", &t);
 
44098
 
 
44099
  ;
 
44100
  return 0;
 
44101
}
 
44102
_ACEOF
 
44103
rm -f conftest.$ac_objext
 
44104
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44105
  (eval $ac_compile) 2>conftest.er1
 
44106
  ac_status=$?
 
44107
  grep -v '^ *+' conftest.er1 >conftest.err
 
44108
  rm -f conftest.er1
 
44109
  cat conftest.err >&5
 
44110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44111
  (exit $ac_status); } &&
 
44112
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
44113
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44114
  (eval $ac_try) 2>&5
 
44115
  ac_status=$?
 
44116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44117
  (exit $ac_status); }; } &&
 
44118
         { ac_try='test -s conftest.$ac_objext'
 
44119
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44120
  (eval $ac_try) 2>&5
 
44121
  ac_status=$?
 
44122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44123
  (exit $ac_status); }; }; then
 
44124
  wx_cv_func_strptime_decl=yes
 
44125
else
 
44126
  echo "$as_me: failed program was:" >&5
 
44127
sed 's/^/| /' conftest.$ac_ext >&5
 
44128
 
 
44129
wx_cv_func_strptime_decl=no
 
44130
 
 
44131
fi
 
44132
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44133
                ac_ext=c
 
44134
ac_cpp='$CPP $CPPFLAGS'
 
44135
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
44136
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
44137
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
44138
 
 
44139
 
 
44140
 
 
44141
fi
 
44142
echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
 
44143
echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
 
44144
    fi
 
44145
    if test "$wx_cv_func_strptime_decl" = "yes"; then
 
44146
        cat >>confdefs.h <<\_ACEOF
 
44147
#define HAVE_STRPTIME_DECL 1
 
44148
_ACEOF
 
44149
 
 
44150
    else
 
44151
        wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
 
44152
    fi
 
44153
    if test "$ac_cv_func_strptime" = "yes"; then
 
44154
                                        echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
 
44155
echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
 
44156
if test "${wx_cv_func_strptime_ok+set}" = set; then
 
44157
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44158
else
 
44159
  if test "$cross_compiling" = yes; then
 
44160
                  wx_cv_func_strptime_ok=no
 
44161
 
 
44162
else
 
44163
  cat >conftest.$ac_ext <<_ACEOF
 
44164
 
 
44165
                    #include <stdlib.h>
 
44166
                    #include <time.h>
 
44167
                    #include "confdefs.h"
 
44168
 
 
44169
                    $wx_strptime_decl
 
44170
 
 
44171
                    int main()
 
44172
                    {
 
44173
                        struct tm t;
 
44174
                        return !!strptime("", "%x", &t);
 
44175
                    }
 
44176
 
 
44177
_ACEOF
 
44178
rm -f conftest$ac_exeext
 
44179
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
44180
  (eval $ac_link) 2>&5
 
44181
  ac_status=$?
 
44182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44183
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
44184
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44185
  (eval $ac_try) 2>&5
 
44186
  ac_status=$?
 
44187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44188
  (exit $ac_status); }; }; then
 
44189
  wx_cv_func_strptime_ok=yes
 
44190
else
 
44191
  echo "$as_me: program exited with status $ac_status" >&5
 
44192
echo "$as_me: failed program was:" >&5
 
44193
sed 's/^/| /' conftest.$ac_ext >&5
 
44194
 
 
44195
( exit $ac_status )
 
44196
wx_cv_func_strptime_ok=no
 
44197
fi
 
44198
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
44199
fi
 
44200
 
 
44201
fi
 
44202
echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
 
44203
echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
 
44204
 
 
44205
        if test "$wx_cv_func_strptime_ok" = "yes"; then
 
44206
            cat >>confdefs.h <<\_ACEOF
 
44207
#define HAVE_STRPTIME 1
 
44208
_ACEOF
 
44209
 
 
44210
        fi
 
44211
    fi
 
44212
 
 
44213
            echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
 
44214
echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
 
44215
if test "${wx_cv_var_timezone+set}" = set; then
 
44216
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44217
else
 
44218
 
 
44219
                        ac_ext=cc
 
44220
ac_cpp='$CXXCPP $CPPFLAGS'
 
44221
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
44222
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
44223
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
44224
 
 
44225
                        cat >conftest.$ac_ext <<_ACEOF
 
44226
/* confdefs.h.  */
 
44227
_ACEOF
 
44228
cat confdefs.h >>conftest.$ac_ext
 
44229
cat >>conftest.$ac_ext <<_ACEOF
 
44230
/* end confdefs.h.  */
 
44231
 
 
44232
                                #include <time.h>
 
44233
 
 
44234
int
 
44235
main ()
 
44236
{
 
44237
 
 
44238
                                int tz;
 
44239
                                tz = timezone;
 
44240
 
 
44241
  ;
 
44242
  return 0;
 
44243
}
 
44244
_ACEOF
 
44245
rm -f conftest.$ac_objext
 
44246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44247
  (eval $ac_compile) 2>conftest.er1
 
44248
  ac_status=$?
 
44249
  grep -v '^ *+' conftest.er1 >conftest.err
 
44250
  rm -f conftest.er1
 
44251
  cat conftest.err >&5
 
44252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44253
  (exit $ac_status); } &&
 
44254
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
44255
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44256
  (eval $ac_try) 2>&5
 
44257
  ac_status=$?
 
44258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44259
  (exit $ac_status); }; } &&
 
44260
         { ac_try='test -s conftest.$ac_objext'
 
44261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44262
  (eval $ac_try) 2>&5
 
44263
  ac_status=$?
 
44264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44265
  (exit $ac_status); }; }; then
 
44266
 
 
44267
                                wx_cv_var_timezone=timezone
 
44268
 
 
44269
else
 
44270
  echo "$as_me: failed program was:" >&5
 
44271
sed 's/^/| /' conftest.$ac_ext >&5
 
44272
 
 
44273
 
 
44274
                                cat >conftest.$ac_ext <<_ACEOF
 
44275
/* confdefs.h.  */
 
44276
_ACEOF
 
44277
cat confdefs.h >>conftest.$ac_ext
 
44278
cat >>conftest.$ac_ext <<_ACEOF
 
44279
/* end confdefs.h.  */
 
44280
 
 
44281
                                        #include <time.h>
 
44282
 
 
44283
int
 
44284
main ()
 
44285
{
 
44286
 
 
44287
                                        int tz;
 
44288
                                        tz = _timezone;
 
44289
 
 
44290
  ;
 
44291
  return 0;
 
44292
}
 
44293
_ACEOF
 
44294
rm -f conftest.$ac_objext
 
44295
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44296
  (eval $ac_compile) 2>conftest.er1
 
44297
  ac_status=$?
 
44298
  grep -v '^ *+' conftest.er1 >conftest.err
 
44299
  rm -f conftest.er1
 
44300
  cat conftest.err >&5
 
44301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44302
  (exit $ac_status); } &&
 
44303
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
44304
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44305
  (eval $ac_try) 2>&5
 
44306
  ac_status=$?
 
44307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44308
  (exit $ac_status); }; } &&
 
44309
         { ac_try='test -s conftest.$ac_objext'
 
44310
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44311
  (eval $ac_try) 2>&5
 
44312
  ac_status=$?
 
44313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44314
  (exit $ac_status); }; }; then
 
44315
 
 
44316
                                        wx_cv_var_timezone=_timezone
 
44317
 
 
44318
else
 
44319
  echo "$as_me: failed program was:" >&5
 
44320
sed 's/^/| /' conftest.$ac_ext >&5
 
44321
 
 
44322
 
 
44323
                                        cat >conftest.$ac_ext <<_ACEOF
 
44324
/* confdefs.h.  */
 
44325
_ACEOF
 
44326
cat confdefs.h >>conftest.$ac_ext
 
44327
cat >>conftest.$ac_ext <<_ACEOF
 
44328
/* end confdefs.h.  */
 
44329
 
 
44330
                                                #include <time.h>
 
44331
 
 
44332
int
 
44333
main ()
 
44334
{
 
44335
 
 
44336
                                                int tz;
 
44337
                                                tz = __timezone;
 
44338
 
 
44339
  ;
 
44340
  return 0;
 
44341
}
 
44342
_ACEOF
 
44343
rm -f conftest.$ac_objext
 
44344
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44345
  (eval $ac_compile) 2>conftest.er1
 
44346
  ac_status=$?
 
44347
  grep -v '^ *+' conftest.er1 >conftest.err
 
44348
  rm -f conftest.er1
 
44349
  cat conftest.err >&5
 
44350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44351
  (exit $ac_status); } &&
 
44352
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
44353
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44354
  (eval $ac_try) 2>&5
 
44355
  ac_status=$?
 
44356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44357
  (exit $ac_status); }; } &&
 
44358
         { ac_try='test -s conftest.$ac_objext'
 
44359
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44360
  (eval $ac_try) 2>&5
 
44361
  ac_status=$?
 
44362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44363
  (exit $ac_status); }; }; then
 
44364
 
 
44365
                                                wx_cv_var_timezone=__timezone
 
44366
 
 
44367
else
 
44368
  echo "$as_me: failed program was:" >&5
 
44369
sed 's/^/| /' conftest.$ac_ext >&5
 
44370
 
 
44371
 
 
44372
                                                if test "$USE_DOS" = 0 ; then
 
44373
                                                    { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
 
44374
echo "$as_me: WARNING: no timezone variable" >&2;}
 
44375
                                                fi
 
44376
 
 
44377
 
 
44378
fi
 
44379
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44380
 
 
44381
 
 
44382
fi
 
44383
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44384
 
 
44385
 
 
44386
fi
 
44387
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44388
                        ac_ext=c
 
44389
ac_cpp='$CPP $CPPFLAGS'
 
44390
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
44391
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
44392
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
44393
 
 
44394
 
 
44395
 
 
44396
fi
 
44397
echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
 
44398
echo "${ECHO_T}$wx_cv_var_timezone" >&6
 
44399
 
 
44400
        if test "x$wx_cv_var_timezone" != x ; then
 
44401
        cat >>confdefs.h <<_ACEOF
 
44402
#define WX_TIMEZONE $wx_cv_var_timezone
 
44403
_ACEOF
 
44404
 
 
44405
    fi
 
44406
 
 
44407
 
 
44408
for ac_func in localtime
 
44409
do
 
44410
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
44411
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
44412
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
44413
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
44414
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44415
else
 
44416
  cat >conftest.$ac_ext <<_ACEOF
 
44417
/* confdefs.h.  */
 
44418
_ACEOF
 
44419
cat confdefs.h >>conftest.$ac_ext
 
44420
cat >>conftest.$ac_ext <<_ACEOF
 
44421
/* end confdefs.h.  */
 
44422
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
44423
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
44424
#define $ac_func innocuous_$ac_func
 
44425
 
 
44426
/* System header to define __stub macros and hopefully few prototypes,
 
44427
    which can conflict with char $ac_func (); below.
 
44428
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
44429
    <limits.h> exists even on freestanding compilers.  */
 
44430
 
 
44431
#ifdef __STDC__
 
44432
# include <limits.h>
 
44433
#else
 
44434
# include <assert.h>
 
44435
#endif
 
44436
 
 
44437
#undef $ac_func
 
44438
 
 
44439
/* Override any gcc2 internal prototype to avoid an error.  */
 
44440
#ifdef __cplusplus
 
44441
extern "C"
 
44442
{
 
44443
#endif
 
44444
/* We use char because int might match the return type of a gcc2
 
44445
   builtin and then its argument prototype would still apply.  */
 
44446
char $ac_func ();
 
44447
/* The GNU C library defines this for functions which it implements
 
44448
    to always fail with ENOSYS.  Some functions are actually named
 
44449
    something starting with __ and the normal name is an alias.  */
 
44450
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
44451
choke me
 
44452
#else
 
44453
char (*f) () = $ac_func;
 
44454
#endif
 
44455
#ifdef __cplusplus
 
44456
}
 
44457
#endif
 
44458
 
 
44459
int
 
44460
main ()
 
44461
{
 
44462
return f != $ac_func;
 
44463
  ;
 
44464
  return 0;
 
44465
}
 
44466
_ACEOF
 
44467
rm -f conftest.$ac_objext conftest$ac_exeext
 
44468
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
44469
  (eval $ac_link) 2>conftest.er1
 
44470
  ac_status=$?
 
44471
  grep -v '^ *+' conftest.er1 >conftest.err
 
44472
  rm -f conftest.er1
 
44473
  cat conftest.err >&5
 
44474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44475
  (exit $ac_status); } &&
 
44476
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44477
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44478
  (eval $ac_try) 2>&5
 
44479
  ac_status=$?
 
44480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44481
  (exit $ac_status); }; } &&
 
44482
         { ac_try='test -s conftest$ac_exeext'
 
44483
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44484
  (eval $ac_try) 2>&5
 
44485
  ac_status=$?
 
44486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44487
  (exit $ac_status); }; }; then
 
44488
  eval "$as_ac_var=yes"
 
44489
else
 
44490
  echo "$as_me: failed program was:" >&5
 
44491
sed 's/^/| /' conftest.$ac_ext >&5
 
44492
 
 
44493
eval "$as_ac_var=no"
 
44494
fi
 
44495
rm -f conftest.err conftest.$ac_objext \
 
44496
      conftest$ac_exeext conftest.$ac_ext
 
44497
fi
 
44498
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
44499
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
44500
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
44501
  cat >>confdefs.h <<_ACEOF
 
44502
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
44503
_ACEOF
 
44504
 
 
44505
fi
 
44506
done
 
44507
 
 
44508
 
 
44509
    if test "$ac_cv_func_localtime" = "yes"; then
 
44510
        echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
 
44511
echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
 
44512
if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
 
44513
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44514
else
 
44515
 
 
44516
            cat >conftest.$ac_ext <<_ACEOF
 
44517
/* confdefs.h.  */
 
44518
_ACEOF
 
44519
cat confdefs.h >>conftest.$ac_ext
 
44520
cat >>conftest.$ac_ext <<_ACEOF
 
44521
/* end confdefs.h.  */
 
44522
 
 
44523
                    #include <time.h>
 
44524
 
 
44525
int
 
44526
main ()
 
44527
{
 
44528
 
 
44529
                    struct tm tm;
 
44530
                    tm.tm_gmtoff++;
 
44531
 
 
44532
  ;
 
44533
  return 0;
 
44534
}
 
44535
_ACEOF
 
44536
rm -f conftest.$ac_objext
 
44537
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44538
  (eval $ac_compile) 2>conftest.er1
 
44539
  ac_status=$?
 
44540
  grep -v '^ *+' conftest.er1 >conftest.err
 
44541
  rm -f conftest.er1
 
44542
  cat conftest.err >&5
 
44543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44544
  (exit $ac_status); } &&
 
44545
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44546
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44547
  (eval $ac_try) 2>&5
 
44548
  ac_status=$?
 
44549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44550
  (exit $ac_status); }; } &&
 
44551
         { ac_try='test -s conftest.$ac_objext'
 
44552
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44553
  (eval $ac_try) 2>&5
 
44554
  ac_status=$?
 
44555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44556
  (exit $ac_status); }; }; then
 
44557
 
 
44558
                    wx_cv_struct_tm_has_gmtoff=yes
 
44559
 
 
44560
else
 
44561
  echo "$as_me: failed program was:" >&5
 
44562
sed 's/^/| /' conftest.$ac_ext >&5
 
44563
 
 
44564
wx_cv_struct_tm_has_gmtoff=no
 
44565
 
 
44566
fi
 
44567
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44568
 
 
44569
fi
 
44570
echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
 
44571
echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
 
44572
    fi
 
44573
 
 
44574
    if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
 
44575
        cat >>confdefs.h <<\_ACEOF
 
44576
#define WX_GMTOFF_IN_TM 1
 
44577
_ACEOF
 
44578
 
 
44579
    fi
 
44580
 
 
44581
 
 
44582
 
 
44583
for ac_func in gettimeofday ftime
 
44584
do
 
44585
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
44586
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
44587
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
44588
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
44589
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44590
else
 
44591
  cat >conftest.$ac_ext <<_ACEOF
 
44592
/* confdefs.h.  */
 
44593
_ACEOF
 
44594
cat confdefs.h >>conftest.$ac_ext
 
44595
cat >>conftest.$ac_ext <<_ACEOF
 
44596
/* end confdefs.h.  */
 
44597
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
44598
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
44599
#define $ac_func innocuous_$ac_func
 
44600
 
 
44601
/* System header to define __stub macros and hopefully few prototypes,
 
44602
    which can conflict with char $ac_func (); below.
 
44603
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
44604
    <limits.h> exists even on freestanding compilers.  */
 
44605
 
 
44606
#ifdef __STDC__
 
44607
# include <limits.h>
 
44608
#else
 
44609
# include <assert.h>
 
44610
#endif
 
44611
 
 
44612
#undef $ac_func
 
44613
 
 
44614
/* Override any gcc2 internal prototype to avoid an error.  */
 
44615
#ifdef __cplusplus
 
44616
extern "C"
 
44617
{
 
44618
#endif
 
44619
/* We use char because int might match the return type of a gcc2
 
44620
   builtin and then its argument prototype would still apply.  */
 
44621
char $ac_func ();
 
44622
/* The GNU C library defines this for functions which it implements
 
44623
    to always fail with ENOSYS.  Some functions are actually named
 
44624
    something starting with __ and the normal name is an alias.  */
 
44625
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
44626
choke me
 
44627
#else
 
44628
char (*f) () = $ac_func;
 
44629
#endif
 
44630
#ifdef __cplusplus
 
44631
}
 
44632
#endif
 
44633
 
 
44634
int
 
44635
main ()
 
44636
{
 
44637
return f != $ac_func;
 
44638
  ;
 
44639
  return 0;
 
44640
}
 
44641
_ACEOF
 
44642
rm -f conftest.$ac_objext conftest$ac_exeext
 
44643
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
44644
  (eval $ac_link) 2>conftest.er1
 
44645
  ac_status=$?
 
44646
  grep -v '^ *+' conftest.er1 >conftest.err
 
44647
  rm -f conftest.er1
 
44648
  cat conftest.err >&5
 
44649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44650
  (exit $ac_status); } &&
 
44651
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44652
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44653
  (eval $ac_try) 2>&5
 
44654
  ac_status=$?
 
44655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44656
  (exit $ac_status); }; } &&
 
44657
         { ac_try='test -s conftest$ac_exeext'
 
44658
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44659
  (eval $ac_try) 2>&5
 
44660
  ac_status=$?
 
44661
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44662
  (exit $ac_status); }; }; then
 
44663
  eval "$as_ac_var=yes"
 
44664
else
 
44665
  echo "$as_me: failed program was:" >&5
 
44666
sed 's/^/| /' conftest.$ac_ext >&5
 
44667
 
 
44668
eval "$as_ac_var=no"
 
44669
fi
 
44670
rm -f conftest.err conftest.$ac_objext \
 
44671
      conftest$ac_exeext conftest.$ac_ext
 
44672
fi
 
44673
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
44674
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
44675
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
44676
  cat >>confdefs.h <<_ACEOF
 
44677
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
44678
_ACEOF
 
44679
 break
 
44680
fi
 
44681
done
 
44682
 
 
44683
 
 
44684
    if test "$ac_cv_func_gettimeofday" = "yes"; then
 
44685
        echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
 
44686
echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
 
44687
if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
 
44688
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44689
else
 
44690
 
 
44691
                        cat >conftest.$ac_ext <<_ACEOF
 
44692
/* confdefs.h.  */
 
44693
_ACEOF
 
44694
cat confdefs.h >>conftest.$ac_ext
 
44695
cat >>conftest.$ac_ext <<_ACEOF
 
44696
/* end confdefs.h.  */
 
44697
 
 
44698
                    #include <sys/time.h>
 
44699
                    #include <unistd.h>
 
44700
 
 
44701
int
 
44702
main ()
 
44703
{
 
44704
 
 
44705
                    struct timeval tv;
 
44706
                    gettimeofday(&tv, NULL);
 
44707
 
 
44708
  ;
 
44709
  return 0;
 
44710
}
 
44711
_ACEOF
 
44712
rm -f conftest.$ac_objext
 
44713
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44714
  (eval $ac_compile) 2>conftest.er1
 
44715
  ac_status=$?
 
44716
  grep -v '^ *+' conftest.er1 >conftest.err
 
44717
  rm -f conftest.er1
 
44718
  cat conftest.err >&5
 
44719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44720
  (exit $ac_status); } &&
 
44721
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44722
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44723
  (eval $ac_try) 2>&5
 
44724
  ac_status=$?
 
44725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44726
  (exit $ac_status); }; } &&
 
44727
         { ac_try='test -s conftest.$ac_objext'
 
44728
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44729
  (eval $ac_try) 2>&5
 
44730
  ac_status=$?
 
44731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44732
  (exit $ac_status); }; }; then
 
44733
  wx_cv_func_gettimeofday_has_2_args=yes
 
44734
else
 
44735
  echo "$as_me: failed program was:" >&5
 
44736
sed 's/^/| /' conftest.$ac_ext >&5
 
44737
 
 
44738
cat >conftest.$ac_ext <<_ACEOF
 
44739
/* confdefs.h.  */
 
44740
_ACEOF
 
44741
cat confdefs.h >>conftest.$ac_ext
 
44742
cat >>conftest.$ac_ext <<_ACEOF
 
44743
/* end confdefs.h.  */
 
44744
 
 
44745
                        #include <sys/time.h>
 
44746
                        #include <unistd.h>
 
44747
 
 
44748
int
 
44749
main ()
 
44750
{
 
44751
 
 
44752
                        struct timeval tv;
 
44753
                        gettimeofday(&tv);
 
44754
 
 
44755
  ;
 
44756
  return 0;
 
44757
}
 
44758
_ACEOF
 
44759
rm -f conftest.$ac_objext
 
44760
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
44761
  (eval $ac_compile) 2>conftest.er1
 
44762
  ac_status=$?
 
44763
  grep -v '^ *+' conftest.er1 >conftest.err
 
44764
  rm -f conftest.er1
 
44765
  cat conftest.err >&5
 
44766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44767
  (exit $ac_status); } &&
 
44768
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44769
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44770
  (eval $ac_try) 2>&5
 
44771
  ac_status=$?
 
44772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44773
  (exit $ac_status); }; } &&
 
44774
         { ac_try='test -s conftest.$ac_objext'
 
44775
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44776
  (eval $ac_try) 2>&5
 
44777
  ac_status=$?
 
44778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44779
  (exit $ac_status); }; }; then
 
44780
  wx_cv_func_gettimeofday_has_2_args=no
 
44781
else
 
44782
  echo "$as_me: failed program was:" >&5
 
44783
sed 's/^/| /' conftest.$ac_ext >&5
 
44784
 
 
44785
 
 
44786
                        { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
 
44787
echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
 
44788
                        wx_cv_func_gettimeofday_has_2_args=unknown
 
44789
 
 
44790
 
 
44791
fi
 
44792
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44793
 
 
44794
fi
 
44795
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
44796
 
 
44797
fi
 
44798
echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
 
44799
echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
 
44800
 
 
44801
        if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
 
44802
            cat >>confdefs.h <<\_ACEOF
 
44803
#define WX_GETTIMEOFDAY_NO_TZ 1
 
44804
_ACEOF
 
44805
 
 
44806
        fi
 
44807
    fi
 
44808
 
 
44809
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
 
44810
fi
 
44811
 
 
44812
 
 
44813
if test "$wxUSE_SOCKETS" = "yes"; then
 
44814
    if test "$wxUSE_MGL" = "1"; then
 
44815
        { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
 
44816
echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
 
44817
        wxUSE_SOCKETS="no"
 
44818
    fi
 
44819
fi
 
44820
 
 
44821
if test "$wxUSE_SOCKETS" = "yes"; then
 
44822
        if test "$TOOLKIT" != "MSW"; then
 
44823
                echo "$as_me:$LINENO: checking for socket" >&5
 
44824
echo $ECHO_N "checking for socket... $ECHO_C" >&6
 
44825
if test "${ac_cv_func_socket+set}" = set; then
 
44826
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44827
else
 
44828
  cat >conftest.$ac_ext <<_ACEOF
 
44829
/* confdefs.h.  */
 
44830
_ACEOF
 
44831
cat confdefs.h >>conftest.$ac_ext
 
44832
cat >>conftest.$ac_ext <<_ACEOF
 
44833
/* end confdefs.h.  */
 
44834
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
 
44835
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
44836
#define socket innocuous_socket
 
44837
 
 
44838
/* System header to define __stub macros and hopefully few prototypes,
 
44839
    which can conflict with char socket (); below.
 
44840
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
44841
    <limits.h> exists even on freestanding compilers.  */
 
44842
 
 
44843
#ifdef __STDC__
 
44844
# include <limits.h>
 
44845
#else
 
44846
# include <assert.h>
 
44847
#endif
 
44848
 
 
44849
#undef socket
 
44850
 
 
44851
/* Override any gcc2 internal prototype to avoid an error.  */
 
44852
#ifdef __cplusplus
 
44853
extern "C"
 
44854
{
 
44855
#endif
 
44856
/* We use char because int might match the return type of a gcc2
 
44857
   builtin and then its argument prototype would still apply.  */
 
44858
char socket ();
 
44859
/* The GNU C library defines this for functions which it implements
 
44860
    to always fail with ENOSYS.  Some functions are actually named
 
44861
    something starting with __ and the normal name is an alias.  */
 
44862
#if defined (__stub_socket) || defined (__stub___socket)
 
44863
choke me
 
44864
#else
 
44865
char (*f) () = socket;
 
44866
#endif
 
44867
#ifdef __cplusplus
 
44868
}
 
44869
#endif
 
44870
 
 
44871
int
 
44872
main ()
 
44873
{
 
44874
return f != socket;
 
44875
  ;
 
44876
  return 0;
 
44877
}
 
44878
_ACEOF
 
44879
rm -f conftest.$ac_objext conftest$ac_exeext
 
44880
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
44881
  (eval $ac_link) 2>conftest.er1
 
44882
  ac_status=$?
 
44883
  grep -v '^ *+' conftest.er1 >conftest.err
 
44884
  rm -f conftest.er1
 
44885
  cat conftest.err >&5
 
44886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44887
  (exit $ac_status); } &&
 
44888
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44889
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44890
  (eval $ac_try) 2>&5
 
44891
  ac_status=$?
 
44892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44893
  (exit $ac_status); }; } &&
 
44894
         { ac_try='test -s conftest$ac_exeext'
 
44895
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44896
  (eval $ac_try) 2>&5
 
44897
  ac_status=$?
 
44898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44899
  (exit $ac_status); }; }; then
 
44900
  ac_cv_func_socket=yes
 
44901
else
 
44902
  echo "$as_me: failed program was:" >&5
 
44903
sed 's/^/| /' conftest.$ac_ext >&5
 
44904
 
 
44905
ac_cv_func_socket=no
 
44906
fi
 
44907
rm -f conftest.err conftest.$ac_objext \
 
44908
      conftest$ac_exeext conftest.$ac_ext
 
44909
fi
 
44910
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
 
44911
echo "${ECHO_T}$ac_cv_func_socket" >&6
 
44912
if test $ac_cv_func_socket = yes; then
 
44913
  :
 
44914
else
 
44915
 
 
44916
                echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
 
44917
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
 
44918
if test "${ac_cv_lib_socket_socket+set}" = set; then
 
44919
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
44920
else
 
44921
  ac_check_lib_save_LIBS=$LIBS
 
44922
LIBS="-lsocket  $LIBS"
 
44923
cat >conftest.$ac_ext <<_ACEOF
 
44924
/* confdefs.h.  */
 
44925
_ACEOF
 
44926
cat confdefs.h >>conftest.$ac_ext
 
44927
cat >>conftest.$ac_ext <<_ACEOF
 
44928
/* end confdefs.h.  */
 
44929
 
 
44930
/* Override any gcc2 internal prototype to avoid an error.  */
 
44931
#ifdef __cplusplus
 
44932
extern "C"
 
44933
#endif
 
44934
/* We use char because int might match the return type of a gcc2
 
44935
   builtin and then its argument prototype would still apply.  */
 
44936
char socket ();
 
44937
int
 
44938
main ()
 
44939
{
 
44940
socket ();
 
44941
  ;
 
44942
  return 0;
 
44943
}
 
44944
_ACEOF
 
44945
rm -f conftest.$ac_objext conftest$ac_exeext
 
44946
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
44947
  (eval $ac_link) 2>conftest.er1
 
44948
  ac_status=$?
 
44949
  grep -v '^ *+' conftest.er1 >conftest.err
 
44950
  rm -f conftest.er1
 
44951
  cat conftest.err >&5
 
44952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44953
  (exit $ac_status); } &&
 
44954
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
44955
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44956
  (eval $ac_try) 2>&5
 
44957
  ac_status=$?
 
44958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44959
  (exit $ac_status); }; } &&
 
44960
         { ac_try='test -s conftest$ac_exeext'
 
44961
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
44962
  (eval $ac_try) 2>&5
 
44963
  ac_status=$?
 
44964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
44965
  (exit $ac_status); }; }; then
 
44966
  ac_cv_lib_socket_socket=yes
 
44967
else
 
44968
  echo "$as_me: failed program was:" >&5
 
44969
sed 's/^/| /' conftest.$ac_ext >&5
 
44970
 
 
44971
ac_cv_lib_socket_socket=no
 
44972
fi
 
44973
rm -f conftest.err conftest.$ac_objext \
 
44974
      conftest$ac_exeext conftest.$ac_ext
 
44975
LIBS=$ac_check_lib_save_LIBS
 
44976
fi
 
44977
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
 
44978
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
 
44979
if test $ac_cv_lib_socket_socket = yes; then
 
44980
  if test "$INET_LINK" != " -lsocket"; then
 
44981
                        INET_LINK="$INET_LINK -lsocket"
 
44982
                    fi
 
44983
else
 
44984
 
 
44985
                        { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
 
44986
echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
 
44987
                        wxUSE_SOCKETS=no
 
44988
 
 
44989
 
 
44990
fi
 
44991
 
 
44992
 
 
44993
 
 
44994
fi
 
44995
 
 
44996
    fi
 
44997
fi
 
44998
 
 
44999
if test "$wxUSE_SOCKETS" = "yes" ; then
 
45000
                if test "$TOOLKIT" != "MSW"; then
 
45001
                                        echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
 
45002
echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
 
45003
if test "${wx_cv_type_getsockname3+set}" = set; then
 
45004
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
45005
else
 
45006
 
 
45007
                ac_ext=cc
 
45008
ac_cpp='$CXXCPP $CPPFLAGS'
 
45009
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45010
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45011
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
45012
 
 
45013
                cat >conftest.$ac_ext <<_ACEOF
 
45014
/* confdefs.h.  */
 
45015
_ACEOF
 
45016
cat confdefs.h >>conftest.$ac_ext
 
45017
cat >>conftest.$ac_ext <<_ACEOF
 
45018
/* end confdefs.h.  */
 
45019
 
 
45020
                        #include <sys/types.h>
 
45021
                        #include <sys/socket.h>
 
45022
 
 
45023
int
 
45024
main ()
 
45025
{
 
45026
 
 
45027
                        socklen_t len;
 
45028
                        getsockname(0, 0, &len);
 
45029
 
 
45030
  ;
 
45031
  return 0;
 
45032
}
 
45033
_ACEOF
 
45034
rm -f conftest.$ac_objext
 
45035
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45036
  (eval $ac_compile) 2>conftest.er1
 
45037
  ac_status=$?
 
45038
  grep -v '^ *+' conftest.er1 >conftest.err
 
45039
  rm -f conftest.er1
 
45040
  cat conftest.err >&5
 
45041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45042
  (exit $ac_status); } &&
 
45043
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45044
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45045
  (eval $ac_try) 2>&5
 
45046
  ac_status=$?
 
45047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45048
  (exit $ac_status); }; } &&
 
45049
         { ac_try='test -s conftest.$ac_objext'
 
45050
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45051
  (eval $ac_try) 2>&5
 
45052
  ac_status=$?
 
45053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45054
  (exit $ac_status); }; }; then
 
45055
  wx_cv_type_getsockname3=socklen_t
 
45056
else
 
45057
  echo "$as_me: failed program was:" >&5
 
45058
sed 's/^/| /' conftest.$ac_ext >&5
 
45059
 
 
45060
 
 
45061
                                                                                                                                                                        CFLAGS_OLD="$CFLAGS"
 
45062
                        if test "$GCC" = yes ; then
 
45063
                            CFLAGS="-Werror $CFLAGS"
 
45064
                        fi
 
45065
 
 
45066
                        cat >conftest.$ac_ext <<_ACEOF
 
45067
/* confdefs.h.  */
 
45068
_ACEOF
 
45069
cat confdefs.h >>conftest.$ac_ext
 
45070
cat >>conftest.$ac_ext <<_ACEOF
 
45071
/* end confdefs.h.  */
 
45072
 
 
45073
                                #include <sys/types.h>
 
45074
                                #include <sys/socket.h>
 
45075
 
 
45076
int
 
45077
main ()
 
45078
{
 
45079
 
 
45080
                                size_t len;
 
45081
                                getsockname(0, 0, &len);
 
45082
 
 
45083
  ;
 
45084
  return 0;
 
45085
}
 
45086
_ACEOF
 
45087
rm -f conftest.$ac_objext
 
45088
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45089
  (eval $ac_compile) 2>conftest.er1
 
45090
  ac_status=$?
 
45091
  grep -v '^ *+' conftest.er1 >conftest.err
 
45092
  rm -f conftest.er1
 
45093
  cat conftest.err >&5
 
45094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45095
  (exit $ac_status); } &&
 
45096
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45097
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45098
  (eval $ac_try) 2>&5
 
45099
  ac_status=$?
 
45100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45101
  (exit $ac_status); }; } &&
 
45102
         { ac_try='test -s conftest.$ac_objext'
 
45103
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45104
  (eval $ac_try) 2>&5
 
45105
  ac_status=$?
 
45106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45107
  (exit $ac_status); }; }; then
 
45108
  wx_cv_type_getsockname3=size_t
 
45109
else
 
45110
  echo "$as_me: failed program was:" >&5
 
45111
sed 's/^/| /' conftest.$ac_ext >&5
 
45112
 
 
45113
cat >conftest.$ac_ext <<_ACEOF
 
45114
/* confdefs.h.  */
 
45115
_ACEOF
 
45116
cat confdefs.h >>conftest.$ac_ext
 
45117
cat >>conftest.$ac_ext <<_ACEOF
 
45118
/* end confdefs.h.  */
 
45119
 
 
45120
                                    #include <sys/types.h>
 
45121
                                    #include <sys/socket.h>
 
45122
 
 
45123
int
 
45124
main ()
 
45125
{
 
45126
 
 
45127
                                    int len;
 
45128
                                    getsockname(0, 0, &len);
 
45129
 
 
45130
  ;
 
45131
  return 0;
 
45132
}
 
45133
_ACEOF
 
45134
rm -f conftest.$ac_objext
 
45135
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45136
  (eval $ac_compile) 2>conftest.er1
 
45137
  ac_status=$?
 
45138
  grep -v '^ *+' conftest.er1 >conftest.err
 
45139
  rm -f conftest.er1
 
45140
  cat conftest.err >&5
 
45141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45142
  (exit $ac_status); } &&
 
45143
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45144
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45145
  (eval $ac_try) 2>&5
 
45146
  ac_status=$?
 
45147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45148
  (exit $ac_status); }; } &&
 
45149
         { ac_try='test -s conftest.$ac_objext'
 
45150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45151
  (eval $ac_try) 2>&5
 
45152
  ac_status=$?
 
45153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45154
  (exit $ac_status); }; }; then
 
45155
  wx_cv_type_getsockname3=int
 
45156
else
 
45157
  echo "$as_me: failed program was:" >&5
 
45158
sed 's/^/| /' conftest.$ac_ext >&5
 
45159
 
 
45160
wx_cv_type_getsockname3=unknown
 
45161
 
 
45162
fi
 
45163
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45164
 
 
45165
fi
 
45166
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45167
 
 
45168
                        CFLAGS="$CFLAGS_OLD"
 
45169
 
 
45170
 
 
45171
fi
 
45172
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45173
                ac_ext=c
 
45174
ac_cpp='$CPP $CPPFLAGS'
 
45175
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45176
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45177
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
45178
 
 
45179
 
 
45180
fi
 
45181
echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
 
45182
echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
 
45183
 
 
45184
        if test "$wx_cv_type_getsockname3" = "unknown"; then
 
45185
            wxUSE_SOCKETS=no
 
45186
            { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
 
45187
echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
 
45188
        else
 
45189
            cat >>confdefs.h <<_ACEOF
 
45190
#define WX_SOCKLEN_T $wx_cv_type_getsockname3
 
45191
_ACEOF
 
45192
 
 
45193
        fi
 
45194
                echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
 
45195
echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
 
45196
if test "${wx_cv_type_getsockopt5+set}" = set; then
 
45197
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
45198
else
 
45199
 
 
45200
                ac_ext=cc
 
45201
ac_cpp='$CXXCPP $CPPFLAGS'
 
45202
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45203
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45204
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
45205
 
 
45206
                cat >conftest.$ac_ext <<_ACEOF
 
45207
/* confdefs.h.  */
 
45208
_ACEOF
 
45209
cat confdefs.h >>conftest.$ac_ext
 
45210
cat >>conftest.$ac_ext <<_ACEOF
 
45211
/* end confdefs.h.  */
 
45212
 
 
45213
                        #include <sys/types.h>
 
45214
                        #include <sys/socket.h>
 
45215
 
 
45216
int
 
45217
main ()
 
45218
{
 
45219
 
 
45220
                        socklen_t len;
 
45221
                        getsockopt(0, 0, 0, 0, &len);
 
45222
 
 
45223
  ;
 
45224
  return 0;
 
45225
}
 
45226
_ACEOF
 
45227
rm -f conftest.$ac_objext
 
45228
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45229
  (eval $ac_compile) 2>conftest.er1
 
45230
  ac_status=$?
 
45231
  grep -v '^ *+' conftest.er1 >conftest.err
 
45232
  rm -f conftest.er1
 
45233
  cat conftest.err >&5
 
45234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45235
  (exit $ac_status); } &&
 
45236
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45237
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45238
  (eval $ac_try) 2>&5
 
45239
  ac_status=$?
 
45240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45241
  (exit $ac_status); }; } &&
 
45242
         { ac_try='test -s conftest.$ac_objext'
 
45243
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45244
  (eval $ac_try) 2>&5
 
45245
  ac_status=$?
 
45246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45247
  (exit $ac_status); }; }; then
 
45248
  wx_cv_type_getsockopt5=socklen_t
 
45249
else
 
45250
  echo "$as_me: failed program was:" >&5
 
45251
sed 's/^/| /' conftest.$ac_ext >&5
 
45252
 
 
45253
 
 
45254
                                                                                                                                                ac_ext=cc
 
45255
ac_cpp='$CXXCPP $CPPFLAGS'
 
45256
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45257
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45258
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
45259
 
 
45260
                        cat >conftest.$ac_ext <<_ACEOF
 
45261
/* confdefs.h.  */
 
45262
_ACEOF
 
45263
cat confdefs.h >>conftest.$ac_ext
 
45264
cat >>conftest.$ac_ext <<_ACEOF
 
45265
/* end confdefs.h.  */
 
45266
 
 
45267
                                #include <sys/types.h>
 
45268
                                #include <sys/socket.h>
 
45269
 
 
45270
int
 
45271
main ()
 
45272
{
 
45273
 
 
45274
                                size_t len;
 
45275
                                getsockopt(0, 0, 0, 0, &len);
 
45276
 
 
45277
  ;
 
45278
  return 0;
 
45279
}
 
45280
_ACEOF
 
45281
rm -f conftest.$ac_objext
 
45282
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45283
  (eval $ac_compile) 2>conftest.er1
 
45284
  ac_status=$?
 
45285
  grep -v '^ *+' conftest.er1 >conftest.err
 
45286
  rm -f conftest.er1
 
45287
  cat conftest.err >&5
 
45288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45289
  (exit $ac_status); } &&
 
45290
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45291
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45292
  (eval $ac_try) 2>&5
 
45293
  ac_status=$?
 
45294
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45295
  (exit $ac_status); }; } &&
 
45296
         { ac_try='test -s conftest.$ac_objext'
 
45297
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45298
  (eval $ac_try) 2>&5
 
45299
  ac_status=$?
 
45300
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45301
  (exit $ac_status); }; }; then
 
45302
  wx_cv_type_getsockopt5=size_t
 
45303
else
 
45304
  echo "$as_me: failed program was:" >&5
 
45305
sed 's/^/| /' conftest.$ac_ext >&5
 
45306
 
 
45307
cat >conftest.$ac_ext <<_ACEOF
 
45308
/* confdefs.h.  */
 
45309
_ACEOF
 
45310
cat confdefs.h >>conftest.$ac_ext
 
45311
cat >>conftest.$ac_ext <<_ACEOF
 
45312
/* end confdefs.h.  */
 
45313
 
 
45314
                                    #include <sys/types.h>
 
45315
                                    #include <sys/socket.h>
 
45316
 
 
45317
int
 
45318
main ()
 
45319
{
 
45320
 
 
45321
                                    int len;
 
45322
                                    getsockopt(0, 0, 0, 0, &len);
 
45323
 
 
45324
  ;
 
45325
  return 0;
 
45326
}
 
45327
_ACEOF
 
45328
rm -f conftest.$ac_objext
 
45329
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45330
  (eval $ac_compile) 2>conftest.er1
 
45331
  ac_status=$?
 
45332
  grep -v '^ *+' conftest.er1 >conftest.err
 
45333
  rm -f conftest.er1
 
45334
  cat conftest.err >&5
 
45335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45336
  (exit $ac_status); } &&
 
45337
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45338
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45339
  (eval $ac_try) 2>&5
 
45340
  ac_status=$?
 
45341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45342
  (exit $ac_status); }; } &&
 
45343
         { ac_try='test -s conftest.$ac_objext'
 
45344
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45345
  (eval $ac_try) 2>&5
 
45346
  ac_status=$?
 
45347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45348
  (exit $ac_status); }; }; then
 
45349
  wx_cv_type_getsockopt5=int
 
45350
else
 
45351
  echo "$as_me: failed program was:" >&5
 
45352
sed 's/^/| /' conftest.$ac_ext >&5
 
45353
 
 
45354
wx_cv_type_getsockopt5=unknown
 
45355
 
 
45356
fi
 
45357
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45358
 
 
45359
fi
 
45360
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45361
                        ac_ext=cc
 
45362
ac_cpp='$CXXCPP $CPPFLAGS'
 
45363
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45364
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45365
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
45366
 
 
45367
 
 
45368
 
 
45369
fi
 
45370
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45371
                ac_ext=c
 
45372
ac_cpp='$CPP $CPPFLAGS'
 
45373
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45374
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45375
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
45376
 
 
45377
 
 
45378
fi
 
45379
echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
 
45380
echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
 
45381
 
 
45382
        if test "$wx_cv_type_getsockopt5" = "unknown"; then
 
45383
            wxUSE_SOCKETS=no
 
45384
            { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
 
45385
echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
 
45386
        else
 
45387
            cat >>confdefs.h <<_ACEOF
 
45388
#define SOCKOPTLEN_T $wx_cv_type_getsockopt5
 
45389
_ACEOF
 
45390
 
 
45391
        fi
 
45392
    fi
 
45393
fi
 
45394
 
 
45395
if test "$wxUSE_SOCKETS" = "yes" ; then
 
45396
    cat >>confdefs.h <<\_ACEOF
 
45397
#define wxUSE_SOCKETS 1
 
45398
_ACEOF
 
45399
 
 
45400
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
 
45401
fi
 
45402
 
 
45403
if test "$wxUSE_PROTOCOL" = "yes"; then
 
45404
    if test "$wxUSE_SOCKETS" != "yes"; then
 
45405
        { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
 
45406
echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
 
45407
        wxUSE_PROTOCOL=no
 
45408
    fi
 
45409
fi
 
45410
 
 
45411
if test "$wxUSE_PROTOCOL" = "yes"; then
 
45412
    cat >>confdefs.h <<\_ACEOF
 
45413
#define wxUSE_PROTOCOL 1
 
45414
_ACEOF
 
45415
 
 
45416
 
 
45417
    if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
 
45418
        cat >>confdefs.h <<\_ACEOF
 
45419
#define wxUSE_PROTOCOL_HTTP 1
 
45420
_ACEOF
 
45421
 
 
45422
    fi
 
45423
    if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
 
45424
        cat >>confdefs.h <<\_ACEOF
 
45425
#define wxUSE_PROTOCOL_FTP 1
 
45426
_ACEOF
 
45427
 
 
45428
    fi
 
45429
    if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
 
45430
        cat >>confdefs.h <<\_ACEOF
 
45431
#define wxUSE_PROTOCOL_FILE 1
 
45432
_ACEOF
 
45433
 
 
45434
    fi
 
45435
else
 
45436
    if test "$wxUSE_FS_INET" = "yes"; then
 
45437
        { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
 
45438
echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
 
45439
        wxUSE_FS_INET="no"
 
45440
    fi
 
45441
fi
 
45442
 
 
45443
if test "$wxUSE_URL" = "yes"; then
 
45444
    if test "$wxUSE_PROTOCOL" != "yes"; then
 
45445
        { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
 
45446
echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
 
45447
        wxUSE_URL=no
 
45448
    fi
 
45449
    if test "$wxUSE_URL" = "yes"; then
 
45450
        cat >>confdefs.h <<\_ACEOF
 
45451
#define wxUSE_URL 1
 
45452
_ACEOF
 
45453
 
 
45454
    fi
 
45455
fi
 
45456
 
 
45457
if test "$wxUSE_VARIANT" = "yes"; then
 
45458
    cat >>confdefs.h <<\_ACEOF
 
45459
#define wxUSE_VARIANT 1
 
45460
_ACEOF
 
45461
 
 
45462
fi
 
45463
 
 
45464
if test "$wxUSE_FS_INET" = "yes"; then
 
45465
  cat >>confdefs.h <<\_ACEOF
 
45466
#define wxUSE_FS_INET 1
 
45467
_ACEOF
 
45468
 
 
45469
fi
 
45470
 
 
45471
 
 
45472
if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
 
45473
    wxUSE_JOYSTICK=no
 
45474
 
 
45475
        if test "$TOOLKIT" = "MSW"; then
 
45476
        wxUSE_JOYSTICK=yes
 
45477
 
 
45478
        elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
 
45479
        if test "$USE_DARWIN" = 1; then
 
45480
                        echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
 
45481
echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
 
45482
            ac_ext=cc
 
45483
ac_cpp='$CXXCPP $CPPFLAGS'
 
45484
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45485
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45486
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
45487
 
 
45488
            cat >conftest.$ac_ext <<_ACEOF
 
45489
/* confdefs.h.  */
 
45490
_ACEOF
 
45491
cat confdefs.h >>conftest.$ac_ext
 
45492
cat >>conftest.$ac_ext <<_ACEOF
 
45493
/* end confdefs.h.  */
 
45494
 #include <IOKit/hid/IOHIDLib.h>
 
45495
int
 
45496
main ()
 
45497
{
 
45498
 IOHIDQueueInterface *qi = NULL;
 
45499
                              IOHIDCallbackFunction cb = NULL;
 
45500
                              qi->setEventCallout(NULL, cb, NULL, NULL);
 
45501
  ;
 
45502
  return 0;
 
45503
}
 
45504
_ACEOF
 
45505
rm -f conftest.$ac_objext
 
45506
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45507
  (eval $ac_compile) 2>conftest.er1
 
45508
  ac_status=$?
 
45509
  grep -v '^ *+' conftest.er1 >conftest.err
 
45510
  rm -f conftest.er1
 
45511
  cat conftest.err >&5
 
45512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45513
  (exit $ac_status); } &&
 
45514
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
45515
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45516
  (eval $ac_try) 2>&5
 
45517
  ac_status=$?
 
45518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45519
  (exit $ac_status); }; } &&
 
45520
         { ac_try='test -s conftest.$ac_objext'
 
45521
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45522
  (eval $ac_try) 2>&5
 
45523
  ac_status=$?
 
45524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45525
  (exit $ac_status); }; }; then
 
45526
   wxUSE_JOYSTICK=yes
 
45527
 
 
45528
else
 
45529
  echo "$as_me: failed program was:" >&5
 
45530
sed 's/^/| /' conftest.$ac_ext >&5
 
45531
 
 
45532
fi
 
45533
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45534
            ac_ext=c
 
45535
ac_cpp='$CPP $CPPFLAGS'
 
45536
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
45537
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
45538
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
45539
 
 
45540
            echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
 
45541
echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
 
45542
        fi
 
45543
 
 
45544
        else
 
45545
                if test "$wxUSE_MGL" != "1"; then
 
45546
 
 
45547
for ac_header in linux/joystick.h
 
45548
do
 
45549
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
45550
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
45551
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
45552
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
45553
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
45554
else
 
45555
  cat >conftest.$ac_ext <<_ACEOF
 
45556
/* confdefs.h.  */
 
45557
_ACEOF
 
45558
cat confdefs.h >>conftest.$ac_ext
 
45559
cat >>conftest.$ac_ext <<_ACEOF
 
45560
/* end confdefs.h.  */
 
45561
$ac_includes_default
 
45562
 
 
45563
#include <$ac_header>
 
45564
_ACEOF
 
45565
rm -f conftest.$ac_objext
 
45566
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45567
  (eval $ac_compile) 2>conftest.er1
 
45568
  ac_status=$?
 
45569
  grep -v '^ *+' conftest.er1 >conftest.err
 
45570
  rm -f conftest.er1
 
45571
  cat conftest.err >&5
 
45572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45573
  (exit $ac_status); } &&
 
45574
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
45575
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45576
  (eval $ac_try) 2>&5
 
45577
  ac_status=$?
 
45578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45579
  (exit $ac_status); }; } &&
 
45580
         { ac_try='test -s conftest.$ac_objext'
 
45581
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45582
  (eval $ac_try) 2>&5
 
45583
  ac_status=$?
 
45584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45585
  (exit $ac_status); }; }; then
 
45586
  eval "$as_ac_Header=yes"
 
45587
else
 
45588
  echo "$as_me: failed program was:" >&5
 
45589
sed 's/^/| /' conftest.$ac_ext >&5
 
45590
 
 
45591
eval "$as_ac_Header=no"
 
45592
fi
 
45593
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45594
fi
 
45595
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
45596
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
45597
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
45598
  cat >>confdefs.h <<_ACEOF
 
45599
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
45600
_ACEOF
 
45601
 wxUSE_JOYSTICK=yes
 
45602
fi
 
45603
 
 
45604
done
 
45605
 
 
45606
        fi
 
45607
    fi
 
45608
 
 
45609
    if test "$wxUSE_JOYSTICK" = "yes"; then
 
45610
        cat >>confdefs.h <<\_ACEOF
 
45611
#define wxUSE_JOYSTICK 1
 
45612
_ACEOF
 
45613
 
 
45614
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
 
45615
    else
 
45616
        { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
 
45617
echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
 
45618
    fi
 
45619
fi
 
45620
 
 
45621
 
 
45622
 
 
45623
if test "$wxUSE_FONTMAP" = "yes" ; then
 
45624
  cat >>confdefs.h <<\_ACEOF
 
45625
#define wxUSE_FONTMAP 1
 
45626
_ACEOF
 
45627
 
 
45628
fi
 
45629
 
 
45630
if test "$wxUSE_UNICODE" = "yes" ; then
 
45631
  cat >>confdefs.h <<\_ACEOF
 
45632
#define wxUSE_UNICODE 1
 
45633
_ACEOF
 
45634
 
 
45635
 
 
45636
  if test "$USE_WIN32" != 1; then
 
45637
      wxUSE_UNICODE_MSLU=no
 
45638
  fi
 
45639
 
 
45640
  if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
 
45641
        echo "$as_me:$LINENO: checking for main in -lunicows" >&5
 
45642
echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
 
45643
if test "${ac_cv_lib_unicows_main+set}" = set; then
 
45644
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
45645
else
 
45646
  ac_check_lib_save_LIBS=$LIBS
 
45647
LIBS="-lunicows  $LIBS"
 
45648
cat >conftest.$ac_ext <<_ACEOF
 
45649
/* confdefs.h.  */
 
45650
_ACEOF
 
45651
cat confdefs.h >>conftest.$ac_ext
 
45652
cat >>conftest.$ac_ext <<_ACEOF
 
45653
/* end confdefs.h.  */
 
45654
 
 
45655
 
 
45656
int
 
45657
main ()
 
45658
{
 
45659
main ();
 
45660
  ;
 
45661
  return 0;
 
45662
}
 
45663
_ACEOF
 
45664
rm -f conftest.$ac_objext conftest$ac_exeext
 
45665
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
45666
  (eval $ac_link) 2>conftest.er1
 
45667
  ac_status=$?
 
45668
  grep -v '^ *+' conftest.er1 >conftest.err
 
45669
  rm -f conftest.er1
 
45670
  cat conftest.err >&5
 
45671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45672
  (exit $ac_status); } &&
 
45673
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
45674
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45675
  (eval $ac_try) 2>&5
 
45676
  ac_status=$?
 
45677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45678
  (exit $ac_status); }; } &&
 
45679
         { ac_try='test -s conftest$ac_exeext'
 
45680
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45681
  (eval $ac_try) 2>&5
 
45682
  ac_status=$?
 
45683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45684
  (exit $ac_status); }; }; then
 
45685
  ac_cv_lib_unicows_main=yes
 
45686
else
 
45687
  echo "$as_me: failed program was:" >&5
 
45688
sed 's/^/| /' conftest.$ac_ext >&5
 
45689
 
 
45690
ac_cv_lib_unicows_main=no
 
45691
fi
 
45692
rm -f conftest.err conftest.$ac_objext \
 
45693
      conftest$ac_exeext conftest.$ac_ext
 
45694
LIBS=$ac_check_lib_save_LIBS
 
45695
fi
 
45696
echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
 
45697
echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
 
45698
if test $ac_cv_lib_unicows_main = yes; then
 
45699
 
 
45700
                cat >>confdefs.h <<\_ACEOF
 
45701
#define wxUSE_UNICODE_MSLU 1
 
45702
_ACEOF
 
45703
 
 
45704
 
 
45705
else
 
45706
 
 
45707
                { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
 
45708
                             Applications will only run on Windows NT/2000/XP!" >&5
 
45709
echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
 
45710
                             Applications will only run on Windows NT/2000/XP!" >&2;}
 
45711
                wxUSE_UNICODE_MSLU=no
 
45712
 
 
45713
fi
 
45714
 
 
45715
    fi
 
45716
fi
 
45717
 
 
45718
if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
 
45719
  cat >>confdefs.h <<\_ACEOF
 
45720
#define wxUSE_EXPERIMENTAL_PRINTF 1
 
45721
_ACEOF
 
45722
 
 
45723
fi
 
45724
 
 
45725
 
 
45726
if test "$wxUSE_POSTSCRIPT" = "yes" ; then
 
45727
  cat >>confdefs.h <<\_ACEOF
 
45728
#define wxUSE_POSTSCRIPT 1
 
45729
_ACEOF
 
45730
 
 
45731
fi
 
45732
 
 
45733
cat >>confdefs.h <<\_ACEOF
 
45734
#define wxUSE_AFM_FOR_POSTSCRIPT 1
 
45735
_ACEOF
 
45736
 
 
45737
 
 
45738
cat >>confdefs.h <<\_ACEOF
 
45739
#define wxUSE_NORMALIZED_PS_FONTS 1
 
45740
_ACEOF
 
45741
 
 
45742
 
 
45743
 
 
45744
if test "$wxUSE_CONSTRAINTS" = "yes"; then
 
45745
    cat >>confdefs.h <<\_ACEOF
 
45746
#define wxUSE_CONSTRAINTS 1
 
45747
_ACEOF
 
45748
 
 
45749
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
 
45750
fi
 
45751
 
 
45752
if test "$wxUSE_MDI" = "yes"; then
 
45753
    cat >>confdefs.h <<\_ACEOF
 
45754
#define wxUSE_MDI 1
 
45755
_ACEOF
 
45756
 
 
45757
 
 
45758
    if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
 
45759
        cat >>confdefs.h <<\_ACEOF
 
45760
#define wxUSE_MDI_ARCHITECTURE 1
 
45761
_ACEOF
 
45762
 
 
45763
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
 
45764
    fi
 
45765
fi
 
45766
 
 
45767
if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
 
45768
    cat >>confdefs.h <<\_ACEOF
 
45769
#define wxUSE_DOC_VIEW_ARCHITECTURE 1
 
45770
_ACEOF
 
45771
 
 
45772
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
 
45773
    if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
 
45774
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
 
45775
    fi
 
45776
fi
 
45777
 
 
45778
if test "$wxUSE_HELP" = "yes"; then
 
45779
    cat >>confdefs.h <<\_ACEOF
 
45780
#define wxUSE_HELP 1
 
45781
_ACEOF
 
45782
 
 
45783
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
 
45784
 
 
45785
    if test "$wxUSE_MSW" = 1; then
 
45786
      if test "$wxUSE_MS_HTML_HELP" = "yes"; then
 
45787
        cat >>confdefs.h <<\_ACEOF
 
45788
#define wxUSE_MS_HTML_HELP 1
 
45789
_ACEOF
 
45790
 
 
45791
      fi
 
45792
    fi
 
45793
 
 
45794
    if test "$wxUSE_WXHTML_HELP" = "yes"; then
 
45795
      if test "$wxUSE_HTML" = "yes"; then
 
45796
        cat >>confdefs.h <<\_ACEOF
 
45797
#define wxUSE_WXHTML_HELP 1
 
45798
_ACEOF
 
45799
 
 
45800
      else
 
45801
        { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
 
45802
echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
 
45803
        wxUSE_WXHTML_HELP=no
 
45804
      fi
 
45805
    fi
 
45806
fi
 
45807
 
 
45808
if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
 
45809
    if test "$wxUSE_CONSTRAINTS" != "yes"; then
 
45810
        { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
 
45811
echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
 
45812
    else
 
45813
        cat >>confdefs.h <<\_ACEOF
 
45814
#define wxUSE_PRINTING_ARCHITECTURE 1
 
45815
_ACEOF
 
45816
 
 
45817
    fi
 
45818
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
 
45819
fi
 
45820
 
 
45821
if test "$wxUSE_PROLOGIO" = "yes" -o  "$wxUSE_RESOURCES" = "yes"; then
 
45822
    { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
 
45823
echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
 
45824
   { (exit 1); exit 1; }; }
 
45825
fi
 
45826
 
 
45827
 
 
45828
if test "$wxUSE_METAFILE" = "yes"; then
 
45829
    if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
 
45830
        { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
 
45831
echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
 
45832
        wxUSE_METAFILE=no
 
45833
    fi
 
45834
fi
 
45835
 
 
45836
 
 
45837
if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
 
45838
                          -o "$wxUSE_CLIPBOARD"     = "yes" \
 
45839
                          -o "$wxUSE_OLE"     = "yes" \
 
45840
                          -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
 
45841
 
 
45842
for ac_header in ole2.h
 
45843
do
 
45844
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
45845
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
45846
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
45847
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
45848
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
45849
else
 
45850
  cat >conftest.$ac_ext <<_ACEOF
 
45851
/* confdefs.h.  */
 
45852
_ACEOF
 
45853
cat confdefs.h >>conftest.$ac_ext
 
45854
cat >>conftest.$ac_ext <<_ACEOF
 
45855
/* end confdefs.h.  */
 
45856
 
 
45857
 
 
45858
#include <$ac_header>
 
45859
_ACEOF
 
45860
rm -f conftest.$ac_objext
 
45861
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45862
  (eval $ac_compile) 2>conftest.er1
 
45863
  ac_status=$?
 
45864
  grep -v '^ *+' conftest.er1 >conftest.err
 
45865
  rm -f conftest.er1
 
45866
  cat conftest.err >&5
 
45867
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45868
  (exit $ac_status); } &&
 
45869
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
45870
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45871
  (eval $ac_try) 2>&5
 
45872
  ac_status=$?
 
45873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45874
  (exit $ac_status); }; } &&
 
45875
         { ac_try='test -s conftest.$ac_objext'
 
45876
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45877
  (eval $ac_try) 2>&5
 
45878
  ac_status=$?
 
45879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45880
  (exit $ac_status); }; }; then
 
45881
  eval "$as_ac_Header=yes"
 
45882
else
 
45883
  echo "$as_me: failed program was:" >&5
 
45884
sed 's/^/| /' conftest.$ac_ext >&5
 
45885
 
 
45886
eval "$as_ac_Header=no"
 
45887
fi
 
45888
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45889
fi
 
45890
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
45891
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
45892
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
45893
  cat >>confdefs.h <<_ACEOF
 
45894
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
45895
_ACEOF
 
45896
 
 
45897
fi
 
45898
 
 
45899
done
 
45900
 
 
45901
 
 
45902
    if test "$ac_cv_header_ole2_h" = "yes" ; then
 
45903
        if test "$GCC" = yes ; then
 
45904
            echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
 
45905
echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
 
45906
            cat >conftest.$ac_ext <<_ACEOF
 
45907
/* confdefs.h.  */
 
45908
_ACEOF
 
45909
cat confdefs.h >>conftest.$ac_ext
 
45910
cat >>conftest.$ac_ext <<_ACEOF
 
45911
/* end confdefs.h.  */
 
45912
#include <windows.h>
 
45913
                            #include <ole2.h>
 
45914
int
 
45915
main ()
 
45916
{
 
45917
 
 
45918
  ;
 
45919
  return 0;
 
45920
}
 
45921
_ACEOF
 
45922
rm -f conftest.$ac_objext
 
45923
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
45924
  (eval $ac_compile) 2>conftest.er1
 
45925
  ac_status=$?
 
45926
  grep -v '^ *+' conftest.er1 >conftest.err
 
45927
  rm -f conftest.er1
 
45928
  cat conftest.err >&5
 
45929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45930
  (exit $ac_status); } &&
 
45931
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
45932
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45933
  (eval $ac_try) 2>&5
 
45934
  ac_status=$?
 
45935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45936
  (exit $ac_status); }; } &&
 
45937
         { ac_try='test -s conftest.$ac_objext'
 
45938
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
45939
  (eval $ac_try) 2>&5
 
45940
  ac_status=$?
 
45941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
45942
  (exit $ac_status); }; }; then
 
45943
  echo "$as_me:$LINENO: result: no" >&5
 
45944
echo "${ECHO_T}no" >&6
 
45945
else
 
45946
  echo "$as_me: failed program was:" >&5
 
45947
sed 's/^/| /' conftest.$ac_ext >&5
 
45948
 
 
45949
echo "$as_me:$LINENO: result: yes" >&5
 
45950
echo "${ECHO_T}yes" >&6
 
45951
                            WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
 
45952
fi
 
45953
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
45954
            LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
 
45955
            if test "$wxUSE_OLE" = "yes" ; then
 
45956
                cat >>confdefs.h <<\_ACEOF
 
45957
#define wxUSE_OLE 1
 
45958
_ACEOF
 
45959
 
 
45960
                cat >>confdefs.h <<\_ACEOF
 
45961
#define wxUSE_OLE_AUTOMATION 1
 
45962
_ACEOF
 
45963
 
 
45964
                cat >>confdefs.h <<\_ACEOF
 
45965
#define wxUSE_ACTIVEX 1
 
45966
_ACEOF
 
45967
 
 
45968
                SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
 
45969
            fi
 
45970
        fi
 
45971
 
 
45972
                if test "$wxUSE_DATAOBJ" = "yes" ; then
 
45973
            cat >>confdefs.h <<\_ACEOF
 
45974
#define wxUSE_DATAOBJ 1
 
45975
_ACEOF
 
45976
 
 
45977
        fi
 
45978
    else
 
45979
        { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
 
45980
echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
 
45981
 
 
45982
        wxUSE_CLIPBOARD=no
 
45983
        wxUSE_DRAG_AND_DROP=no
 
45984
        wxUSE_DATAOBJ=no
 
45985
        wxUSE_OLE=no
 
45986
    fi
 
45987
 
 
45988
    if test "$wxUSE_METAFILE" = "yes"; then
 
45989
        cat >>confdefs.h <<\_ACEOF
 
45990
#define wxUSE_METAFILE 1
 
45991
_ACEOF
 
45992
 
 
45993
 
 
45994
                cat >>confdefs.h <<\_ACEOF
 
45995
#define wxUSE_ENH_METAFILE 1
 
45996
_ACEOF
 
45997
 
 
45998
    fi
 
45999
fi
 
46000
 
 
46001
if test "$wxUSE_IPC" = "yes"; then
 
46002
    if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
 
46003
        { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
 
46004
echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
 
46005
        wxUSE_IPC=no
 
46006
    fi
 
46007
 
 
46008
    if test "$wxUSE_IPC" = "yes"; then
 
46009
        cat >>confdefs.h <<\_ACEOF
 
46010
#define wxUSE_IPC 1
 
46011
_ACEOF
 
46012
 
 
46013
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
 
46014
    fi
 
46015
fi
 
46016
 
 
46017
if test "$wxUSE_DATAOBJ" = "yes"; then
 
46018
    if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
 
46019
        { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
 
46020
echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
 
46021
        wxUSE_DATAOBJ=no
 
46022
    else
 
46023
        cat >>confdefs.h <<\_ACEOF
 
46024
#define wxUSE_DATAOBJ 1
 
46025
_ACEOF
 
46026
 
 
46027
    fi
 
46028
else
 
46029
    { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
 
46030
echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
 
46031
    wxUSE_CLIPBOARD=no
 
46032
    wxUSE_DRAG_AND_DROP=no
 
46033
fi
 
46034
 
 
46035
if test "$wxUSE_CLIPBOARD" = "yes"; then
 
46036
    if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
 
46037
        { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
 
46038
echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
 
46039
        wxUSE_CLIPBOARD=no
 
46040
    fi
 
46041
 
 
46042
    if test "$wxUSE_CLIPBOARD" = "yes"; then
 
46043
        cat >>confdefs.h <<\_ACEOF
 
46044
#define wxUSE_CLIPBOARD 1
 
46045
_ACEOF
 
46046
 
 
46047
    fi
 
46048
fi
 
46049
 
 
46050
if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
 
46051
    if test "$wxUSE_GTK" = 1; then
 
46052
        if test "$WXGTK12" != 1; then
 
46053
            { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
 
46054
echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
 
46055
            wxUSE_DRAG_AND_DROP=no
 
46056
        fi
 
46057
    fi
 
46058
 
 
46059
    if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
 
46060
            "$wxUSE_DFB" = 1; then
 
46061
        { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
 
46062
echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
 
46063
        wxUSE_DRAG_AND_DROP=no
 
46064
    fi
 
46065
 
 
46066
    if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
 
46067
        cat >>confdefs.h <<\_ACEOF
 
46068
#define wxUSE_DRAG_AND_DROP 1
 
46069
_ACEOF
 
46070
 
 
46071
    fi
 
46072
 
 
46073
fi
 
46074
 
 
46075
if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
 
46076
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
 
46077
fi
 
46078
 
 
46079
if test "$wxUSE_SPLINES" = "yes" ; then
 
46080
  cat >>confdefs.h <<\_ACEOF
 
46081
#define wxUSE_SPLINES 1
 
46082
_ACEOF
 
46083
 
 
46084
fi
 
46085
 
 
46086
if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
 
46087
  cat >>confdefs.h <<\_ACEOF
 
46088
#define wxUSE_MOUSEWHEEL 1
 
46089
_ACEOF
 
46090
 
 
46091
fi
 
46092
 
 
46093
 
 
46094
USES_CONTROLS=0
 
46095
if test "$wxUSE_CONTROLS" = "yes"; then
 
46096
  USES_CONTROLS=1
 
46097
fi
 
46098
 
 
46099
if test "$wxUSE_ACCEL" = "yes"; then
 
46100
  cat >>confdefs.h <<\_ACEOF
 
46101
#define wxUSE_ACCEL 1
 
46102
_ACEOF
 
46103
 
 
46104
  USES_CONTROLS=1
 
46105
fi
 
46106
 
 
46107
if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
 
46108
  cat >>confdefs.h <<\_ACEOF
 
46109
#define wxUSE_ANIMATIONCTRL 1
 
46110
_ACEOF
 
46111
 
 
46112
  USES_CONTROLS=1
 
46113
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
 
46114
fi
 
46115
 
 
46116
if test "$wxUSE_BUTTON" = "yes"; then
 
46117
  cat >>confdefs.h <<\_ACEOF
 
46118
#define wxUSE_BUTTON 1
 
46119
_ACEOF
 
46120
 
 
46121
  USES_CONTROLS=1
 
46122
fi
 
46123
 
 
46124
if test "$wxUSE_BMPBUTTON" = "yes"; then
 
46125
  cat >>confdefs.h <<\_ACEOF
 
46126
#define wxUSE_BMPBUTTON 1
 
46127
_ACEOF
 
46128
 
 
46129
  USES_CONTROLS=1
 
46130
fi
 
46131
 
 
46132
if test "$wxUSE_CALCTRL" = "yes"; then
 
46133
  cat >>confdefs.h <<\_ACEOF
 
46134
#define wxUSE_CALENDARCTRL 1
 
46135
_ACEOF
 
46136
 
 
46137
  USES_CONTROLS=1
 
46138
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
 
46139
fi
 
46140
 
 
46141
if test "$wxUSE_CARET" = "yes"; then
 
46142
  cat >>confdefs.h <<\_ACEOF
 
46143
#define wxUSE_CARET 1
 
46144
_ACEOF
 
46145
 
 
46146
  USES_CONTROLS=1
 
46147
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
 
46148
fi
 
46149
 
 
46150
if test "$wxUSE_COLLPANE" = "yes"; then
 
46151
    cat >>confdefs.h <<\_ACEOF
 
46152
#define wxUSE_COLLPANE 1
 
46153
_ACEOF
 
46154
 
 
46155
    USES_CONTROLS=1
 
46156
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
 
46157
fi
 
46158
 
 
46159
if test "$wxUSE_COMBOBOX" = "yes"; then
 
46160
  cat >>confdefs.h <<\_ACEOF
 
46161
#define wxUSE_COMBOBOX 1
 
46162
_ACEOF
 
46163
 
 
46164
  USES_CONTROLS=1
 
46165
fi
 
46166
 
 
46167
if test "$wxUSE_COMBOCTRL" = "yes"; then
 
46168
  cat >>confdefs.h <<\_ACEOF
 
46169
#define wxUSE_COMBOCTRL 1
 
46170
_ACEOF
 
46171
 
 
46172
  USES_CONTROLS=1
 
46173
fi
 
46174
 
 
46175
if test "$wxUSE_CHOICE" = "yes"; then
 
46176
  cat >>confdefs.h <<\_ACEOF
 
46177
#define wxUSE_CHOICE 1
 
46178
_ACEOF
 
46179
 
 
46180
  USES_CONTROLS=1
 
46181
fi
 
46182
 
 
46183
if test "$wxUSE_CHOICEBOOK" = "yes"; then
 
46184
    cat >>confdefs.h <<\_ACEOF
 
46185
#define wxUSE_CHOICEBOOK 1
 
46186
_ACEOF
 
46187
 
 
46188
    USES_CONTROLS=1
 
46189
fi
 
46190
 
 
46191
if test "$wxUSE_CHECKBOX" = "yes"; then
 
46192
  cat >>confdefs.h <<\_ACEOF
 
46193
#define wxUSE_CHECKBOX 1
 
46194
_ACEOF
 
46195
 
 
46196
  USES_CONTROLS=1
 
46197
fi
 
46198
 
 
46199
if test "$wxUSE_CHECKLST" = "yes"; then
 
46200
  cat >>confdefs.h <<\_ACEOF
 
46201
#define wxUSE_CHECKLISTBOX 1
 
46202
_ACEOF
 
46203
 
 
46204
  USES_CONTROLS=1
 
46205
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
 
46206
fi
 
46207
 
 
46208
if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
 
46209
  cat >>confdefs.h <<\_ACEOF
 
46210
#define wxUSE_COLOURPICKERCTRL 1
 
46211
_ACEOF
 
46212
 
 
46213
  USES_CONTROLS=1
 
46214
fi
 
46215
 
 
46216
if test "$wxUSE_DATEPICKCTRL" = "yes"; then
 
46217
  cat >>confdefs.h <<\_ACEOF
 
46218
#define wxUSE_DATEPICKCTRL 1
 
46219
_ACEOF
 
46220
 
 
46221
  USES_CONTROLS=1
 
46222
fi
 
46223
 
 
46224
if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
 
46225
  cat >>confdefs.h <<\_ACEOF
 
46226
#define wxUSE_DIRPICKERCTRL 1
 
46227
_ACEOF
 
46228
 
 
46229
  USES_CONTROLS=1
 
46230
fi
 
46231
 
 
46232
if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
 
46233
  cat >>confdefs.h <<\_ACEOF
 
46234
#define wxUSE_FILEPICKERCTRL 1
 
46235
_ACEOF
 
46236
 
 
46237
  USES_CONTROLS=1
 
46238
fi
 
46239
 
 
46240
if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
 
46241
  cat >>confdefs.h <<\_ACEOF
 
46242
#define wxUSE_FONTPICKERCTRL 1
 
46243
_ACEOF
 
46244
 
 
46245
  USES_CONTROLS=1
 
46246
fi
 
46247
 
 
46248
if test "$wxUSE_DISPLAY" = "yes"; then
 
46249
    if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
 
46250
        { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
 
46251
echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
 
46252
        wxUSE_DISPLAY=no
 
46253
    else
 
46254
        cat >>confdefs.h <<\_ACEOF
 
46255
#define wxUSE_DISPLAY 1
 
46256
_ACEOF
 
46257
 
 
46258
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
 
46259
    fi
 
46260
fi
 
46261
 
 
46262
if test "$wxUSE_DETECT_SM" = "yes"; then
 
46263
    cat >>confdefs.h <<\_ACEOF
 
46264
#define wxUSE_DETECT_SM 1
 
46265
_ACEOF
 
46266
 
 
46267
fi
 
46268
 
 
46269
if test "$wxUSE_GAUGE" = "yes"; then
 
46270
  cat >>confdefs.h <<\_ACEOF
 
46271
#define wxUSE_GAUGE 1
 
46272
_ACEOF
 
46273
 
 
46274
  USES_CONTROLS=1
 
46275
fi
 
46276
 
 
46277
if test "$wxUSE_GRID" = "yes"; then
 
46278
  cat >>confdefs.h <<\_ACEOF
 
46279
#define wxUSE_GRID 1
 
46280
_ACEOF
 
46281
 
 
46282
  USES_CONTROLS=1
 
46283
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
 
46284
fi
 
46285
 
 
46286
if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
 
46287
  cat >>confdefs.h <<\_ACEOF
 
46288
#define wxUSE_HYPERLINKCTRL 1
 
46289
_ACEOF
 
46290
 
 
46291
  USES_CONTROLS=1
 
46292
fi
 
46293
 
 
46294
if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
 
46295
  cat >>confdefs.h <<\_ACEOF
 
46296
#define wxUSE_BITMAPCOMBOBOX 1
 
46297
_ACEOF
 
46298
 
 
46299
  USES_CONTROLS=1
 
46300
fi
 
46301
 
 
46302
if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
 
46303
  cat >>confdefs.h <<\_ACEOF
 
46304
#define wxUSE_DATAVIEWCTRL 1
 
46305
_ACEOF
 
46306
 
 
46307
  USES_CONTROLS=1
 
46308
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
 
46309
fi
 
46310
 
 
46311
if test "$wxUSE_IMAGLIST" = "yes"; then
 
46312
    cat >>confdefs.h <<\_ACEOF
 
46313
#define wxUSE_IMAGLIST 1
 
46314
_ACEOF
 
46315
 
 
46316
fi
 
46317
 
 
46318
if test "$wxUSE_LISTBOOK" = "yes"; then
 
46319
    cat >>confdefs.h <<\_ACEOF
 
46320
#define wxUSE_LISTBOOK 1
 
46321
_ACEOF
 
46322
 
 
46323
    USES_CONTROLS=1
 
46324
fi
 
46325
 
 
46326
if test "$wxUSE_LISTBOX" = "yes"; then
 
46327
    cat >>confdefs.h <<\_ACEOF
 
46328
#define wxUSE_LISTBOX 1
 
46329
_ACEOF
 
46330
 
 
46331
    USES_CONTROLS=1
 
46332
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
 
46333
fi
 
46334
 
 
46335
if test "$wxUSE_LISTCTRL" = "yes"; then
 
46336
    if test "$wxUSE_IMAGLIST" = "yes"; then
 
46337
        cat >>confdefs.h <<\_ACEOF
 
46338
#define wxUSE_LISTCTRL 1
 
46339
_ACEOF
 
46340
 
 
46341
        USES_CONTROLS=1
 
46342
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
 
46343
    else
 
46344
        { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
 
46345
echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
 
46346
    fi
 
46347
fi
 
46348
 
 
46349
if test "$wxUSE_NOTEBOOK" = "yes"; then
 
46350
    cat >>confdefs.h <<\_ACEOF
 
46351
#define wxUSE_NOTEBOOK 1
 
46352
_ACEOF
 
46353
 
 
46354
    USES_CONTROLS=1
 
46355
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
 
46356
fi
 
46357
 
 
46358
if test "$wxUSE_ODCOMBOBOX" = "yes"; then
 
46359
  cat >>confdefs.h <<\_ACEOF
 
46360
#define wxUSE_ODCOMBOBOX 1
 
46361
_ACEOF
 
46362
 
 
46363
  USES_CONTROLS=1
 
46364
  SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
 
46365
fi
 
46366
 
 
46367
 
 
46368
if test "$wxUSE_RADIOBOX" = "yes"; then
 
46369
    cat >>confdefs.h <<\_ACEOF
 
46370
#define wxUSE_RADIOBOX 1
 
46371
_ACEOF
 
46372
 
 
46373
    USES_CONTROLS=1
 
46374
fi
 
46375
 
 
46376
if test "$wxUSE_RADIOBTN" = "yes"; then
 
46377
    cat >>confdefs.h <<\_ACEOF
 
46378
#define wxUSE_RADIOBTN 1
 
46379
_ACEOF
 
46380
 
 
46381
    USES_CONTROLS=1
 
46382
fi
 
46383
 
 
46384
if test "$wxUSE_SASH" = "yes"; then
 
46385
    cat >>confdefs.h <<\_ACEOF
 
46386
#define wxUSE_SASH 1
 
46387
_ACEOF
 
46388
 
 
46389
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
 
46390
fi
 
46391
 
 
46392
if test "$wxUSE_SCROLLBAR" = "yes"; then
 
46393
    cat >>confdefs.h <<\_ACEOF
 
46394
#define wxUSE_SCROLLBAR 1
 
46395
_ACEOF
 
46396
 
 
46397
    USES_CONTROLS=1
 
46398
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
 
46399
fi
 
46400
 
 
46401
if test "$wxUSE_SEARCHCTRL" = "yes"; then
 
46402
    cat >>confdefs.h <<\_ACEOF
 
46403
#define wxUSE_SEARCHCTRL 1
 
46404
_ACEOF
 
46405
 
 
46406
    USES_CONTROLS=1
 
46407
fi
 
46408
 
 
46409
if test "$wxUSE_SLIDER" = "yes"; then
 
46410
    cat >>confdefs.h <<\_ACEOF
 
46411
#define wxUSE_SLIDER 1
 
46412
_ACEOF
 
46413
 
 
46414
    USES_CONTROLS=1
 
46415
fi
 
46416
 
 
46417
if test "$wxUSE_SPINBTN" = "yes"; then
 
46418
    cat >>confdefs.h <<\_ACEOF
 
46419
#define wxUSE_SPINBTN 1
 
46420
_ACEOF
 
46421
 
 
46422
    USES_CONTROLS=1
 
46423
fi
 
46424
 
 
46425
if test "$wxUSE_SPINCTRL" = "yes"; then
 
46426
    cat >>confdefs.h <<\_ACEOF
 
46427
#define wxUSE_SPINCTRL 1
 
46428
_ACEOF
 
46429
 
 
46430
    USES_CONTROLS=1
 
46431
fi
 
46432
 
 
46433
if test "$wxUSE_SPLITTER" = "yes"; then
 
46434
    cat >>confdefs.h <<\_ACEOF
 
46435
#define wxUSE_SPLITTER 1
 
46436
_ACEOF
 
46437
 
 
46438
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
 
46439
fi
 
46440
 
 
46441
if test "$wxUSE_STATBMP" = "yes"; then
 
46442
    cat >>confdefs.h <<\_ACEOF
 
46443
#define wxUSE_STATBMP 1
 
46444
_ACEOF
 
46445
 
 
46446
    USES_CONTROLS=1
 
46447
fi
 
46448
 
 
46449
if test "$wxUSE_STATBOX" = "yes"; then
 
46450
    cat >>confdefs.h <<\_ACEOF
 
46451
#define wxUSE_STATBOX 1
 
46452
_ACEOF
 
46453
 
 
46454
    USES_CONTROLS=1
 
46455
fi
 
46456
 
 
46457
if test "$wxUSE_STATTEXT" = "yes"; then
 
46458
    cat >>confdefs.h <<\_ACEOF
 
46459
#define wxUSE_STATTEXT 1
 
46460
_ACEOF
 
46461
 
 
46462
    USES_CONTROLS=1
 
46463
fi
 
46464
 
 
46465
if test "$wxUSE_STATLINE" = "yes"; then
 
46466
    cat >>confdefs.h <<\_ACEOF
 
46467
#define wxUSE_STATLINE 1
 
46468
_ACEOF
 
46469
 
 
46470
    USES_CONTROLS=1
 
46471
fi
 
46472
 
 
46473
if test "$wxUSE_STATUSBAR" = "yes"; then
 
46474
        cat >>confdefs.h <<\_ACEOF
 
46475
#define wxUSE_NATIVE_STATUSBAR 1
 
46476
_ACEOF
 
46477
 
 
46478
    cat >>confdefs.h <<\_ACEOF
 
46479
#define wxUSE_STATUSBAR 1
 
46480
_ACEOF
 
46481
 
 
46482
    USES_CONTROLS=1
 
46483
 
 
46484
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
 
46485
fi
 
46486
 
 
46487
if test "$wxUSE_TAB_DIALOG" = "yes"; then
 
46488
    cat >>confdefs.h <<\_ACEOF
 
46489
#define wxUSE_TAB_DIALOG 1
 
46490
_ACEOF
 
46491
 
 
46492
fi
 
46493
 
 
46494
if test "$wxUSE_TEXTCTRL" = "yes"; then
 
46495
    cat >>confdefs.h <<\_ACEOF
 
46496
#define wxUSE_TEXTCTRL 1
 
46497
_ACEOF
 
46498
 
 
46499
    USES_CONTROLS=1
 
46500
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
 
46501
 
 
46502
            cat >>confdefs.h <<\_ACEOF
 
46503
#define wxUSE_RICHEDIT 1
 
46504
_ACEOF
 
46505
 
 
46506
    cat >>confdefs.h <<\_ACEOF
 
46507
#define wxUSE_RICHEDIT2 1
 
46508
_ACEOF
 
46509
 
 
46510
fi
 
46511
 
 
46512
if test "$wxUSE_TOGGLEBTN" = "yes"; then
 
46513
    if test "$wxUSE_COCOA" = 1 ; then
 
46514
        { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
 
46515
echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
 
46516
        wxUSE_TOGGLEBTN=no
 
46517
    fi
 
46518
 
 
46519
    if test "$wxUSE_TOGGLEBTN" = "yes"; then
 
46520
        cat >>confdefs.h <<\_ACEOF
 
46521
#define wxUSE_TOGGLEBTN 1
 
46522
_ACEOF
 
46523
 
 
46524
        USES_CONTROLS=1
 
46525
    fi
 
46526
fi
 
46527
 
 
46528
if test "$wxUSE_TOOLBAR" = "yes"; then
 
46529
    cat >>confdefs.h <<\_ACEOF
 
46530
#define wxUSE_TOOLBAR 1
 
46531
_ACEOF
 
46532
 
 
46533
    USES_CONTROLS=1
 
46534
 
 
46535
    if test "$wxUSE_UNIVERSAL" = "yes"; then
 
46536
        wxUSE_TOOLBAR_NATIVE="no"
 
46537
    else
 
46538
        wxUSE_TOOLBAR_NATIVE="yes"
 
46539
        cat >>confdefs.h <<\_ACEOF
 
46540
#define wxUSE_TOOLBAR_NATIVE 1
 
46541
_ACEOF
 
46542
 
 
46543
    fi
 
46544
 
 
46545
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
 
46546
fi
 
46547
 
 
46548
if test "$wxUSE_TOOLTIPS" = "yes"; then
 
46549
    if test "$wxUSE_MOTIF" = 1; then
 
46550
        { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
 
46551
echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
 
46552
    else
 
46553
        if test "$wxUSE_UNIVERSAL" = "yes"; then
 
46554
            { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
 
46555
echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
 
46556
        else
 
46557
            cat >>confdefs.h <<\_ACEOF
 
46558
#define wxUSE_TOOLTIPS 1
 
46559
_ACEOF
 
46560
 
 
46561
        fi
 
46562
    fi
 
46563
fi
 
46564
 
 
46565
if test "$wxUSE_TREEBOOK" = "yes"; then
 
46566
    cat >>confdefs.h <<\_ACEOF
 
46567
#define wxUSE_TREEBOOK 1
 
46568
_ACEOF
 
46569
 
 
46570
    USES_CONTROLS=1
 
46571
fi
 
46572
 
 
46573
if test "$wxUSE_TOOLBOOK" = "yes"; then
 
46574
    cat >>confdefs.h <<\_ACEOF
 
46575
#define wxUSE_TOOLBOOK 1
 
46576
_ACEOF
 
46577
 
 
46578
    USES_CONTROLS=1
 
46579
fi
 
46580
 
 
46581
if test "$wxUSE_TREECTRL" = "yes"; then
 
46582
    if test "$wxUSE_IMAGLIST" = "yes"; then
 
46583
        cat >>confdefs.h <<\_ACEOF
 
46584
#define wxUSE_TREECTRL 1
 
46585
_ACEOF
 
46586
 
 
46587
        USES_CONTROLS=1
 
46588
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
 
46589
    else
 
46590
        { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
 
46591
echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
 
46592
    fi
 
46593
fi
 
46594
 
 
46595
if test "$wxUSE_POPUPWIN" = "yes"; then
 
46596
    if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_PM" = 1 \
 
46597
            -o "$wxUSE_DFB" = 1; then
 
46598
        { echo "$as_me:$LINENO: WARNING: Popup window not yet supported on this platform... disabled" >&5
 
46599
echo "$as_me: WARNING: Popup window not yet supported on this platform... disabled" >&2;}
 
46600
    else
 
46601
        cat >>confdefs.h <<\_ACEOF
 
46602
#define wxUSE_POPUPWIN 1
 
46603
_ACEOF
 
46604
 
 
46605
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
 
46606
 
 
46607
        USES_CONTROLS=1
 
46608
    fi
 
46609
fi
 
46610
 
 
46611
if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
 
46612
    if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
 
46613
        { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
 
46614
echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
 
46615
    else
 
46616
        cat >>confdefs.h <<\_ACEOF
 
46617
#define wxUSE_DIALUP_MANAGER 1
 
46618
_ACEOF
 
46619
 
 
46620
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
 
46621
    fi
 
46622
fi
 
46623
 
 
46624
if test "$wxUSE_TIPWINDOW" = "yes"; then
 
46625
    if test "$wxUSE_PM" = 1; then
 
46626
        { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
 
46627
echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
 
46628
    else
 
46629
        cat >>confdefs.h <<\_ACEOF
 
46630
#define wxUSE_TIPWINDOW 1
 
46631
_ACEOF
 
46632
 
 
46633
    fi
 
46634
fi
 
46635
 
 
46636
if test "$USES_CONTROLS" = 1; then
 
46637
    cat >>confdefs.h <<\_ACEOF
 
46638
#define wxUSE_CONTROLS 1
 
46639
_ACEOF
 
46640
 
 
46641
fi
 
46642
 
 
46643
 
 
46644
if test "$wxUSE_ACCESSIBILITY" = "yes"; then
 
46645
    cat >>confdefs.h <<\_ACEOF
 
46646
#define wxUSE_ACCESSIBILITY 1
 
46647
_ACEOF
 
46648
 
 
46649
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
 
46650
fi
 
46651
 
 
46652
if test "$wxUSE_DC_CACHEING" = "yes"; then
 
46653
    cat >>confdefs.h <<\_ACEOF
 
46654
#define wxUSE_DC_CACHEING 1
 
46655
_ACEOF
 
46656
 
 
46657
fi
 
46658
 
 
46659
if test "$wxUSE_DRAGIMAGE" = "yes"; then
 
46660
    cat >>confdefs.h <<\_ACEOF
 
46661
#define wxUSE_DRAGIMAGE 1
 
46662
_ACEOF
 
46663
 
 
46664
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
 
46665
fi
 
46666
 
 
46667
if test "$wxUSE_EXCEPTIONS" = "yes"; then
 
46668
    if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
 
46669
        { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
 
46670
echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
 
46671
    else
 
46672
        cat >>confdefs.h <<\_ACEOF
 
46673
#define wxUSE_EXCEPTIONS 1
 
46674
_ACEOF
 
46675
 
 
46676
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
 
46677
    fi
 
46678
fi
 
46679
 
 
46680
USE_HTML=0
 
46681
if test "$wxUSE_HTML" = "yes"; then
 
46682
    cat >>confdefs.h <<\_ACEOF
 
46683
#define wxUSE_HTML 1
 
46684
_ACEOF
 
46685
 
 
46686
    USE_HTML=1
 
46687
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
 
46688
    if test "$wxUSE_MAC" = 1; then
 
46689
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
 
46690
    fi
 
46691
fi
 
46692
if test "$wxUSE_WEBKIT" = "yes"; then
 
46693
    if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
 
46694
        old_CPPFLAGS="$CPPFLAGS"
 
46695
        CPPFLAGS="-x objective-c++ $CPPFLAGS"
 
46696
        echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
 
46697
echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
 
46698
if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
 
46699
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
46700
else
 
46701
  cat >conftest.$ac_ext <<_ACEOF
 
46702
/* confdefs.h.  */
 
46703
_ACEOF
 
46704
cat confdefs.h >>conftest.$ac_ext
 
46705
cat >>conftest.$ac_ext <<_ACEOF
 
46706
/* end confdefs.h.  */
 
46707
 
 
46708
                           #include <Carbon/Carbon.h>
 
46709
                           #include <WebKit/WebKit.h>
 
46710
 
 
46711
 
 
46712
#include <WebKit/HIWebView.h>
 
46713
_ACEOF
 
46714
rm -f conftest.$ac_objext
 
46715
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
46716
  (eval $ac_compile) 2>conftest.er1
 
46717
  ac_status=$?
 
46718
  grep -v '^ *+' conftest.er1 >conftest.err
 
46719
  rm -f conftest.er1
 
46720
  cat conftest.err >&5
 
46721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
46722
  (exit $ac_status); } &&
 
46723
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
46724
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
46725
  (eval $ac_try) 2>&5
 
46726
  ac_status=$?
 
46727
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
46728
  (exit $ac_status); }; } &&
 
46729
         { ac_try='test -s conftest.$ac_objext'
 
46730
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
46731
  (eval $ac_try) 2>&5
 
46732
  ac_status=$?
 
46733
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
46734
  (exit $ac_status); }; }; then
 
46735
  ac_cv_header_WebKit_HIWebView_h=yes
 
46736
else
 
46737
  echo "$as_me: failed program was:" >&5
 
46738
sed 's/^/| /' conftest.$ac_ext >&5
 
46739
 
 
46740
ac_cv_header_WebKit_HIWebView_h=no
 
46741
fi
 
46742
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
46743
fi
 
46744
echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
 
46745
echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
 
46746
if test $ac_cv_header_WebKit_HIWebView_h = yes; then
 
46747
 
 
46748
                           cat >>confdefs.h <<\_ACEOF
 
46749
#define wxUSE_WEBKIT 1
 
46750
_ACEOF
 
46751
 
 
46752
                           WEBKIT_LINK="-framework WebKit"
 
46753
 
 
46754
else
 
46755
 
 
46756
                           { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
 
46757
echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
 
46758
                           wxUSE_WEBKIT=no
 
46759
 
 
46760
fi
 
46761
 
 
46762
 
 
46763
        CPPFLAGS="$old_CPPFLAGS"
 
46764
    elif test "$wxUSE_COCOA" = 1; then
 
46765
        cat >>confdefs.h <<\_ACEOF
 
46766
#define wxUSE_WEBKIT 1
 
46767
_ACEOF
 
46768
 
 
46769
    else
 
46770
        wxUSE_WEBKIT=no
 
46771
    fi
 
46772
fi
 
46773
 
 
46774
USE_XRC=0
 
46775
if test "$wxUSE_XRC" = "yes"; then
 
46776
    if test "$wxUSE_XML" != "yes"; then
 
46777
        { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
 
46778
echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
 
46779
        wxUSE_XRC=no
 
46780
    else
 
46781
        cat >>confdefs.h <<\_ACEOF
 
46782
#define wxUSE_XRC 1
 
46783
_ACEOF
 
46784
 
 
46785
        USE_XRC=1
 
46786
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
 
46787
    fi
 
46788
fi
 
46789
 
 
46790
USE_AUI=0
 
46791
if test "$wxUSE_AUI" = "yes"; then
 
46792
   cat >>confdefs.h <<\_ACEOF
 
46793
#define wxUSE_AUI 1
 
46794
_ACEOF
 
46795
 
 
46796
   USE_AUI=1
 
46797
   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
 
46798
fi
 
46799
 
 
46800
if test "$wxUSE_MENUS" = "yes"; then
 
46801
    cat >>confdefs.h <<\_ACEOF
 
46802
#define wxUSE_MENUS 1
 
46803
_ACEOF
 
46804
 
 
46805
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
 
46806
fi
 
46807
 
 
46808
if test "$wxUSE_METAFILE" = "yes"; then
 
46809
    cat >>confdefs.h <<\_ACEOF
 
46810
#define wxUSE_METAFILE 1
 
46811
_ACEOF
 
46812
 
 
46813
fi
 
46814
 
 
46815
if test "$wxUSE_MIMETYPE" = "yes"; then
 
46816
    cat >>confdefs.h <<\_ACEOF
 
46817
#define wxUSE_MIMETYPE 1
 
46818
_ACEOF
 
46819
 
 
46820
fi
 
46821
 
 
46822
if test "$wxUSE_MINIFRAME" = "yes"; then
 
46823
    cat >>confdefs.h <<\_ACEOF
 
46824
#define wxUSE_MINIFRAME 1
 
46825
_ACEOF
 
46826
 
 
46827
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
 
46828
fi
 
46829
 
 
46830
if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
 
46831
    cat >>confdefs.h <<\_ACEOF
 
46832
#define wxUSE_SYSTEM_OPTIONS 1
 
46833
_ACEOF
 
46834
 
 
46835
fi
 
46836
 
 
46837
if test "$wxUSE_VALIDATORS" = "yes"; then
 
46838
    cat >>confdefs.h <<\_ACEOF
 
46839
#define wxUSE_VALIDATORS 1
 
46840
_ACEOF
 
46841
 
 
46842
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
 
46843
fi
 
46844
 
 
46845
if test "$wxUSE_PALETTE" = "yes" ; then
 
46846
    if test "$wxUSE_DFB" = 1; then
 
46847
        { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
 
46848
echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
 
46849
        wxUSE_PALETTE=no
 
46850
    else
 
46851
        cat >>confdefs.h <<\_ACEOF
 
46852
#define wxUSE_PALETTE 1
 
46853
_ACEOF
 
46854
 
 
46855
    fi
 
46856
fi
 
46857
 
 
46858
if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
 
46859
    LIBS=" -lunicows $LIBS"
 
46860
fi
 
46861
 
 
46862
USE_RICHTEXT=0
 
46863
if test "$wxUSE_RICHTEXT" = "yes"; then
 
46864
    cat >>confdefs.h <<\_ACEOF
 
46865
#define wxUSE_RICHTEXT 1
 
46866
_ACEOF
 
46867
 
 
46868
    USE_RICHTEXT=1
 
46869
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
 
46870
fi
 
46871
 
 
46872
 
 
46873
if test "$wxUSE_IMAGE" = "yes" ; then
 
46874
    cat >>confdefs.h <<\_ACEOF
 
46875
#define wxUSE_IMAGE 1
 
46876
_ACEOF
 
46877
 
 
46878
 
 
46879
    if test "$wxUSE_GIF" = "yes" ; then
 
46880
      cat >>confdefs.h <<\_ACEOF
 
46881
#define wxUSE_GIF 1
 
46882
_ACEOF
 
46883
 
 
46884
    fi
 
46885
 
 
46886
    if test "$wxUSE_PCX" = "yes" ; then
 
46887
      cat >>confdefs.h <<\_ACEOF
 
46888
#define wxUSE_PCX 1
 
46889
_ACEOF
 
46890
 
 
46891
    fi
 
46892
 
 
46893
    if test "$wxUSE_TGA" = "yes" ; then
 
46894
      cat >>confdefs.h <<\_ACEOF
 
46895
#define wxUSE_TGA 1
 
46896
_ACEOF
 
46897
 
 
46898
    fi
 
46899
 
 
46900
    if test "$wxUSE_IFF" = "yes" ; then
 
46901
      cat >>confdefs.h <<\_ACEOF
 
46902
#define wxUSE_IFF 1
 
46903
_ACEOF
 
46904
 
 
46905
    fi
 
46906
 
 
46907
    if test "$wxUSE_PNM" = "yes" ; then
 
46908
      cat >>confdefs.h <<\_ACEOF
 
46909
#define wxUSE_PNM 1
 
46910
_ACEOF
 
46911
 
 
46912
    fi
 
46913
 
 
46914
    if test "$wxUSE_XPM" = "yes" ; then
 
46915
      cat >>confdefs.h <<\_ACEOF
 
46916
#define wxUSE_XPM 1
 
46917
_ACEOF
 
46918
 
 
46919
    fi
 
46920
 
 
46921
    if test "$wxUSE_ICO_CUR" = "yes" ; then
 
46922
      cat >>confdefs.h <<\_ACEOF
 
46923
#define wxUSE_ICO_CUR 1
 
46924
_ACEOF
 
46925
 
 
46926
    fi
 
46927
fi
 
46928
 
 
46929
 
 
46930
if test "$wxUSE_ABOUTDLG" = "yes"; then
 
46931
    cat >>confdefs.h <<\_ACEOF
 
46932
#define wxUSE_ABOUTDLG 1
 
46933
_ACEOF
 
46934
 
 
46935
fi
 
46936
 
 
46937
if test "$wxUSE_CHOICEDLG" = "yes"; then
 
46938
    cat >>confdefs.h <<\_ACEOF
 
46939
#define wxUSE_CHOICEDLG 1
 
46940
_ACEOF
 
46941
 
 
46942
fi
 
46943
 
 
46944
if test "$wxUSE_COLOURDLG" = "yes"; then
 
46945
    cat >>confdefs.h <<\_ACEOF
 
46946
#define wxUSE_COLOURDLG 1
 
46947
_ACEOF
 
46948
 
 
46949
fi
 
46950
 
 
46951
if test "$wxUSE_FILEDLG" = "yes"; then
 
46952
    cat >>confdefs.h <<\_ACEOF
 
46953
#define wxUSE_FILEDLG 1
 
46954
_ACEOF
 
46955
 
 
46956
fi
 
46957
 
 
46958
if test "$wxUSE_FINDREPLDLG" = "yes"; then
 
46959
    cat >>confdefs.h <<\_ACEOF
 
46960
#define wxUSE_FINDREPLDLG 1
 
46961
_ACEOF
 
46962
 
 
46963
fi
 
46964
 
 
46965
if test "$wxUSE_FONTDLG" = "yes"; then
 
46966
    cat >>confdefs.h <<\_ACEOF
 
46967
#define wxUSE_FONTDLG 1
 
46968
_ACEOF
 
46969
 
 
46970
fi
 
46971
 
 
46972
if test "$wxUSE_DIRDLG" = "yes"; then
 
46973
    if test "$wxUSE_TREECTRL" != "yes"; then
 
46974
        { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
 
46975
echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
 
46976
    else
 
46977
        cat >>confdefs.h <<\_ACEOF
 
46978
#define wxUSE_DIRDLG 1
 
46979
_ACEOF
 
46980
 
 
46981
    fi
 
46982
fi
 
46983
 
 
46984
if test "$wxUSE_MSGDLG" = "yes"; then
 
46985
    cat >>confdefs.h <<\_ACEOF
 
46986
#define wxUSE_MSGDLG 1
 
46987
_ACEOF
 
46988
 
 
46989
fi
 
46990
 
 
46991
if test "$wxUSE_NUMBERDLG" = "yes"; then
 
46992
    cat >>confdefs.h <<\_ACEOF
 
46993
#define wxUSE_NUMBERDLG 1
 
46994
_ACEOF
 
46995
 
 
46996
fi
 
46997
 
 
46998
if test "$wxUSE_PROGRESSDLG" = "yes"; then
 
46999
    if test "$wxUSE_CONSTRAINTS" != "yes"; then
 
47000
       { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
 
47001
echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
 
47002
    else
 
47003
        cat >>confdefs.h <<\_ACEOF
 
47004
#define wxUSE_PROGRESSDLG 1
 
47005
_ACEOF
 
47006
 
 
47007
    fi
 
47008
fi
 
47009
 
 
47010
if test "$wxUSE_SPLASH" = "yes"; then
 
47011
    cat >>confdefs.h <<\_ACEOF
 
47012
#define wxUSE_SPLASH 1
 
47013
_ACEOF
 
47014
 
 
47015
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
 
47016
fi
 
47017
 
 
47018
if test "$wxUSE_STARTUP_TIPS" = "yes"; then
 
47019
    if test "$wxUSE_CONSTRAINTS" != "yes"; then
 
47020
       { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
 
47021
echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
 
47022
    else
 
47023
        cat >>confdefs.h <<\_ACEOF
 
47024
#define wxUSE_STARTUP_TIPS 1
 
47025
_ACEOF
 
47026
 
 
47027
    fi
 
47028
fi
 
47029
 
 
47030
if test "$wxUSE_TEXTDLG" = "yes"; then
 
47031
    cat >>confdefs.h <<\_ACEOF
 
47032
#define wxUSE_TEXTDLG 1
 
47033
_ACEOF
 
47034
 
 
47035
fi
 
47036
 
 
47037
if test "$wxUSE_WIZARDDLG" = "yes"; then
 
47038
    cat >>confdefs.h <<\_ACEOF
 
47039
#define wxUSE_WIZARDDLG 1
 
47040
_ACEOF
 
47041
 
 
47042
    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
 
47043
fi
 
47044
 
 
47045
 
 
47046
if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
 
47047
   if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
 
47048
      cat >>confdefs.h <<\_ACEOF
 
47049
#define wxUSE_GRAPHICS_CONTEXT 1
 
47050
_ACEOF
 
47051
 
 
47052
   elif test "$wxUSE_GTK" != 1; then
 
47053
            cat >>confdefs.h <<\_ACEOF
 
47054
#define wxUSE_GRAPHICS_CONTEXT 1
 
47055
_ACEOF
 
47056
 
 
47057
   else
 
47058
 
 
47059
pkg_failed=no
 
47060
echo "$as_me:$LINENO: checking for CAIRO" >&5
 
47061
echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
 
47062
 
 
47063
if test -n "$PKG_CONFIG"; then
 
47064
    if test -n "$CAIRO_CFLAGS"; then
 
47065
        pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
 
47066
    else
 
47067
        if test -n "$PKG_CONFIG" && \
 
47068
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
 
47069
  ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
 
47070
  ac_status=$?
 
47071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
47072
  (exit $ac_status); }; then
 
47073
  pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
 
47074
else
 
47075
  pkg_failed=yes
 
47076
fi
 
47077
    fi
 
47078
else
 
47079
        pkg_failed=untried
 
47080
fi
 
47081
if test -n "$PKG_CONFIG"; then
 
47082
    if test -n "$CAIRO_LIBS"; then
 
47083
        pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
 
47084
    else
 
47085
        if test -n "$PKG_CONFIG" && \
 
47086
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
 
47087
  ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
 
47088
  ac_status=$?
 
47089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
47090
  (exit $ac_status); }; then
 
47091
  pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
 
47092
else
 
47093
  pkg_failed=yes
 
47094
fi
 
47095
    fi
 
47096
else
 
47097
        pkg_failed=untried
 
47098
fi
 
47099
 
 
47100
 
 
47101
 
 
47102
if test $pkg_failed = yes; then
 
47103
 
 
47104
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
47105
        _pkg_short_errors_supported=yes
 
47106
else
 
47107
        _pkg_short_errors_supported=no
 
47108
fi
 
47109
        if test $_pkg_short_errors_supported = yes; then
 
47110
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
 
47111
        else
 
47112
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
 
47113
        fi
 
47114
        # Put the nasty error message in config.log where it belongs
 
47115
        echo "$CAIRO_PKG_ERRORS" >&5
 
47116
 
 
47117
        { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
 
47118
echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
 
47119
 
 
47120
elif test $pkg_failed = untried; then
 
47121
        { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
 
47122
echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
 
47123
 
 
47124
else
 
47125
        CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
 
47126
        CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
 
47127
        echo "$as_me:$LINENO: result: yes" >&5
 
47128
echo "${ECHO_T}yes" >&6
 
47129
        cat >>confdefs.h <<\_ACEOF
 
47130
#define wxUSE_GRAPHICS_CONTEXT 1
 
47131
_ACEOF
 
47132
 
 
47133
fi
 
47134
   fi
 
47135
fi
 
47136
 
 
47137
 
 
47138
USE_MEDIA=0
 
47139
 
 
47140
if test "$wxUSE_MEDIACTRL" = "yes"; then
 
47141
    USE_MEDIA=1
 
47142
 
 
47143
                if test "$wxUSE_GTK" = 1; then
 
47144
        wxUSE_GSTREAMER="no"
 
47145
 
 
47146
                                                                GST_VERSION_MAJOR=0
 
47147
        GST_VERSION_MINOR=10
 
47148
        GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
 
47149
 
 
47150
        if test "$wxUSE_GSTREAMER8" = "no"; then
 
47151
 
 
47152
pkg_failed=no
 
47153
echo "$as_me:$LINENO: checking for GST" >&5
 
47154
echo $ECHO_N "checking for GST... $ECHO_C" >&6
 
47155
 
 
47156
if test -n "$PKG_CONFIG"; then
 
47157
    if test -n "$GST_CFLAGS"; then
 
47158
        pkg_cv_GST_CFLAGS="$GST_CFLAGS"
 
47159
    else
 
47160
        if test -n "$PKG_CONFIG" && \
 
47161
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
 
47162
  ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
 
47163
  ac_status=$?
 
47164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
47165
  (exit $ac_status); }; then
 
47166
  pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
 
47167
else
 
47168
  pkg_failed=yes
 
47169
fi
 
47170
    fi
 
47171
else
 
47172
        pkg_failed=untried
 
47173
fi
 
47174
if test -n "$PKG_CONFIG"; then
 
47175
    if test -n "$GST_LIBS"; then
 
47176
        pkg_cv_GST_LIBS="$GST_LIBS"
 
47177
    else
 
47178
        if test -n "$PKG_CONFIG" && \
 
47179
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
 
47180
  ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
 
47181
  ac_status=$?
 
47182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
47183
  (exit $ac_status); }; then
 
47184
  pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
 
47185
else
 
47186
  pkg_failed=yes
 
47187
fi
 
47188
    fi
 
47189
else
 
47190
        pkg_failed=untried
 
47191
fi
 
47192
 
 
47193
 
 
47194
 
 
47195
if test $pkg_failed = yes; then
 
47196
 
 
47197
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
47198
        _pkg_short_errors_supported=yes
 
47199
else
 
47200
        _pkg_short_errors_supported=no
 
47201
fi
 
47202
        if test $_pkg_short_errors_supported = yes; then
 
47203
                GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
 
47204
        else
 
47205
                GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
 
47206
        fi
 
47207
        # Put the nasty error message in config.log where it belongs
 
47208
        echo "$GST_PKG_ERRORS" >&5
 
47209
 
 
47210
 
 
47211
                    { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
 
47212
echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
 
47213
                    GST_VERSION_MINOR=8
 
47214
 
 
47215
 
 
47216
elif test $pkg_failed = untried; then
 
47217
 
 
47218
                    { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
 
47219
echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
 
47220
                    GST_VERSION_MINOR=8
 
47221
 
 
47222
 
 
47223
else
 
47224
        GST_CFLAGS=$pkg_cv_GST_CFLAGS
 
47225
        GST_LIBS=$pkg_cv_GST_LIBS
 
47226
        echo "$as_me:$LINENO: result: yes" >&5
 
47227
echo "${ECHO_T}yes" >&6
 
47228
 
 
47229
                    wxUSE_GSTREAMER="yes"
 
47230
                    GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
 
47231
 
 
47232
fi
 
47233
        else
 
47234
                        GST_VERSION_MINOR=8
 
47235
        fi
 
47236
 
 
47237
        if test $GST_VERSION_MINOR = "8"; then
 
47238
            GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
 
47239
 
 
47240
pkg_failed=no
 
47241
echo "$as_me:$LINENO: checking for GST" >&5
 
47242
echo $ECHO_N "checking for GST... $ECHO_C" >&6
 
47243
 
 
47244
if test -n "$PKG_CONFIG"; then
 
47245
    if test -n "$GST_CFLAGS"; then
 
47246
        pkg_cv_GST_CFLAGS="$GST_CFLAGS"
 
47247
    else
 
47248
        if test -n "$PKG_CONFIG" && \
 
47249
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
 
47250
  ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
 
47251
  ac_status=$?
 
47252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
47253
  (exit $ac_status); }; then
 
47254
  pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
 
47255
else
 
47256
  pkg_failed=yes
 
47257
fi
 
47258
    fi
 
47259
else
 
47260
        pkg_failed=untried
 
47261
fi
 
47262
if test -n "$PKG_CONFIG"; then
 
47263
    if test -n "$GST_LIBS"; then
 
47264
        pkg_cv_GST_LIBS="$GST_LIBS"
 
47265
    else
 
47266
        if test -n "$PKG_CONFIG" && \
 
47267
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
 
47268
  ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
 
47269
  ac_status=$?
 
47270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
47271
  (exit $ac_status); }; then
 
47272
  pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
 
47273
else
 
47274
  pkg_failed=yes
 
47275
fi
 
47276
    fi
 
47277
else
 
47278
        pkg_failed=untried
 
47279
fi
 
47280
 
 
47281
 
 
47282
 
 
47283
if test $pkg_failed = yes; then
 
47284
 
 
47285
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
47286
        _pkg_short_errors_supported=yes
 
47287
else
 
47288
        _pkg_short_errors_supported=no
 
47289
fi
 
47290
        if test $_pkg_short_errors_supported = yes; then
 
47291
                GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
 
47292
        else
 
47293
                GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
 
47294
        fi
 
47295
        # Put the nasty error message in config.log where it belongs
 
47296
        echo "$GST_PKG_ERRORS" >&5
 
47297
 
 
47298
 
 
47299
                    { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
 
47300
echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
 
47301
 
 
47302
elif test $pkg_failed = untried; then
 
47303
 
 
47304
                    { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
 
47305
echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
 
47306
 
 
47307
else
 
47308
        GST_CFLAGS=$pkg_cv_GST_CFLAGS
 
47309
        GST_LIBS=$pkg_cv_GST_LIBS
 
47310
        echo "$as_me:$LINENO: result: yes" >&5
 
47311
echo "${ECHO_T}yes" >&6
 
47312
        wxUSE_GSTREAMER="yes"
 
47313
fi
 
47314
        fi
 
47315
 
 
47316
 
 
47317
        if test "$wxUSE_GSTREAMER" = "yes"; then
 
47318
                                    case "${host}" in
 
47319
                *-*-solaris2* )
 
47320
                    if test "$GCC" = yes; then
 
47321
                        GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
 
47322
                        GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
 
47323
                    fi
 
47324
            esac
 
47325
 
 
47326
            CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
 
47327
            EXTRALIBS_MEDIA="$GST_LIBS"
 
47328
 
 
47329
            cat >>confdefs.h <<\_ACEOF
 
47330
#define wxUSE_GSTREAMER 1
 
47331
_ACEOF
 
47332
 
 
47333
        else
 
47334
            USE_MEDIA=0
 
47335
        fi
 
47336
    fi
 
47337
 
 
47338
    if test $USE_MEDIA = 1; then
 
47339
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
 
47340
        cat >>confdefs.h <<\_ACEOF
 
47341
#define wxUSE_MEDIACTRL 1
 
47342
_ACEOF
 
47343
 
 
47344
    fi
 
47345
fi
 
47346
 
 
47347
 
 
47348
if test "$cross_compiling" = "yes"; then
 
47349
        OSINFO="\"$host\""
 
47350
else
 
47351
        OSINFO=`uname -s -r -m`
 
47352
    OSINFO="\"$OSINFO\""
 
47353
fi
 
47354
 
 
47355
cat >>confdefs.h <<_ACEOF
 
47356
#define WXWIN_OS_DESCRIPTION $OSINFO
 
47357
_ACEOF
 
47358
 
 
47359
 
 
47360
 
 
47361
if test "x$prefix" != "xNONE"; then
 
47362
    wxPREFIX=$prefix
 
47363
else
 
47364
    wxPREFIX=$ac_default_prefix
 
47365
fi
 
47366
 
 
47367
cat >>confdefs.h <<_ACEOF
 
47368
#define wxINSTALL_PREFIX "$wxPREFIX"
 
47369
_ACEOF
 
47370
 
 
47371
 
 
47372
 
 
47373
 
 
47374
CORE_BASE_LIBS="net base"
 
47375
CORE_GUI_LIBS="adv core"
 
47376
 
 
47377
if test "$wxUSE_XML" = "yes" ; then
 
47378
    CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
 
47379
fi
 
47380
if test "$wxUSE_ODBC" != "no" ; then
 
47381
    CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
 
47382
    CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
 
47383
fi
 
47384
if test "$wxUSE_HTML" = "yes" ; then
 
47385
    CORE_GUI_LIBS="html $CORE_GUI_LIBS"
 
47386
fi
 
47387
if test "$wxUSE_DEBUGREPORT" = "yes" ; then
 
47388
    CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
 
47389
fi
 
47390
if test "$wxUSE_XRC" = "yes" ; then
 
47391
    CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
 
47392
fi
 
47393
if test "$wxUSE_AUI" = "yes" ; then
 
47394
    CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
 
47395
fi
 
47396
if test "$wxUSE_RICHTEXT" = "yes" ; then
 
47397
    CORE_GUI_LIBS="richtext $CORE_GUI_LIBS"
 
47398
fi
 
47399
 
 
47400
if test "$wxUSE_GUI" != "yes"; then
 
47401
    CORE_GUI_LIBS=""
 
47402
fi
 
47403
 
 
47404
 
 
47405
 
 
47406
 
 
47407
 
 
47408
 
 
47409
if test "$wxUSE_MAC" = 1 ; then
 
47410
    if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
 
47411
        if test "$USE_DARWIN" != 1; then
 
47412
            LDFLAGS="$LDFLAGS -lQuickTimeLib"
 
47413
        fi
 
47414
    fi
 
47415
    if test "$USE_DARWIN" = 1; then
 
47416
        LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL"
 
47417
    else
 
47418
        LDFLAGS="$LDFLAGS -lCarbonLib"
 
47419
    fi
 
47420
fi
 
47421
if test "$wxUSE_COCOA" = 1 ; then
 
47422
    LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
 
47423
    if test "$wxUSE_MEDIACTRL" = "yes"; then
 
47424
        LDFLAGS="$LDFLAGS -framework QuickTime"
 
47425
    fi
 
47426
fi
 
47427
if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
 
47428
    LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
 
47429
fi
 
47430
 
 
47431
LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
 
47432
 
 
47433
if test "$wxUSE_GUI" = "yes"; then
 
47434
 
 
47435
 
 
47436
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
 
47437
                     dynamic erase event exec font image minimal mobile \
 
47438
                     mobile/wxedit mobile/styles propsize render \
 
47439
                     rotate shaped taskbar vscroll widgets"
 
47440
 
 
47441
    if test "$wxUSE_MONOLITHIC" != "yes"; then
 
47442
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
 
47443
    fi
 
47444
    if test "$TOOLKIT" = "MSW"; then
 
47445
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
 
47446
        if test "$wxUSE_UNIVERSAL" != "yes"; then
 
47447
            SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
 
47448
        fi
 
47449
    fi
 
47450
    if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
 
47451
        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
 
47452
    fi
 
47453
else
 
47454
    SAMPLES_SUBDIRS="console"
 
47455
fi
 
47456
 
 
47457
 
 
47458
if test "x$INTELCC" = "xyes" ; then
 
47459
                                        CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
 
47460
elif test "$GCC" = yes ; then
 
47461
    CWARNINGS="-Wall -Wundef"
 
47462
fi
 
47463
 
 
47464
if test "x$INTELCXX" = "xyes" ; then
 
47465
                                                            CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
 
47466
elif test "$GXX" = yes ; then
 
47467
        CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
 
47468
fi
 
47469
 
 
47470
 
 
47471
WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
 
47472
WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
 
47473
 
 
47474
 
 
47475
CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
 
47476
 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
 
47477
 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
 
47478
 $CPPFLAGS `
 
47479
 
 
47480
C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
 
47481
CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
 
47482
CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
 
47483
OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
 
47484
OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
 
47485
 
 
47486
WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
 
47487
 
 
47488
 
 
47489
if test "x$MWCC" = "xyes"; then
 
47490
 
 
47491
            CC="$CC -cwd source -I-"
 
47492
    CXX="$CXX -cwd source -I-"
 
47493
fi
 
47494
 
 
47495
 
 
47496
LIBS=`echo $LIBS`
 
47497
EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
 
47498
EXTRALIBS_XML="$EXPAT_LINK"
 
47499
EXTRALIBS_HTML="$MSPACK_LINK"
 
47500
EXTRALIBS_MEDIA="$GST_LIBS"
 
47501
EXTRALIBS_ODBC="$ODBC_LINK"
 
47502
if test "$wxUSE_GUI" = "yes"; then
 
47503
    EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
 
47504
fi
 
47505
if test "$wxUSE_OPENGL" = "yes"; then
 
47506
    EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
 
47507
fi
 
47508
 
 
47509
LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
 
47510
 
 
47511
WXCONFIG_LIBS="$LIBS"
 
47512
 
 
47513
if test "$wxUSE_REGEX" = "builtin" ; then
 
47514
    wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
 
47515
fi
 
47516
if test "$wxUSE_EXPAT" = "builtin" ; then
 
47517
    wxconfig_3rdparty="expat $wxconfig_3rdparty"
 
47518
fi
 
47519
if test "$wxUSE_ODBC" = "builtin" ; then
 
47520
    wxconfig_3rdparty="odbc $wxconfig_3rdparty"
 
47521
fi
 
47522
if test "$wxUSE_LIBTIFF" = "builtin" ; then
 
47523
    wxconfig_3rdparty="tiff $wxconfig_3rdparty"
 
47524
fi
 
47525
if test "$wxUSE_LIBJPEG" = "builtin" ; then
 
47526
    wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
 
47527
fi
 
47528
if test "$wxUSE_LIBPNG" = "builtin" ; then
 
47529
    wxconfig_3rdparty="png $wxconfig_3rdparty"
 
47530
fi
 
47531
if test "$wxUSE_ZLIB" = "builtin" ; then
 
47532
    wxconfig_3rdparty="zlib $wxconfig_3rdparty"
 
47533
fi
 
47534
 
 
47535
for i in $wxconfig_3rdparty ; do
 
47536
    WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
 
47537
done
 
47538
 
 
47539
 
 
47540
if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
 
47541
    WXUNIV=1
 
47542
 
 
47543
    case "$wxUNIV_THEMES" in
 
47544
        ''|all)
 
47545
            cat >>confdefs.h <<\_ACEOF
 
47546
#define wxUSE_ALL_THEMES 1
 
47547
_ACEOF
 
47548
 
 
47549
            ;;
 
47550
 
 
47551
        *)
 
47552
            for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
 
47553
                cat >>confdefs.h <<_ACEOF
 
47554
#define wxUSE_THEME_$t 1
 
47555
_ACEOF
 
47556
 
 
47557
            done
 
47558
    esac
 
47559
else
 
47560
    WXUNIV=0
 
47561
fi
 
47562
 
 
47563
 
 
47564
 
 
47565
 
 
47566
 
 
47567
 
 
47568
 
 
47569
 
 
47570
 
 
47571
if test $wxUSE_MONOLITHIC = "yes" ; then
 
47572
    MONOLITHIC=1
 
47573
else
 
47574
    MONOLITHIC=0
 
47575
fi
 
47576
 
 
47577
if test $wxUSE_PLUGINS = "yes" ; then
 
47578
    USE_PLUGINS=1
 
47579
else
 
47580
    USE_PLUGINS=0
 
47581
fi
 
47582
 
 
47583
if test $wxUSE_ODBC != "no" ; then
 
47584
    USE_ODBC=1
 
47585
else
 
47586
    USE_ODBC=0
 
47587
fi
 
47588
 
 
47589
if test "$wxUSE_DEBUGREPORT" = "yes" ; then
 
47590
    USE_QA=1
 
47591
else
 
47592
    USE_QA=0
 
47593
fi
 
47594
 
 
47595
if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
 
47596
    OFFICIAL_BUILD=1
 
47597
else
 
47598
    OFFICIAL_BUILD=0
 
47599
fi
 
47600
 
 
47601
 
 
47602
 
 
47603
 
 
47604
 
 
47605
 
 
47606
 
 
47607
 
 
47608
 
 
47609
 
 
47610
 
 
47611
 
 
47612
 
 
47613
 
 
47614
 
 
47615
 
 
47616
 
 
47617
 
 
47618
 
 
47619
 
 
47620
 
 
47621
 
 
47622
 
 
47623
 
 
47624
 
 
47625
 
 
47626
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
 
47627
 
 
47628
 
 
47629
 
 
47630
 
 
47631
 
 
47632
 
 
47633
 
 
47634
 
 
47635
 
 
47636
 
 
47637
case "$TOOLKIT" in
 
47638
    GTK)
 
47639
        TOOLKIT_DESC="GTK+"
 
47640
        if test "$WXGTK20" = 1; then
 
47641
            TOOLKIT_DESC="$TOOLKIT_DESC 2"
 
47642
            if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
 
47643
                TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
 
47644
            fi
 
47645
            if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
 
47646
                TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
 
47647
            fi
 
47648
            if test "$wxUSE_LIBHILDON" = "yes"; then
 
47649
                TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
 
47650
            fi
 
47651
 
 
47652
            if test "$TOOLKIT_EXTRA" != ""; then
 
47653
                TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
 
47654
            fi
 
47655
        fi
 
47656
        ;;
 
47657
 
 
47658
    ?*)
 
47659
        TOOLKIT_DESC=$TOOLKIT_LOWERCASE
 
47660
        ;;
 
47661
 
 
47662
    *)
 
47663
        TOOLKIT_DESC="base only"
 
47664
        ;;
 
47665
esac
 
47666
 
 
47667
if test "$wxUSE_WINE" = "yes"; then
 
47668
    BAKEFILE_FORCE_PLATFORM=win32
 
47669
fi
 
47670
 
 
47671
if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
 
47672
then
 
47673
    echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
 
47674
echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
 
47675
if test "${wx_cv_gcc_pch_bug+set}" = set; then
 
47676
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47677
else
 
47678
 
 
47679
            echo '#include <stdio.h>
 
47680
                  const wchar_t test_var[] = L"awidetest";' > conftest.h
 
47681
 
 
47682
            echo '#include "conftest.h"
 
47683
                  int main()
 
47684
                  {
 
47685
                     printf("%ls", test_var);
 
47686
                     return 0;
 
47687
                  }' > conftest.cpp
 
47688
 
 
47689
            wx_cv_gcc_pch_bug="pch not supported"
 
47690
 
 
47691
            if $CXX conftest.h >/dev/null 2>&1
 
47692
            then
 
47693
                wx_cv_gcc_pch_bug=
 
47694
 
 
47695
                if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
 
47696
                then
 
47697
                    if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
 
47698
                        grep awidetest >/dev/null
 
47699
                    then
 
47700
                        wx_cv_gcc_pch_bug=no
 
47701
                    else
 
47702
                        wx_cv_gcc_pch_bug=yes
 
47703
                    fi
 
47704
                fi
 
47705
            fi
 
47706
 
 
47707
            rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
 
47708
 
 
47709
fi
 
47710
echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
 
47711
echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
 
47712
 
 
47713
    if test "$wx_cv_gcc_pch_bug" = yes; then
 
47714
                        bk_use_pch=no
 
47715
    fi
 
47716
fi
 
47717
 
 
47718
 
 
47719
 
 
47720
 
 
47721
 
 
47722
 
 
47723
 
 
47724
    if test "x$BAKEFILE_HOST" = "x"; then
 
47725
               if test "x${host}" = "x" ; then
 
47726
                       { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
 
47727
echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
 
47728
   { (exit 1); exit 1; }; }
 
47729
               fi
 
47730
 
 
47731
        BAKEFILE_HOST="${host}"
 
47732
    fi
 
47733
 
 
47734
    if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
 
47735
 
 
47736
    if test -n "$ac_tool_prefix"; then
 
47737
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
47738
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
47739
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
47740
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
47741
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
47742
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47743
else
 
47744
  if test -n "$RANLIB"; then
 
47745
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
47746
else
 
47747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
47748
for as_dir in $PATH
 
47749
do
 
47750
  IFS=$as_save_IFS
 
47751
  test -z "$as_dir" && as_dir=.
 
47752
  for ac_exec_ext in '' $ac_executable_extensions; do
 
47753
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
47754
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
47755
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
47756
    break 2
 
47757
  fi
 
47758
done
 
47759
done
 
47760
 
 
47761
fi
 
47762
fi
 
47763
RANLIB=$ac_cv_prog_RANLIB
 
47764
if test -n "$RANLIB"; then
 
47765
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
47766
echo "${ECHO_T}$RANLIB" >&6
 
47767
else
 
47768
  echo "$as_me:$LINENO: result: no" >&5
 
47769
echo "${ECHO_T}no" >&6
 
47770
fi
 
47771
 
 
47772
fi
 
47773
if test -z "$ac_cv_prog_RANLIB"; then
 
47774
  ac_ct_RANLIB=$RANLIB
 
47775
  # Extract the first word of "ranlib", so it can be a program name with args.
 
47776
set dummy ranlib; ac_word=$2
 
47777
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
47778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
47779
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
47780
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47781
else
 
47782
  if test -n "$ac_ct_RANLIB"; then
 
47783
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
47784
else
 
47785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
47786
for as_dir in $PATH
 
47787
do
 
47788
  IFS=$as_save_IFS
 
47789
  test -z "$as_dir" && as_dir=.
 
47790
  for ac_exec_ext in '' $ac_executable_extensions; do
 
47791
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
47792
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
47793
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
47794
    break 2
 
47795
  fi
 
47796
done
 
47797
done
 
47798
 
 
47799
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
47800
fi
 
47801
fi
 
47802
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
47803
if test -n "$ac_ct_RANLIB"; then
 
47804
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
47805
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
47806
else
 
47807
  echo "$as_me:$LINENO: result: no" >&5
 
47808
echo "${ECHO_T}no" >&6
 
47809
fi
 
47810
 
 
47811
  RANLIB=$ac_ct_RANLIB
 
47812
else
 
47813
  RANLIB="$ac_cv_prog_RANLIB"
 
47814
fi
 
47815
 
 
47816
    # Find a good install program.  We prefer a C program (faster),
 
47817
# so one script is as good as another.  But avoid the broken or
 
47818
# incompatible versions:
 
47819
# SysV /etc/install, /usr/sbin/install
 
47820
# SunOS /usr/etc/install
 
47821
# IRIX /sbin/install
 
47822
# AIX /bin/install
 
47823
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
47824
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
47825
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
47826
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
47827
# OS/2's system install, which has a completely different semantic
 
47828
# ./install, which can be erroneously created by make from ./install.sh.
 
47829
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
47830
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
47831
if test -z "$INSTALL"; then
 
47832
if test "${ac_cv_path_install+set}" = set; then
 
47833
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47834
else
 
47835
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
47836
for as_dir in $PATH
 
47837
do
 
47838
  IFS=$as_save_IFS
 
47839
  test -z "$as_dir" && as_dir=.
 
47840
  # Account for people who put trailing slashes in PATH elements.
 
47841
case $as_dir/ in
 
47842
  ./ | .// | /cC/* | \
 
47843
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
47844
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
47845
  /usr/ucb/* ) ;;
 
47846
  *)
 
47847
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
47848
    # Don't use installbsd from OSF since it installs stuff as root
 
47849
    # by default.
 
47850
    for ac_prog in ginstall scoinst install; do
 
47851
      for ac_exec_ext in '' $ac_executable_extensions; do
 
47852
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
47853
          if test $ac_prog = install &&
 
47854
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
47855
            # AIX install.  It has an incompatible calling convention.
 
47856
            :
 
47857
          elif test $ac_prog = install &&
 
47858
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
47859
            # program-specific install script used by HP pwplus--don't use.
 
47860
            :
 
47861
          else
 
47862
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
47863
            break 3
 
47864
          fi
 
47865
        fi
 
47866
      done
 
47867
    done
 
47868
    ;;
 
47869
esac
 
47870
done
 
47871
 
 
47872
 
 
47873
fi
 
47874
  if test "${ac_cv_path_install+set}" = set; then
 
47875
    INSTALL=$ac_cv_path_install
 
47876
  else
 
47877
    # As a last resort, use the slow shell script.  We don't cache a
 
47878
    # path for INSTALL within a source directory, because that will
 
47879
    # break other packages using the cache if that directory is
 
47880
    # removed, or if the path is relative.
 
47881
    INSTALL=$ac_install_sh
 
47882
  fi
 
47883
fi
 
47884
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
47885
echo "${ECHO_T}$INSTALL" >&6
 
47886
 
 
47887
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
47888
# It thinks the first close brace ends the variable substitution.
 
47889
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
47890
 
 
47891
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
47892
 
 
47893
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
47894
 
 
47895
    echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
47896
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
47897
LN_S=$as_ln_s
 
47898
if test "$LN_S" = "ln -s"; then
 
47899
  echo "$as_me:$LINENO: result: yes" >&5
 
47900
echo "${ECHO_T}yes" >&6
 
47901
else
 
47902
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
47903
echo "${ECHO_T}no, using $LN_S" >&6
 
47904
fi
 
47905
 
 
47906
 
 
47907
    echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
47908
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
47909
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
47910
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
47911
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47912
else
 
47913
  cat >conftest.make <<\_ACEOF
 
47914
all:
 
47915
        @echo 'ac_maketemp="$(MAKE)"'
 
47916
_ACEOF
 
47917
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
47918
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
47919
if test -n "$ac_maketemp"; then
 
47920
  eval ac_cv_prog_make_${ac_make}_set=yes
 
47921
else
 
47922
  eval ac_cv_prog_make_${ac_make}_set=no
 
47923
fi
 
47924
rm -f conftest.make
 
47925
fi
 
47926
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
47927
  echo "$as_me:$LINENO: result: yes" >&5
 
47928
echo "${ECHO_T}yes" >&6
 
47929
  SET_MAKE=
 
47930
else
 
47931
  echo "$as_me:$LINENO: result: no" >&5
 
47932
echo "${ECHO_T}no" >&6
 
47933
  SET_MAKE="MAKE=${MAKE-make}"
 
47934
fi
 
47935
 
 
47936
 
 
47937
 
 
47938
    if test "x$SUNCXX" = "xyes"; then
 
47939
                                AR=$CXX
 
47940
        AROPTIONS="-xar -o"
 
47941
 
 
47942
    elif test "x$SGICC" = "xyes"; then
 
47943
                AR=$CXX
 
47944
        AROPTIONS="-ar -o"
 
47945
 
 
47946
    else
 
47947
        if test -n "$ac_tool_prefix"; then
 
47948
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
47949
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
47950
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
47951
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
47952
if test "${ac_cv_prog_AR+set}" = set; then
 
47953
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47954
else
 
47955
  if test -n "$AR"; then
 
47956
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
47957
else
 
47958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
47959
for as_dir in $PATH
 
47960
do
 
47961
  IFS=$as_save_IFS
 
47962
  test -z "$as_dir" && as_dir=.
 
47963
  for ac_exec_ext in '' $ac_executable_extensions; do
 
47964
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
47965
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
47966
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
47967
    break 2
 
47968
  fi
 
47969
done
 
47970
done
 
47971
 
 
47972
fi
 
47973
fi
 
47974
AR=$ac_cv_prog_AR
 
47975
if test -n "$AR"; then
 
47976
  echo "$as_me:$LINENO: result: $AR" >&5
 
47977
echo "${ECHO_T}$AR" >&6
 
47978
else
 
47979
  echo "$as_me:$LINENO: result: no" >&5
 
47980
echo "${ECHO_T}no" >&6
 
47981
fi
 
47982
 
 
47983
fi
 
47984
if test -z "$ac_cv_prog_AR"; then
 
47985
  ac_ct_AR=$AR
 
47986
  # Extract the first word of "ar", so it can be a program name with args.
 
47987
set dummy ar; ac_word=$2
 
47988
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
47989
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
47990
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
47991
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
47992
else
 
47993
  if test -n "$ac_ct_AR"; then
 
47994
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
47995
else
 
47996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
47997
for as_dir in $PATH
 
47998
do
 
47999
  IFS=$as_save_IFS
 
48000
  test -z "$as_dir" && as_dir=.
 
48001
  for ac_exec_ext in '' $ac_executable_extensions; do
 
48002
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
48003
    ac_cv_prog_ac_ct_AR="ar"
 
48004
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
48005
    break 2
 
48006
  fi
 
48007
done
 
48008
done
 
48009
 
 
48010
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
 
48011
fi
 
48012
fi
 
48013
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
48014
if test -n "$ac_ct_AR"; then
 
48015
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
48016
echo "${ECHO_T}$ac_ct_AR" >&6
 
48017
else
 
48018
  echo "$as_me:$LINENO: result: no" >&5
 
48019
echo "${ECHO_T}no" >&6
 
48020
fi
 
48021
 
 
48022
  AR=$ac_ct_AR
 
48023
else
 
48024
  AR="$ac_cv_prog_AR"
 
48025
fi
 
48026
 
 
48027
        AROPTIONS=rcu
 
48028
    fi
 
48029
 
 
48030
 
 
48031
    if test -n "$ac_tool_prefix"; then
 
48032
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
48033
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
48034
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
48035
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
48036
if test "${ac_cv_prog_STRIP+set}" = set; then
 
48037
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48038
else
 
48039
  if test -n "$STRIP"; then
 
48040
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
48041
else
 
48042
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
48043
for as_dir in $PATH
 
48044
do
 
48045
  IFS=$as_save_IFS
 
48046
  test -z "$as_dir" && as_dir=.
 
48047
  for ac_exec_ext in '' $ac_executable_extensions; do
 
48048
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
48049
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
48050
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
48051
    break 2
 
48052
  fi
 
48053
done
 
48054
done
 
48055
 
 
48056
fi
 
48057
fi
 
48058
STRIP=$ac_cv_prog_STRIP
 
48059
if test -n "$STRIP"; then
 
48060
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
48061
echo "${ECHO_T}$STRIP" >&6
 
48062
else
 
48063
  echo "$as_me:$LINENO: result: no" >&5
 
48064
echo "${ECHO_T}no" >&6
 
48065
fi
 
48066
 
 
48067
fi
 
48068
if test -z "$ac_cv_prog_STRIP"; then
 
48069
  ac_ct_STRIP=$STRIP
 
48070
  # Extract the first word of "strip", so it can be a program name with args.
 
48071
set dummy strip; ac_word=$2
 
48072
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
48073
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
48074
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
48075
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48076
else
 
48077
  if test -n "$ac_ct_STRIP"; then
 
48078
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
48079
else
 
48080
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
48081
for as_dir in $PATH
 
48082
do
 
48083
  IFS=$as_save_IFS
 
48084
  test -z "$as_dir" && as_dir=.
 
48085
  for ac_exec_ext in '' $ac_executable_extensions; do
 
48086
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
48087
    ac_cv_prog_ac_ct_STRIP="strip"
 
48088
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
48089
    break 2
 
48090
  fi
 
48091
done
 
48092
done
 
48093
 
 
48094
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
48095
fi
 
48096
fi
 
48097
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
48098
if test -n "$ac_ct_STRIP"; then
 
48099
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
48100
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
48101
else
 
48102
  echo "$as_me:$LINENO: result: no" >&5
 
48103
echo "${ECHO_T}no" >&6
 
48104
fi
 
48105
 
 
48106
  STRIP=$ac_ct_STRIP
 
48107
else
 
48108
  STRIP="$ac_cv_prog_STRIP"
 
48109
fi
 
48110
 
 
48111
    if test -n "$ac_tool_prefix"; then
 
48112
  # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
 
48113
set dummy ${ac_tool_prefix}nm; ac_word=$2
 
48114
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
48115
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
48116
if test "${ac_cv_prog_NM+set}" = set; then
 
48117
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48118
else
 
48119
  if test -n "$NM"; then
 
48120
  ac_cv_prog_NM="$NM" # Let the user override the test.
 
48121
else
 
48122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
48123
for as_dir in $PATH
 
48124
do
 
48125
  IFS=$as_save_IFS
 
48126
  test -z "$as_dir" && as_dir=.
 
48127
  for ac_exec_ext in '' $ac_executable_extensions; do
 
48128
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
48129
    ac_cv_prog_NM="${ac_tool_prefix}nm"
 
48130
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
48131
    break 2
 
48132
  fi
 
48133
done
 
48134
done
 
48135
 
 
48136
fi
 
48137
fi
 
48138
NM=$ac_cv_prog_NM
 
48139
if test -n "$NM"; then
 
48140
  echo "$as_me:$LINENO: result: $NM" >&5
 
48141
echo "${ECHO_T}$NM" >&6
 
48142
else
 
48143
  echo "$as_me:$LINENO: result: no" >&5
 
48144
echo "${ECHO_T}no" >&6
 
48145
fi
 
48146
 
 
48147
fi
 
48148
if test -z "$ac_cv_prog_NM"; then
 
48149
  ac_ct_NM=$NM
 
48150
  # Extract the first word of "nm", so it can be a program name with args.
 
48151
set dummy nm; ac_word=$2
 
48152
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
48153
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
48154
if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
 
48155
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48156
else
 
48157
  if test -n "$ac_ct_NM"; then
 
48158
  ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
 
48159
else
 
48160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
48161
for as_dir in $PATH
 
48162
do
 
48163
  IFS=$as_save_IFS
 
48164
  test -z "$as_dir" && as_dir=.
 
48165
  for ac_exec_ext in '' $ac_executable_extensions; do
 
48166
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
48167
    ac_cv_prog_ac_ct_NM="nm"
 
48168
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
48169
    break 2
 
48170
  fi
 
48171
done
 
48172
done
 
48173
 
 
48174
  test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
 
48175
fi
 
48176
fi
 
48177
ac_ct_NM=$ac_cv_prog_ac_ct_NM
 
48178
if test -n "$ac_ct_NM"; then
 
48179
  echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
 
48180
echo "${ECHO_T}$ac_ct_NM" >&6
 
48181
else
 
48182
  echo "$as_me:$LINENO: result: no" >&5
 
48183
echo "${ECHO_T}no" >&6
 
48184
fi
 
48185
 
 
48186
  NM=$ac_ct_NM
 
48187
else
 
48188
  NM="$ac_cv_prog_NM"
 
48189
fi
 
48190
 
 
48191
 
 
48192
            echo "$as_me:$LINENO: checking for command to install directories" >&5
 
48193
echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6
 
48194
    INSTALL_TEST_DIR=acbftest$$
 
48195
    $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
 
48196
    if test $? = 0 -a -d $INSTALL_TEST_DIR; then
 
48197
        rmdir $INSTALL_TEST_DIR
 
48198
                        INSTALL_DIR='$(INSTALL) -d'
 
48199
        echo "$as_me:$LINENO: result: $INSTALL -d" >&5
 
48200
echo "${ECHO_T}$INSTALL -d" >&6
 
48201
    else
 
48202
        INSTALL_DIR="mkdir -p"
 
48203
        echo "$as_me:$LINENO: result: mkdir -p" >&5
 
48204
echo "${ECHO_T}mkdir -p" >&6
 
48205
    fi
 
48206
 
 
48207
 
 
48208
    LDFLAGS_GUI=
 
48209
    case ${BAKEFILE_HOST} in
 
48210
        *-*-cygwin* | *-*-mingw32* )
 
48211
        LDFLAGS_GUI="-mwindows"
 
48212
    esac
 
48213
 
 
48214
 
 
48215
    fi
 
48216
 
 
48217
        echo "$as_me:$LINENO: checking if make is GNU make" >&5
 
48218
echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
 
48219
if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
 
48220
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48221
else
 
48222
 
 
48223
        if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
 
48224
                egrep -s GNU > /dev/null); then
 
48225
            bakefile_cv_prog_makeisgnu="yes"
 
48226
        else
 
48227
            bakefile_cv_prog_makeisgnu="no"
 
48228
        fi
 
48229
 
 
48230
fi
 
48231
echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
 
48232
echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
 
48233
 
 
48234
    if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
 
48235
        IF_GNU_MAKE=""
 
48236
    else
 
48237
        IF_GNU_MAKE="#"
 
48238
    fi
 
48239
 
 
48240
 
 
48241
 
 
48242
    PLATFORM_UNIX=0
 
48243
    PLATFORM_WIN32=0
 
48244
    PLATFORM_MSDOS=0
 
48245
    PLATFORM_MAC=0
 
48246
    PLATFORM_MACOS=0
 
48247
    PLATFORM_MACOSX=0
 
48248
    PLATFORM_OS2=0
 
48249
    PLATFORM_BEOS=0
 
48250
 
 
48251
    if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
 
48252
        case "${BAKEFILE_HOST}" in
 
48253
            *-*-mingw32* )
 
48254
                PLATFORM_WIN32=1
 
48255
            ;;
 
48256
            *-pc-msdosdjgpp )
 
48257
                PLATFORM_MSDOS=1
 
48258
            ;;
 
48259
            *-pc-os2_emx | *-pc-os2-emx )
 
48260
                PLATFORM_OS2=1
 
48261
            ;;
 
48262
            *-*-darwin* )
 
48263
                PLATFORM_MAC=1
 
48264
                PLATFORM_MACOSX=1
 
48265
            ;;
 
48266
            *-*-beos* )
 
48267
                PLATFORM_BEOS=1
 
48268
            ;;
 
48269
            powerpc-apple-macos* )
 
48270
                PLATFORM_MAC=1
 
48271
                PLATFORM_MACOS=1
 
48272
            ;;
 
48273
            * )
 
48274
                PLATFORM_UNIX=1
 
48275
            ;;
 
48276
        esac
 
48277
    else
 
48278
        case "$BAKEFILE_FORCE_PLATFORM" in
 
48279
            win32 )
 
48280
                PLATFORM_WIN32=1
 
48281
            ;;
 
48282
            msdos )
 
48283
                PLATFORM_MSDOS=1
 
48284
            ;;
 
48285
            os2 )
 
48286
                PLATFORM_OS2=1
 
48287
            ;;
 
48288
            darwin )
 
48289
                PLATFORM_MAC=1
 
48290
                PLATFORM_MACOSX=1
 
48291
            ;;
 
48292
            unix )
 
48293
                PLATFORM_UNIX=1
 
48294
            ;;
 
48295
            beos )
 
48296
                PLATFORM_BEOS=1
 
48297
            ;;
 
48298
            * )
 
48299
                { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
 
48300
echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
 
48301
   { (exit 1); exit 1; }; }
 
48302
            ;;
 
48303
        esac
 
48304
    fi
 
48305
 
 
48306
 
 
48307
 
 
48308
 
 
48309
 
 
48310
 
 
48311
 
 
48312
 
 
48313
 
 
48314
 
 
48315
 
 
48316
    # Check whether --enable-omf or --disable-omf was given.
 
48317
if test "${enable_omf+set}" = set; then
 
48318
  enableval="$enable_omf"
 
48319
  bk_os2_use_omf="$enableval"
 
48320
fi;
 
48321
 
 
48322
    case "${BAKEFILE_HOST}" in
 
48323
      *-*-darwin* )
 
48324
                        if test "x$GCC" = "xyes"; then
 
48325
            CFLAGS="$CFLAGS -fno-common"
 
48326
            CXXFLAGS="$CXXFLAGS -fno-common"
 
48327
        fi
 
48328
        if test "x$XLCC" = "xyes"; then
 
48329
            CFLAGS="$CFLAGS -qnocommon"
 
48330
            CXXFLAGS="$CXXFLAGS -qnocommon"
 
48331
        fi
 
48332
        ;;
 
48333
 
 
48334
      *-pc-os2_emx | *-pc-os2-emx )
 
48335
        if test "x$bk_os2_use_omf" = "xyes" ; then
 
48336
            AR=emxomfar
 
48337
            RANLIB=:
 
48338
            LDFLAGS="-Zomf $LDFLAGS"
 
48339
            CFLAGS="-Zomf $CFLAGS"
 
48340
            CXXFLAGS="-Zomf $CXXFLAGS"
 
48341
            OS2_LIBEXT="lib"
 
48342
        else
 
48343
            OS2_LIBEXT="a"
 
48344
        fi
 
48345
        ;;
 
48346
 
 
48347
      i*86-*-beos* )
 
48348
        LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
 
48349
        ;;
 
48350
    esac
 
48351
 
 
48352
 
 
48353
    SO_SUFFIX="so"
 
48354
    SO_SUFFIX_MODULE="so"
 
48355
    EXEEXT=""
 
48356
    LIBPREFIX="lib"
 
48357
    LIBEXT=".a"
 
48358
    DLLPREFIX="lib"
 
48359
    DLLPREFIX_MODULE=""
 
48360
    DLLIMP_SUFFIX=""
 
48361
    dlldir="$libdir"
 
48362
 
 
48363
    case "${BAKEFILE_HOST}" in
 
48364
                        ia64-hp-hpux* )
 
48365
        ;;
 
48366
        *-hp-hpux* )
 
48367
            SO_SUFFIX="sl"
 
48368
            SO_SUFFIX_MODULE="sl"
 
48369
        ;;
 
48370
        *-*-aix* )
 
48371
                                                                        SO_SUFFIX="a"
 
48372
            SO_SUFFIX_MODULE="a"
 
48373
        ;;
 
48374
        *-*-cygwin* )
 
48375
            SO_SUFFIX="dll"
 
48376
            SO_SUFFIX_MODULE="dll"
 
48377
            DLLIMP_SUFFIX="dll.a"
 
48378
            EXEEXT=".exe"
 
48379
            DLLPREFIX="cyg"
 
48380
            dlldir="$bindir"
 
48381
        ;;
 
48382
        *-*-mingw32* )
 
48383
            SO_SUFFIX="dll"
 
48384
            SO_SUFFIX_MODULE="dll"
 
48385
            DLLIMP_SUFFIX="dll.a"
 
48386
            EXEEXT=".exe"
 
48387
            DLLPREFIX=""
 
48388
            dlldir="$bindir"
 
48389
        ;;
 
48390
        *-pc-msdosdjgpp )
 
48391
            EXEEXT=".exe"
 
48392
            DLLPREFIX=""
 
48393
            dlldir="$bindir"
 
48394
        ;;
 
48395
        *-pc-os2_emx | *-pc-os2-emx )
 
48396
            SO_SUFFIX="dll"
 
48397
            SO_SUFFIX_MODULE="dll"
 
48398
            DLLIMP_SUFFIX=$OS2_LIBEXT
 
48399
            EXEEXT=".exe"
 
48400
            DLLPREFIX=""
 
48401
            LIBPREFIX=""
 
48402
            LIBEXT=".$OS2_LIBEXT"
 
48403
            dlldir="$bindir"
 
48404
        ;;
 
48405
        *-*-darwin* )
 
48406
            SO_SUFFIX="dylib"
 
48407
            SO_SUFFIX_MODULE="bundle"
 
48408
        ;;
 
48409
    esac
 
48410
 
 
48411
    if test "x$DLLIMP_SUFFIX" = "x" ; then
 
48412
        DLLIMP_SUFFIX="$SO_SUFFIX"
 
48413
    fi
 
48414
 
 
48415
 
 
48416
 
 
48417
 
 
48418
 
 
48419
 
 
48420
 
 
48421
 
 
48422
 
 
48423
 
 
48424
 
 
48425
 
 
48426
        PIC_FLAG=""
 
48427
    if test "x$GCC" = "xyes"; then
 
48428
                PIC_FLAG="-fPIC"
 
48429
    fi
 
48430
 
 
48431
        SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
 
48432
    SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
 
48433
    WINDOWS_IMPLIB=0
 
48434
 
 
48435
    case "${BAKEFILE_HOST}" in
 
48436
      *-hp-hpux* )
 
48437
                if test "x$GCC" != "xyes"; then
 
48438
                        LDFLAGS="$LDFLAGS -L/usr/lib"
 
48439
 
 
48440
            SHARED_LD_CC="${CC} -b -o"
 
48441
            SHARED_LD_CXX="${CXX} -b -o"
 
48442
            PIC_FLAG="+Z"
 
48443
        fi
 
48444
      ;;
 
48445
 
 
48446
      *-*-linux* )
 
48447
                        if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
 
48448
            PIC_FLAG="-KPIC"
 
48449
        elif test "x$SUNCXX" = "xyes"; then
 
48450
            SHARED_LD_CC="${CC} -G -o"
 
48451
            SHARED_LD_CXX="${CXX} -G -o"
 
48452
            PIC_FLAG="-KPIC"
 
48453
        fi
 
48454
      ;;
 
48455
 
 
48456
      *-*-solaris2* )
 
48457
        if test "x$SUNCXX" = xyes ; then
 
48458
            SHARED_LD_CC="${CC} -G -o"
 
48459
            SHARED_LD_CXX="${CXX} -G -o"
 
48460
            PIC_FLAG="-KPIC"
 
48461
        fi
 
48462
      ;;
 
48463
 
 
48464
      *-*-darwin* )
 
48465
 
 
48466
D='$'
 
48467
cat <<EOF >shared-ld-sh
 
48468
#!/bin/sh
 
48469
#-----------------------------------------------------------------------------
 
48470
#-- Name:        distrib/mac/shared-ld-sh
 
48471
#-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
 
48472
#-- Author:      Gilles Depeyrot
 
48473
#-- Copyright:   (c) 2002 Gilles Depeyrot
 
48474
#-- Licence:     any use permitted
 
48475
#-----------------------------------------------------------------------------
 
48476
 
 
48477
verbose=0
 
48478
args=""
 
48479
objects=""
 
48480
linking_flag="-dynamiclib"
 
48481
ldargs="-r -keep_private_externs -nostdlib"
 
48482
 
 
48483
if test "x${D}CXX" = "x"; then
 
48484
    CXX="c++"
 
48485
fi
 
48486
 
 
48487
while test ${D}# -gt 0; do
 
48488
    case ${D}1 in
 
48489
 
 
48490
       -v)
 
48491
        verbose=1
 
48492
        ;;
 
48493
 
 
48494
       -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
 
48495
        # collect these options and values
 
48496
        args="${D}{args} ${D}1 ${D}2"
 
48497
        shift
 
48498
        ;;
 
48499
 
 
48500
       -arch|-isysroot)
 
48501
        # collect these options and values
 
48502
        ldargs="${D}{ldargs} ${D}1 ${D}2"
 
48503
        shift
 
48504
        ;;
 
48505
 
 
48506
       -s|-Wl,*)
 
48507
        # collect these load args
 
48508
        ldargs="${D}{ldargs} ${D}1"
 
48509
        ;;
 
48510
 
 
48511
       -l*|-L*|-flat_namespace|-headerpad_max_install_names)
 
48512
        # collect these options
 
48513
        args="${D}{args} ${D}1"
 
48514
        ;;
 
48515
 
 
48516
       -dynamiclib|-bundle)
 
48517
        linking_flag="${D}1"
 
48518
        ;;
 
48519
 
 
48520
       -*)
 
48521
        echo "shared-ld: unhandled option '${D}1'"
 
48522
        exit 1
 
48523
        ;;
 
48524
 
 
48525
        *.o | *.a | *.dylib)
 
48526
        # collect object files
 
48527
        objects="${D}{objects} ${D}1"
 
48528
        ;;
 
48529
 
 
48530
        *)
 
48531
        echo "shared-ld: unhandled argument '${D}1'"
 
48532
        exit 1
 
48533
        ;;
 
48534
 
 
48535
    esac
 
48536
    shift
 
48537
done
 
48538
 
 
48539
status=0
 
48540
 
 
48541
#
 
48542
# Link one module containing all the others
 
48543
#
 
48544
if test ${D}{verbose} = 1; then
 
48545
    echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
 
48546
fi
 
48547
${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
 
48548
status=${D}?
 
48549
 
 
48550
#
 
48551
# Link the shared library from the single module created, but only if the
 
48552
# previous command didn't fail:
 
48553
#
 
48554
if test ${D}{status} = 0; then
 
48555
    if test ${D}{verbose} = 1; then
 
48556
        echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
 
48557
    fi
 
48558
    ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
 
48559
    status=${D}?
 
48560
fi
 
48561
 
 
48562
#
 
48563
# Remove intermediate module
 
48564
#
 
48565
rm -f master.${D}${D}.o
 
48566
 
 
48567
exit ${D}status
 
48568
EOF
 
48569
 
 
48570
        chmod +x shared-ld-sh
 
48571
 
 
48572
        SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
 
48573
        SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
 
48574
 
 
48575
 
 
48576
                                echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
 
48577
echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
 
48578
if test "${bakefile_cv_gcc31+set}" = set; then
 
48579
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48580
else
 
48581
 
 
48582
           cat >conftest.$ac_ext <<_ACEOF
 
48583
/* confdefs.h.  */
 
48584
_ACEOF
 
48585
cat confdefs.h >>conftest.$ac_ext
 
48586
cat >>conftest.$ac_ext <<_ACEOF
 
48587
/* end confdefs.h.  */
 
48588
 
 
48589
int
 
48590
main ()
 
48591
{
 
48592
 
 
48593
                   #if (__GNUC__ < 3) || \
 
48594
                       ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
 
48595
                       This is old gcc
 
48596
                   #endif
 
48597
 
 
48598
  ;
 
48599
  return 0;
 
48600
}
 
48601
_ACEOF
 
48602
rm -f conftest.$ac_objext
 
48603
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
48604
  (eval $ac_compile) 2>conftest.er1
 
48605
  ac_status=$?
 
48606
  grep -v '^ *+' conftest.er1 >conftest.err
 
48607
  rm -f conftest.er1
 
48608
  cat conftest.err >&5
 
48609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
48610
  (exit $ac_status); } &&
 
48611
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
48612
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
48613
  (eval $ac_try) 2>&5
 
48614
  ac_status=$?
 
48615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
48616
  (exit $ac_status); }; } &&
 
48617
         { ac_try='test -s conftest.$ac_objext'
 
48618
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
48619
  (eval $ac_try) 2>&5
 
48620
  ac_status=$?
 
48621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
48622
  (exit $ac_status); }; }; then
 
48623
 
 
48624
                   bakefile_cv_gcc31=yes
 
48625
 
 
48626
else
 
48627
  echo "$as_me: failed program was:" >&5
 
48628
sed 's/^/| /' conftest.$ac_ext >&5
 
48629
 
 
48630
 
 
48631
                   bakefile_cv_gcc31=no
 
48632
 
 
48633
 
 
48634
fi
 
48635
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
48636
 
 
48637
fi
 
48638
echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
 
48639
echo "${ECHO_T}$bakefile_cv_gcc31" >&6
 
48640
        if test "$bakefile_cv_gcc31" = "no"; then
 
48641
                        SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
 
48642
            SHARED_LD_CXX="$SHARED_LD_CC"
 
48643
        else
 
48644
                        SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
 
48645
            SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
 
48646
        fi
 
48647
 
 
48648
        if test "x$GCC" == "xyes"; then
 
48649
            PIC_FLAG="-dynamic -fPIC"
 
48650
        fi
 
48651
        if test "x$XLCC" = "xyes"; then
 
48652
            PIC_FLAG="-dynamic -DPIC"
 
48653
        fi
 
48654
      ;;
 
48655
 
 
48656
      *-*-aix* )
 
48657
        if test "x$GCC" = "xyes"; then
 
48658
                                                            PIC_FLAG=""
 
48659
 
 
48660
                                                                                    case "${BAKEFILE_HOST}" in
 
48661
                *-*-aix5* )
 
48662
                    LD_EXPFULL="-Wl,-bexpfull"
 
48663
                    ;;
 
48664
            esac
 
48665
 
 
48666
            SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
 
48667
            SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
 
48668
        else
 
48669
                                    # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
 
48670
set dummy makeC++SharedLib; ac_word=$2
 
48671
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
48672
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
48673
if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
 
48674
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
48675
else
 
48676
  if test -n "$AIX_CXX_LD"; then
 
48677
  ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
 
48678
else
 
48679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
48680
for as_dir in $PATH
 
48681
do
 
48682
  IFS=$as_save_IFS
 
48683
  test -z "$as_dir" && as_dir=.
 
48684
  for ac_exec_ext in '' $ac_executable_extensions; do
 
48685
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
48686
    ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
 
48687
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
48688
    break 2
 
48689
  fi
 
48690
done
 
48691
done
 
48692
 
 
48693
  test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
 
48694
fi
 
48695
fi
 
48696
AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
 
48697
if test -n "$AIX_CXX_LD"; then
 
48698
  echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
 
48699
echo "${ECHO_T}$AIX_CXX_LD" >&6
 
48700
else
 
48701
  echo "$as_me:$LINENO: result: no" >&5
 
48702
echo "${ECHO_T}no" >&6
 
48703
fi
 
48704
 
 
48705
            SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
 
48706
            SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
 
48707
        fi
 
48708
      ;;
 
48709
 
 
48710
      *-*-beos* )
 
48711
                        SHARED_LD_CC="${LD} -nostart -o"
 
48712
        SHARED_LD_CXX="${LD} -nostart -o"
 
48713
      ;;
 
48714
 
 
48715
      *-*-irix* )
 
48716
                if test "x$GCC" != "xyes"; then
 
48717
            PIC_FLAG="-KPIC"
 
48718
        fi
 
48719
      ;;
 
48720
 
 
48721
      *-*-cygwin* | *-*-mingw32* )
 
48722
        PIC_FLAG=""
 
48723
        SHARED_LD_CC="\$(CC) -shared -o"
 
48724
        SHARED_LD_CXX="\$(CXX) -shared -o"
 
48725
        WINDOWS_IMPLIB=1
 
48726
      ;;
 
48727
 
 
48728
      *-pc-os2_emx | *-pc-os2-emx )
 
48729
        SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
 
48730
        SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
 
48731
        PIC_FLAG=""
 
48732
 
 
48733
D='$'
 
48734
cat <<EOF >dllar.sh
 
48735
#!/bin/sh
 
48736
#
 
48737
# dllar - a tool to build both a .dll and an .a file
 
48738
# from a set of object (.o) files for EMX/OS2.
 
48739
#
 
48740
#  Written by Andrew Zabolotny, bit@freya.etu.ru
 
48741
#  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
 
48742
#
 
48743
#  This script will accept a set of files on the command line.
 
48744
#  All the public symbols from the .o files will be exported into
 
48745
#  a .DEF file, then linker will be run (through gcc) against them to
 
48746
#  build a shared library consisting of all given .o files. All libraries
 
48747
#  (.a) will be first decompressed into component .o files then act as
 
48748
#  described above. You can optionally give a description (-d "description")
 
48749
#  which will be put into .DLL. To see the list of accepted options (as well
 
48750
#  as command-line format) simply run this program without options. The .DLL
 
48751
#  is built to be imported by name (there is no guarantee that new versions
 
48752
#  of the library you build will have same ordinals for same symbols).
 
48753
#
 
48754
#  dllar is free software; you can redistribute it and/or modify
 
48755
#  it under the terms of the GNU General Public License as published by
 
48756
#  the Free Software Foundation; either version 2, or (at your option)
 
48757
#  any later version.
 
48758
#
 
48759
#  dllar is distributed in the hope that it will be useful,
 
48760
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
48761
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
48762
#  GNU General Public License for more details.
 
48763
#
 
48764
#  You should have received a copy of the GNU General Public License
 
48765
#  along with dllar; see the file COPYING.  If not, write to the Free
 
48766
#  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
48767
#  02111-1307, USA.
 
48768
 
 
48769
# To successfuly run this program you will need:
 
48770
#  - Current drive should have LFN support (HPFS, ext2, network, etc)
 
48771
#    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
 
48772
#  - gcc
 
48773
#    (used to build the .dll)
 
48774
#  - emxexp
 
48775
#    (used to create .def file from .o files)
 
48776
#  - emximp
 
48777
#    (used to create .a file from .def file)
 
48778
#  - GNU text utilites (cat, sort, uniq)
 
48779
#    used to process emxexp output
 
48780
#  - GNU file utilities (mv, rm)
 
48781
#  - GNU sed
 
48782
#  - lxlite (optional, see flag below)
 
48783
#    (used for general .dll cleanup)
 
48784
#
 
48785
 
 
48786
flag_USE_LXLITE=1;
 
48787
 
 
48788
#
 
48789
# helper functions
 
48790
# basnam, variant of basename, which does _not_ remove the path, _iff_
 
48791
#                              second argument (suffix to remove) is given
 
48792
basnam(){
 
48793
    case ${D}# in
 
48794
    1)
 
48795
        echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
 
48796
        ;;
 
48797
    2)
 
48798
        echo ${D}1 | sed 's/'${D}2'${D}//'
 
48799
        ;;
 
48800
    *)
 
48801
        echo "error in basnam ${D}*"
 
48802
        exit 8
 
48803
        ;;
 
48804
    esac
 
48805
}
 
48806
 
 
48807
# Cleanup temporary files and output
 
48808
CleanUp() {
 
48809
    cd ${D}curDir
 
48810
    for i in ${D}inputFiles ; do
 
48811
        case ${D}i in
 
48812
        *!)
 
48813
            rm -rf \`basnam ${D}i !\`
 
48814
            ;;
 
48815
        *)
 
48816
            ;;
 
48817
        esac
 
48818
    done
 
48819
 
 
48820
    # Kill result in case of failure as there is just to many stupid make/nmake
 
48821
    # things out there which doesn't do this.
 
48822
    if [ ${D}# -eq 0 ]; then
 
48823
        rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
 
48824
    fi
 
48825
}
 
48826
 
 
48827
# Print usage and exit script with rc=1.
 
48828
PrintHelp() {
 
48829
 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
 
48830
 echo '       [-name-mangler-script script.sh]'
 
48831
 echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
 
48832
 echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
 
48833
 echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
 
48834
 echo '       [*.o] [*.a]'
 
48835
 echo '*> "output_file" should have no extension.'
 
48836
 echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
 
48837
 echo '   The import library name is derived from this and is set to "name".a,'
 
48838
 echo '   unless overridden by -import'
 
48839
 echo '*> "importlib_name" should have no extension.'
 
48840
 echo '   If it has the .o, or .a extension, it is automatically removed.'
 
48841
 echo '   This name is used as the import library name and may be longer and'
 
48842
 echo '   more descriptive than the DLL name which has to follow the old '
 
48843
 echo '   8.3 convention of FAT.'
 
48844
 echo '*> "script.sh may be given to override the output_file name by a'
 
48845
 echo '   different name. It is mainly useful if the regular make process'
 
48846
 echo '   of some package does not take into account OS/2 restriction of'
 
48847
 echo '   DLL name lengths. It takes the importlib name as input and is'
 
48848
 echo '   supposed to procude a shorter name as output. The script should'
 
48849
 echo '   expect to get importlib_name without extension and should produce'
 
48850
 echo '   a (max.) 8 letter name without extension.'
 
48851
 echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
 
48852
 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
 
48853
 echo '   These flags will be put at the start of GCC command line.'
 
48854
 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
 
48855
 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
 
48856
 echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
 
48857
 echo '   If the last character of a symbol is "*", all symbols beginning'
 
48858
 echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
 
48859
 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
 
48860
 echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
 
48861
 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
 
48862
 echo '   C runtime DLLs.'
 
48863
 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
 
48864
 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
 
48865
 echo '   unchanged to GCC at the end of command line.'
 
48866
 echo '*> If you create a DLL from a library and you do not specify -o,'
 
48867
 echo '   the basename for DLL and import library will be set to library name,'
 
48868
 echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
 
48869
 echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
 
48870
 echo '   library will be renamed into gcc_s.a.'
 
48871
 echo '--------'
 
48872
 echo 'Example:'
 
48873
 echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
 
48874
 echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
 
48875
 CleanUp
 
48876
 exit 1
 
48877
}
 
48878
 
 
48879
# Execute a command.
 
48880
# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
 
48881
# @Uses    Whatever CleanUp() uses.
 
48882
doCommand() {
 
48883
    echo "${D}*"
 
48884
    eval ${D}*
 
48885
    rcCmd=${D}?
 
48886
 
 
48887
    if [ ${D}rcCmd -ne 0 ]; then
 
48888
        echo "command failed, exit code="${D}rcCmd
 
48889
        CleanUp
 
48890
        exit ${D}rcCmd
 
48891
    fi
 
48892
}
 
48893
 
 
48894
# main routine
 
48895
# setup globals
 
48896
cmdLine=${D}*
 
48897
outFile=""
 
48898
outimpFile=""
 
48899
inputFiles=""
 
48900
renameScript=""
 
48901
description=""
 
48902
CC=gcc.exe
 
48903
CFLAGS="-s -Zcrtdll"
 
48904
EXTRA_CFLAGS=""
 
48905
EXPORT_BY_ORDINALS=0
 
48906
exclude_symbols=""
 
48907
library_flags=""
 
48908
curDir=\`pwd\`
 
48909
curDirS=curDir
 
48910
case ${D}curDirS in
 
48911
*/)
 
48912
  ;;
 
48913
*)
 
48914
  curDirS=${D}{curDirS}"/"
 
48915
  ;;
 
48916
esac
 
48917
# Parse commandline
 
48918
libsToLink=0
 
48919
omfLinking=0
 
48920
while [ ${D}1 ]; do
 
48921
    case ${D}1 in
 
48922
    -ord*)
 
48923
        EXPORT_BY_ORDINALS=1;
 
48924
        ;;
 
48925
    -o*)
 
48926
        shift
 
48927
        outFile=${D}1
 
48928
        ;;
 
48929
    -i*)
 
48930
        shift
 
48931
        outimpFile=${D}1
 
48932
        ;;
 
48933
    -name-mangler-script)
 
48934
        shift
 
48935
        renameScript=${D}1
 
48936
        ;;
 
48937
    -d*)
 
48938
        shift
 
48939
        description=${D}1
 
48940
        ;;
 
48941
    -f*)
 
48942
        shift
 
48943
        CFLAGS=${D}1
 
48944
        ;;
 
48945
    -c*)
 
48946
        shift
 
48947
        CC=${D}1
 
48948
        ;;
 
48949
    -h*)
 
48950
        PrintHelp
 
48951
        ;;
 
48952
    -ex*)
 
48953
        shift
 
48954
        exclude_symbols=${D}{exclude_symbols}${D}1" "
 
48955
        ;;
 
48956
    -libf*)
 
48957
        shift
 
48958
        library_flags=${D}{library_flags}${D}1" "
 
48959
        ;;
 
48960
    -nocrt*)
 
48961
        CFLAGS="-s"
 
48962
        ;;
 
48963
    -nolxl*)
 
48964
        flag_USE_LXLITE=0
 
48965
        ;;
 
48966
    -* | /*)
 
48967
        case ${D}1 in
 
48968
        -L* | -l*)
 
48969
            libsToLink=1
 
48970
            ;;
 
48971
        -Zomf)
 
48972
            omfLinking=1
 
48973
            ;;
 
48974
        *)
 
48975
            ;;
 
48976
        esac
 
48977
        EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
 
48978
        ;;
 
48979
    *.dll)
 
48980
        EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
 
48981
        if [ ${D}omfLinking -eq 1 ]; then
 
48982
            EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
 
48983
        else
 
48984
            EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
 
48985
        fi
 
48986
        ;;
 
48987
    *)
 
48988
        found=0;
 
48989
        if [ ${D}libsToLink -ne 0 ]; then
 
48990
            EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
 
48991
        else
 
48992
            for file in ${D}1 ; do
 
48993
                if [ -f ${D}file ]; then
 
48994
                    inputFiles="${D}{inputFiles} ${D}file"
 
48995
                    found=1
 
48996
                fi
 
48997
            done
 
48998
            if [ ${D}found -eq 0 ]; then
 
48999
                echo "ERROR: No file(s) found: "${D}1
 
49000
                exit 8
 
49001
            fi
 
49002
        fi
 
49003
      ;;
 
49004
    esac
 
49005
    shift
 
49006
done # iterate cmdline words
 
49007
 
 
49008
#
 
49009
if [ -z "${D}inputFiles" ]; then
 
49010
    echo "dllar: no input files"
 
49011
    PrintHelp
 
49012
fi
 
49013
 
 
49014
# Now extract all .o files from .a files
 
49015
newInputFiles=""
 
49016
for file in ${D}inputFiles ; do
 
49017
    case ${D}file in
 
49018
    *.a | *.lib)
 
49019
        case ${D}file in
 
49020
        *.a)
 
49021
            suffix=".a"
 
49022
            AR="ar"
 
49023
            ;;
 
49024
        *.lib)
 
49025
            suffix=".lib"
 
49026
            AR="emxomfar"
 
49027
            EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
 
49028
            ;;
 
49029
        *)
 
49030
            ;;
 
49031
        esac
 
49032
        dirname=\`basnam ${D}file ${D}suffix\`"_%"
 
49033
        mkdir ${D}dirname
 
49034
        if [ ${D}? -ne 0 ]; then
 
49035
            echo "Failed to create subdirectory ./${D}dirname"
 
49036
            CleanUp
 
49037
            exit 8;
 
49038
        fi
 
49039
        # Append '!' to indicate archive
 
49040
        newInputFiles="${D}newInputFiles ${D}{dirname}!"
 
49041
        doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
 
49042
        cd ${D}curDir
 
49043
        found=0;
 
49044
        for subfile in ${D}dirname/*.o* ; do
 
49045
            if [ -f ${D}subfile ]; then
 
49046
                found=1
 
49047
                if [ -s ${D}subfile ]; then
 
49048
                    # FIXME: This should be: is file size > 32 byte, _not_ > 0!
 
49049
                    newInputFiles="${D}newInputFiles ${D}subfile"
 
49050
                fi
 
49051
            fi
 
49052
        done
 
49053
        if [ ${D}found -eq 0 ]; then
 
49054
            echo "WARNING: there are no files in archive \\'${D}file\\'"
 
49055
        fi
 
49056
        ;;
 
49057
    *)
 
49058
        newInputFiles="${D}{newInputFiles} ${D}file"
 
49059
        ;;
 
49060
    esac
 
49061
done
 
49062
inputFiles="${D}newInputFiles"
 
49063
 
 
49064
# Output filename(s).
 
49065
do_backup=0;
 
49066
if [ -z ${D}outFile ]; then
 
49067
    do_backup=1;
 
49068
    set outFile ${D}inputFiles; outFile=${D}2
 
49069
fi
 
49070
 
 
49071
# If it is an archive, remove the '!' and the '_%' suffixes
 
49072
case ${D}outFile in
 
49073
*_%!)
 
49074
    outFile=\`basnam ${D}outFile _%!\`
 
49075
    ;;
 
49076
*)
 
49077
    ;;
 
49078
esac
 
49079
case ${D}outFile in
 
49080
*.dll)
 
49081
    outFile=\`basnam ${D}outFile .dll\`
 
49082
    ;;
 
49083
*.DLL)
 
49084
    outFile=\`basnam ${D}outFile .DLL\`
 
49085
    ;;
 
49086
*.o)
 
49087
    outFile=\`basnam ${D}outFile .o\`
 
49088
    ;;
 
49089
*.obj)
 
49090
    outFile=\`basnam ${D}outFile .obj\`
 
49091
    ;;
 
49092
*.a)
 
49093
    outFile=\`basnam ${D}outFile .a\`
 
49094
    ;;
 
49095
*.lib)
 
49096
    outFile=\`basnam ${D}outFile .lib\`
 
49097
    ;;
 
49098
*)
 
49099
    ;;
 
49100
esac
 
49101
case ${D}outimpFile in
 
49102
*.a)
 
49103
    outimpFile=\`basnam ${D}outimpFile .a\`
 
49104
    ;;
 
49105
*.lib)
 
49106
    outimpFile=\`basnam ${D}outimpFile .lib\`
 
49107
    ;;
 
49108
*)
 
49109
    ;;
 
49110
esac
 
49111
if [ -z ${D}outimpFile ]; then
 
49112
    outimpFile=${D}outFile
 
49113
fi
 
49114
defFile="${D}{outFile}.def"
 
49115
arcFile="${D}{outimpFile}.a"
 
49116
arcFile2="${D}{outimpFile}.lib"
 
49117
 
 
49118
#create ${D}dllFile as something matching 8.3 restrictions,
 
49119
if [ -z ${D}renameScript ] ; then
 
49120
    dllFile="${D}outFile"
 
49121
else
 
49122
    dllFile=\`${D}renameScript ${D}outimpFile\`
 
49123
fi
 
49124
 
 
49125
if [ ${D}do_backup -ne 0 ] ; then
 
49126
    if [ -f ${D}arcFile ] ; then
 
49127
        doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
 
49128
    fi
 
49129
    if [ -f ${D}arcFile2 ] ; then
 
49130
        doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
 
49131
    fi
 
49132
fi
 
49133
 
 
49134
# Extract public symbols from all the object files.
 
49135
tmpdefFile=${D}{defFile}_%
 
49136
rm -f ${D}tmpdefFile
 
49137
for file in ${D}inputFiles ; do
 
49138
    case ${D}file in
 
49139
    *!)
 
49140
        ;;
 
49141
    *)
 
49142
        doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
 
49143
        ;;
 
49144
    esac
 
49145
done
 
49146
 
 
49147
# Create the def file.
 
49148
rm -f ${D}defFile
 
49149
echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
 
49150
dllFile="${D}{dllFile}.dll"
 
49151
if [ ! -z ${D}description ]; then
 
49152
    echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
 
49153
fi
 
49154
echo "EXPORTS" >> ${D}defFile
 
49155
 
 
49156
doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
 
49157
grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
 
49158
 
 
49159
# Checks if the export is ok or not.
 
49160
for word in ${D}exclude_symbols; do
 
49161
    grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
 
49162
    mv ${D}{tmpdefFile}% ${D}tmpdefFile
 
49163
done
 
49164
 
 
49165
 
 
49166
if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
 
49167
    sed "=" < ${D}tmpdefFile | \\
 
49168
    sed '
 
49169
      N
 
49170
      : loop
 
49171
      s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
 
49172
      t loop
 
49173
    ' > ${D}{tmpdefFile}%
 
49174
    grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
 
49175
else
 
49176
    rm -f ${D}{tmpdefFile}%
 
49177
fi
 
49178
cat ${D}tmpdefFile >> ${D}defFile
 
49179
rm -f ${D}tmpdefFile
 
49180
 
 
49181
# Do linking, create implib, and apply lxlite.
 
49182
gccCmdl="";
 
49183
for file in ${D}inputFiles ; do
 
49184
    case ${D}file in
 
49185
    *!)
 
49186
        ;;
 
49187
    *)
 
49188
        gccCmdl="${D}gccCmdl ${D}file"
 
49189
        ;;
 
49190
    esac
 
49191
done
 
49192
doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
 
49193
touch "${D}{outFile}.dll"
 
49194
 
 
49195
doCommand "emximp -o ${D}arcFile ${D}defFile"
 
49196
if [ ${D}flag_USE_LXLITE -ne 0 ]; then
 
49197
    add_flags="";
 
49198
    if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
 
49199
        add_flags="-ynd"
 
49200
    fi
 
49201
    doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
 
49202
fi
 
49203
doCommand "emxomf -s -l ${D}arcFile"
 
49204
 
 
49205
# Successful exit.
 
49206
CleanUp 1
 
49207
exit 0
 
49208
EOF
 
49209
 
 
49210
        chmod +x dllar.sh
 
49211
      ;;
 
49212
 
 
49213
      powerpc-apple-macos* | \
 
49214
      *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
 
49215
      *-*-mirbsd* | \
 
49216
      *-*-sunos4* | \
 
49217
      *-*-osf* | \
 
49218
      *-*-dgux5* | \
 
49219
      *-*-sysv5* | \
 
49220
      *-pc-msdosdjgpp )
 
49221
              ;;
 
49222
 
 
49223
      *)
 
49224
        { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
 
49225
echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
 
49226
   { (exit 1); exit 1; }; }
 
49227
    esac
 
49228
 
 
49229
    if test "x$PIC_FLAG" != "x" ; then
 
49230
        PIC_FLAG="$PIC_FLAG -DPIC"
 
49231
    fi
 
49232
 
 
49233
    if test "x$SHARED_LD_MODULE_CC" = "x" ; then
 
49234
        SHARED_LD_MODULE_CC="$SHARED_LD_CC"
 
49235
    fi
 
49236
    if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
 
49237
        SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
 
49238
    fi
 
49239
 
 
49240
 
 
49241
 
 
49242
 
 
49243
 
 
49244
 
 
49245
 
 
49246
 
 
49247
 
 
49248
    USE_SOVERSION=0
 
49249
    USE_SOVERLINUX=0
 
49250
    USE_SOVERSOLARIS=0
 
49251
    USE_SOVERCYGWIN=0
 
49252
    USE_SOTWOSYMLINKS=0
 
49253
    USE_MACVERSION=0
 
49254
    SONAME_FLAG=
 
49255
 
 
49256
    case "${BAKEFILE_HOST}" in
 
49257
      *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
 
49258
      *-*-k*bsd*-gnu | *-*-mirbsd* )
 
49259
        if test "x$SUNCXX" = "xyes"; then
 
49260
            SONAME_FLAG="-h "
 
49261
        else
 
49262
            SONAME_FLAG="-Wl,-soname,"
 
49263
        fi
 
49264
        USE_SOVERSION=1
 
49265
        USE_SOVERLINUX=1
 
49266
        USE_SOTWOSYMLINKS=1
 
49267
      ;;
 
49268
 
 
49269
      *-*-solaris2* )
 
49270
        SONAME_FLAG="-h "
 
49271
        USE_SOVERSION=1
 
49272
        USE_SOVERSOLARIS=1
 
49273
      ;;
 
49274
 
 
49275
      *-*-darwin* )
 
49276
        USE_MACVERSION=1
 
49277
        USE_SOVERSION=1
 
49278
        USE_SOTWOSYMLINKS=1
 
49279
      ;;
 
49280
 
 
49281
      *-*-cygwin* )
 
49282
        USE_SOVERSION=1
 
49283
        USE_SOVERCYGWIN=1
 
49284
      ;;
 
49285
    esac
 
49286
 
 
49287
 
 
49288
 
 
49289
 
 
49290
 
 
49291
 
 
49292
 
 
49293
 
 
49294
 
 
49295
 
 
49296
    # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
49297
if test "${enable_dependency_tracking+set}" = set; then
 
49298
  enableval="$enable_dependency_tracking"
 
49299
  bk_use_trackdeps="$enableval"
 
49300
fi;
 
49301
 
 
49302
    echo "$as_me:$LINENO: checking for dependency tracking method" >&5
 
49303
echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
 
49304
 
 
49305
    BK_DEPS=""
 
49306
    if test "x$bk_use_trackdeps" = "xno" ; then
 
49307
        DEPS_TRACKING=0
 
49308
        echo "$as_me:$LINENO: result: disabled" >&5
 
49309
echo "${ECHO_T}disabled" >&6
 
49310
    else
 
49311
        DEPS_TRACKING=1
 
49312
 
 
49313
        if test "x$GCC" = "xyes"; then
 
49314
            DEPSMODE=gcc
 
49315
            case "${BAKEFILE_HOST}" in
 
49316
                *-*-darwin* )
 
49317
                                                            DEPSFLAG="-no-cpp-precomp -MMD"
 
49318
                ;;
 
49319
                * )
 
49320
                    DEPSFLAG="-MMD"
 
49321
                ;;
 
49322
            esac
 
49323
            echo "$as_me:$LINENO: result: gcc" >&5
 
49324
echo "${ECHO_T}gcc" >&6
 
49325
        elif test "x$MWCC" = "xyes"; then
 
49326
            DEPSMODE=mwcc
 
49327
            DEPSFLAG="-MM"
 
49328
            echo "$as_me:$LINENO: result: mwcc" >&5
 
49329
echo "${ECHO_T}mwcc" >&6
 
49330
        elif test "x$SUNCC" = "xyes"; then
 
49331
            DEPSMODE=unixcc
 
49332
            DEPSFLAG="-xM1"
 
49333
            echo "$as_me:$LINENO: result: Sun cc" >&5
 
49334
echo "${ECHO_T}Sun cc" >&6
 
49335
        elif test "x$SGICC" = "xyes"; then
 
49336
            DEPSMODE=unixcc
 
49337
            DEPSFLAG="-M"
 
49338
            echo "$as_me:$LINENO: result: SGI cc" >&5
 
49339
echo "${ECHO_T}SGI cc" >&6
 
49340
        elif test "x$HPCC" = "xyes"; then
 
49341
            DEPSMODE=unixcc
 
49342
            DEPSFLAG="+make"
 
49343
            echo "$as_me:$LINENO: result: HP cc" >&5
 
49344
echo "${ECHO_T}HP cc" >&6
 
49345
        elif test "x$COMPAQCC" = "xyes"; then
 
49346
            DEPSMODE=gcc
 
49347
            DEPSFLAG="-MD"
 
49348
            echo "$as_me:$LINENO: result: Compaq cc" >&5
 
49349
echo "${ECHO_T}Compaq cc" >&6
 
49350
        else
 
49351
            DEPS_TRACKING=0
 
49352
            echo "$as_me:$LINENO: result: none" >&5
 
49353
echo "${ECHO_T}none" >&6
 
49354
        fi
 
49355
 
 
49356
        if test $DEPS_TRACKING = 1 ; then
 
49357
 
 
49358
D='$'
 
49359
cat <<EOF >bk-deps
 
49360
#!/bin/sh
 
49361
 
 
49362
# This script is part of Bakefile (http://www.bakefile.org) autoconf
 
49363
# script. It is used to track C/C++ files dependencies in portable way.
 
49364
#
 
49365
# Permission is given to use this file in any way.
 
49366
 
 
49367
DEPSMODE=${DEPSMODE}
 
49368
DEPSFLAG="${DEPSFLAG}"
 
49369
DEPSDIRBASE=.deps
 
49370
 
 
49371
if test ${D}DEPSMODE = gcc ; then
 
49372
    ${D}* ${D}{DEPSFLAG}
 
49373
    status=${D}?
 
49374
 
 
49375
    # determine location of created files:
 
49376
    while test ${D}# -gt 0; do
 
49377
        case "${D}1" in
 
49378
            -o )
 
49379
                shift
 
49380
                objfile=${D}1
 
49381
            ;;
 
49382
            -* )
 
49383
            ;;
 
49384
            * )
 
49385
                srcfile=${D}1
 
49386
            ;;
 
49387
        esac
 
49388
        shift
 
49389
    done
 
49390
    objfilebase=\`basename ${D}objfile\`
 
49391
    builddir=\`dirname ${D}objfile\`
 
49392
    depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
 
49393
    depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
 
49394
    depsdir=${D}builddir/${D}DEPSDIRBASE
 
49395
    mkdir -p ${D}depsdir
 
49396
 
 
49397
    # if the compiler failed, we're done:
 
49398
    if test ${D}{status} != 0 ; then
 
49399
        rm -f ${D}depfile
 
49400
        exit ${D}{status}
 
49401
    fi
 
49402
 
 
49403
    # move created file to the location we want it in:
 
49404
    if test -f ${D}depfile ; then
 
49405
        sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
 
49406
        rm -f ${D}depfile
 
49407
    else
 
49408
        # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
 
49409
        depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
 
49410
        if test ! -f ${D}depfile ; then
 
49411
            # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
 
49412
            depfile="${D}objfile.d"
 
49413
        fi
 
49414
        if test -f ${D}depfile ; then
 
49415
            sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
 
49416
            rm -f ${D}depfile
 
49417
        fi
 
49418
    fi
 
49419
    exit 0
 
49420
 
 
49421
elif test ${D}DEPSMODE = mwcc ; then
 
49422
    ${D}* || exit ${D}?
 
49423
    # Run mwcc again with -MM and redirect into the dep file we want
 
49424
    # NOTE: We can't use shift here because we need ${D}* to be valid
 
49425
    prevarg=
 
49426
    for arg in ${D}* ; do
 
49427
        if test "${D}prevarg" = "-o"; then
 
49428
            objfile=${D}arg
 
49429
        else
 
49430
            case "${D}arg" in
 
49431
                -* )
 
49432
                ;;
 
49433
                * )
 
49434
                    srcfile=${D}arg
 
49435
                ;;
 
49436
            esac
 
49437
        fi
 
49438
        prevarg="${D}arg"
 
49439
    done
 
49440
 
 
49441
    objfilebase=\`basename ${D}objfile\`
 
49442
    builddir=\`dirname ${D}objfile\`
 
49443
    depsdir=${D}builddir/${D}DEPSDIRBASE
 
49444
    mkdir -p ${D}depsdir
 
49445
 
 
49446
    ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
 
49447
    exit 0
 
49448
 
 
49449
elif test ${D}DEPSMODE = unixcc; then
 
49450
    ${D}* || exit ${D}?
 
49451
    # Run compiler again with deps flag and redirect into the dep file.
 
49452
    # It doesn't work if the '-o FILE' option is used, but without it the
 
49453
    # dependency file will contain the wrong name for the object. So it is
 
49454
    # removed from the command line, and the dep file is fixed with sed.
 
49455
    cmd=""
 
49456
    while test ${D}# -gt 0; do
 
49457
        case "${D}1" in
 
49458
            -o )
 
49459
                shift
 
49460
                objfile=${D}1
 
49461
            ;;
 
49462
            * )
 
49463
                eval arg${D}#=\\${D}1
 
49464
                cmd="${D}cmd \\${D}arg${D}#"
 
49465
            ;;
 
49466
        esac
 
49467
        shift
 
49468
    done
 
49469
 
 
49470
    objfilebase=\`basename ${D}objfile\`
 
49471
    builddir=\`dirname ${D}objfile\`
 
49472
    depsdir=${D}builddir/${D}DEPSDIRBASE
 
49473
    mkdir -p ${D}depsdir
 
49474
 
 
49475
    eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
 
49476
    exit 0
 
49477
 
 
49478
else
 
49479
    ${D}*
 
49480
    exit ${D}?
 
49481
fi
 
49482
EOF
 
49483
 
 
49484
            chmod +x bk-deps
 
49485
                                    BK_DEPS="`pwd`/bk-deps"
 
49486
        fi
 
49487
    fi
 
49488
 
 
49489
 
 
49490
 
 
49491
 
 
49492
 
 
49493
    case ${BAKEFILE_HOST} in
 
49494
        *-*-cygwin* | *-*-mingw32* )
 
49495
                        if test -n "$ac_tool_prefix"; then
 
49496
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
 
49497
set dummy ${ac_tool_prefix}windres; ac_word=$2
 
49498
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
49499
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
49500
if test "${ac_cv_prog_WINDRES+set}" = set; then
 
49501
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
49502
else
 
49503
  if test -n "$WINDRES"; then
 
49504
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
 
49505
else
 
49506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
49507
for as_dir in $PATH
 
49508
do
 
49509
  IFS=$as_save_IFS
 
49510
  test -z "$as_dir" && as_dir=.
 
49511
  for ac_exec_ext in '' $ac_executable_extensions; do
 
49512
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
49513
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
 
49514
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
49515
    break 2
 
49516
  fi
 
49517
done
 
49518
done
 
49519
 
 
49520
fi
 
49521
fi
 
49522
WINDRES=$ac_cv_prog_WINDRES
 
49523
if test -n "$WINDRES"; then
 
49524
  echo "$as_me:$LINENO: result: $WINDRES" >&5
 
49525
echo "${ECHO_T}$WINDRES" >&6
 
49526
else
 
49527
  echo "$as_me:$LINENO: result: no" >&5
 
49528
echo "${ECHO_T}no" >&6
 
49529
fi
 
49530
 
 
49531
fi
 
49532
if test -z "$ac_cv_prog_WINDRES"; then
 
49533
  ac_ct_WINDRES=$WINDRES
 
49534
  # Extract the first word of "windres", so it can be a program name with args.
 
49535
set dummy windres; ac_word=$2
 
49536
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
49537
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
49538
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
 
49539
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
49540
else
 
49541
  if test -n "$ac_ct_WINDRES"; then
 
49542
  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
 
49543
else
 
49544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
49545
for as_dir in $PATH
 
49546
do
 
49547
  IFS=$as_save_IFS
 
49548
  test -z "$as_dir" && as_dir=.
 
49549
  for ac_exec_ext in '' $ac_executable_extensions; do
 
49550
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
49551
    ac_cv_prog_ac_ct_WINDRES="windres"
 
49552
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
49553
    break 2
 
49554
  fi
 
49555
done
 
49556
done
 
49557
 
 
49558
fi
 
49559
fi
 
49560
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
 
49561
if test -n "$ac_ct_WINDRES"; then
 
49562
  echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
 
49563
echo "${ECHO_T}$ac_ct_WINDRES" >&6
 
49564
else
 
49565
  echo "$as_me:$LINENO: result: no" >&5
 
49566
echo "${ECHO_T}no" >&6
 
49567
fi
 
49568
 
 
49569
  WINDRES=$ac_ct_WINDRES
 
49570
else
 
49571
  WINDRES="$ac_cv_prog_WINDRES"
 
49572
fi
 
49573
 
 
49574
         ;;
 
49575
 
 
49576
      *-*-darwin* | powerpc-apple-macos* )
 
49577
            # Extract the first word of "Rez", so it can be a program name with args.
 
49578
set dummy Rez; ac_word=$2
 
49579
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
49580
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
49581
if test "${ac_cv_prog_REZ+set}" = set; then
 
49582
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
49583
else
 
49584
  if test -n "$REZ"; then
 
49585
  ac_cv_prog_REZ="$REZ" # Let the user override the test.
 
49586
else
 
49587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
49588
for as_dir in $PATH
 
49589
do
 
49590
  IFS=$as_save_IFS
 
49591
  test -z "$as_dir" && as_dir=.
 
49592
  for ac_exec_ext in '' $ac_executable_extensions; do
 
49593
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
49594
    ac_cv_prog_REZ="Rez"
 
49595
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
49596
    break 2
 
49597
  fi
 
49598
done
 
49599
done
 
49600
 
 
49601
  test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
 
49602
fi
 
49603
fi
 
49604
REZ=$ac_cv_prog_REZ
 
49605
if test -n "$REZ"; then
 
49606
  echo "$as_me:$LINENO: result: $REZ" >&5
 
49607
echo "${ECHO_T}$REZ" >&6
 
49608
else
 
49609
  echo "$as_me:$LINENO: result: no" >&5
 
49610
echo "${ECHO_T}no" >&6
 
49611
fi
 
49612
 
 
49613
            # Extract the first word of "SetFile", so it can be a program name with args.
 
49614
set dummy SetFile; ac_word=$2
 
49615
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
49616
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
49617
if test "${ac_cv_prog_SETFILE+set}" = set; then
 
49618
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
49619
else
 
49620
  if test -n "$SETFILE"; then
 
49621
  ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
 
49622
else
 
49623
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
49624
for as_dir in $PATH
 
49625
do
 
49626
  IFS=$as_save_IFS
 
49627
  test -z "$as_dir" && as_dir=.
 
49628
  for ac_exec_ext in '' $ac_executable_extensions; do
 
49629
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
49630
    ac_cv_prog_SETFILE="SetFile"
 
49631
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
49632
    break 2
 
49633
  fi
 
49634
done
 
49635
done
 
49636
 
 
49637
  test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
 
49638
fi
 
49639
fi
 
49640
SETFILE=$ac_cv_prog_SETFILE
 
49641
if test -n "$SETFILE"; then
 
49642
  echo "$as_me:$LINENO: result: $SETFILE" >&5
 
49643
echo "${ECHO_T}$SETFILE" >&6
 
49644
else
 
49645
  echo "$as_me:$LINENO: result: no" >&5
 
49646
echo "${ECHO_T}no" >&6
 
49647
fi
 
49648
 
 
49649
        ;;
 
49650
    esac
 
49651
 
 
49652
 
 
49653
 
 
49654
 
 
49655
 
 
49656
 
 
49657
 
 
49658
 
 
49659
 
 
49660
    BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
 
49661
 
 
49662
 
 
49663
BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
 
49664
 
 
49665
 
 
49666
 
 
49667
    # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
 
49668
if test "${enable_precomp_headers+set}" = set; then
 
49669
  enableval="$enable_precomp_headers"
 
49670
  bk_use_pch="$enableval"
 
49671
fi;
 
49672
 
 
49673
    GCC_PCH=0
 
49674
    ICC_PCH=0
 
49675
    USE_PCH=0
 
49676
    BK_MAKE_PCH=""
 
49677
 
 
49678
    case ${BAKEFILE_HOST} in
 
49679
        *-*-cygwin* )
 
49680
                                                bk_use_pch="no"
 
49681
            ;;
 
49682
    esac
 
49683
 
 
49684
    if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
 
49685
        if test "x$GCC" = "xyes"; then
 
49686
                        echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
 
49687
echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
 
49688
            cat >conftest.$ac_ext <<_ACEOF
 
49689
/* confdefs.h.  */
 
49690
_ACEOF
 
49691
cat confdefs.h >>conftest.$ac_ext
 
49692
cat >>conftest.$ac_ext <<_ACEOF
 
49693
/* end confdefs.h.  */
 
49694
 
 
49695
int
 
49696
main ()
 
49697
{
 
49698
 
 
49699
                    #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
 
49700
                        There is no PCH support
 
49701
                    #endif
 
49702
                    #if (__GNUC__ < 3)
 
49703
                        There is no PCH support
 
49704
                    #endif
 
49705
                    #if (__GNUC__ == 3) && \
 
49706
                       ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
 
49707
                       ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
 
49708
                       ( defined(__INTEL_COMPILER) )
 
49709
                        There is no PCH support
 
49710
                    #endif
 
49711
 
 
49712
  ;
 
49713
  return 0;
 
49714
}
 
49715
_ACEOF
 
49716
rm -f conftest.$ac_objext
 
49717
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
49718
  (eval $ac_compile) 2>conftest.er1
 
49719
  ac_status=$?
 
49720
  grep -v '^ *+' conftest.er1 >conftest.err
 
49721
  rm -f conftest.er1
 
49722
  cat conftest.err >&5
 
49723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
49724
  (exit $ac_status); } &&
 
49725
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
49726
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
49727
  (eval $ac_try) 2>&5
 
49728
  ac_status=$?
 
49729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
49730
  (exit $ac_status); }; } &&
 
49731
         { ac_try='test -s conftest.$ac_objext'
 
49732
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
49733
  (eval $ac_try) 2>&5
 
49734
  ac_status=$?
 
49735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
49736
  (exit $ac_status); }; }; then
 
49737
 
 
49738
                    echo "$as_me:$LINENO: result: yes" >&5
 
49739
echo "${ECHO_T}yes" >&6
 
49740
                    GCC_PCH=1
 
49741
 
 
49742
else
 
49743
  echo "$as_me: failed program was:" >&5
 
49744
sed 's/^/| /' conftest.$ac_ext >&5
 
49745
 
 
49746
 
 
49747
                    if test "$INTELCXX8" = "yes"; then
 
49748
                        echo "$as_me:$LINENO: result: yes" >&5
 
49749
echo "${ECHO_T}yes" >&6
 
49750
                        ICC_PCH=1
 
49751
                        if test "$INTELCXX10" = "yes"; then
 
49752
                            ICC_PCH_CREATE_SWITCH="-pch-create"
 
49753
                            ICC_PCH_USE_SWITCH="-pch-use"
 
49754
                        else
 
49755
                            ICC_PCH_CREATE_SWITCH="-create-pch"
 
49756
                            ICC_PCH_USE_SWITCH="-use-pch"
 
49757
                        fi
 
49758
                    else
 
49759
                        echo "$as_me:$LINENO: result: no" >&5
 
49760
echo "${ECHO_T}no" >&6
 
49761
                    fi
 
49762
 
 
49763
fi
 
49764
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
49765
            if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
 
49766
                USE_PCH=1
 
49767
 
 
49768
D='$'
 
49769
cat <<EOF >bk-make-pch
 
49770
#!/bin/sh
 
49771
 
 
49772
# This script is part of Bakefile (http://www.bakefile.org) autoconf
 
49773
# script. It is used to generated precompiled headers.
 
49774
#
 
49775
# Permission is given to use this file in any way.
 
49776
 
 
49777
outfile="${D}{1}"
 
49778
header="${D}{2}"
 
49779
shift
 
49780
shift
 
49781
 
 
49782
builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
 
49783
 
 
49784
compiler=""
 
49785
headerfile=""
 
49786
 
 
49787
while test ${D}{#} -gt 0; do
 
49788
    add_to_cmdline=1
 
49789
    case "${D}{1}" in
 
49790
        -I* )
 
49791
            incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
 
49792
            if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
 
49793
                headerfile="${D}{incdir}/${D}{header}"
 
49794
            fi
 
49795
        ;;
 
49796
        -use-pch|-use_pch|-pch-use )
 
49797
            shift
 
49798
            add_to_cmdline=0
 
49799
        ;;
 
49800
    esac
 
49801
    if test ${D}add_to_cmdline = 1 ; then
 
49802
        compiler="${D}{compiler} ${D}{1}"
 
49803
    fi
 
49804
    shift
 
49805
done
 
49806
 
 
49807
if test "x${D}{headerfile}" = "x" ; then
 
49808
    echo "error: can't find header ${D}{header} in include paths" >&2
 
49809
else
 
49810
    if test -f ${D}{outfile} ; then
 
49811
        rm -f ${D}{outfile}
 
49812
    else
 
49813
        mkdir -p \`dirname ${D}{outfile}\`
 
49814
    fi
 
49815
    depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
 
49816
    mkdir -p ${D}{builddir}/.deps
 
49817
    if test "x${GCC_PCH}" = "x1" ; then
 
49818
        # can do this because gcc is >= 3.4:
 
49819
        ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
 
49820
    elif test "x${ICC_PCH}" = "x1" ; then
 
49821
        filename=pch_gen-${D}${D}
 
49822
        file=${D}{filename}.c
 
49823
        dfile=${D}{filename}.d
 
49824
        cat > ${D}file <<EOT
 
49825
#include "${D}header"
 
49826
EOT
 
49827
        # using -MF icc complains about differing command lines in creation/use
 
49828
        ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
 
49829
          sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
 
49830
          rm -f ${D}file ${D}dfile ${D}{filename}.o
 
49831
    fi
 
49832
    exit ${D}{?}
 
49833
fi
 
49834
EOF
 
49835
 
 
49836
                chmod +x bk-make-pch
 
49837
                                                                BK_MAKE_PCH="`pwd`/bk-make-pch"
 
49838
            fi
 
49839
        fi
 
49840
    fi
 
49841
 
 
49842
 
 
49843
 
 
49844
 
 
49845
 
 
49846
 
 
49847
 
 
49848
    COND_BUILD_debug="#"
 
49849
    if test "x$BUILD" = "xdebug" ; then
 
49850
        COND_BUILD_debug=""
 
49851
    fi
 
49852
 
 
49853
    COND_BUILD_debug_DEBUG_FLAG_default="#"
 
49854
    if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
 
49855
        COND_BUILD_debug_DEBUG_FLAG_default=""
 
49856
    fi
 
49857
 
 
49858
    COND_BUILD_debug_DEBUG_INFO_default="#"
 
49859
    if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
 
49860
        COND_BUILD_debug_DEBUG_INFO_default=""
 
49861
    fi
 
49862
 
 
49863
    COND_BUILD_debug_UNICODE_0="#"
 
49864
    if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
 
49865
        COND_BUILD_debug_UNICODE_0=""
 
49866
    fi
 
49867
 
 
49868
    COND_BUILD_debug_UNICODE_1="#"
 
49869
    if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
 
49870
        COND_BUILD_debug_UNICODE_1=""
 
49871
    fi
 
49872
 
 
49873
    COND_BUILD_release="#"
 
49874
    if test "x$BUILD" = "xrelease" ; then
 
49875
        COND_BUILD_release=""
 
49876
    fi
 
49877
 
 
49878
    COND_BUILD_release_DEBUG_INFO_default="#"
 
49879
    if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
 
49880
        COND_BUILD_release_DEBUG_INFO_default=""
 
49881
    fi
 
49882
 
 
49883
    COND_BUILD_release_UNICODE_0="#"
 
49884
    if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
 
49885
        COND_BUILD_release_UNICODE_0=""
 
49886
    fi
 
49887
 
 
49888
    COND_BUILD_release_UNICODE_1="#"
 
49889
    if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
 
49890
        COND_BUILD_release_UNICODE_1=""
 
49891
    fi
 
49892
 
 
49893
    COND_DEBUG_FLAG_1="#"
 
49894
    if test "x$DEBUG_FLAG" = "x1" ; then
 
49895
        COND_DEBUG_FLAG_1=""
 
49896
    fi
 
49897
 
 
49898
    COND_DEBUG_INFO_0="#"
 
49899
    if test "x$DEBUG_INFO" = "x0" ; then
 
49900
        COND_DEBUG_INFO_0=""
 
49901
    fi
 
49902
 
 
49903
    COND_DEBUG_INFO_1="#"
 
49904
    if test "x$DEBUG_INFO" = "x1" ; then
 
49905
        COND_DEBUG_INFO_1=""
 
49906
    fi
 
49907
 
 
49908
    COND_DEPS_TRACKING_0="#"
 
49909
    if test "x$DEPS_TRACKING" = "x0" ; then
 
49910
        COND_DEPS_TRACKING_0=""
 
49911
    fi
 
49912
 
 
49913
    COND_DEPS_TRACKING_1="#"
 
49914
    if test "x$DEPS_TRACKING" = "x1" ; then
 
49915
        COND_DEPS_TRACKING_1=""
 
49916
    fi
 
49917
 
 
49918
    COND_GCC_PCH_1="#"
 
49919
    if test "x$GCC_PCH" = "x1" ; then
 
49920
        COND_GCC_PCH_1=""
 
49921
    fi
 
49922
 
 
49923
    COND_ICC_PCH_1="#"
 
49924
    if test "x$ICC_PCH" = "x1" ; then
 
49925
        COND_ICC_PCH_1=""
 
49926
    fi
 
49927
 
 
49928
    COND_MONOLITHIC_0="#"
 
49929
    if test "x$MONOLITHIC" = "x0" ; then
 
49930
        COND_MONOLITHIC_0=""
 
49931
    fi
 
49932
 
 
49933
    COND_MONOLITHIC_0_SHARED_0="#"
 
49934
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
 
49935
        COND_MONOLITHIC_0_SHARED_0=""
 
49936
    fi
 
49937
 
 
49938
    COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
 
49939
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
 
49940
        COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
 
49941
    fi
 
49942
 
 
49943
    COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
 
49944
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
 
49945
        COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
 
49946
    fi
 
49947
 
 
49948
    COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
 
49949
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
 
49950
        COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
 
49951
    fi
 
49952
 
 
49953
    COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
 
49954
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
 
49955
        COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
 
49956
    fi
 
49957
 
 
49958
    COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
 
49959
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
 
49960
        COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
 
49961
    fi
 
49962
 
 
49963
    COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
 
49964
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
 
49965
        COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
 
49966
    fi
 
49967
 
 
49968
    COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
 
49969
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
 
49970
        COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
 
49971
    fi
 
49972
 
 
49973
    COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
 
49974
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
 
49975
        COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
 
49976
    fi
 
49977
 
 
49978
    COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
 
49979
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
 
49980
        COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
 
49981
    fi
 
49982
 
 
49983
    COND_MONOLITHIC_0_SHARED_1="#"
 
49984
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
 
49985
        COND_MONOLITHIC_0_SHARED_1=""
 
49986
    fi
 
49987
 
 
49988
    COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
 
49989
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
 
49990
        COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
 
49991
    fi
 
49992
 
 
49993
    COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
 
49994
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
 
49995
        COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
 
49996
    fi
 
49997
 
 
49998
    COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
 
49999
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
 
50000
        COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
 
50001
    fi
 
50002
 
 
50003
    COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
 
50004
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
 
50005
        COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
 
50006
    fi
 
50007
 
 
50008
    COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
 
50009
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
 
50010
        COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
 
50011
    fi
 
50012
 
 
50013
    COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
 
50014
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
 
50015
        COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
 
50016
    fi
 
50017
 
 
50018
    COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
 
50019
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
 
50020
        COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
 
50021
    fi
 
50022
 
 
50023
    COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
 
50024
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
 
50025
        COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
 
50026
    fi
 
50027
 
 
50028
    COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
 
50029
    if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
 
50030
        COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
 
50031
    fi
 
50032
 
 
50033
    COND_MONOLITHIC_0_USE_MEDIA_1="#"
 
50034
    if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
 
50035
        COND_MONOLITHIC_0_USE_MEDIA_1=""
 
50036
    fi
 
50037
 
 
50038
    COND_MONOLITHIC_0_USE_ODBC_1="#"
 
50039
    if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
 
50040
        COND_MONOLITHIC_0_USE_ODBC_1=""
 
50041
    fi
 
50042
 
 
50043
    COND_MONOLITHIC_1="#"
 
50044
    if test "x$MONOLITHIC" = "x1" ; then
 
50045
        COND_MONOLITHIC_1=""
 
50046
    fi
 
50047
 
 
50048
    COND_MONOLITHIC_1_SHARED_0="#"
 
50049
    if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
 
50050
        COND_MONOLITHIC_1_SHARED_0=""
 
50051
    fi
 
50052
 
 
50053
    COND_MONOLITHIC_1_SHARED_1="#"
 
50054
    if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
 
50055
        COND_MONOLITHIC_1_SHARED_1=""
 
50056
    fi
 
50057
 
 
50058
    COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
 
50059
    if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
 
50060
        COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
 
50061
    fi
 
50062
 
 
50063
    COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
 
50064
    if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
 
50065
        COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
 
50066
    fi
 
50067
 
 
50068
    COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
 
50069
    if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
 
50070
        COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
 
50071
    fi
 
50072
 
 
50073
    COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
 
50074
    if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
 
50075
        COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
 
50076
    fi
 
50077
 
 
50078
    COND_PLATFORM_MACOSX_1="#"
 
50079
    if test "x$PLATFORM_MACOSX" = "x1" ; then
 
50080
        COND_PLATFORM_MACOSX_1=""
 
50081
    fi
 
50082
 
 
50083
    COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
 
50084
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
 
50085
        COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
 
50086
    fi
 
50087
 
 
50088
    COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
 
50089
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
 
50090
        COND_PLATFORM_MACOSX_1_TOOLKIT_=""
 
50091
    fi
 
50092
 
 
50093
    COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
 
50094
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
 
50095
        COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
 
50096
    fi
 
50097
 
 
50098
    COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
 
50099
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
 
50100
        COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
 
50101
    fi
 
50102
 
 
50103
    COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
 
50104
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
 
50105
        COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
 
50106
    fi
 
50107
 
 
50108
    COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
 
50109
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
 
50110
        COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
 
50111
    fi
 
50112
 
 
50113
    COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
 
50114
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
 
50115
        COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
 
50116
    fi
 
50117
 
 
50118
    COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
 
50119
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
 
50120
        COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
 
50121
    fi
 
50122
 
 
50123
    COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
 
50124
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
 
50125
        COND_PLATFORM_MACOSX_1_USE_GUI_1=""
 
50126
    fi
 
50127
 
 
50128
    COND_PLATFORM_MACOSX_1_USE_ODBC_1="#"
 
50129
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_ODBC" = "x1" ; then
 
50130
        COND_PLATFORM_MACOSX_1_USE_ODBC_1=""
 
50131
    fi
 
50132
 
 
50133
    COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
 
50134
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
 
50135
        COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
 
50136
    fi
 
50137
 
 
50138
    COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
 
50139
    if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
 
50140
        COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
 
50141
    fi
 
50142
 
 
50143
    COND_PLATFORM_MACOS_1="#"
 
50144
    if test "x$PLATFORM_MACOS" = "x1" ; then
 
50145
        COND_PLATFORM_MACOS_1=""
 
50146
    fi
 
50147
 
 
50148
    COND_PLATFORM_MAC_0="#"
 
50149
    if test "x$PLATFORM_MAC" = "x0" ; then
 
50150
        COND_PLATFORM_MAC_0=""
 
50151
    fi
 
50152
 
 
50153
    COND_PLATFORM_MAC_1="#"
 
50154
    if test "x$PLATFORM_MAC" = "x1" ; then
 
50155
        COND_PLATFORM_MAC_1=""
 
50156
    fi
 
50157
 
 
50158
    COND_PLATFORM_MSDOS_0="#"
 
50159
    if test "x$PLATFORM_MSDOS" = "x0" ; then
 
50160
        COND_PLATFORM_MSDOS_0=""
 
50161
    fi
 
50162
 
 
50163
    COND_PLATFORM_MSDOS_1="#"
 
50164
    if test "x$PLATFORM_MSDOS" = "x1" ; then
 
50165
        COND_PLATFORM_MSDOS_1=""
 
50166
    fi
 
50167
 
 
50168
    COND_PLATFORM_OS2_1="#"
 
50169
    if test "x$PLATFORM_OS2" = "x1" ; then
 
50170
        COND_PLATFORM_OS2_1=""
 
50171
    fi
 
50172
 
 
50173
    COND_PLATFORM_UNIX_0="#"
 
50174
    if test "x$PLATFORM_UNIX" = "x0" ; then
 
50175
        COND_PLATFORM_UNIX_0=""
 
50176
    fi
 
50177
 
 
50178
    COND_PLATFORM_UNIX_1="#"
 
50179
    if test "x$PLATFORM_UNIX" = "x1" ; then
 
50180
        COND_PLATFORM_UNIX_1=""
 
50181
    fi
 
50182
 
 
50183
    COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
 
50184
    if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
 
50185
        COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
 
50186
    fi
 
50187
 
 
50188
    COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
 
50189
    if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
 
50190
        COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
 
50191
    fi
 
50192
 
 
50193
    COND_PLATFORM_UNIX_1_USE_GUI_1="#"
 
50194
    if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
 
50195
        COND_PLATFORM_UNIX_1_USE_GUI_1=""
 
50196
    fi
 
50197
 
 
50198
    COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
 
50199
    if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
 
50200
        COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
 
50201
    fi
 
50202
 
 
50203
    COND_PLATFORM_WIN32_0="#"
 
50204
    if test "x$PLATFORM_WIN32" = "x0" ; then
 
50205
        COND_PLATFORM_WIN32_0=""
 
50206
    fi
 
50207
 
 
50208
    COND_PLATFORM_WIN32_1="#"
 
50209
    if test "x$PLATFORM_WIN32" = "x1" ; then
 
50210
        COND_PLATFORM_WIN32_1=""
 
50211
    fi
 
50212
 
 
50213
    COND_SHARED_0="#"
 
50214
    if test "x$SHARED" = "x0" ; then
 
50215
        COND_SHARED_0=""
 
50216
    fi
 
50217
 
 
50218
    COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
 
50219
    if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
 
50220
        COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
 
50221
    fi
 
50222
 
 
50223
    COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
 
50224
    if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
 
50225
        COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
 
50226
    fi
 
50227
 
 
50228
    COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
 
50229
    if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
 
50230
        COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
 
50231
    fi
 
50232
 
 
50233
    COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
 
50234
    if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
 
50235
        COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
 
50236
    fi
 
50237
 
 
50238
    COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
 
50239
    if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
 
50240
        COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
 
50241
    fi
 
50242
 
 
50243
    COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
 
50244
    if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
 
50245
        COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
 
50246
    fi
 
50247
 
 
50248
    COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
 
50249
    if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
 
50250
        COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
 
50251
    fi
 
50252
 
 
50253
    COND_SHARED_0_USE_XRC_1="#"
 
50254
    if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
 
50255
        COND_SHARED_0_USE_XRC_1=""
 
50256
    fi
 
50257
 
 
50258
    COND_SHARED_0_wxUSE_EXPAT_builtin="#"
 
50259
    if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
 
50260
        COND_SHARED_0_wxUSE_EXPAT_builtin=""
 
50261
    fi
 
50262
 
 
50263
    COND_SHARED_0_wxUSE_ODBC_builtin="#"
 
50264
    if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
 
50265
        COND_SHARED_0_wxUSE_ODBC_builtin=""
 
50266
    fi
 
50267
 
 
50268
    COND_SHARED_0_wxUSE_REGEX_builtin="#"
 
50269
    if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
 
50270
        COND_SHARED_0_wxUSE_REGEX_builtin=""
 
50271
    fi
 
50272
 
 
50273
    COND_SHARED_0_wxUSE_ZLIB_builtin="#"
 
50274
    if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
 
50275
        COND_SHARED_0_wxUSE_ZLIB_builtin=""
 
50276
    fi
 
50277
 
 
50278
    COND_SHARED_1="#"
 
50279
    if test "x$SHARED" = "x1" ; then
 
50280
        COND_SHARED_1=""
 
50281
    fi
 
50282
 
 
50283
    COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
 
50284
    if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
 
50285
        COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
 
50286
    fi
 
50287
 
 
50288
    COND_SHARED_1_USE_XRC_1="#"
 
50289
    if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
 
50290
        COND_SHARED_1_USE_XRC_1=""
 
50291
    fi
 
50292
 
 
50293
    COND_TOOLKIT_="#"
 
50294
    if test "x$TOOLKIT" = "x" ; then
 
50295
        COND_TOOLKIT_=""
 
50296
    fi
 
50297
 
 
50298
    COND_TOOLKIT_COCOA="#"
 
50299
    if test "x$TOOLKIT" = "xCOCOA" ; then
 
50300
        COND_TOOLKIT_COCOA=""
 
50301
    fi
 
50302
 
 
50303
    COND_TOOLKIT_COCOA_USE_GUI_1="#"
 
50304
    if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
 
50305
        COND_TOOLKIT_COCOA_USE_GUI_1=""
 
50306
    fi
 
50307
 
 
50308
    COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
 
50309
    if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50310
        COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
 
50311
    fi
 
50312
 
 
50313
    COND_TOOLKIT_DFB="#"
 
50314
    if test "x$TOOLKIT" = "xDFB" ; then
 
50315
        COND_TOOLKIT_DFB=""
 
50316
    fi
 
50317
 
 
50318
    COND_TOOLKIT_DFB_USE_GUI_1="#"
 
50319
    if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
 
50320
        COND_TOOLKIT_DFB_USE_GUI_1=""
 
50321
    fi
 
50322
 
 
50323
    COND_TOOLKIT_GTK="#"
 
50324
    if test "x$TOOLKIT" = "xGTK" ; then
 
50325
        COND_TOOLKIT_GTK=""
 
50326
    fi
 
50327
 
 
50328
    COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
 
50329
    if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
 
50330
        COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
 
50331
    fi
 
50332
 
 
50333
    COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
 
50334
    if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
 
50335
        COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
 
50336
    fi
 
50337
 
 
50338
    COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
 
50339
    if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
 
50340
        COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
 
50341
    fi
 
50342
 
 
50343
    COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
 
50344
    if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50345
        COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
 
50346
    fi
 
50347
 
 
50348
    COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
 
50349
    if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
 
50350
        COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
 
50351
    fi
 
50352
 
 
50353
    COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
 
50354
    if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50355
        COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
 
50356
    fi
 
50357
 
 
50358
    COND_TOOLKIT_GTK_USE_GUI_1="#"
 
50359
    if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
 
50360
        COND_TOOLKIT_GTK_USE_GUI_1=""
 
50361
    fi
 
50362
 
 
50363
    COND_TOOLKIT_MAC="#"
 
50364
    if test "x$TOOLKIT" = "xMAC" ; then
 
50365
        COND_TOOLKIT_MAC=""
 
50366
    fi
 
50367
 
 
50368
    COND_TOOLKIT_MAC_USE_GUI_1="#"
 
50369
    if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
 
50370
        COND_TOOLKIT_MAC_USE_GUI_1=""
 
50371
    fi
 
50372
 
 
50373
    COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
 
50374
    if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50375
        COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
 
50376
    fi
 
50377
 
 
50378
    COND_TOOLKIT_MGL="#"
 
50379
    if test "x$TOOLKIT" = "xMGL" ; then
 
50380
        COND_TOOLKIT_MGL=""
 
50381
    fi
 
50382
 
 
50383
    COND_TOOLKIT_MGL_USE_GUI_1="#"
 
50384
    if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
 
50385
        COND_TOOLKIT_MGL_USE_GUI_1=""
 
50386
    fi
 
50387
 
 
50388
    COND_TOOLKIT_MOTIF="#"
 
50389
    if test "x$TOOLKIT" = "xMOTIF" ; then
 
50390
        COND_TOOLKIT_MOTIF=""
 
50391
    fi
 
50392
 
 
50393
    COND_TOOLKIT_MOTIF_USE_GUI_1="#"
 
50394
    if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
 
50395
        COND_TOOLKIT_MOTIF_USE_GUI_1=""
 
50396
    fi
 
50397
 
 
50398
    COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
 
50399
    if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50400
        COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
 
50401
    fi
 
50402
 
 
50403
    COND_TOOLKIT_MSW="#"
 
50404
    if test "x$TOOLKIT" = "xMSW" ; then
 
50405
        COND_TOOLKIT_MSW=""
 
50406
    fi
 
50407
 
 
50408
    COND_TOOLKIT_MSW_USE_GUI_1="#"
 
50409
    if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
 
50410
        COND_TOOLKIT_MSW_USE_GUI_1=""
 
50411
    fi
 
50412
 
 
50413
    COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
 
50414
    if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50415
        COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
 
50416
    fi
 
50417
 
 
50418
    COND_TOOLKIT_MSW_WXUNIV_0="#"
 
50419
    if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
 
50420
        COND_TOOLKIT_MSW_WXUNIV_0=""
 
50421
    fi
 
50422
 
 
50423
    COND_TOOLKIT_PM="#"
 
50424
    if test "x$TOOLKIT" = "xPM" ; then
 
50425
        COND_TOOLKIT_PM=""
 
50426
    fi
 
50427
 
 
50428
    COND_TOOLKIT_PM_USE_GUI_1="#"
 
50429
    if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
 
50430
        COND_TOOLKIT_PM_USE_GUI_1=""
 
50431
    fi
 
50432
 
 
50433
    COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
 
50434
    if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50435
        COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
 
50436
    fi
 
50437
 
 
50438
    COND_TOOLKIT_WINCE="#"
 
50439
    if test "x$TOOLKIT" = "xWINCE" ; then
 
50440
        COND_TOOLKIT_WINCE=""
 
50441
    fi
 
50442
 
 
50443
    COND_TOOLKIT_WINCE_USE_GUI_1="#"
 
50444
    if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
 
50445
        COND_TOOLKIT_WINCE_USE_GUI_1=""
 
50446
    fi
 
50447
 
 
50448
    COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
 
50449
    if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50450
        COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
 
50451
    fi
 
50452
 
 
50453
    COND_TOOLKIT_WINCE_WXUNIV_0="#"
 
50454
    if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
 
50455
        COND_TOOLKIT_WINCE_WXUNIV_0=""
 
50456
    fi
 
50457
 
 
50458
    COND_TOOLKIT_X11="#"
 
50459
    if test "x$TOOLKIT" = "xX11" ; then
 
50460
        COND_TOOLKIT_X11=""
 
50461
    fi
 
50462
 
 
50463
    COND_TOOLKIT_X11_USE_GUI_1="#"
 
50464
    if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
 
50465
        COND_TOOLKIT_X11_USE_GUI_1=""
 
50466
    fi
 
50467
 
 
50468
    COND_UNICODE_1="#"
 
50469
    if test "x$UNICODE" = "x1" ; then
 
50470
        COND_UNICODE_1=""
 
50471
    fi
 
50472
 
 
50473
    COND_USE_CAIRO_1="#"
 
50474
    if test "x$USE_CAIRO" = "x1" ; then
 
50475
        COND_USE_CAIRO_1=""
 
50476
    fi
 
50477
 
 
50478
    COND_USE_EXCEPTIONS_0="#"
 
50479
    if test "x$USE_EXCEPTIONS" = "x0" ; then
 
50480
        COND_USE_EXCEPTIONS_0=""
 
50481
    fi
 
50482
 
 
50483
    COND_USE_EXCEPTIONS_1="#"
 
50484
    if test "x$USE_EXCEPTIONS" = "x1" ; then
 
50485
        COND_USE_EXCEPTIONS_1=""
 
50486
    fi
 
50487
 
 
50488
    COND_USE_GUI_0="#"
 
50489
    if test "x$USE_GUI" = "x0" ; then
 
50490
        COND_USE_GUI_0=""
 
50491
    fi
 
50492
 
 
50493
    COND_USE_GUI_1="#"
 
50494
    if test "x$USE_GUI" = "x1" ; then
 
50495
        COND_USE_GUI_1=""
 
50496
    fi
 
50497
 
 
50498
    COND_USE_GUI_1_WXUNIV_0="#"
 
50499
    if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
 
50500
        COND_USE_GUI_1_WXUNIV_0=""
 
50501
    fi
 
50502
 
 
50503
    COND_USE_GUI_1_WXUNIV_1="#"
 
50504
    if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
 
50505
        COND_USE_GUI_1_WXUNIV_1=""
 
50506
    fi
 
50507
 
 
50508
    COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
 
50509
    if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
 
50510
        COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
 
50511
    fi
 
50512
 
 
50513
    COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
 
50514
    if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
 
50515
        COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
 
50516
    fi
 
50517
 
 
50518
    COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
 
50519
    if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
 
50520
        COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
 
50521
    fi
 
50522
 
 
50523
    COND_USE_ODBC_1="#"
 
50524
    if test "x$USE_ODBC" = "x1" ; then
 
50525
        COND_USE_ODBC_1=""
 
50526
    fi
 
50527
 
 
50528
    COND_USE_OPENGL_1="#"
 
50529
    if test "x$USE_OPENGL" = "x1" ; then
 
50530
        COND_USE_OPENGL_1=""
 
50531
    fi
 
50532
 
 
50533
    COND_USE_PCH_1="#"
 
50534
    if test "x$USE_PCH" = "x1" ; then
 
50535
        COND_USE_PCH_1=""
 
50536
    fi
 
50537
 
 
50538
    COND_USE_PLUGINS_0="#"
 
50539
    if test "x$USE_PLUGINS" = "x0" ; then
 
50540
        COND_USE_PLUGINS_0=""
 
50541
    fi
 
50542
 
 
50543
    COND_USE_RTTI_0="#"
 
50544
    if test "x$USE_RTTI" = "x0" ; then
 
50545
        COND_USE_RTTI_0=""
 
50546
    fi
 
50547
 
 
50548
    COND_USE_RTTI_1="#"
 
50549
    if test "x$USE_RTTI" = "x1" ; then
 
50550
        COND_USE_RTTI_1=""
 
50551
    fi
 
50552
 
 
50553
    COND_USE_SOTWOSYMLINKS_1="#"
 
50554
    if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
 
50555
        COND_USE_SOTWOSYMLINKS_1=""
 
50556
    fi
 
50557
 
 
50558
    COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
 
50559
    if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
 
50560
        COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
 
50561
    fi
 
50562
 
 
50563
    COND_USE_SOVERLINUX_1="#"
 
50564
    if test "x$USE_SOVERLINUX" = "x1" ; then
 
50565
        COND_USE_SOVERLINUX_1=""
 
50566
    fi
 
50567
 
 
50568
    COND_USE_SOVERSION_0="#"
 
50569
    if test "x$USE_SOVERSION" = "x0" ; then
 
50570
        COND_USE_SOVERSION_0=""
 
50571
    fi
 
50572
 
 
50573
    COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
 
50574
    if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
 
50575
        COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
 
50576
    fi
 
50577
 
 
50578
    COND_USE_SOVERSOLARIS_1="#"
 
50579
    if test "x$USE_SOVERSOLARIS" = "x1" ; then
 
50580
        COND_USE_SOVERSOLARIS_1=""
 
50581
    fi
 
50582
 
 
50583
    COND_USE_THREADS_0="#"
 
50584
    if test "x$USE_THREADS" = "x0" ; then
 
50585
        COND_USE_THREADS_0=""
 
50586
    fi
 
50587
 
 
50588
    COND_USE_THREADS_1="#"
 
50589
    if test "x$USE_THREADS" = "x1" ; then
 
50590
        COND_USE_THREADS_1=""
 
50591
    fi
 
50592
 
 
50593
    COND_USE_XRC_1="#"
 
50594
    if test "x$USE_XRC" = "x1" ; then
 
50595
        COND_USE_XRC_1=""
 
50596
    fi
 
50597
 
 
50598
    COND_WINDOWS_IMPLIB_1="#"
 
50599
    if test "x$WINDOWS_IMPLIB" = "x1" ; then
 
50600
        COND_WINDOWS_IMPLIB_1=""
 
50601
    fi
 
50602
 
 
50603
    COND_WITH_PLUGIN_SDL_1="#"
 
50604
    if test "x$WITH_PLUGIN_SDL" = "x1" ; then
 
50605
        COND_WITH_PLUGIN_SDL_1=""
 
50606
    fi
 
50607
 
 
50608
    COND_WXUNIV_0="#"
 
50609
    if test "x$WXUNIV" = "x0" ; then
 
50610
        COND_WXUNIV_0=""
 
50611
    fi
 
50612
 
 
50613
    COND_WXUNIV_1="#"
 
50614
    if test "x$WXUNIV" = "x1" ; then
 
50615
        COND_WXUNIV_1=""
 
50616
    fi
 
50617
 
 
50618
    COND_wxUSE_EXPAT_builtin="#"
 
50619
    if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
 
50620
        COND_wxUSE_EXPAT_builtin=""
 
50621
    fi
 
50622
 
 
50623
    COND_wxUSE_LIBJPEG_builtin="#"
 
50624
    if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
 
50625
        COND_wxUSE_LIBJPEG_builtin=""
 
50626
    fi
 
50627
 
 
50628
    COND_wxUSE_LIBPNG_builtin="#"
 
50629
    if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
 
50630
        COND_wxUSE_LIBPNG_builtin=""
 
50631
    fi
 
50632
 
 
50633
    COND_wxUSE_LIBTIFF_builtin="#"
 
50634
    if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
 
50635
        COND_wxUSE_LIBTIFF_builtin=""
 
50636
    fi
 
50637
 
 
50638
    COND_wxUSE_ODBC_builtin="#"
 
50639
    if test "x$wxUSE_ODBC" = "xbuiltin" ; then
 
50640
        COND_wxUSE_ODBC_builtin=""
 
50641
    fi
 
50642
 
 
50643
    COND_wxUSE_REGEX_builtin="#"
 
50644
    if test "x$wxUSE_REGEX" = "xbuiltin" ; then
 
50645
        COND_wxUSE_REGEX_builtin=""
 
50646
    fi
 
50647
 
 
50648
    COND_wxUSE_ZLIB_builtin="#"
 
50649
    if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
 
50650
        COND_wxUSE_ZLIB_builtin=""
 
50651
    fi
 
50652
 
 
50653
 
 
50654
 
 
50655
    if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
 
50656
        { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
 
50657
echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
 
50658
   { (exit 1); exit 1; }; }
 
50659
    fi
 
50660
 
 
50661
    if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
 
50662
        { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
 
50663
echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
 
50664
   { (exit 1); exit 1; }; }
 
50665
    fi
 
50666
 
 
50667
 
 
50668
if test $GCC_PCH = 1
 
50669
then
 
50670
    if test "$wx_cv_gcc_pch_bug" = yes; then
 
50671
        { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
 
50672
echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
 
50673
        { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
 
50674
echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
 
50675
        { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
 
50676
echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
 
50677
    fi
 
50678
 
 
50679
    # Our WX_PRECOMP flag does not make sense for any language except C++ because
 
50680
    # the headers that benefit from precompilation are mostly C++ headers.
 
50681
    CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
 
50682
    # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
 
50683
    #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
 
50684
fi
 
50685
 
 
50686
 
 
50687
if test "$wxUSE_MAC" = 1 ; then
 
50688
    if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
 
50689
        sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
 
50690
        mv temp bk-deps
 
50691
        chmod +x bk-deps
 
50692
    fi
 
50693
fi
 
50694
 
 
50695
if test "$wxUSE_SHARED" = "yes"; then
 
50696
 
 
50697
                            sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
 
50698
    EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
 
50699
 
 
50700
                case "${host}" in
 
50701
      *-pc-os2_emx | *-pc-os2-emx )
 
50702
        SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
 
50703
        SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
 
50704
        cp -p ${srcdir}/src/os2/dllnames.sh .
 
50705
        cp -p ${srcdir}/src/os2/dllar.sh .
 
50706
      ;;
 
50707
    esac
 
50708
else
 
50709
 
 
50710
        EXE_LINKER="$CXX -o"
 
50711
 
 
50712
fi
 
50713
if test "$wxUSE_OMF" = "yes"; then
 
50714
    case "${host}" in
 
50715
      *-pc-os2_emx | *-pc-os2-emx )
 
50716
        LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
 
50717
        LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
 
50718
        WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
 
50719
      ;;
 
50720
    esac
 
50721
fi
 
50722
 
 
50723
WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
 
50724
 
 
50725
SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
 
50726
 
 
50727
 
 
50728
 
 
50729
 
 
50730
 
 
50731
 
 
50732
 
 
50733
 
 
50734
 
 
50735
 
 
50736
 
 
50737
 
 
50738
 
 
50739
 
 
50740
 
 
50741
 
 
50742
 
 
50743
 
 
50744
 
 
50745
 
 
50746
 
 
50747
 
 
50748
 
 
50749
 
 
50750
 
 
50751
 
 
50752
 
 
50753
 
 
50754
 
 
50755
 
 
50756
 
 
50757
 
 
50758
 
 
50759
 
 
50760
 
 
50761
 
 
50762
 
 
50763
 
 
50764
 
 
50765
 
 
50766
 
 
50767
 
 
50768
 
 
50769
 
 
50770
 
 
50771
 
 
50772
 
 
50773
 
 
50774
 
 
50775
 
 
50776
 
 
50777
 
 
50778
 
 
50779
 
 
50780
 
 
50781
 
 
50782
 
 
50783
 
 
50784
 
 
50785
 
 
50786
 
 
50787
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
50788
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
50789
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
50790
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
50791
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
50792
else
 
50793
  cat >conftest.make <<\_ACEOF
 
50794
all:
 
50795
        @echo 'ac_maketemp="$(MAKE)"'
 
50796
_ACEOF
 
50797
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
50798
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
50799
if test -n "$ac_maketemp"; then
 
50800
  eval ac_cv_prog_make_${ac_make}_set=yes
 
50801
else
 
50802
  eval ac_cv_prog_make_${ac_make}_set=no
 
50803
fi
 
50804
rm -f conftest.make
 
50805
fi
 
50806
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
50807
  echo "$as_me:$LINENO: result: yes" >&5
 
50808
echo "${ECHO_T}yes" >&6
 
50809
  SET_MAKE=
 
50810
else
 
50811
  echo "$as_me:$LINENO: result: no" >&5
 
50812
echo "${ECHO_T}no" >&6
 
50813
  SET_MAKE="MAKE=${MAKE-make}"
 
50814
fi
 
50815
 
 
50816
 
 
50817
 
 
50818
          ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
 
50819
 
 
50820
 
 
50821
if test "$USE_WIN32" = 1; then
 
50822
              ac_config_commands="$ac_config_commands
 
50823
            rcdefs.h
 
50824
        "
 
50825
 
 
50826
fi
 
50827
 
 
50828
          ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
 
50829
 
 
50830
 
 
50831
          ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
 
50832
 
 
50833
 
 
50834
if test "$wx_cv_version_script" = "yes"; then
 
50835
              ac_config_files="$ac_config_files version-script"
 
50836
 
 
50837
fi
 
50838
          ac_config_files="$ac_config_files Makefile"
 
50839
 
 
50840
 
 
50841
          ac_config_commands="$ac_config_commands wx-config"
 
50842
 
 
50843
 
 
50844
 
 
50845
if test "$wxWITH_SUBDIRS" != "no"; then
 
50846
if test "$wxUSE_GUI" = "yes"; then
 
50847
    SUBDIRS="samples demos utils contrib"
 
50848
else         SUBDIRS="samples utils"
 
50849
fi
 
50850
 
 
50851
 
 
50852
 
 
50853
# Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
 
50854
if test "${with_cppunit_prefix+set}" = set; then
 
50855
  withval="$with_cppunit_prefix"
 
50856
  cppunit_config_prefix="$withval"
 
50857
else
 
50858
  cppunit_config_prefix=""
 
50859
fi;
 
50860
 
 
50861
# Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
 
50862
if test "${with_cppunit_exec_prefix+set}" = set; then
 
50863
  withval="$with_cppunit_exec_prefix"
 
50864
  cppunit_config_exec_prefix="$withval"
 
50865
else
 
50866
  cppunit_config_exec_prefix=""
 
50867
fi;
 
50868
 
 
50869
  if test x$cppunit_config_exec_prefix != x ; then
 
50870
     cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
 
50871
     if test x${CPPUNIT_CONFIG+set} != xset ; then
 
50872
        CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
 
50873
     fi
 
50874
  fi
 
50875
  if test x$cppunit_config_prefix != x ; then
 
50876
     cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
 
50877
     if test x${CPPUNIT_CONFIG+set} != xset ; then
 
50878
        CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
 
50879
     fi
 
50880
  fi
 
50881
 
 
50882
  # Extract the first word of "cppunit-config", so it can be a program name with args.
 
50883
set dummy cppunit-config; ac_word=$2
 
50884
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
50885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
50886
if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
 
50887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
50888
else
 
50889
  case $CPPUNIT_CONFIG in
 
50890
  [\\/]* | ?:[\\/]*)
 
50891
  ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
 
50892
  ;;
 
50893
  *)
 
50894
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
50895
for as_dir in $PATH
 
50896
do
 
50897
  IFS=$as_save_IFS
 
50898
  test -z "$as_dir" && as_dir=.
 
50899
  for ac_exec_ext in '' $ac_executable_extensions; do
 
50900
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
50901
    ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
50902
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
50903
    break 2
 
50904
  fi
 
50905
done
 
50906
done
 
50907
 
 
50908
  test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
 
50909
  ;;
 
50910
esac
 
50911
fi
 
50912
CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
 
50913
 
 
50914
if test -n "$CPPUNIT_CONFIG"; then
 
50915
  echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
 
50916
echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
 
50917
else
 
50918
  echo "$as_me:$LINENO: result: no" >&5
 
50919
echo "${ECHO_T}no" >&6
 
50920
fi
 
50921
 
 
50922
  cppunit_version_min=1.8.0
 
50923
 
 
50924
  echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
 
50925
echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
 
50926
  no_cppunit=""
 
50927
  if test "$CPPUNIT_CONFIG" = "no" ; then
 
50928
    echo "$as_me:$LINENO: result: no" >&5
 
50929
echo "${ECHO_T}no" >&6
 
50930
    no_cppunit=yes
 
50931
  else
 
50932
    CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
 
50933
    CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
 
50934
    cppunit_version=`$CPPUNIT_CONFIG --version`
 
50935
 
 
50936
    cppunit_major_version=`echo $cppunit_version | \
 
50937
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
50938
    cppunit_minor_version=`echo $cppunit_version | \
 
50939
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
50940
    cppunit_micro_version=`echo $cppunit_version | \
 
50941
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
50942
 
 
50943
    cppunit_major_min=`echo $cppunit_version_min | \
 
50944
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
50945
    cppunit_minor_min=`echo $cppunit_version_min | \
 
50946
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
50947
    cppunit_micro_min=`echo $cppunit_version_min | \
 
50948
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
50949
 
 
50950
    cppunit_version_proper=`expr \
 
50951
        $cppunit_major_version \> $cppunit_major_min \| \
 
50952
        $cppunit_major_version \= $cppunit_major_min \& \
 
50953
        $cppunit_minor_version \> $cppunit_minor_min \| \
 
50954
        $cppunit_major_version \= $cppunit_major_min \& \
 
50955
        $cppunit_minor_version \= $cppunit_minor_min \& \
 
50956
        $cppunit_micro_version \>= $cppunit_micro_min `
 
50957
 
 
50958
    if test "$cppunit_version_proper" = "1" ; then
 
50959
      echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
 
50960
echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
 
50961
    else
 
50962
      echo "$as_me:$LINENO: result: no" >&5
 
50963
echo "${ECHO_T}no" >&6
 
50964
      no_cppunit=yes
 
50965
    fi
 
50966
  fi
 
50967
 
 
50968
  if test "x$no_cppunit" = x ; then
 
50969
     SUBDIRS="$SUBDIRS tests"
 
50970
  else
 
50971
     CPPUNIT_CFLAGS=""
 
50972
     CPPUNIT_LIBS=""
 
50973
     :
 
50974
  fi
 
50975
 
 
50976
 
 
50977
 
 
50978
 
 
50979
 
 
50980
if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
 
50981
    DISABLED_CONTRIB="$DISABLED_CONTRIB net"
 
50982
fi
 
50983
 
 
50984
for subdir in `echo $SUBDIRS`; do
 
50985
    if test -d ${srcdir}/${subdir} ; then
 
50986
        if test "$wxUSE_GUI" = "yes"; then
 
50987
            if test ${subdir} = "samples"; then
 
50988
                                                makefiles="samples/Makefile.in $makefiles"
 
50989
                for sample in `echo $SAMPLES_SUBDIRS`; do
 
50990
                    if test -d $srcdir/samples/$sample; then
 
50991
                        makefiles="samples/$sample/Makefile.in $makefiles"
 
50992
                    fi
 
50993
                done
 
50994
            else
 
50995
                                                                disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
 
50996
                eval "disabled=\$$disabled_var"
 
50997
                disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
 
50998
                makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
 
50999
            fi
 
51000
        else                                     if test ${subdir} = "samples"; then
 
51001
                makefiles="samples/Makefile.in samples/console/Makefile.in"
 
51002
            elif test ${subdir} = "utils"; then
 
51003
                makefiles=""
 
51004
                for util in HelpGen tex2rtf ; do
 
51005
                    if test -d $srcdir/utils/$util ; then
 
51006
                        makefiles="utils/$util/Makefile.in \
 
51007
                                   utils/$util/src/Makefile.in \
 
51008
                                   $makefiles"
 
51009
                    fi
 
51010
                done
 
51011
            else                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
 
51012
            fi
 
51013
        fi
 
51014
 
 
51015
        for mkin in $makefiles ; do
 
51016
            mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
 
51017
                      ac_config_files="$ac_config_files $mk"
 
51018
 
 
51019
        done
 
51020
    fi
 
51021
done
 
51022
fi
 
51023
cat >confcache <<\_ACEOF
 
51024
# This file is a shell script that caches the results of configure
 
51025
# tests run on this system so they can be shared between configure
 
51026
# scripts and configure runs, see configure's option --config-cache.
 
51027
# It is not useful on other systems.  If it contains results you don't
 
51028
# want to keep, you may remove or edit it.
 
51029
#
 
51030
# config.status only pays attention to the cache file if you give it
 
51031
# the --recheck option to rerun configure.
 
51032
#
 
51033
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
51034
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
51035
# following values.
 
51036
 
 
51037
_ACEOF
 
51038
 
 
51039
# The following way of writing the cache mishandles newlines in values,
 
51040
# but we know of no workaround that is simple, portable, and efficient.
 
51041
# So, don't put newlines in cache variables' values.
 
51042
# Ultrix sh set writes to stderr and can't be redirected directly,
 
51043
# and sets the high bit in the cache file unless we assign to the vars.
 
51044
{
 
51045
  (set) 2>&1 |
 
51046
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
51047
    *ac_space=\ *)
 
51048
      # `set' does not quote correctly, so add quotes (double-quote
 
51049
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
51050
      sed -n \
 
51051
        "s/'/'\\\\''/g;
 
51052
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
51053
      ;;
 
51054
    *)
 
51055
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
51056
      sed -n \
 
51057
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
51058
      ;;
 
51059
    esac;
 
51060
} |
 
51061
  sed '
 
51062
     t clear
 
51063
     : clear
 
51064
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
51065
     t end
 
51066
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
51067
     : end' >>confcache
 
51068
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
51069
  if test -w $cache_file; then
 
51070
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
51071
    cat confcache >$cache_file
 
51072
  else
 
51073
    echo "not updating unwritable cache $cache_file"
 
51074
  fi
 
51075
fi
 
51076
rm -f confcache
 
51077
 
 
51078
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
51079
# Let make expand exec_prefix.
 
51080
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
51081
 
 
51082
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
51083
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
51084
# trailing colons and then remove the whole line if VPATH becomes empty
 
51085
# (actually we leave an empty line to preserve line numbers).
 
51086
if test "x$srcdir" = x.; then
 
51087
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
51088
s/:*\$(srcdir):*/:/;
 
51089
s/:*\${srcdir}:*/:/;
 
51090
s/:*@srcdir@:*/:/;
 
51091
s/^\([^=]*=[     ]*\):*/\1/;
 
51092
s/:*$//;
 
51093
s/^[^=]*=[       ]*$//;
 
51094
}'
 
51095
fi
 
51096
 
 
51097
DEFS=-DHAVE_CONFIG_H
 
51098
 
 
51099
ac_libobjs=
 
51100
ac_ltlibobjs=
 
51101
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
51102
  # 1. Remove the extension, and $U if already installed.
 
51103
  ac_i=`echo "$ac_i" |
 
51104
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
51105
  # 2. Add them.
 
51106
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
51107
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
51108
done
 
51109
LIBOBJS=$ac_libobjs
 
51110
 
 
51111
LTLIBOBJS=$ac_ltlibobjs
 
51112
 
 
51113
 
 
51114
 
 
51115
: ${CONFIG_STATUS=./config.status}
 
51116
ac_clean_files_save=$ac_clean_files
 
51117
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
51118
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
51119
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
51120
cat >$CONFIG_STATUS <<_ACEOF
 
51121
#! $SHELL
 
51122
# Generated by $as_me.
 
51123
# Run this file to recreate the current configuration.
 
51124
# Compiler output produced by configure, useful for debugging
 
51125
# configure, is in config.log if it exists.
 
51126
 
 
51127
debug=false
 
51128
ac_cs_recheck=false
 
51129
ac_cs_silent=false
 
51130
SHELL=\${CONFIG_SHELL-$SHELL}
 
51131
_ACEOF
 
51132
 
 
51133
cat >>$CONFIG_STATUS <<\_ACEOF
 
51134
## --------------------- ##
 
51135
## M4sh Initialization.  ##
 
51136
## --------------------- ##
 
51137
 
 
51138
# Be Bourne compatible
 
51139
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
51140
  emulate sh
 
51141
  NULLCMD=:
 
51142
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
51143
  # is contrary to our usage.  Disable this feature.
 
51144
  alias -g '${1+"$@"}'='"$@"'
 
51145
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
51146
  set -o posix
 
51147
fi
 
51148
DUALCASE=1; export DUALCASE # for MKS sh
 
51149
 
 
51150
# Support unset when possible.
 
51151
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
51152
  as_unset=unset
 
51153
else
 
51154
  as_unset=false
 
51155
fi
 
51156
 
 
51157
 
 
51158
# Work around bugs in pre-3.0 UWIN ksh.
 
51159
$as_unset ENV MAIL MAILPATH
 
51160
PS1='$ '
 
51161
PS2='> '
 
51162
PS4='+ '
 
51163
 
 
51164
# NLS nuisances.
 
51165
for as_var in \
 
51166
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
51167
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
51168
  LC_TELEPHONE LC_TIME
 
51169
do
 
51170
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
51171
    eval $as_var=C; export $as_var
 
51172
  else
 
51173
    $as_unset $as_var
 
51174
  fi
 
51175
done
 
51176
 
 
51177
# Required to use basename.
 
51178
if expr a : '\(a\)' >/dev/null 2>&1; then
 
51179
  as_expr=expr
 
51180
else
 
51181
  as_expr=false
 
51182
fi
 
51183
 
 
51184
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
51185
  as_basename=basename
 
51186
else
 
51187
  as_basename=false
 
51188
fi
 
51189
 
 
51190
 
 
51191
# Name of the executable.
 
51192
as_me=`$as_basename "$0" ||
 
51193
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
51194
         X"$0" : 'X\(//\)$' \| \
 
51195
         X"$0" : 'X\(/\)$' \| \
 
51196
         .     : '\(.\)' 2>/dev/null ||
 
51197
echo X/"$0" |
 
51198
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
51199
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
51200
          /^X\/\(\/\).*/{ s//\1/; q; }
 
51201
          s/.*/./; q'`
 
51202
 
 
51203
 
 
51204
# PATH needs CR, and LINENO needs CR and PATH.
 
51205
# Avoid depending upon Character Ranges.
 
51206
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
51207
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
51208
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
51209
as_cr_digits='0123456789'
 
51210
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
51211
 
 
51212
# The user is always right.
 
51213
if test "${PATH_SEPARATOR+set}" != set; then
 
51214
  echo "#! /bin/sh" >conf$$.sh
 
51215
  echo  "exit 0"   >>conf$$.sh
 
51216
  chmod +x conf$$.sh
 
51217
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
51218
    PATH_SEPARATOR=';'
 
51219
  else
 
51220
    PATH_SEPARATOR=:
 
51221
  fi
 
51222
  rm -f conf$$.sh
 
51223
fi
 
51224
 
 
51225
 
 
51226
  as_lineno_1=$LINENO
 
51227
  as_lineno_2=$LINENO
 
51228
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
51229
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
51230
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
51231
  # Find who we are.  Look in the path if we contain no path at all
 
51232
  # relative or not.
 
51233
  case $0 in
 
51234
    *[\\/]* ) as_myself=$0 ;;
 
51235
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
51236
for as_dir in $PATH
 
51237
do
 
51238
  IFS=$as_save_IFS
 
51239
  test -z "$as_dir" && as_dir=.
 
51240
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
51241
done
 
51242
 
 
51243
       ;;
 
51244
  esac
 
51245
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
51246
  # in which case we are not to be found in the path.
 
51247
  if test "x$as_myself" = x; then
 
51248
    as_myself=$0
 
51249
  fi
 
51250
  if test ! -f "$as_myself"; then
 
51251
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
51252
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
51253
   { (exit 1); exit 1; }; }
 
51254
  fi
 
51255
  case $CONFIG_SHELL in
 
51256
  '')
 
51257
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
51258
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
51259
do
 
51260
  IFS=$as_save_IFS
 
51261
  test -z "$as_dir" && as_dir=.
 
51262
  for as_base in sh bash ksh sh5; do
 
51263
         case $as_dir in
 
51264
         /*)
 
51265
           if ("$as_dir/$as_base" -c '
 
51266
  as_lineno_1=$LINENO
 
51267
  as_lineno_2=$LINENO
 
51268
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
51269
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
51270
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
51271
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
51272
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
51273
             CONFIG_SHELL=$as_dir/$as_base
 
51274
             export CONFIG_SHELL
 
51275
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
51276
           fi;;
 
51277
         esac
 
51278
       done
 
51279
done
 
51280
;;
 
51281
  esac
 
51282
 
 
51283
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
51284
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
51285
  # line-number line before each line; the second 'sed' does the real
 
51286
  # work.  The second script uses 'N' to pair each line-number line
 
51287
  # with the numbered line, and appends trailing '-' during
 
51288
  # substitution so that $LINENO is not a special case at line end.
 
51289
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
51290
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
51291
  sed '=' <$as_myself |
 
51292
    sed '
 
51293
      N
 
51294
      s,$,-,
 
51295
      : loop
 
51296
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
51297
      t loop
 
51298
      s,-$,,
 
51299
      s,^['$as_cr_digits']*\n,,
 
51300
    ' >$as_me.lineno &&
 
51301
  chmod +x $as_me.lineno ||
 
51302
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
51303
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
51304
   { (exit 1); exit 1; }; }
 
51305
 
 
51306
  # Don't try to exec as it changes $[0], causing all sort of problems
 
51307
  # (the dirname of $[0] is not the place where we might find the
 
51308
  # original and so on.  Autoconf is especially sensible to this).
 
51309
  . ./$as_me.lineno
 
51310
  # Exit status is that of the last command.
 
51311
  exit
 
51312
}
 
51313
 
 
51314
 
 
51315
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
51316
  *c*,-n*) ECHO_N= ECHO_C='
 
51317
' ECHO_T='      ' ;;
 
51318
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
51319
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
51320
esac
 
51321
 
 
51322
if expr a : '\(a\)' >/dev/null 2>&1; then
 
51323
  as_expr=expr
 
51324
else
 
51325
  as_expr=false
 
51326
fi
 
51327
 
 
51328
rm -f conf$$ conf$$.exe conf$$.file
 
51329
echo >conf$$.file
 
51330
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
51331
  # We could just check for DJGPP; but this test a) works b) is more generic
 
51332
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
51333
  if test -f conf$$.exe; then
 
51334
    # Don't use ln at all; we don't have any links
 
51335
    as_ln_s='cp -p'
 
51336
  else
 
51337
    as_ln_s='ln -s'
 
51338
  fi
 
51339
elif ln conf$$.file conf$$ 2>/dev/null; then
 
51340
  as_ln_s=ln
 
51341
else
 
51342
  as_ln_s='cp -p'
 
51343
fi
 
51344
rm -f conf$$ conf$$.exe conf$$.file
 
51345
 
 
51346
if mkdir -p . 2>/dev/null; then
 
51347
  as_mkdir_p=:
 
51348
else
 
51349
  test -d ./-p && rmdir ./-p
 
51350
  as_mkdir_p=false
 
51351
fi
 
51352
 
 
51353
as_executable_p="test -f"
 
51354
 
 
51355
# Sed expression to map a string onto a valid CPP name.
 
51356
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
51357
 
 
51358
# Sed expression to map a string onto a valid variable name.
 
51359
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
51360
 
 
51361
 
 
51362
# IFS
 
51363
# We need space, tab and new line, in precisely that order.
 
51364
as_nl='
 
51365
'
 
51366
IFS="   $as_nl"
 
51367
 
 
51368
# CDPATH.
 
51369
$as_unset CDPATH
 
51370
 
 
51371
exec 6>&1
 
51372
 
 
51373
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
51374
# report actual input values of CONFIG_FILES etc. instead of their
 
51375
# values after options handling.  Logging --version etc. is OK.
 
51376
exec 5>>config.log
 
51377
{
 
51378
  echo
 
51379
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
51380
## Running $as_me. ##
 
51381
_ASBOX
 
51382
} >&5
 
51383
cat >&5 <<_CSEOF
 
51384
 
 
51385
This file was extended by wxWidgets $as_me 2.8.11, which was
 
51386
generated by GNU Autoconf 2.59.  Invocation command line was
 
51387
 
 
51388
  CONFIG_FILES    = $CONFIG_FILES
 
51389
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
51390
  CONFIG_LINKS    = $CONFIG_LINKS
 
51391
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
51392
  $ $0 $@
 
51393
 
 
51394
_CSEOF
 
51395
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
51396
echo >&5
 
51397
_ACEOF
 
51398
 
 
51399
# Files that config.status was made for.
 
51400
if test -n "$ac_config_files"; then
 
51401
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
51402
fi
 
51403
 
 
51404
if test -n "$ac_config_headers"; then
 
51405
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
51406
fi
 
51407
 
 
51408
if test -n "$ac_config_links"; then
 
51409
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
51410
fi
 
51411
 
 
51412
if test -n "$ac_config_commands"; then
 
51413
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
51414
fi
 
51415
 
 
51416
cat >>$CONFIG_STATUS <<\_ACEOF
 
51417
 
 
51418
ac_cs_usage="\
 
51419
\`$as_me' instantiates files from templates according to the
 
51420
current configuration.
 
51421
 
 
51422
Usage: $0 [OPTIONS] [FILE]...
 
51423
 
 
51424
  -h, --help       print this help, then exit
 
51425
  -V, --version    print version number, then exit
 
51426
  -q, --quiet      do not print progress messages
 
51427
  -d, --debug      don't remove temporary files
 
51428
      --recheck    update $as_me by reconfiguring in the same conditions
 
51429
  --file=FILE[:TEMPLATE]
 
51430
                   instantiate the configuration file FILE
 
51431
  --header=FILE[:TEMPLATE]
 
51432
                   instantiate the configuration header FILE
 
51433
 
 
51434
Configuration files:
 
51435
$config_files
 
51436
 
 
51437
Configuration headers:
 
51438
$config_headers
 
51439
 
 
51440
Configuration commands:
 
51441
$config_commands
 
51442
 
 
51443
Report bugs to <bug-autoconf@gnu.org>."
 
51444
_ACEOF
 
51445
 
 
51446
cat >>$CONFIG_STATUS <<_ACEOF
 
51447
ac_cs_version="\\
 
51448
wxWidgets config.status 2.8.11
 
51449
configured by $0, generated by GNU Autoconf 2.59,
 
51450
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
51451
 
 
51452
Copyright (C) 2003 Free Software Foundation, Inc.
 
51453
This config.status script is free software; the Free Software Foundation
 
51454
gives unlimited permission to copy, distribute and modify it."
 
51455
srcdir=$srcdir
 
51456
INSTALL="$INSTALL"
 
51457
_ACEOF
 
51458
 
 
51459
cat >>$CONFIG_STATUS <<\_ACEOF
 
51460
# If no file are specified by the user, then we need to provide default
 
51461
# value.  By we need to know if files were specified by the user.
 
51462
ac_need_defaults=:
 
51463
while test $# != 0
 
51464
do
 
51465
  case $1 in
 
51466
  --*=*)
 
51467
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
51468
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
51469
    ac_shift=:
 
51470
    ;;
 
51471
  -*)
 
51472
    ac_option=$1
 
51473
    ac_optarg=$2
 
51474
    ac_shift=shift
 
51475
    ;;
 
51476
  *) # This is not an option, so the user has probably given explicit
 
51477
     # arguments.
 
51478
     ac_option=$1
 
51479
     ac_need_defaults=false;;
 
51480
  esac
 
51481
 
 
51482
  case $ac_option in
 
51483
  # Handling of the options.
 
51484
_ACEOF
 
51485
cat >>$CONFIG_STATUS <<\_ACEOF
 
51486
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
51487
    ac_cs_recheck=: ;;
 
51488
  --version | --vers* | -V )
 
51489
    echo "$ac_cs_version"; exit 0 ;;
 
51490
  --he | --h)
 
51491
    # Conflict between --help and --header
 
51492
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
51493
Try \`$0 --help' for more information." >&5
 
51494
echo "$as_me: error: ambiguous option: $1
 
51495
Try \`$0 --help' for more information." >&2;}
 
51496
   { (exit 1); exit 1; }; };;
 
51497
  --help | --hel | -h )
 
51498
    echo "$ac_cs_usage"; exit 0 ;;
 
51499
  --debug | --d* | -d )
 
51500
    debug=: ;;
 
51501
  --file | --fil | --fi | --f )
 
51502
    $ac_shift
 
51503
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
51504
    ac_need_defaults=false;;
 
51505
  --header | --heade | --head | --hea )
 
51506
    $ac_shift
 
51507
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
51508
    ac_need_defaults=false;;
 
51509
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
51510
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
51511
    ac_cs_silent=: ;;
 
51512
 
 
51513
  # This is an error.
 
51514
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
51515
Try \`$0 --help' for more information." >&5
 
51516
echo "$as_me: error: unrecognized option: $1
 
51517
Try \`$0 --help' for more information." >&2;}
 
51518
   { (exit 1); exit 1; }; } ;;
 
51519
 
 
51520
  *) ac_config_targets="$ac_config_targets $1" ;;
 
51521
 
 
51522
  esac
 
51523
  shift
 
51524
done
 
51525
 
 
51526
ac_configure_extra_args=
 
51527
 
 
51528
if $ac_cs_silent; then
 
51529
  exec 6>/dev/null
 
51530
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
51531
fi
 
51532
 
 
51533
_ACEOF
 
51534
cat >>$CONFIG_STATUS <<_ACEOF
 
51535
if \$ac_cs_recheck; then
 
51536
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
51537
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
51538
fi
 
51539
 
 
51540
_ACEOF
 
51541
 
 
51542
cat >>$CONFIG_STATUS <<_ACEOF
 
51543
#
 
51544
# INIT-COMMANDS section.
 
51545
#
 
51546
 
 
51547
 
 
51548
            CPP="$CPP"
 
51549
            infile="$srcdir/include/wx/msw/genrcdefs.h"
 
51550
            outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
 
51551
 
 
51552
 
 
51553
 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
 
51554
 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
 
51555
 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
 
51556
                     LN_S="${LN_S}"
 
51557
 
 
51558
 
 
51559
_ACEOF
 
51560
 
 
51561
 
 
51562
 
 
51563
cat >>$CONFIG_STATUS <<\_ACEOF
 
51564
for ac_config_target in $ac_config_targets
 
51565
do
 
51566
  case "$ac_config_target" in
 
51567
  # Handling of arguments.
 
51568
  "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
 
51569
  "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
 
51570
  "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
 
51571
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
51572
  "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
 
51573
  "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
 
51574
  "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
 
51575
  "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
 
51576
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
51577
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
51578
   { (exit 1); exit 1; }; };;
 
51579
  esac
 
51580
done
 
51581
 
 
51582
# If the user did not use the arguments to specify the items to instantiate,
 
51583
# then the envvar interface is used.  Set only those that are not.
 
51584
# We use the long form for the default assignment because of an extremely
 
51585
# bizarre bug on SunOS 4.1.3.
 
51586
if $ac_need_defaults; then
 
51587
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
51588
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
51589
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
51590
fi
 
51591
 
 
51592
# Have a temporary directory for convenience.  Make it in the build tree
 
51593
# simply because there is no reason to put it here, and in addition,
 
51594
# creating and moving files from /tmp can sometimes cause problems.
 
51595
# Create a temporary directory, and hook for its removal unless debugging.
 
51596
$debug ||
 
51597
{
 
51598
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
51599
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
51600
}
 
51601
 
 
51602
# Create a (secure) tmp directory for tmp files.
 
51603
 
 
51604
{
 
51605
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
51606
  test -n "$tmp" && test -d "$tmp"
 
51607
}  ||
 
51608
{
 
51609
  tmp=./confstat$$-$RANDOM
 
51610
  (umask 077 && mkdir $tmp)
 
51611
} ||
 
51612
{
 
51613
   echo "$me: cannot create a temporary directory in ." >&2
 
51614
   { (exit 1); exit 1; }
 
51615
}
 
51616
 
 
51617
_ACEOF
 
51618
 
 
51619
cat >>$CONFIG_STATUS <<_ACEOF
 
51620
 
 
51621
#
 
51622
# CONFIG_FILES section.
 
51623
#
 
51624
 
 
51625
# No need to generate the scripts if there are no CONFIG_FILES.
 
51626
# This happens for instance when ./config.status config.h
 
51627
if test -n "\$CONFIG_FILES"; then
 
51628
  # Protect against being on the right side of a sed subst in config.status.
 
51629
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
51630
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
51631
s,@SHELL@,$SHELL,;t t
 
51632
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
51633
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
51634
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
51635
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
51636
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
51637
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
51638
s,@exec_prefix@,$exec_prefix,;t t
 
51639
s,@prefix@,$prefix,;t t
 
51640
s,@program_transform_name@,$program_transform_name,;t t
 
51641
s,@bindir@,$bindir,;t t
 
51642
s,@sbindir@,$sbindir,;t t
 
51643
s,@libexecdir@,$libexecdir,;t t
 
51644
s,@datadir@,$datadir,;t t
 
51645
s,@sysconfdir@,$sysconfdir,;t t
 
51646
s,@sharedstatedir@,$sharedstatedir,;t t
 
51647
s,@localstatedir@,$localstatedir,;t t
 
51648
s,@libdir@,$libdir,;t t
 
51649
s,@includedir@,$includedir,;t t
 
51650
s,@oldincludedir@,$oldincludedir,;t t
 
51651
s,@infodir@,$infodir,;t t
 
51652
s,@mandir@,$mandir,;t t
 
51653
s,@build_alias@,$build_alias,;t t
 
51654
s,@host_alias@,$host_alias,;t t
 
51655
s,@target_alias@,$target_alias,;t t
 
51656
s,@DEFS@,$DEFS,;t t
 
51657
s,@ECHO_C@,$ECHO_C,;t t
 
51658
s,@ECHO_N@,$ECHO_N,;t t
 
51659
s,@ECHO_T@,$ECHO_T,;t t
 
51660
s,@LIBS@,$LIBS,;t t
 
51661
s,@build@,$build,;t t
 
51662
s,@build_cpu@,$build_cpu,;t t
 
51663
s,@build_vendor@,$build_vendor,;t t
 
51664
s,@build_os@,$build_os,;t t
 
51665
s,@host@,$host,;t t
 
51666
s,@host_cpu@,$host_cpu,;t t
 
51667
s,@host_vendor@,$host_vendor,;t t
 
51668
s,@host_os@,$host_os,;t t
 
51669
s,@target@,$target,;t t
 
51670
s,@target_cpu@,$target_cpu,;t t
 
51671
s,@target_vendor@,$target_vendor,;t t
 
51672
s,@target_os@,$target_os,;t t
 
51673
s,@wx_top_builddir@,$wx_top_builddir,;t t
 
51674
s,@CC@,$CC,;t t
 
51675
s,@CFLAGS@,$CFLAGS,;t t
 
51676
s,@LDFLAGS@,$LDFLAGS,;t t
 
51677
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
51678
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
51679
s,@EXEEXT@,$EXEEXT,;t t
 
51680
s,@OBJEXT@,$OBJEXT,;t t
 
51681
s,@CPP@,$CPP,;t t
 
51682
s,@EGREP@,$EGREP,;t t
 
51683
s,@CXX@,$CXX,;t t
 
51684
s,@CXXFLAGS@,$CXXFLAGS,;t t
 
51685
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 
51686
s,@RANLIB@,$RANLIB,;t t
 
51687
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 
51688
s,@AR@,$AR,;t t
 
51689
s,@ac_ct_AR@,$ac_ct_AR,;t t
 
51690
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
51691
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
51692
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
51693
s,@STRIP@,$STRIP,;t t
 
51694
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
51695
s,@WINDRES@,$WINDRES,;t t
 
51696
s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
 
51697
s,@DLLTOOL@,$DLLTOOL,;t t
 
51698
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
 
51699
s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
 
51700
s,@LN_S@,$LN_S,;t t
 
51701
s,@subdirs@,$subdirs,;t t
 
51702
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
51703
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
 
51704
s,@GTK_LIBS@,$GTK_LIBS,;t t
 
51705
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
 
51706
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
 
51707
s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
 
51708
s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
 
51709
s,@X_CFLAGS@,$X_CFLAGS,;t t
 
51710
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
 
51711
s,@X_LIBS@,$X_LIBS,;t t
 
51712
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
 
51713
s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
 
51714
s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
 
51715
s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
 
51716
s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
 
51717
s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
 
51718
s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
 
51719
s,@REZ@,$REZ,;t t
 
51720
s,@DEREZ@,$DEREZ,;t t
 
51721
s,@SETFILE@,$SETFILE,;t t
 
51722
s,@LIBICONV@,$LIBICONV,;t t
 
51723
s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
 
51724
s,@SDL_CONFIG@,$SDL_CONFIG,;t t
 
51725
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
 
51726
s,@SDL_LIBS@,$SDL_LIBS,;t t
 
51727
s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
 
51728
s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
 
51729
s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
 
51730
s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
 
51731
s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
 
51732
s,@HILDON_LIBS@,$HILDON_LIBS,;t t
 
51733
s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
 
51734
s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
 
51735
s,@GST_CFLAGS@,$GST_CFLAGS,;t t
 
51736
s,@GST_LIBS@,$GST_LIBS,;t t
 
51737
s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
 
51738
s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
 
51739
s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
 
51740
s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
 
51741
s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
 
51742
s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
 
51743
s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
 
51744
s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
 
51745
s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
 
51746
s,@VENDOR@,$VENDOR,;t t
 
51747
s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
 
51748
s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
 
51749
s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
 
51750
s,@WXUNIV@,$WXUNIV,;t t
 
51751
s,@MONOLITHIC@,$MONOLITHIC,;t t
 
51752
s,@USE_PLUGINS@,$USE_PLUGINS,;t t
 
51753
s,@EXTRALIBS@,$EXTRALIBS,;t t
 
51754
s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
 
51755
s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
 
51756
s,@EXTRALIBS_MEDIA@,$EXTRALIBS_MEDIA,;t t
 
51757
s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
 
51758
s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
 
51759
s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
 
51760
s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
 
51761
s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
 
51762
s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
 
51763
s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
 
51764
s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
 
51765
s,@UNICODE@,$UNICODE,;t t
 
51766
s,@BUILD@,$BUILD,;t t
 
51767
s,@DEBUG_INFO@,$DEBUG_INFO,;t t
 
51768
s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
 
51769
s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
 
51770
s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
 
51771
s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
 
51772
s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
 
51773
s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
 
51774
s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
 
51775
s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
 
51776
s,@OBJCXXFLAGS@,$OBJCXXFLAGS,;t t
 
51777
s,@SET_MAKE@,$SET_MAKE,;t t
 
51778
s,@MAKE_SET@,$MAKE_SET,;t t
 
51779
s,@AROPTIONS@,$AROPTIONS,;t t
 
51780
s,@NM@,$NM,;t t
 
51781
s,@ac_ct_NM@,$ac_ct_NM,;t t
 
51782
s,@INSTALL_DIR@,$INSTALL_DIR,;t t
 
51783
s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
 
51784
s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
 
51785
s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
 
51786
s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
 
51787
s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
 
51788
s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
 
51789
s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
 
51790
s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
 
51791
s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
 
51792
s,@SO_SUFFIX@,$SO_SUFFIX,;t t
 
51793
s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
 
51794
s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
 
51795
s,@LIBPREFIX@,$LIBPREFIX,;t t
 
51796
s,@LIBEXT@,$LIBEXT,;t t
 
51797
s,@DLLPREFIX@,$DLLPREFIX,;t t
 
51798
s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
 
51799
s,@dlldir@,$dlldir,;t t
 
51800
s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
 
51801
s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
 
51802
s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
 
51803
s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
 
51804
s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
 
51805
s,@PIC_FLAG@,$PIC_FLAG,;t t
 
51806
s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
 
51807
s,@USE_SOVERSION@,$USE_SOVERSION,;t t
 
51808
s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
 
51809
s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
 
51810
s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
 
51811
s,@USE_MACVERSION@,$USE_MACVERSION,;t t
 
51812
s,@USE_SOTWOSYMLINKS@,$USE_SOTWOSYMLINKS,;t t
 
51813
s,@SONAME_FLAG@,$SONAME_FLAG,;t t
 
51814
s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
 
51815
s,@BK_DEPS@,$BK_DEPS,;t t
 
51816
s,@GCC_PCH@,$GCC_PCH,;t t
 
51817
s,@ICC_PCH@,$ICC_PCH,;t t
 
51818
s,@ICC_PCH_CREATE_SWITCH@,$ICC_PCH_CREATE_SWITCH,;t t
 
51819
s,@ICC_PCH_USE_SWITCH@,$ICC_PCH_USE_SWITCH,;t t
 
51820
s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
 
51821
s,@COND_BUILD_debug@,$COND_BUILD_debug,;t t
 
51822
s,@COND_BUILD_debug_DEBUG_FLAG_default@,$COND_BUILD_debug_DEBUG_FLAG_default,;t t
 
51823
s,@COND_BUILD_debug_DEBUG_INFO_default@,$COND_BUILD_debug_DEBUG_INFO_default,;t t
 
51824
s,@COND_BUILD_debug_UNICODE_0@,$COND_BUILD_debug_UNICODE_0,;t t
 
51825
s,@COND_BUILD_debug_UNICODE_1@,$COND_BUILD_debug_UNICODE_1,;t t
 
51826
s,@COND_BUILD_release@,$COND_BUILD_release,;t t
 
51827
s,@COND_BUILD_release_DEBUG_INFO_default@,$COND_BUILD_release_DEBUG_INFO_default,;t t
 
51828
s,@COND_BUILD_release_UNICODE_0@,$COND_BUILD_release_UNICODE_0,;t t
 
51829
s,@COND_BUILD_release_UNICODE_1@,$COND_BUILD_release_UNICODE_1,;t t
 
51830
s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
 
51831
s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
 
51832
s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
 
51833
s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
 
51834
s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
 
51835
s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
 
51836
s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
 
51837
s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
 
51838
s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
 
51839
s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
 
51840
s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
 
51841
s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
 
51842
s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
 
51843
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
 
51844
s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
 
51845
s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
 
51846
s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
 
51847
s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
 
51848
s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
 
51849
s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
 
51850
s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
 
51851
s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
 
51852
s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
 
51853
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
 
51854
s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
 
51855
s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
 
51856
s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
 
51857
s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
 
51858
s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
 
51859
s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
 
51860
s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
 
51861
s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
 
51862
s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
 
51863
s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
 
51864
s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
 
51865
s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
 
51866
s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
 
51867
s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
 
51868
s,@COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0@,$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0,;t t
 
51869
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
 
51870
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
 
51871
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
 
51872
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
 
51873
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
 
51874
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
 
51875
s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
 
51876
s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
 
51877
s,@COND_PLATFORM_MACOSX_1_USE_ODBC_1@,$COND_PLATFORM_MACOSX_1_USE_ODBC_1,;t t
 
51878
s,@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@,$COND_PLATFORM_MACOSX_1_USE_OPENGL_1,;t t
 
51879
s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
 
51880
s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
 
51881
s,@COND_PLATFORM_MAC_0@,$COND_PLATFORM_MAC_0,;t t
 
51882
s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
 
51883
s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
 
51884
s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
 
51885
s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
 
51886
s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
 
51887
s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
 
51888
s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
 
51889
s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
 
51890
s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
 
51891
s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
 
51892
s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
 
51893
s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
 
51894
s,@COND_SHARED_0@,$COND_SHARED_0,;t t
 
51895
s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
 
51896
s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
 
51897
s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
 
51898
s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
 
51899
s,@COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin@,$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin,;t t
 
51900
s,@COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin@,$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin,;t t
 
51901
s,@COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin@,$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin,;t t
 
51902
s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
 
51903
s,@COND_SHARED_0_wxUSE_EXPAT_builtin@,$COND_SHARED_0_wxUSE_EXPAT_builtin,;t t
 
51904
s,@COND_SHARED_0_wxUSE_ODBC_builtin@,$COND_SHARED_0_wxUSE_ODBC_builtin,;t t
 
51905
s,@COND_SHARED_0_wxUSE_REGEX_builtin@,$COND_SHARED_0_wxUSE_REGEX_builtin,;t t
 
51906
s,@COND_SHARED_0_wxUSE_ZLIB_builtin@,$COND_SHARED_0_wxUSE_ZLIB_builtin,;t t
 
51907
s,@COND_SHARED_1@,$COND_SHARED_1,;t t
 
51908
s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
 
51909
s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
 
51910
s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
 
51911
s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
 
51912
s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
 
51913
s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
 
51914
s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
 
51915
s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
 
51916
s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
 
51917
s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
 
51918
s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
 
51919
s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
 
51920
s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
 
51921
s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
 
51922
s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
 
51923
s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
 
51924
s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
 
51925
s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
 
51926
s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
 
51927
s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
 
51928
s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
 
51929
s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
 
51930
s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
 
51931
s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
 
51932
s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
 
51933
s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
 
51934
s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
 
51935
s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
 
51936
s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
 
51937
s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
 
51938
s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
 
51939
s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
 
51940
s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
 
51941
s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
 
51942
s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
 
51943
s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
 
51944
s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
 
51945
s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
 
51946
s,@COND_USE_CAIRO_1@,$COND_USE_CAIRO_1,;t t
 
51947
s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
 
51948
s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
 
51949
s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
 
51950
s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
 
51951
s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
 
51952
s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
 
51953
s,@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@,$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin,;t t
 
51954
s,@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@,$COND_USE_GUI_1_wxUSE_LIBPNG_builtin,;t t
 
51955
s,@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@,$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin,;t t
 
51956
s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
 
51957
s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
 
51958
s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
 
51959
s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
 
51960
s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
 
51961
s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
 
51962
s,@COND_USE_SOTWOSYMLINKS_1@,$COND_USE_SOTWOSYMLINKS_1,;t t
 
51963
s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
 
51964
s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
 
51965
s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
 
51966
s,@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1,;t t
 
51967
s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
 
51968
s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
 
51969
s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
 
51970
s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
 
51971
s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
 
51972
s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
 
51973
s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
 
51974
s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
 
51975
s,@COND_wxUSE_EXPAT_builtin@,$COND_wxUSE_EXPAT_builtin,;t t
 
51976
s,@COND_wxUSE_LIBJPEG_builtin@,$COND_wxUSE_LIBJPEG_builtin,;t t
 
51977
s,@COND_wxUSE_LIBPNG_builtin@,$COND_wxUSE_LIBPNG_builtin,;t t
 
51978
s,@COND_wxUSE_LIBTIFF_builtin@,$COND_wxUSE_LIBTIFF_builtin,;t t
 
51979
s,@COND_wxUSE_ODBC_builtin@,$COND_wxUSE_ODBC_builtin,;t t
 
51980
s,@COND_wxUSE_REGEX_builtin@,$COND_wxUSE_REGEX_builtin,;t t
 
51981
s,@COND_wxUSE_ZLIB_builtin@,$COND_wxUSE_ZLIB_builtin,;t t
 
51982
s,@SHARED@,$SHARED,;t t
 
51983
s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
 
51984
s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
 
51985
s,@USE_GUI@,$USE_GUI,;t t
 
51986
s,@AFMINSTALL@,$AFMINSTALL,;t t
 
51987
s,@WIN32INSTALL@,$WIN32INSTALL,;t t
 
51988
s,@TOOLKIT@,$TOOLKIT,;t t
 
51989
s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
 
51990
s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
 
51991
s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
 
51992
s,@cross_compiling@,$cross_compiling,;t t
 
51993
s,@WIDGET_SET@,$WIDGET_SET,;t t
 
51994
s,@WX_RELEASE@,$WX_RELEASE,;t t
 
51995
s,@WX_VERSION@,$WX_VERSION,;t t
 
51996
s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
 
51997
s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
 
51998
s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
 
51999
s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
 
52000
s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
 
52001
s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
 
52002
s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
 
52003
s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
 
52004
s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
 
52005
s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
 
52006
s,@EXE_LINKER@,$EXE_LINKER,;t t
 
52007
s,@GUIDIST@,$GUIDIST,;t t
 
52008
s,@DISTDIR@,$DISTDIR,;t t
 
52009
s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
 
52010
s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
 
52011
s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
 
52012
s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
 
52013
s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
 
52014
s,@RESCOMP@,$RESCOMP,;t t
 
52015
s,@RESFLAGS@,$RESFLAGS,;t t
 
52016
s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
 
52017
s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
 
52018
s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
 
52019
s,@LIBWXMACRES@,$LIBWXMACRES,;t t
 
52020
s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
 
52021
s,@MACSETFILE@,$MACSETFILE,;t t
 
52022
s,@GCC@,$GCC,;t t
 
52023
s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
 
52024
s,@LIBOBJS@,$LIBOBJS,;t t
 
52025
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
52026
CEOF
 
52027
 
 
52028
_ACEOF
 
52029
 
 
52030
  cat >>$CONFIG_STATUS <<\_ACEOF
 
52031
  # Split the substitutions into bite-sized pieces for seds with
 
52032
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
52033
  ac_max_sed_lines=48
 
52034
  ac_sed_frag=1 # Number of current file.
 
52035
  ac_beg=1 # First line for current file.
 
52036
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
52037
  ac_more_lines=:
 
52038
  ac_sed_cmds=
 
52039
  while $ac_more_lines; do
 
52040
    if test $ac_beg -gt 1; then
 
52041
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
52042
    else
 
52043
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
52044
    fi
 
52045
    if test ! -s $tmp/subs.frag; then
 
52046
      ac_more_lines=false
 
52047
    else
 
52048
      # The purpose of the label and of the branching condition is to
 
52049
      # speed up the sed processing (if there are no `@' at all, there
 
52050
      # is no need to browse any of the substitutions).
 
52051
      # These are the two extra sed commands mentioned above.
 
52052
      (echo ':t
 
52053
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
52054
      if test -z "$ac_sed_cmds"; then
 
52055
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
52056
      else
 
52057
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
52058
      fi
 
52059
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
52060
      ac_beg=$ac_end
 
52061
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
52062
    fi
 
52063
  done
 
52064
  if test -z "$ac_sed_cmds"; then
 
52065
    ac_sed_cmds=cat
 
52066
  fi
 
52067
fi # test -n "$CONFIG_FILES"
 
52068
 
 
52069
_ACEOF
 
52070
cat >>$CONFIG_STATUS <<\_ACEOF
 
52071
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
52072
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
52073
  case $ac_file in
 
52074
  - | *:- | *:-:* ) # input from stdin
 
52075
        cat >$tmp/stdin
 
52076
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
52077
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
52078
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
52079
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
52080
  * )   ac_file_in=$ac_file.in ;;
 
52081
  esac
 
52082
 
 
52083
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
52084
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
52085
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52086
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
52087
         X"$ac_file" : 'X\(//\)$' \| \
 
52088
         X"$ac_file" : 'X\(/\)' \| \
 
52089
         .     : '\(.\)' 2>/dev/null ||
 
52090
echo X"$ac_file" |
 
52091
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52092
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52093
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52094
          /^X\(\/\).*/{ s//\1/; q; }
 
52095
          s/.*/./; q'`
 
52096
  { if $as_mkdir_p; then
 
52097
    mkdir -p "$ac_dir"
 
52098
  else
 
52099
    as_dir="$ac_dir"
 
52100
    as_dirs=
 
52101
    while test ! -d "$as_dir"; do
 
52102
      as_dirs="$as_dir $as_dirs"
 
52103
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
52104
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52105
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
52106
         X"$as_dir" : 'X\(//\)$' \| \
 
52107
         X"$as_dir" : 'X\(/\)' \| \
 
52108
         .     : '\(.\)' 2>/dev/null ||
 
52109
echo X"$as_dir" |
 
52110
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52111
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52112
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52113
          /^X\(\/\).*/{ s//\1/; q; }
 
52114
          s/.*/./; q'`
 
52115
    done
 
52116
    test ! -n "$as_dirs" || mkdir $as_dirs
 
52117
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
52118
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
52119
   { (exit 1); exit 1; }; }; }
 
52120
 
 
52121
  ac_builddir=.
 
52122
 
 
52123
if test "$ac_dir" != .; then
 
52124
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
52125
  # A "../" for each directory in $ac_dir_suffix.
 
52126
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
52127
else
 
52128
  ac_dir_suffix= ac_top_builddir=
 
52129
fi
 
52130
 
 
52131
case $srcdir in
 
52132
  .)  # No --srcdir option.  We are building in place.
 
52133
    ac_srcdir=.
 
52134
    if test -z "$ac_top_builddir"; then
 
52135
       ac_top_srcdir=.
 
52136
    else
 
52137
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
52138
    fi ;;
 
52139
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
52140
    ac_srcdir=$srcdir$ac_dir_suffix;
 
52141
    ac_top_srcdir=$srcdir ;;
 
52142
  *) # Relative path.
 
52143
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
52144
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
52145
esac
 
52146
 
 
52147
# Do not use `cd foo && pwd` to compute absolute paths, because
 
52148
# the directories may not exist.
 
52149
case `pwd` in
 
52150
.) ac_abs_builddir="$ac_dir";;
 
52151
*)
 
52152
  case "$ac_dir" in
 
52153
  .) ac_abs_builddir=`pwd`;;
 
52154
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
52155
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
52156
  esac;;
 
52157
esac
 
52158
case $ac_abs_builddir in
 
52159
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
52160
*)
 
52161
  case ${ac_top_builddir}. in
 
52162
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
52163
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
52164
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
52165
  esac;;
 
52166
esac
 
52167
case $ac_abs_builddir in
 
52168
.) ac_abs_srcdir=$ac_srcdir;;
 
52169
*)
 
52170
  case $ac_srcdir in
 
52171
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
52172
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
52173
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
52174
  esac;;
 
52175
esac
 
52176
case $ac_abs_builddir in
 
52177
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
52178
*)
 
52179
  case $ac_top_srcdir in
 
52180
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
52181
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
52182
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
52183
  esac;;
 
52184
esac
 
52185
 
 
52186
 
 
52187
  case $INSTALL in
 
52188
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
52189
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
52190
  esac
 
52191
 
 
52192
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
52193
  # use $as_me), people would be surprised to read:
 
52194
  #    /* config.h.  Generated by config.status.  */
 
52195
  if test x"$ac_file" = x-; then
 
52196
    configure_input=
 
52197
  else
 
52198
    configure_input="$ac_file.  "
 
52199
  fi
 
52200
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
52201
                                     sed 's,.*/,,'` by configure."
 
52202
 
 
52203
  # First look for the input files in the build tree, otherwise in the
 
52204
  # src tree.
 
52205
  ac_file_inputs=`IFS=:
 
52206
    for f in $ac_file_in; do
 
52207
      case $f in
 
52208
      -) echo $tmp/stdin ;;
 
52209
      [\\/$]*)
 
52210
         # Absolute (can't be DOS-style, as IFS=:)
 
52211
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
52212
echo "$as_me: error: cannot find input file: $f" >&2;}
 
52213
   { (exit 1); exit 1; }; }
 
52214
         echo "$f";;
 
52215
      *) # Relative
 
52216
         if test -f "$f"; then
 
52217
           # Build tree
 
52218
           echo "$f"
 
52219
         elif test -f "$srcdir/$f"; then
 
52220
           # Source tree
 
52221
           echo "$srcdir/$f"
 
52222
         else
 
52223
           # /dev/null tree
 
52224
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
52225
echo "$as_me: error: cannot find input file: $f" >&2;}
 
52226
   { (exit 1); exit 1; }; }
 
52227
         fi;;
 
52228
      esac
 
52229
    done` || { (exit 1); exit 1; }
 
52230
 
 
52231
  if test x"$ac_file" != x-; then
 
52232
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
52233
echo "$as_me: creating $ac_file" >&6;}
 
52234
    rm -f "$ac_file"
 
52235
  fi
 
52236
_ACEOF
 
52237
cat >>$CONFIG_STATUS <<_ACEOF
 
52238
  sed "$ac_vpsub
 
52239
$extrasub
 
52240
_ACEOF
 
52241
cat >>$CONFIG_STATUS <<\_ACEOF
 
52242
:t
 
52243
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
52244
s,@configure_input@,$configure_input,;t t
 
52245
s,@srcdir@,$ac_srcdir,;t t
 
52246
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
52247
s,@top_srcdir@,$ac_top_srcdir,;t t
 
52248
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
52249
s,@builddir@,$ac_builddir,;t t
 
52250
s,@abs_builddir@,$ac_abs_builddir,;t t
 
52251
s,@top_builddir@,$ac_top_builddir,;t t
 
52252
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
52253
s,@INSTALL@,$ac_INSTALL,;t t
 
52254
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
52255
  rm -f $tmp/stdin
 
52256
  if test x"$ac_file" != x-; then
 
52257
    mv $tmp/out $ac_file
 
52258
  else
 
52259
    cat $tmp/out
 
52260
    rm -f $tmp/out
 
52261
  fi
 
52262
 
 
52263
  # Run the commands associated with the file.
 
52264
  case $ac_file in
 
52265
    lib/wx/config/${TOOLCHAIN_FULLNAME} )  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
 
52266
    lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} )  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
 
52267
  esac
 
52268
done
 
52269
_ACEOF
 
52270
cat >>$CONFIG_STATUS <<\_ACEOF
 
52271
 
 
52272
#
 
52273
# CONFIG_HEADER section.
 
52274
#
 
52275
 
 
52276
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
52277
# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
52278
#
 
52279
# ac_d sets the value in "#define NAME VALUE" lines.
 
52280
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
52281
ac_dB='[         ].*$,\1#\2'
 
52282
ac_dC=' '
 
52283
ac_dD=',;t'
 
52284
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
52285
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
52286
ac_uB='$,\1#\2define\3'
 
52287
ac_uC=' '
 
52288
ac_uD=',;t'
 
52289
 
 
52290
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 
52291
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
52292
  case $ac_file in
 
52293
  - | *:- | *:-:* ) # input from stdin
 
52294
        cat >$tmp/stdin
 
52295
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
52296
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
52297
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
52298
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
52299
  * )   ac_file_in=$ac_file.in ;;
 
52300
  esac
 
52301
 
 
52302
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
52303
echo "$as_me: creating $ac_file" >&6;}
 
52304
 
 
52305
  # First look for the input files in the build tree, otherwise in the
 
52306
  # src tree.
 
52307
  ac_file_inputs=`IFS=:
 
52308
    for f in $ac_file_in; do
 
52309
      case $f in
 
52310
      -) echo $tmp/stdin ;;
 
52311
      [\\/$]*)
 
52312
         # Absolute (can't be DOS-style, as IFS=:)
 
52313
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
52314
echo "$as_me: error: cannot find input file: $f" >&2;}
 
52315
   { (exit 1); exit 1; }; }
 
52316
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
52317
         echo "$f";;
 
52318
      *) # Relative
 
52319
         if test -f "$f"; then
 
52320
           # Build tree
 
52321
           echo "$f"
 
52322
         elif test -f "$srcdir/$f"; then
 
52323
           # Source tree
 
52324
           echo "$srcdir/$f"
 
52325
         else
 
52326
           # /dev/null tree
 
52327
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
52328
echo "$as_me: error: cannot find input file: $f" >&2;}
 
52329
   { (exit 1); exit 1; }; }
 
52330
         fi;;
 
52331
      esac
 
52332
    done` || { (exit 1); exit 1; }
 
52333
  # Remove the trailing spaces.
 
52334
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
52335
 
 
52336
_ACEOF
 
52337
 
 
52338
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
52339
# `conftest.undefs', that substitutes the proper values into
 
52340
# config.h.in to produce config.h.  The first handles `#define'
 
52341
# templates, and the second `#undef' templates.
 
52342
# And first: Protect against being on the right side of a sed subst in
 
52343
# config.status.  Protect against being in an unquoted here document
 
52344
# in config.status.
 
52345
rm -f conftest.defines conftest.undefs
 
52346
# Using a here document instead of a string reduces the quoting nightmare.
 
52347
# Putting comments in sed scripts is not portable.
 
52348
#
 
52349
# `end' is used to avoid that the second main sed command (meant for
 
52350
# 0-ary CPP macros) applies to n-ary macro definitions.
 
52351
# See the Autoconf documentation for `clear'.
 
52352
cat >confdef2sed.sed <<\_ACEOF
 
52353
s/[\\&,]/\\&/g
 
52354
s,[\\$`],\\&,g
 
52355
t clear
 
52356
: clear
 
52357
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
52358
t end
 
52359
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
52360
: end
 
52361
_ACEOF
 
52362
# If some macros were called several times there might be several times
 
52363
# the same #defines, which is useless.  Nevertheless, we may not want to
 
52364
# sort them, since we want the *last* AC-DEFINE to be honored.
 
52365
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
52366
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
52367
rm -f confdef2sed.sed
 
52368
 
 
52369
# This sed command replaces #undef with comments.  This is necessary, for
 
52370
# example, in the case of _POSIX_SOURCE, which is predefined and required
 
52371
# on some systems where configure will not decide to define it.
 
52372
cat >>conftest.undefs <<\_ACEOF
 
52373
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
52374
_ACEOF
 
52375
 
 
52376
# Break up conftest.defines because some shells have a limit on the size
 
52377
# of here documents, and old seds have small limits too (100 cmds).
 
52378
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
52379
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
52380
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
52381
echo '  :' >>$CONFIG_STATUS
 
52382
rm -f conftest.tail
 
52383
while grep . conftest.defines >/dev/null
 
52384
do
 
52385
  # Write a limited-size here document to $tmp/defines.sed.
 
52386
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
52387
  # Speed up: don't consider the non `#define' lines.
 
52388
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
52389
  # Work around the forget-to-reset-the-flag bug.
 
52390
  echo 't clr' >>$CONFIG_STATUS
 
52391
  echo ': clr' >>$CONFIG_STATUS
 
52392
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
52393
  echo 'CEOF
 
52394
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
52395
  rm -f $tmp/in
 
52396
  mv $tmp/out $tmp/in
 
52397
' >>$CONFIG_STATUS
 
52398
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
52399
  rm -f conftest.defines
 
52400
  mv conftest.tail conftest.defines
 
52401
done
 
52402
rm -f conftest.defines
 
52403
echo '  fi # grep' >>$CONFIG_STATUS
 
52404
echo >>$CONFIG_STATUS
 
52405
 
 
52406
# Break up conftest.undefs because some shells have a limit on the size
 
52407
# of here documents, and old seds have small limits too (100 cmds).
 
52408
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
52409
rm -f conftest.tail
 
52410
while grep . conftest.undefs >/dev/null
 
52411
do
 
52412
  # Write a limited-size here document to $tmp/undefs.sed.
 
52413
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
52414
  # Speed up: don't consider the non `#undef'
 
52415
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
52416
  # Work around the forget-to-reset-the-flag bug.
 
52417
  echo 't clr' >>$CONFIG_STATUS
 
52418
  echo ': clr' >>$CONFIG_STATUS
 
52419
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
52420
  echo 'CEOF
 
52421
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
52422
  rm -f $tmp/in
 
52423
  mv $tmp/out $tmp/in
 
52424
' >>$CONFIG_STATUS
 
52425
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
52426
  rm -f conftest.undefs
 
52427
  mv conftest.tail conftest.undefs
 
52428
done
 
52429
rm -f conftest.undefs
 
52430
 
 
52431
cat >>$CONFIG_STATUS <<\_ACEOF
 
52432
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
52433
  # use $as_me), people would be surprised to read:
 
52434
  #    /* config.h.  Generated by config.status.  */
 
52435
  if test x"$ac_file" = x-; then
 
52436
    echo "/* Generated by configure.  */" >$tmp/config.h
 
52437
  else
 
52438
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
52439
  fi
 
52440
  cat $tmp/in >>$tmp/config.h
 
52441
  rm -f $tmp/in
 
52442
  if test x"$ac_file" != x-; then
 
52443
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
52444
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
52445
echo "$as_me: $ac_file is unchanged" >&6;}
 
52446
    else
 
52447
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
52448
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52449
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
52450
         X"$ac_file" : 'X\(//\)$' \| \
 
52451
         X"$ac_file" : 'X\(/\)' \| \
 
52452
         .     : '\(.\)' 2>/dev/null ||
 
52453
echo X"$ac_file" |
 
52454
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52455
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52456
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52457
          /^X\(\/\).*/{ s//\1/; q; }
 
52458
          s/.*/./; q'`
 
52459
      { if $as_mkdir_p; then
 
52460
    mkdir -p "$ac_dir"
 
52461
  else
 
52462
    as_dir="$ac_dir"
 
52463
    as_dirs=
 
52464
    while test ! -d "$as_dir"; do
 
52465
      as_dirs="$as_dir $as_dirs"
 
52466
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
52467
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52468
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
52469
         X"$as_dir" : 'X\(//\)$' \| \
 
52470
         X"$as_dir" : 'X\(/\)' \| \
 
52471
         .     : '\(.\)' 2>/dev/null ||
 
52472
echo X"$as_dir" |
 
52473
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52474
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52475
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52476
          /^X\(\/\).*/{ s//\1/; q; }
 
52477
          s/.*/./; q'`
 
52478
    done
 
52479
    test ! -n "$as_dirs" || mkdir $as_dirs
 
52480
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
52481
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
52482
   { (exit 1); exit 1; }; }; }
 
52483
 
 
52484
      rm -f $ac_file
 
52485
      mv $tmp/config.h $ac_file
 
52486
    fi
 
52487
  else
 
52488
    cat $tmp/config.h
 
52489
    rm -f $tmp/config.h
 
52490
  fi
 
52491
done
 
52492
_ACEOF
 
52493
cat >>$CONFIG_STATUS <<\_ACEOF
 
52494
 
 
52495
#
 
52496
# CONFIG_COMMANDS section.
 
52497
#
 
52498
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
52499
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
52500
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
52501
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
52502
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52503
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
52504
         X"$ac_dest" : 'X\(//\)$' \| \
 
52505
         X"$ac_dest" : 'X\(/\)' \| \
 
52506
         .     : '\(.\)' 2>/dev/null ||
 
52507
echo X"$ac_dest" |
 
52508
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52509
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52510
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52511
          /^X\(\/\).*/{ s//\1/; q; }
 
52512
          s/.*/./; q'`
 
52513
  { if $as_mkdir_p; then
 
52514
    mkdir -p "$ac_dir"
 
52515
  else
 
52516
    as_dir="$ac_dir"
 
52517
    as_dirs=
 
52518
    while test ! -d "$as_dir"; do
 
52519
      as_dirs="$as_dir $as_dirs"
 
52520
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
52521
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52522
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
52523
         X"$as_dir" : 'X\(//\)$' \| \
 
52524
         X"$as_dir" : 'X\(/\)' \| \
 
52525
         .     : '\(.\)' 2>/dev/null ||
 
52526
echo X"$as_dir" |
 
52527
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52528
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52529
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52530
          /^X\(\/\).*/{ s//\1/; q; }
 
52531
          s/.*/./; q'`
 
52532
    done
 
52533
    test ! -n "$as_dirs" || mkdir $as_dirs
 
52534
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
52535
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
52536
   { (exit 1); exit 1; }; }; }
 
52537
 
 
52538
  ac_builddir=.
 
52539
 
 
52540
if test "$ac_dir" != .; then
 
52541
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
52542
  # A "../" for each directory in $ac_dir_suffix.
 
52543
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
52544
else
 
52545
  ac_dir_suffix= ac_top_builddir=
 
52546
fi
 
52547
 
 
52548
case $srcdir in
 
52549
  .)  # No --srcdir option.  We are building in place.
 
52550
    ac_srcdir=.
 
52551
    if test -z "$ac_top_builddir"; then
 
52552
       ac_top_srcdir=.
 
52553
    else
 
52554
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
52555
    fi ;;
 
52556
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
52557
    ac_srcdir=$srcdir$ac_dir_suffix;
 
52558
    ac_top_srcdir=$srcdir ;;
 
52559
  *) # Relative path.
 
52560
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
52561
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
52562
esac
 
52563
 
 
52564
# Do not use `cd foo && pwd` to compute absolute paths, because
 
52565
# the directories may not exist.
 
52566
case `pwd` in
 
52567
.) ac_abs_builddir="$ac_dir";;
 
52568
*)
 
52569
  case "$ac_dir" in
 
52570
  .) ac_abs_builddir=`pwd`;;
 
52571
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
52572
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
52573
  esac;;
 
52574
esac
 
52575
case $ac_abs_builddir in
 
52576
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
52577
*)
 
52578
  case ${ac_top_builddir}. in
 
52579
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
52580
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
52581
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
52582
  esac;;
 
52583
esac
 
52584
case $ac_abs_builddir in
 
52585
.) ac_abs_srcdir=$ac_srcdir;;
 
52586
*)
 
52587
  case $ac_srcdir in
 
52588
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
52589
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
52590
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
52591
  esac;;
 
52592
esac
 
52593
case $ac_abs_builddir in
 
52594
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
52595
*)
 
52596
  case $ac_top_srcdir in
 
52597
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
52598
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
52599
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
52600
  esac;;
 
52601
esac
 
52602
 
 
52603
 
 
52604
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
52605
echo "$as_me: executing $ac_dest commands" >&6;}
 
52606
  case $ac_dest in
 
52607
    rcdefs.h )
 
52608
            mkdir -p $outdir &&
 
52609
            $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
 
52610
         ;;
 
52611
    wx-config )  rm -f wx-config
 
52612
                     ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
 
52613
                    ;;
 
52614
  esac
 
52615
done
 
52616
_ACEOF
 
52617
 
 
52618
cat >>$CONFIG_STATUS <<\_ACEOF
 
52619
 
 
52620
{ (exit 0); exit 0; }
 
52621
_ACEOF
 
52622
chmod +x $CONFIG_STATUS
 
52623
ac_clean_files=$ac_clean_files_save
 
52624
 
 
52625
 
 
52626
# configure is writing to config.log, and then calls config.status.
 
52627
# config.status does its own redirection, appending to config.log.
 
52628
# Unfortunately, on DOS this fails, as config.log is still kept open
 
52629
# by configure, so config.status won't be able to write to it; its
 
52630
# output is simply discarded.  So we exec the FD to /dev/null,
 
52631
# effectively closing config.log, so it can be properly (re)opened and
 
52632
# appended to by config.status.  When coming back to configure, we
 
52633
# need to make the FD available again.
 
52634
if test "$no_create" != yes; then
 
52635
  ac_cs_success=:
 
52636
  ac_config_status_args=
 
52637
  test "$silent" = yes &&
 
52638
    ac_config_status_args="$ac_config_status_args --quiet"
 
52639
  exec 5>/dev/null
 
52640
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
52641
  exec 5>>config.log
 
52642
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
52643
  # would make configure fail if this is the last instruction.
 
52644
  $ac_cs_success || { (exit 1); exit 1; }
 
52645
fi
 
52646
 
 
52647
#
 
52648
# CONFIG_SUBDIRS section.
 
52649
#
 
52650
if test "$no_recursion" != yes; then
 
52651
 
 
52652
  # Remove --cache-file and --srcdir arguments so they do not pile up.
 
52653
  ac_sub_configure_args=
 
52654
  ac_prev=
 
52655
  for ac_arg in $ac_configure_args; do
 
52656
    if test -n "$ac_prev"; then
 
52657
      ac_prev=
 
52658
      continue
 
52659
    fi
 
52660
    case $ac_arg in
 
52661
    -cache-file | --cache-file | --cache-fil | --cache-fi \
 
52662
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
52663
      ac_prev=cache_file ;;
 
52664
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
52665
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
 
52666
    | --c=*)
 
52667
      ;;
 
52668
    --config-cache | -C)
 
52669
      ;;
 
52670
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
52671
      ac_prev=srcdir ;;
 
52672
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
52673
      ;;
 
52674
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
52675
      ac_prev=prefix ;;
 
52676
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
52677
      ;;
 
52678
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
52679
    esac
 
52680
  done
 
52681
 
 
52682
  # Always prepend --prefix to ensure using the same prefix
 
52683
  # in subdir configurations.
 
52684
  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
 
52685
 
 
52686
  ac_popdir=`pwd`
 
52687
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
 
52688
 
 
52689
    # Do not complain, so a configure script can configure whichever
 
52690
    # parts of a large source tree are present.
 
52691
    test -d $srcdir/$ac_dir || continue
 
52692
 
 
52693
    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
 
52694
echo "$as_me: configuring in $ac_dir" >&6;}
 
52695
    { if $as_mkdir_p; then
 
52696
    mkdir -p "$ac_dir"
 
52697
  else
 
52698
    as_dir="$ac_dir"
 
52699
    as_dirs=
 
52700
    while test ! -d "$as_dir"; do
 
52701
      as_dirs="$as_dir $as_dirs"
 
52702
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
52703
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
52704
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
52705
         X"$as_dir" : 'X\(//\)$' \| \
 
52706
         X"$as_dir" : 'X\(/\)' \| \
 
52707
         .     : '\(.\)' 2>/dev/null ||
 
52708
echo X"$as_dir" |
 
52709
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
52710
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
52711
          /^X\(\/\/\)$/{ s//\1/; q; }
 
52712
          /^X\(\/\).*/{ s//\1/; q; }
 
52713
          s/.*/./; q'`
 
52714
    done
 
52715
    test ! -n "$as_dirs" || mkdir $as_dirs
 
52716
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
52717
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
52718
   { (exit 1); exit 1; }; }; }
 
52719
 
 
52720
    ac_builddir=.
 
52721
 
 
52722
if test "$ac_dir" != .; then
 
52723
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
52724
  # A "../" for each directory in $ac_dir_suffix.
 
52725
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
52726
else
 
52727
  ac_dir_suffix= ac_top_builddir=
 
52728
fi
 
52729
 
 
52730
case $srcdir in
 
52731
  .)  # No --srcdir option.  We are building in place.
 
52732
    ac_srcdir=.
 
52733
    if test -z "$ac_top_builddir"; then
 
52734
       ac_top_srcdir=.
 
52735
    else
 
52736
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
52737
    fi ;;
 
52738
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
52739
    ac_srcdir=$srcdir$ac_dir_suffix;
 
52740
    ac_top_srcdir=$srcdir ;;
 
52741
  *) # Relative path.
 
52742
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
52743
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
52744
esac
 
52745
 
 
52746
# Do not use `cd foo && pwd` to compute absolute paths, because
 
52747
# the directories may not exist.
 
52748
case `pwd` in
 
52749
.) ac_abs_builddir="$ac_dir";;
 
52750
*)
 
52751
  case "$ac_dir" in
 
52752
  .) ac_abs_builddir=`pwd`;;
 
52753
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
52754
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
52755
  esac;;
 
52756
esac
 
52757
case $ac_abs_builddir in
 
52758
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
52759
*)
 
52760
  case ${ac_top_builddir}. in
 
52761
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
52762
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
52763
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
52764
  esac;;
 
52765
esac
 
52766
case $ac_abs_builddir in
 
52767
.) ac_abs_srcdir=$ac_srcdir;;
 
52768
*)
 
52769
  case $ac_srcdir in
 
52770
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
52771
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
52772
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
52773
  esac;;
 
52774
esac
 
52775
case $ac_abs_builddir in
 
52776
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
52777
*)
 
52778
  case $ac_top_srcdir in
 
52779
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
52780
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
52781
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
52782
  esac;;
 
52783
esac
 
52784
 
 
52785
 
 
52786
    cd $ac_dir
 
52787
 
 
52788
    # Check for guested configure; otherwise get Cygnus style configure.
 
52789
    if test -f $ac_srcdir/configure.gnu; then
 
52790
      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
 
52791
    elif test -f $ac_srcdir/configure; then
 
52792
      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
 
52793
    elif test -f $ac_srcdir/configure.in; then
 
52794
      ac_sub_configure=$ac_configure
 
52795
    else
 
52796
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
 
52797
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
 
52798
      ac_sub_configure=
 
52799
    fi
 
52800
 
 
52801
    # The recursion is here.
 
52802
    if test -n "$ac_sub_configure"; then
 
52803
      # Make the cache file name correct relative to the subdirectory.
 
52804
      case $cache_file in
 
52805
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
 
52806
      *) # Relative path.
 
52807
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
52808
      esac
 
52809
 
 
52810
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
52811
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
52812
      # The eval makes quoting arguments work.
 
52813
      eval $ac_sub_configure $ac_sub_configure_args \
 
52814
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
 
52815
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
 
52816
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
 
52817
   { (exit 1); exit 1; }; }
 
52818
    fi
 
52819
 
 
52820
    cd "$ac_popdir"
 
52821
  done
 
52822
fi
 
52823
 
 
52824
 
 
52825
echo
 
52826
echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
 
52827
echo ""
 
52828
echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
 
52829
echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
 
52830
 
 
52831
echo "  Should wxWidgets be compiled in debug mode?             ${wxUSE_DEBUG:-no}"
 
52832
echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
 
52833
echo "  Should wxWidgets be compiled in Unicode mode?           ${wxUSE_UNICODE:-no}"
 
52834
 
 
52835
echo "  What level of wxWidgets compatibility should be enabled?"
 
52836
echo "                                       wxWidgets 2.4      ${WXWIN_COMPATIBILITY_2_4:-no}"
 
52837
echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-yes}"
 
52838
 
 
52839
echo "  Which libraries should wxWidgets use?"
 
52840
echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
 
52841
echo "                                       png                ${wxUSE_LIBPNG-none}"
 
52842
echo "                                       regex              ${wxUSE_REGEX}"
 
52843
echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
 
52844
if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
 
52845
echo "                                       xpm                ${wxUSE_LIBXPM-none}"
 
52846
fi
 
52847
echo "                                       zlib               ${wxUSE_ZLIB}"
 
52848
echo "                                       odbc               ${wxUSE_ODBC}"
 
52849
echo "                                       expat              ${wxUSE_EXPAT}"
 
52850
echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
 
52851
echo "                                       sdl                ${wxUSE_LIBSDL}"
 
52852
 
 
52853
echo ""
 
52854