]>
Commit | Line | Data |
---|---|---|
10f2d63a | 1 | #! /bin/sh |
e6cc62c6 VS |
2 | # From configure.in Id: configure.in. |
3 | # Guess values for system-dependent variables and create Makefiles. | |
e46d2a18 | 4 | # Generated by GNU Autoconf 2.57 for wxWindows 2.5.1. |
e6cc62c6 VS |
5 | # |
6 | # Report bugs to <wx-dev@lists.wxwindows.org>. | |
7 | # | |
8 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | |
fe0895cf | 9 | # Free Software Foundation, Inc. |
e6cc62c6 VS |
10 | # This configure script is free software; the Free Software Foundation |
11 | # gives unlimited permission to copy, distribute and modify it. | |
12 | ## --------------------- ## | |
13 | ## M4sh Initialization. ## | |
14 | ## --------------------- ## | |
fe0895cf | 15 | |
e6cc62c6 VS |
16 | # Be Bourne compatible |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
18 | emulate sh | |
19 | NULLCMD=: | |
20 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
21 | # is contrary to our usage. Disable this feature. | |
22 | alias -g '${1+"$@"}'='"$@"' | |
23 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
24 | set -o posix | |
25 | fi | |
fe0895cf | 26 | |
e6cc62c6 VS |
27 | # Support unset when possible. |
28 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
29 | as_unset=unset | |
30 | else | |
31 | as_unset=false | |
32 | fi | |
fe0895cf VS |
33 | |
34 | ||
e6cc62c6 VS |
35 | # Work around bugs in pre-3.0 UWIN ksh. |
36 | $as_unset ENV MAIL MAILPATH | |
37 | PS1='$ ' | |
38 | PS2='> ' | |
39 | PS4='+ ' | |
fe0895cf | 40 | |
e6cc62c6 VS |
41 | # NLS nuisances. |
42 | for as_var in \ | |
43 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
44 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
45 | LC_TELEPHONE LC_TIME | |
46 | do | |
47 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
48 | eval $as_var=C; export $as_var | |
49 | else | |
50 | $as_unset $as_var | |
51 | fi | |
52 | done | |
fe0895cf | 53 | |
e6cc62c6 VS |
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 | |
fe0895cf | 60 | |
e6cc62c6 VS |
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 | |
fe0895cf VS |
66 | |
67 | ||
e6cc62c6 VS |
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'` | |
fe0895cf VS |
79 | |
80 | ||
e6cc62c6 VS |
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 | |
fe0895cf | 88 | |
e6cc62c6 VS |
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 | |
fe0895cf VS |
101 | |
102 | ||
e6cc62c6 VS |
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 | |
fe0895cf | 119 | |
e6cc62c6 VS |
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 | |
fe0895cf | 158 | |
e6cc62c6 VS |
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 | } | |
fe0895cf VS |
188 | |
189 | ||
e6cc62c6 VS |
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 | |
fe0895cf | 196 | |
e6cc62c6 VS |
197 | if expr a : '\(a\)' >/dev/null 2>&1; then |
198 | as_expr=expr | |
199 | else | |
200 | as_expr=false | |
201 | fi | |
fe0895cf | 202 | |
e6cc62c6 VS |
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 | |
fe0895cf | 220 | |
e6cc62c6 VS |
221 | if mkdir -p . 2>/dev/null; then |
222 | as_mkdir_p=: | |
223 | else | |
224 | as_mkdir_p=false | |
225 | fi | |
fe0895cf | 226 | |
e6cc62c6 | 227 | as_executable_p="test -f" |
fe0895cf | 228 | |
e6cc62c6 VS |
229 | # Sed expression to map a string onto a valid CPP name. |
230 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
fe0895cf | 231 | |
e6cc62c6 VS |
232 | # Sed expression to map a string onto a valid variable name. |
233 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
fe0895cf VS |
234 | |
235 | ||
e6cc62c6 VS |
236 | # IFS |
237 | # We need space, tab and new line, in precisely that order. | |
238 | as_nl=' | |
239 | ' | |
240 | IFS=" $as_nl" | |
fe0895cf | 241 | |
e6cc62c6 VS |
242 | # CDPATH. |
243 | $as_unset CDPATH | |
fe0895cf VS |
244 | |
245 | ||
e6cc62c6 VS |
246 | # Name of the host. |
247 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
248 | # so uname gets run too. | |
249 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
fe0895cf | 250 | |
e6cc62c6 | 251 | exec 6>&1 |
fe0895cf | 252 | |
a0b9e27f | 253 | # |
e6cc62c6 VS |
254 | # Initializations. |
255 | # | |
a0b9e27f | 256 | ac_default_prefix=/usr/local |
e6cc62c6 VS |
257 | ac_config_libobj_dir=. |
258 | cross_compiling=no | |
259 | subdirs= | |
260 | MFLAGS= | |
261 | MAKEFLAGS= | |
262 | SHELL=${CONFIG_SHELL-/bin/sh} | |
263 | ||
264 | # Maximum number of lines to put in a shell here document. | |
265 | # This variable seems obsolete. It should probably be removed, and | |
266 | # only ac_max_sed_lines should be used. | |
267 | : ${ac_max_here_lines=38} | |
268 | ||
269 | # Identity of this package. | |
270 | PACKAGE_NAME='wxWindows' | |
271 | PACKAGE_TARNAME='wxwindows' | |
e46d2a18 VS |
272 | PACKAGE_VERSION='2.5.1' |
273 | PACKAGE_STRING='wxWindows 2.5.1' | |
e6cc62c6 VS |
274 | PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org' |
275 | ||
276 | ac_unique_file="wx-config.in" | |
277 | # Factoring default headers for most tests. | |
278 | ac_includes_default="\ | |
279 | #include <stdio.h> | |
280 | #if HAVE_SYS_TYPES_H | |
281 | # include <sys/types.h> | |
282 | #endif | |
283 | #if HAVE_SYS_STAT_H | |
284 | # include <sys/stat.h> | |
285 | #endif | |
286 | #if STDC_HEADERS | |
287 | # include <stdlib.h> | |
288 | # include <stddef.h> | |
289 | #else | |
290 | # if HAVE_STDLIB_H | |
291 | # include <stdlib.h> | |
292 | # endif | |
293 | #endif | |
294 | #if HAVE_STRING_H | |
295 | # if !STDC_HEADERS && HAVE_MEMORY_H | |
296 | # include <memory.h> | |
297 | # endif | |
298 | # include <string.h> | |
299 | #endif | |
300 | #if HAVE_STRINGS_H | |
301 | # include <strings.h> | |
302 | #endif | |
303 | #if HAVE_INTTYPES_H | |
304 | # include <inttypes.h> | |
305 | #else | |
306 | # if HAVE_STDINT_H | |
307 | # include <stdint.h> | |
308 | # endif | |
309 | #endif | |
310 | #if HAVE_UNISTD_H | |
311 | # include <unistd.h> | |
312 | #endif" | |
313 | ||
672abd7a | 314 | ac_subdirs_all="$ac_subdirs_all src/expat" |
57e7d4ac | 315 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS' |
e6cc62c6 | 316 | ac_subst_files='' |
10f2d63a VZ |
317 | |
318 | # Initialize some variables set by options. | |
e6cc62c6 VS |
319 | ac_init_help= |
320 | ac_init_version=false | |
10f2d63a VZ |
321 | # The variables have the same names as the options, with |
322 | # dashes changed to underlines. | |
e6cc62c6 | 323 | cache_file=/dev/null |
10f2d63a | 324 | exec_prefix=NONE |
10f2d63a | 325 | no_create= |
10f2d63a VZ |
326 | no_recursion= |
327 | prefix=NONE | |
328 | program_prefix=NONE | |
329 | program_suffix=NONE | |
330 | program_transform_name=s,x,x, | |
331 | silent= | |
332 | site= | |
333 | srcdir= | |
10f2d63a VZ |
334 | verbose= |
335 | x_includes=NONE | |
336 | x_libraries=NONE | |
e6cc62c6 VS |
337 | |
338 | # Installation directory options. | |
339 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
340 | # and all the variables that are supposed to be based on exec_prefix | |
341 | # by default will actually change. | |
342 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
10f2d63a VZ |
343 | bindir='${exec_prefix}/bin' |
344 | sbindir='${exec_prefix}/sbin' | |
345 | libexecdir='${exec_prefix}/libexec' | |
346 | datadir='${prefix}/share' | |
347 | sysconfdir='${prefix}/etc' | |
348 | sharedstatedir='${prefix}/com' | |
349 | localstatedir='${prefix}/var' | |
350 | libdir='${exec_prefix}/lib' | |
351 | includedir='${prefix}/include' | |
352 | oldincludedir='/usr/include' | |
353 | infodir='${prefix}/info' | |
354 | mandir='${prefix}/man' | |
355 | ||
10f2d63a VZ |
356 | ac_prev= |
357 | for ac_option | |
358 | do | |
10f2d63a VZ |
359 | # If the previous option needs an argument, assign it. |
360 | if test -n "$ac_prev"; then | |
361 | eval "$ac_prev=\$ac_option" | |
362 | ac_prev= | |
363 | continue | |
364 | fi | |
365 | ||
e6cc62c6 | 366 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
10f2d63a VZ |
367 | |
368 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
369 | ||
e6cc62c6 | 370 | case $ac_option in |
10f2d63a VZ |
371 | |
372 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
373 | ac_prev=bindir ;; | |
374 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
e6cc62c6 | 375 | bindir=$ac_optarg ;; |
10f2d63a VZ |
376 | |
377 | -build | --build | --buil | --bui | --bu) | |
e6cc62c6 | 378 | ac_prev=build_alias ;; |
10f2d63a | 379 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
e6cc62c6 | 380 | build_alias=$ac_optarg ;; |
10f2d63a VZ |
381 | |
382 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
383 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
384 | ac_prev=cache_file ;; | |
385 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
386 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
e6cc62c6 VS |
387 | cache_file=$ac_optarg ;; |
388 | ||
389 | --config-cache | -C) | |
390 | cache_file=config.cache ;; | |
10f2d63a VZ |
391 | |
392 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
393 | ac_prev=datadir ;; | |
394 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
395 | | --da=*) | |
e6cc62c6 | 396 | datadir=$ac_optarg ;; |
10f2d63a VZ |
397 | |
398 | -disable-* | --disable-*) | |
e6cc62c6 | 399 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
10f2d63a | 400 | # Reject names that are not valid shell variable names. |
e6cc62c6 VS |
401 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
402 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
403 | { (exit 1); exit 1; }; } | |
404 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
405 | eval "enable_$ac_feature=no" ;; | |
10f2d63a VZ |
406 | |
407 | -enable-* | --enable-*) | |
e6cc62c6 | 408 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
10f2d63a | 409 | # Reject names that are not valid shell variable names. |
e6cc62c6 VS |
410 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
411 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
412 | { (exit 1); exit 1; }; } | |
413 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
414 | case $ac_option in | |
415 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
10f2d63a VZ |
416 | *) ac_optarg=yes ;; |
417 | esac | |
e6cc62c6 | 418 | eval "enable_$ac_feature='$ac_optarg'" ;; |
10f2d63a VZ |
419 | |
420 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
421 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
422 | | --exec | --exe | --ex) | |
423 | ac_prev=exec_prefix ;; | |
424 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
425 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
426 | | --exec=* | --exe=* | --ex=*) | |
e6cc62c6 | 427 | exec_prefix=$ac_optarg ;; |
10f2d63a VZ |
428 | |
429 | -gas | --gas | --ga | --g) | |
430 | # Obsolete; use --with-gas. | |
431 | with_gas=yes ;; | |
432 | ||
e6cc62c6 VS |
433 | -help | --help | --hel | --he | -h) |
434 | ac_init_help=long ;; | |
435 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
436 | ac_init_help=recursive ;; | |
437 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
438 | ac_init_help=short ;; | |
10f2d63a VZ |
439 | |
440 | -host | --host | --hos | --ho) | |
e6cc62c6 | 441 | ac_prev=host_alias ;; |
10f2d63a | 442 | -host=* | --host=* | --hos=* | --ho=*) |
e6cc62c6 | 443 | host_alias=$ac_optarg ;; |
10f2d63a VZ |
444 | |
445 | -includedir | --includedir | --includedi | --included | --include \ | |
446 | | --includ | --inclu | --incl | --inc) | |
447 | ac_prev=includedir ;; | |
448 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
449 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
e6cc62c6 | 450 | includedir=$ac_optarg ;; |
10f2d63a VZ |
451 | |
452 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
453 | ac_prev=infodir ;; | |
454 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
e6cc62c6 | 455 | infodir=$ac_optarg ;; |
10f2d63a VZ |
456 | |
457 | -libdir | --libdir | --libdi | --libd) | |
458 | ac_prev=libdir ;; | |
459 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
e6cc62c6 | 460 | libdir=$ac_optarg ;; |
10f2d63a VZ |
461 | |
462 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
463 | | --libexe | --libex | --libe) | |
464 | ac_prev=libexecdir ;; | |
465 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
466 | | --libexe=* | --libex=* | --libe=*) | |
e6cc62c6 | 467 | libexecdir=$ac_optarg ;; |
10f2d63a VZ |
468 | |
469 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
470 | | --localstate | --localstat | --localsta | --localst \ | |
471 | | --locals | --local | --loca | --loc | --lo) | |
472 | ac_prev=localstatedir ;; | |
473 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
474 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
475 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
e6cc62c6 | 476 | localstatedir=$ac_optarg ;; |
10f2d63a VZ |
477 | |
478 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
479 | ac_prev=mandir ;; | |
480 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
e6cc62c6 | 481 | mandir=$ac_optarg ;; |
10f2d63a VZ |
482 | |
483 | -nfp | --nfp | --nf) | |
484 | # Obsolete; use --without-fp. | |
485 | with_fp=no ;; | |
486 | ||
487 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
e6cc62c6 | 488 | | --no-cr | --no-c | -n) |
10f2d63a VZ |
489 | no_create=yes ;; |
490 | ||
491 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
492 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
493 | no_recursion=yes ;; | |
494 | ||
495 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
496 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
497 | | --oldin | --oldi | --old | --ol | --o) | |
498 | ac_prev=oldincludedir ;; | |
499 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
500 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
501 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
e6cc62c6 | 502 | oldincludedir=$ac_optarg ;; |
10f2d63a VZ |
503 | |
504 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
505 | ac_prev=prefix ;; | |
506 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
e6cc62c6 | 507 | prefix=$ac_optarg ;; |
10f2d63a VZ |
508 | |
509 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
510 | | --program-pre | --program-pr | --program-p) | |
511 | ac_prev=program_prefix ;; | |
512 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
513 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
e6cc62c6 | 514 | program_prefix=$ac_optarg ;; |
10f2d63a VZ |
515 | |
516 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
517 | | --program-suf | --program-su | --program-s) | |
518 | ac_prev=program_suffix ;; | |
519 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
520 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
e6cc62c6 | 521 | program_suffix=$ac_optarg ;; |
10f2d63a VZ |
522 | |
523 | -program-transform-name | --program-transform-name \ | |
524 | | --program-transform-nam | --program-transform-na \ | |
525 | | --program-transform-n | --program-transform- \ | |
526 | | --program-transform | --program-transfor \ | |
527 | | --program-transfo | --program-transf \ | |
528 | | --program-trans | --program-tran \ | |
529 | | --progr-tra | --program-tr | --program-t) | |
530 | ac_prev=program_transform_name ;; | |
531 | -program-transform-name=* | --program-transform-name=* \ | |
532 | | --program-transform-nam=* | --program-transform-na=* \ | |
533 | | --program-transform-n=* | --program-transform-=* \ | |
534 | | --program-transform=* | --program-transfor=* \ | |
535 | | --program-transfo=* | --program-transf=* \ | |
536 | | --program-trans=* | --program-tran=* \ | |
537 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
e6cc62c6 | 538 | program_transform_name=$ac_optarg ;; |
10f2d63a VZ |
539 | |
540 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
541 | | -silent | --silent | --silen | --sile | --sil) | |
542 | silent=yes ;; | |
543 | ||
544 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
545 | ac_prev=sbindir ;; | |
546 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
547 | | --sbi=* | --sb=*) | |
e6cc62c6 | 548 | sbindir=$ac_optarg ;; |
10f2d63a VZ |
549 | |
550 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
551 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
552 | | --sharedst | --shareds | --shared | --share | --shar \ | |
553 | | --sha | --sh) | |
554 | ac_prev=sharedstatedir ;; | |
555 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
556 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
557 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
558 | | --sha=* | --sh=*) | |
e6cc62c6 | 559 | sharedstatedir=$ac_optarg ;; |
10f2d63a VZ |
560 | |
561 | -site | --site | --sit) | |
562 | ac_prev=site ;; | |
563 | -site=* | --site=* | --sit=*) | |
e6cc62c6 | 564 | site=$ac_optarg ;; |
10f2d63a VZ |
565 | |
566 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
567 | ac_prev=srcdir ;; | |
568 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
e6cc62c6 | 569 | srcdir=$ac_optarg ;; |
10f2d63a VZ |
570 | |
571 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
572 | | --syscon | --sysco | --sysc | --sys | --sy) | |
573 | ac_prev=sysconfdir ;; | |
574 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
575 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
e6cc62c6 | 576 | sysconfdir=$ac_optarg ;; |
10f2d63a VZ |
577 | |
578 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
e6cc62c6 | 579 | ac_prev=target_alias ;; |
10f2d63a | 580 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
e6cc62c6 | 581 | target_alias=$ac_optarg ;; |
10f2d63a VZ |
582 | |
583 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
584 | verbose=yes ;; | |
585 | ||
e6cc62c6 VS |
586 | -version | --version | --versio | --versi | --vers | -V) |
587 | ac_init_version=: ;; | |
10f2d63a VZ |
588 | |
589 | -with-* | --with-*) | |
e6cc62c6 | 590 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
10f2d63a | 591 | # Reject names that are not valid shell variable names. |
e6cc62c6 VS |
592 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
593 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
594 | { (exit 1); exit 1; }; } | |
10f2d63a | 595 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
e6cc62c6 VS |
596 | case $ac_option in |
597 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
10f2d63a VZ |
598 | *) ac_optarg=yes ;; |
599 | esac | |
e6cc62c6 | 600 | eval "with_$ac_package='$ac_optarg'" ;; |
10f2d63a VZ |
601 | |
602 | -without-* | --without-*) | |
e6cc62c6 | 603 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
10f2d63a | 604 | # Reject names that are not valid shell variable names. |
e6cc62c6 VS |
605 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
606 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
607 | { (exit 1); exit 1; }; } | |
608 | ac_package=`echo $ac_package | sed 's/-/_/g'` | |
609 | eval "with_$ac_package=no" ;; | |
10f2d63a VZ |
610 | |
611 | --x) | |
612 | # Obsolete; use --with-x. | |
613 | with_x=yes ;; | |
614 | ||
615 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
616 | | --x-incl | --x-inc | --x-in | --x-i) | |
617 | ac_prev=x_includes ;; | |
618 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
619 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
e6cc62c6 | 620 | x_includes=$ac_optarg ;; |
10f2d63a VZ |
621 | |
622 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
623 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
624 | ac_prev=x_libraries ;; | |
625 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
626 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
e6cc62c6 | 627 | x_libraries=$ac_optarg ;; |
10f2d63a | 628 | |
e6cc62c6 VS |
629 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
630 | Try \`$0 --help' for more information." >&2 | |
631 | { (exit 1); exit 1; }; } | |
10f2d63a VZ |
632 | ;; |
633 | ||
e6cc62c6 VS |
634 | *=*) |
635 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
636 | # Reject names that are not valid shell variable names. | |
637 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
638 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
639 | { (exit 1); exit 1; }; } | |
640 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
641 | eval "$ac_envvar='$ac_optarg'" | |
642 | export $ac_envvar ;; | |
643 | ||
10f2d63a | 644 | *) |
e6cc62c6 VS |
645 | # FIXME: should be removed in autoconf 3.0. |
646 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
647 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
648 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
649 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
10f2d63a VZ |
650 | ;; |
651 | ||
652 | esac | |
653 | done | |
654 | ||
655 | if test -n "$ac_prev"; then | |
e6cc62c6 VS |
656 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
657 | { echo "$as_me: error: missing argument to $ac_option" >&2 | |
658 | { (exit 1); exit 1; }; } | |
a0b9e27f | 659 | fi |
a0b9e27f | 660 | |
e6cc62c6 VS |
661 | # Be sure to have absolute paths. |
662 | for ac_var in exec_prefix prefix | |
663 | do | |
664 | eval ac_val=$`echo $ac_var` | |
665 | case $ac_val in | |
666 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
667 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
668 | { (exit 1); exit 1; }; };; | |
669 | esac | |
670 | done | |
8284b0c5 | 671 | |
e6cc62c6 VS |
672 | # Be sure to have absolute paths. |
673 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
674 | localstatedir libdir includedir oldincludedir infodir mandir | |
10f2d63a | 675 | do |
e6cc62c6 VS |
676 | eval ac_val=$`echo $ac_var` |
677 | case $ac_val in | |
678 | [\\/$]* | ?:[\\/]* ) ;; | |
679 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
680 | { (exit 1); exit 1; }; };; | |
10f2d63a VZ |
681 | esac |
682 | done | |
683 | ||
e6cc62c6 VS |
684 | # There might be people who depend on the old broken behavior: `$host' |
685 | # used to hold the argument of --host etc. | |
686 | # FIXME: To remove some day. | |
687 | build=$build_alias | |
688 | host=$host_alias | |
689 | target=$target_alias | |
690 | ||
691 | # FIXME: To remove some day. | |
692 | if test "x$host_alias" != x; then | |
693 | if test "x$build_alias" = x; then | |
694 | cross_compiling=maybe | |
695 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
696 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
697 | elif test "x$build_alias" != "x$host_alias"; then | |
698 | cross_compiling=yes | |
699 | fi | |
700 | fi | |
247f5006 | 701 | |
e6cc62c6 VS |
702 | ac_tool_prefix= |
703 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
704 | ||
705 | test "$silent" = yes && exec 6>/dev/null | |
10f2d63a | 706 | |
10f2d63a VZ |
707 | |
708 | # Find the source files, if location was not specified. | |
709 | if test -z "$srcdir"; then | |
710 | ac_srcdir_defaulted=yes | |
711 | # Try the directory containing this script, then its parent. | |
e6cc62c6 VS |
712 | ac_confdir=`(dirname "$0") 2>/dev/null || |
713 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
714 | X"$0" : 'X\(//\)[^/]' \| \ | |
715 | X"$0" : 'X\(//\)$' \| \ | |
716 | X"$0" : 'X\(/\)' \| \ | |
717 | . : '\(.\)' 2>/dev/null || | |
718 | echo X"$0" | | |
719 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
720 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
721 | /^X\(\/\/\)$/{ s//\1/; q; } | |
722 | /^X\(\/\).*/{ s//\1/; q; } | |
723 | s/.*/./; q'` | |
10f2d63a VZ |
724 | srcdir=$ac_confdir |
725 | if test ! -r $srcdir/$ac_unique_file; then | |
726 | srcdir=.. | |
727 | fi | |
728 | else | |
729 | ac_srcdir_defaulted=no | |
730 | fi | |
731 | if test ! -r $srcdir/$ac_unique_file; then | |
732 | if test "$ac_srcdir_defaulted" = yes; then | |
e6cc62c6 VS |
733 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
734 | { (exit 1); exit 1; }; } | |
10f2d63a | 735 | else |
e6cc62c6 VS |
736 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
737 | { (exit 1); exit 1; }; } | |
10f2d63a VZ |
738 | fi |
739 | fi | |
e6cc62c6 VS |
740 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
741 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | |
742 | { (exit 1); exit 1; }; } | |
743 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | |
744 | ac_env_build_alias_set=${build_alias+set} | |
745 | ac_env_build_alias_value=$build_alias | |
746 | ac_cv_env_build_alias_set=${build_alias+set} | |
747 | ac_cv_env_build_alias_value=$build_alias | |
748 | ac_env_host_alias_set=${host_alias+set} | |
749 | ac_env_host_alias_value=$host_alias | |
750 | ac_cv_env_host_alias_set=${host_alias+set} | |
751 | ac_cv_env_host_alias_value=$host_alias | |
752 | ac_env_target_alias_set=${target_alias+set} | |
753 | ac_env_target_alias_value=$target_alias | |
754 | ac_cv_env_target_alias_set=${target_alias+set} | |
755 | ac_cv_env_target_alias_value=$target_alias | |
756 | ac_env_CC_set=${CC+set} | |
757 | ac_env_CC_value=$CC | |
758 | ac_cv_env_CC_set=${CC+set} | |
759 | ac_cv_env_CC_value=$CC | |
760 | ac_env_CFLAGS_set=${CFLAGS+set} | |
761 | ac_env_CFLAGS_value=$CFLAGS | |
762 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
763 | ac_cv_env_CFLAGS_value=$CFLAGS | |
764 | ac_env_LDFLAGS_set=${LDFLAGS+set} | |
765 | ac_env_LDFLAGS_value=$LDFLAGS | |
766 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
767 | ac_cv_env_LDFLAGS_value=$LDFLAGS | |
768 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
769 | ac_env_CPPFLAGS_value=$CPPFLAGS | |
770 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
771 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
772 | ac_env_CPP_set=${CPP+set} | |
773 | ac_env_CPP_value=$CPP | |
774 | ac_cv_env_CPP_set=${CPP+set} | |
775 | ac_cv_env_CPP_value=$CPP | |
776 | ac_env_CXX_set=${CXX+set} | |
777 | ac_env_CXX_value=$CXX | |
778 | ac_cv_env_CXX_set=${CXX+set} | |
779 | ac_cv_env_CXX_value=$CXX | |
780 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | |
781 | ac_env_CXXFLAGS_value=$CXXFLAGS | |
782 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | |
783 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | |
784 | ac_env_CXXCPP_set=${CXXCPP+set} | |
785 | ac_env_CXXCPP_value=$CXXCPP | |
786 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | |
787 | ac_cv_env_CXXCPP_value=$CXXCPP | |
328a083c | 788 | |
e6cc62c6 VS |
789 | # |
790 | # Report the --help message. | |
791 | # | |
792 | if test "$ac_init_help" = "long"; then | |
793 | # Omit some internal or obsolete options to make the list less imposing. | |
794 | # This message is too long to be a string in the A/UX 3.1 sh. | |
795 | cat <<_ACEOF | |
e46d2a18 | 796 | \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems. |
10f2d63a | 797 | |
e6cc62c6 | 798 | Usage: $0 [OPTION]... [VAR=VALUE]... |
10f2d63a | 799 | |
e6cc62c6 VS |
800 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
801 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
8284b0c5 | 802 | |
e6cc62c6 VS |
803 | Defaults for the options are specified in brackets. |
804 | ||
805 | Configuration: | |
806 | -h, --help display this help and exit | |
807 | --help=short display options specific to this package | |
808 | --help=recursive display the short help of all the included packages | |
809 | -V, --version display version information and exit | |
810 | -q, --quiet, --silent do not print \`checking...' messages | |
811 | --cache-file=FILE cache test results in FILE [disabled] | |
812 | -C, --config-cache alias for \`--cache-file=config.cache' | |
813 | -n, --no-create do not create output files | |
814 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
815 | ||
816 | _ACEOF | |
817 | ||
818 | cat <<_ACEOF | |
819 | Installation directories: | |
820 | --prefix=PREFIX install architecture-independent files in PREFIX | |
821 | [$ac_default_prefix] | |
822 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
823 | [PREFIX] | |
824 | ||
825 | By default, \`make install' will install all the files in | |
826 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
827 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
828 | for instance \`--prefix=\$HOME'. | |
829 | ||
830 | For better control, use the options below. | |
831 | ||
832 | Fine tuning of the installation directories: | |
833 | --bindir=DIR user executables [EPREFIX/bin] | |
834 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
835 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
836 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
837 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
838 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
839 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
840 | --libdir=DIR object code libraries [EPREFIX/lib] | |
841 | --includedir=DIR C header files [PREFIX/include] | |
842 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
843 | --infodir=DIR info documentation [PREFIX/info] | |
844 | --mandir=DIR man documentation [PREFIX/man] | |
845 | _ACEOF | |
846 | ||
847 | cat <<\_ACEOF | |
848 | ||
849 | X features: | |
850 | --x-includes=DIR X include files are in DIR | |
851 | --x-libraries=DIR X library files are in DIR | |
852 | ||
853 | System types: | |
854 | --build=BUILD configure for building on BUILD [guessed] | |
855 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
856 | --target=TARGET configure for building compilers for TARGET [HOST] | |
857 | _ACEOF | |
858 | fi | |
859 | ||
860 | if test -n "$ac_init_help"; then | |
861 | case $ac_init_help in | |
e46d2a18 | 862 | short | recursive ) echo "Configuration of wxWindows 2.5.1:";; |
e6cc62c6 VS |
863 | esac |
864 | cat <<\_ACEOF | |
865 | ||
866 | Optional Features: | |
867 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
868 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
869 | --enable-gui use GUI classes | |
9747f85d | 870 | --disable-monolithic don't build wxWindows as single library |
e6cc62c6 VS |
871 | --enable-universal use wxWindows GUI controls instead of native ones |
872 | --enable-nanox use NanoX | |
873 | --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL) | |
874 | --enable-shared create shared library code | |
e6cc62c6 VS |
875 | --enable-optimise create optimised code |
876 | --enable-debug same as debug_flag and debug_info | |
df5168c4 | 877 | --enable-stl use STL for containers |
e6cc62c6 VS |
878 | --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!) |
879 | --enable-debug_info create code with debugging information | |
880 | --enable-debug_gdb create code with extra GDB debugging information | |
881 | --enable-debug_cntxt use wxDebugContext | |
882 | --enable-mem_tracing create code with memory tracing | |
883 | --enable-profile create code with profiling information | |
884 | --enable-no_rtti create code without RTTI information | |
885 | --enable-no_exceptions create code without C++ exceptions handling | |
886 | --enable-permissive compile code disregarding strict ANSI | |
887 | --enable-no_deps create code without dependency information | |
e6cc62c6 VS |
888 | --enable-compat22 enable wxWindows 2.2 compatibility |
889 | --disable-compat24 disable wxWindows 2.4 compatibility | |
890 | --enable-rpath=DIR output the rpath flag from wx-config | |
891 | --enable-intl use internationalization system | |
892 | --enable-config use wxConfig (and derived) classes | |
893 | --enable-protocols use wxProtocol and derived classes | |
894 | --enable-ftp use wxFTP (requires wxProtocol | |
895 | --enable-http use wxHTTP (requires wxProtocol | |
896 | --enable-fileproto use wxFileProto class (requires wxProtocol | |
897 | --enable-sockets use socket/network classes | |
e46d2a18 | 898 | --enable-ole use OLE classes (Win32 only) |
e6cc62c6 VS |
899 | --enable-dataobj use data object classes |
900 | --enable-ipc use interprocess communication (wxSocket etc.) | |
e46d2a18 VS |
901 | --enable-apple_ieee use the Apple IEEE codec |
902 | --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only) | |
e6cc62c6 VS |
903 | --enable-cmdline use wxCmdLineParser class |
904 | --enable-datetime use wxDateTime class | |
e6cc62c6 | 905 | --enable-dialupman use dialup network classes |
e6cc62c6 VS |
906 | --enable-dynlib use wxLibrary class for DLL loading |
907 | --enable-dynamicloader use (new) wxDynamicLibrary class | |
e46d2a18 VS |
908 | --enable-exceptions build exception-safe library |
909 | --enable-ffile use wxFFile class | |
910 | --enable-file use wxFile class | |
911 | --enable-filesystem use virtual file systems classes | |
912 | --enable-fontmap use font encodings conversion classes | |
913 | --enable-fs_inet use virtual HTTP/FTP filesystems | |
914 | --enable-fs_zip use virtual ZIP filesystems | |
e6cc62c6 VS |
915 | --enable-geometry use geometry class |
916 | --enable-log use logging system | |
e46d2a18 VS |
917 | --enable-longlong use wxLongLong class |
918 | --enable-mimetype use wxMimeTypesManager | |
919 | --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only) | |
920 | --enable-snglinst use wxSingleInstanceChecker class | |
e6cc62c6 | 921 | --enable-streams use wxStream etc classes |
e46d2a18 VS |
922 | --enable-std_iostreams use standard C++ stream classes |
923 | --enable-stopwatch use wxStopWatch class | |
924 | --enable-sysoptions use wxSystemOptions | |
e6cc62c6 VS |
925 | --enable-textbuf use wxTextBuffer class |
926 | --enable-textfile use wxTextFile class | |
e46d2a18 | 927 | --enable-timer use wxTimer class |
e6cc62c6 | 928 | --enable-unicode compile wxString with Unicode support |
e46d2a18 | 929 | --enable-wave use wxWave class |
e6cc62c6 | 930 | --enable-wxprintfv use wxWindows implementation of vprintf() |
e6cc62c6 | 931 | --enable-zipstream use wxZipInputStream |
7015ef3a | 932 | --enable-gzstream use wxGzipInputStream |
e6cc62c6 VS |
933 | --enable-url use wxURL class |
934 | --enable-protocol use wxProtocol class | |
935 | --enable-protocol-http HTTP support in wxProtocol | |
936 | --enable-protocol-ftp FTP support in wxProtocol | |
937 | --enable-protocol-file FILE support in wxProtocol | |
938 | --enable-threads use threads | |
939 | --enable-docview use document view architecture | |
940 | --enable-help use help subsystem | |
941 | --enable-mshtmlhelp use MS HTML Help (win32) | |
942 | --enable-html use wxHTML sub-library | |
943 | --enable-htmlhelp use wxHTML-based help | |
944 | --enable-constraints use layout-constraints system | |
945 | --enable-printarch use printing architecture | |
946 | --enable-mdi use multiple document interface architecture | |
947 | --enable-loggui use standard GUI logger | |
948 | --enable-logwin use wxLogWindow | |
949 | --enable-logdialog use wxLogDialog | |
950 | --enable-postscript use wxPostscriptDC device context (default for gtk+) | |
951 | --enable-prologio not available; see contrib | |
952 | --enable-resources not available; see contrib | |
953 | --enable-clipboard use wxClipboard class | |
954 | --enable-dnd use Drag'n'Drop classes | |
955 | --enable-metafile use win32 metafiles | |
956 | --enable-controls use all usual controls | |
957 | --enable-accel use accelerators | |
958 | --enable-button use wxButton class | |
959 | --enable-bmpbutton use wxBitmapButton class | |
960 | --enable-calendar use wxCalendarCtrl class | |
961 | --enable-caret use wxCaret class | |
962 | --enable-checkbox use wxCheckBox class | |
963 | --enable-checklst use wxCheckListBox (listbox with checkboxes) class | |
964 | --enable-choice use wxChoice class | |
965 | --enable-combobox use wxComboBox class | |
966 | --enable-display use wxDisplay class | |
967 | --enable-gauge use wxGauge class | |
968 | --enable-grid use wxGrid class | |
969 | --enable-imaglist use wxImageList class | |
0e012a93 | 970 | --enable-listbook use wxListbook class |
e6cc62c6 VS |
971 | --enable-listbox use wxListBox class |
972 | --enable-listctrl use wxListCtrl class | |
973 | --enable-notebook use wxNotebook class | |
974 | --enable-radiobox use wxRadioBox class | |
975 | --enable-radiobtn use wxRadioButton class | |
976 | --enable-sash use wxSashWindow class | |
977 | --enable-scrollbar use wxScrollBar class and scrollable windows | |
978 | --enable-slider use wxSlider class | |
979 | --enable-spinbtn use wxSpinButton class | |
980 | --enable-spinctrl use wxSpinCtrl class | |
981 | --enable-splitter use wxSplitterWindow class | |
982 | --enable-statbmp use wxStaticBitmap class | |
983 | --enable-statbox use wxStaticBox class | |
984 | --enable-statline use wxStaticLine class | |
985 | --enable-stattext use wxStaticText class | |
986 | --enable-statusbar use wxStatusBar class | |
987 | --enable-tabdialog use wxTabControl class | |
988 | --enable-textctrl use wxTextCtrl class | |
989 | --enable-togglebtn use wxToggleButton class | |
990 | --enable-toolbar use wxToolBar class | |
991 | --enable-tbarnative use native wxToolBar class | |
992 | --enable-tbarsmpl use wxToolBarSimple class | |
993 | --enable-treectrl use wxTreeCtrl class | |
994 | --enable-tipwindow use wxTipWindow class | |
995 | --enable-popupwin use wxPopUpWindow class | |
996 | --enable-commondlg use all common dialogs | |
997 | --enable-choicedlg use wxChoiceDialog | |
998 | --enable-coldlg use wxColourDialog | |
999 | --enable-filedlg use wxFileDialog | |
1000 | --enable-finddlg use wxFindReplaceDialog | |
1001 | --enable-fontdlg use wxFontDialog | |
1002 | --enable-dirdlg use wxDirDialog | |
1003 | --enable-msgdlg use wxMessageDialog | |
1004 | --enable-numberdlg use wxNumberEntryDialog | |
1005 | --enable-splash use wxSplashScreen | |
1006 | --enable-textdlg use wxTextDialog | |
1007 | --enable-tipdlg use startup tips | |
1008 | --enable-progressdlg use wxProgressDialog | |
1009 | --enable-wizarddlg use wxWizard | |
1010 | --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes | |
1011 | --enable-miniframe use wxMiniFrame class | |
1012 | --enable-tooltips use wxToolTip class | |
1013 | --enable-splines use spline drawing code | |
1014 | --enable-validators use wxValidator and derived classes | |
1015 | --enable-busyinfo use wxBusyInfo | |
1016 | --enable-joystick use wxJoystick (Linux only) | |
1017 | --enable-metafiles use wxMetaFile (Windows only) | |
1018 | --enable-dragimage use wxDragImage | |
1019 | --enable-accessibility enable accessibility support | |
1020 | --enable-palette use wxPalette class | |
1021 | --enable-image use wxImage class | |
1022 | --enable-gif use gif images (GIF file format) | |
1023 | --enable-pcx use pcx images (PCX file format) | |
1024 | --enable-iff use iff images (IFF file format) | |
1025 | --enable-pnm use pnm images (PNM file format) | |
1026 | --enable-xpm use xpm images (XPM file format) | |
1027 | --enable-icocur use Windows ICO and CUR formats | |
029b47ad VS |
1028 | --enable-official_build official build of wxWindows (win32 DLL only) |
1029 | --enable-vendor=VENDOR vendor name (win32 DLL only) | |
e6cc62c6 VS |
1030 | --disable-largefile omit support for large files |
1031 | --disable-gtktest do not try to compile and run a test GTK+ program | |
1032 | --disable-gtktest Do not try to compile and run a test GTK program | |
45842500 | 1033 | --disable-precomp-headers don't use precompiled headers even if compiler can |
e6cc62c6 VS |
1034 | |
1035 | Optional Packages: | |
1036 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
1037 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
1038 | --with-gtk use GTK+ | |
1039 | --with-motif use Motif/Lesstif | |
1040 | --with-mac use Mac OS X | |
1041 | --with-cocoa use Cocoa | |
1042 | --with-wine use Wine | |
1043 | --with-msw use MS-Windows | |
1044 | --with-pm use OS/2 Presentation Manager | |
1045 | --with-mgl use SciTech MGL | |
1046 | --with-microwin use MicroWindows | |
1047 | --with-x11 use X11 | |
1048 | --with-libpng use libpng (PNG image format) | |
1049 | --with-libjpeg use libjpeg (JPEG file format) | |
1050 | --with-libtiff use libtiff (TIFF file format) | |
1051 | --with-opengl use OpenGL (or Mesa) | |
1052 | --with-dmalloc use dmalloc library (http://dmalloc.com/) | |
1053 | --with-regex enable support for wxRegEx class | |
1054 | --with-zlib use zlib for LZW compression | |
1055 | --with-odbc use the IODBC and wxODBC classes | |
672abd7a | 1056 | --with-expat enable XML support using expat parser |
e6cc62c6 VS |
1057 | --with-gtk-prefix=PFX Prefix where GTK is installed (optional) |
1058 | --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) | |
1059 | --with-x use the X Window System | |
1060 | --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib | |
1061 | ||
1062 | Some influential environment variables: | |
1063 | CC C compiler command | |
1064 | CFLAGS C compiler flags | |
1065 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1066 | nonstandard directory <lib dir> | |
1067 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
1068 | headers in a nonstandard directory <include dir> | |
1069 | CPP C preprocessor | |
1070 | CXX C++ compiler command | |
1071 | CXXFLAGS C++ compiler flags | |
1072 | CXXCPP C++ preprocessor | |
1073 | ||
1074 | Use these variables to override the choices made by `configure' or to help | |
1075 | it to find libraries and programs with nonstandard names/locations. | |
1076 | ||
1077 | Report bugs to <wx-dev@lists.wxwindows.org>. | |
1078 | _ACEOF | |
1079 | fi | |
1080 | ||
1081 | if test "$ac_init_help" = "recursive"; then | |
1082 | # If there are subdirs, report their specific --help. | |
1083 | ac_popdir=`pwd` | |
1084 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1085 | test -d $ac_dir || continue | |
1086 | ac_builddir=. | |
1087 | ||
1088 | if test "$ac_dir" != .; then | |
1089 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
1090 | # A "../" for each directory in $ac_dir_suffix. | |
1091 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
1092 | else | |
1093 | ac_dir_suffix= ac_top_builddir= | |
1094 | fi | |
1095 | ||
1096 | case $srcdir in | |
1097 | .) # No --srcdir option. We are building in place. | |
1098 | ac_srcdir=. | |
1099 | if test -z "$ac_top_builddir"; then | |
1100 | ac_top_srcdir=. | |
1101 | else | |
1102 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
1103 | fi ;; | |
1104 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
1105 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1106 | ac_top_srcdir=$srcdir ;; | |
1107 | *) # Relative path. | |
1108 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
1109 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
1110 | esac | |
1111 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
1112 | # absolute. | |
1113 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
1114 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
1115 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
1116 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
1117 | ||
1118 | cd $ac_dir | |
1119 | # Check for guested configure; otherwise get Cygnus style configure. | |
1120 | if test -f $ac_srcdir/configure.gnu; then | |
1121 | echo | |
1122 | $SHELL $ac_srcdir/configure.gnu --help=recursive | |
1123 | elif test -f $ac_srcdir/configure; then | |
1124 | echo | |
1125 | $SHELL $ac_srcdir/configure --help=recursive | |
1126 | elif test -f $ac_srcdir/configure.ac || | |
1127 | test -f $ac_srcdir/configure.in; then | |
1128 | echo | |
1129 | $ac_configure --help | |
1130 | else | |
1131 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1132 | fi | |
1133 | cd $ac_popdir | |
1134 | done | |
1135 | fi | |
8284b0c5 | 1136 | |
e6cc62c6 VS |
1137 | test -n "$ac_init_help" && exit 0 |
1138 | if $ac_init_version; then | |
1139 | cat <<\_ACEOF | |
e46d2a18 | 1140 | wxWindows configure 2.5.1 |
e6cc62c6 | 1141 | generated by GNU Autoconf 2.57 |
10f2d63a | 1142 | |
e6cc62c6 VS |
1143 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
1144 | Free Software Foundation, Inc. | |
1145 | This configure script is free software; the Free Software Foundation | |
1146 | gives unlimited permission to copy, distribute and modify it. | |
1147 | _ACEOF | |
1148 | exit 0 | |
7c66a493 | 1149 | fi |
e6cc62c6 VS |
1150 | exec 5>config.log |
1151 | cat >&5 <<_ACEOF | |
1152 | This file contains any messages produced by compilers while | |
1153 | running configure, to aid debugging if configure makes a mistake. | |
1154 | ||
e46d2a18 | 1155 | It was created by wxWindows $as_me 2.5.1, which was |
e6cc62c6 VS |
1156 | generated by GNU Autoconf 2.57. Invocation command line was |
1157 | ||
1158 | $ $0 $@ | |
1159 | ||
1160 | _ACEOF | |
1161 | { | |
1162 | cat <<_ASUNAME | |
1163 | ## --------- ## | |
1164 | ## Platform. ## | |
1165 | ## --------- ## | |
1166 | ||
1167 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1168 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1169 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1170 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1171 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1172 | ||
1173 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1174 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1175 | ||
1176 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1177 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1178 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1179 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
1180 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1181 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1182 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1183 | ||
1184 | _ASUNAME | |
1185 | ||
1186 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1187 | for as_dir in $PATH | |
1188 | do | |
1189 | IFS=$as_save_IFS | |
1190 | test -z "$as_dir" && as_dir=. | |
1191 | echo "PATH: $as_dir" | |
1192 | done | |
1193 | ||
1194 | } >&5 | |
1195 | ||
1196 | cat >&5 <<_ACEOF | |
1197 | ||
1198 | ||
1199 | ## ----------- ## | |
1200 | ## Core tests. ## | |
1201 | ## ----------- ## | |
1202 | ||
1203 | _ACEOF | |
1204 | ||
1205 | ||
1206 | # Keep a trace of the command line. | |
1207 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1208 | # Strip out --silent because we don't want to record it for future runs. | |
1209 | # Also quote any args containing shell meta-characters. | |
1210 | # Make two passes to allow for proper duplicate-argument suppression. | |
1211 | ac_configure_args= | |
1212 | ac_configure_args0= | |
1213 | ac_configure_args1= | |
1214 | ac_sep= | |
1215 | ac_must_keep_next=false | |
1216 | for ac_pass in 1 2 | |
1217 | do | |
1218 | for ac_arg | |
1219 | do | |
1220 | case $ac_arg in | |
1221 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1222 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1223 | | -silent | --silent | --silen | --sile | --sil) | |
1224 | continue ;; | |
1225 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1226 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1227 | esac | |
1228 | case $ac_pass in | |
1229 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1230 | 2) | |
1231 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1232 | if test $ac_must_keep_next = true; then | |
1233 | ac_must_keep_next=false # Got value, back to normal. | |
1234 | else | |
1235 | case $ac_arg in | |
1236 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1237 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1238 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1239 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1240 | case "$ac_configure_args0 " in | |
1241 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1242 | esac | |
1243 | ;; | |
1244 | -* ) ac_must_keep_next=true ;; | |
1245 | esac | |
1246 | fi | |
1247 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
1248 | # Get rid of the leading space. | |
1249 | ac_sep=" " | |
1250 | ;; | |
1251 | esac | |
1252 | done | |
1253 | done | |
1254 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1255 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1256 | ||
1257 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1258 | # config.log. We remove comments because anyway the quotes in there | |
1259 | # would cause problems or look ugly. | |
1260 | # WARNING: Be sure not to use single quotes in there, as some shells, | |
1261 | # such as our DU 5.0 friend, will then `close' the trap. | |
1262 | trap 'exit_status=$? | |
1263 | # Save into config.log some information that might help in debugging. | |
1264 | { | |
1265 | echo | |
1266 | ||
1267 | cat <<\_ASBOX | |
1268 | ## ---------------- ## | |
1269 | ## Cache variables. ## | |
1270 | ## ---------------- ## | |
1271 | _ASBOX | |
1272 | echo | |
1273 | # The following way of writing the cache mishandles newlines in values, | |
1274 | { | |
1275 | (set) 2>&1 | | |
1276 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
1277 | *ac_space=\ *) | |
1278 | sed -n \ | |
1279 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | |
1280 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | |
1281 | ;; | |
1282 | *) | |
1283 | sed -n \ | |
1284 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
1285 | ;; | |
1286 | esac; | |
1287 | } | |
1288 | echo | |
1289 | ||
1290 | cat <<\_ASBOX | |
1291 | ## ----------------- ## | |
1292 | ## Output variables. ## | |
1293 | ## ----------------- ## | |
1294 | _ASBOX | |
1295 | echo | |
1296 | for ac_var in $ac_subst_vars | |
1297 | do | |
1298 | eval ac_val=$`echo $ac_var` | |
1299 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1300 | done | sort | |
1301 | echo | |
1302 | ||
1303 | if test -n "$ac_subst_files"; then | |
1304 | cat <<\_ASBOX | |
1305 | ## ------------- ## | |
1306 | ## Output files. ## | |
1307 | ## ------------- ## | |
1308 | _ASBOX | |
1309 | echo | |
1310 | for ac_var in $ac_subst_files | |
1311 | do | |
1312 | eval ac_val=$`echo $ac_var` | |
1313 | echo "$ac_var='"'"'$ac_val'"'"'" | |
1314 | done | sort | |
1315 | echo | |
1316 | fi | |
1317 | ||
1318 | if test -s confdefs.h; then | |
1319 | cat <<\_ASBOX | |
1320 | ## ----------- ## | |
1321 | ## confdefs.h. ## | |
1322 | ## ----------- ## | |
1323 | _ASBOX | |
1324 | echo | |
1325 | sed "/^$/d" confdefs.h | sort | |
1326 | echo | |
1327 | fi | |
1328 | test "$ac_signal" != 0 && | |
1329 | echo "$as_me: caught signal $ac_signal" | |
1330 | echo "$as_me: exit $exit_status" | |
1331 | } >&5 | |
1332 | rm -f core core.* *.core && | |
1333 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
1334 | exit $exit_status | |
1335 | ' 0 | |
1336 | for ac_signal in 1 2 13 15; do | |
1337 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1338 | done | |
1339 | ac_signal=0 | |
1340 | ||
1341 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1342 | rm -rf conftest* confdefs.h | |
1343 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1344 | echo >confdefs.h | |
1345 | ||
1346 | # Predefined preprocessor variables. | |
1347 | ||
1348 | cat >>confdefs.h <<_ACEOF | |
1349 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1350 | _ACEOF | |
1351 | ||
1352 | ||
1353 | cat >>confdefs.h <<_ACEOF | |
1354 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1355 | _ACEOF | |
1356 | ||
1357 | ||
1358 | cat >>confdefs.h <<_ACEOF | |
1359 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1360 | _ACEOF | |
1361 | ||
1362 | ||
1363 | cat >>confdefs.h <<_ACEOF | |
1364 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1365 | _ACEOF | |
1366 | ||
1367 | ||
1368 | cat >>confdefs.h <<_ACEOF | |
1369 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1370 | _ACEOF | |
1371 | ||
1372 | ||
1373 | # Let the site file select an alternate cache file if it wants to. | |
1374 | # Prefer explicitly selected file to automatically selected ones. | |
1375 | if test -z "$CONFIG_SITE"; then | |
1376 | if test "x$prefix" != xNONE; then | |
1377 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
1378 | else | |
1379 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
1380 | fi | |
1381 | fi | |
1382 | for ac_site_file in $CONFIG_SITE; do | |
1383 | if test -r "$ac_site_file"; then | |
1384 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1385 | echo "$as_me: loading site script $ac_site_file" >&6;} | |
1386 | sed 's/^/| /' "$ac_site_file" >&5 | |
1387 | . "$ac_site_file" | |
1388 | fi | |
1389 | done | |
1390 | ||
1391 | if test -r "$cache_file"; then | |
1392 | # Some versions of bash will fail to source /dev/null (special | |
1393 | # files actually), so we avoid doing that. | |
1394 | if test -f "$cache_file"; then | |
1395 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1396 | echo "$as_me: loading cache $cache_file" >&6;} | |
1397 | case $cache_file in | |
1398 | [\\/]* | ?:[\\/]* ) . $cache_file;; | |
1399 | *) . ./$cache_file;; | |
1400 | esac | |
1401 | fi | |
1402 | else | |
1403 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1404 | echo "$as_me: creating cache $cache_file" >&6;} | |
1405 | >$cache_file | |
1406 | fi | |
1407 | ||
1408 | # Check that the precious variables saved in the cache have kept the same | |
1409 | # value. | |
1410 | ac_cache_corrupted=false | |
1411 | for ac_var in `(set) 2>&1 | | |
1412 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1413 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1414 | eval ac_new_set=\$ac_env_${ac_var}_set | |
1415 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
1416 | eval ac_new_val="\$ac_env_${ac_var}_value" | |
1417 | case $ac_old_set,$ac_new_set in | |
1418 | set,) | |
1419 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1420 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1421 | ac_cache_corrupted=: ;; | |
1422 | ,set) | |
1423 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1424 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1425 | ac_cache_corrupted=: ;; | |
1426 | ,);; | |
1427 | *) | |
1428 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1429 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1430 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1431 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
1432 | echo "$as_me: former value: $ac_old_val" >&2;} | |
1433 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
1434 | echo "$as_me: current value: $ac_new_val" >&2;} | |
1435 | ac_cache_corrupted=: | |
1436 | fi;; | |
1437 | esac | |
1438 | # Pass precious variables to config.status. | |
1439 | if test "$ac_new_set" = set; then | |
1440 | case $ac_new_val in | |
1441 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
1442 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1443 | *) ac_arg=$ac_var=$ac_new_val ;; | |
1444 | esac | |
1445 | case " $ac_configure_args " in | |
1446 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1447 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1448 | esac | |
1449 | fi | |
1450 | done | |
1451 | if $ac_cache_corrupted; then | |
1452 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1453 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1454 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1455 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1456 | { (exit 1); exit 1; }; } | |
1457 | fi | |
1458 | ||
1459 | ac_ext=c | |
1460 | ac_cpp='$CPP $CPPFLAGS' | |
1461 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1462 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1463 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1464 | ||
1465 | ||
1466 | ||
1467 | ||
1468 | ||
1469 | ||
1470 | ||
1471 | ||
1472 | ||
1473 | ||
1474 | ||
1475 | ||
1476 | ||
1477 | ||
1478 | ||
1479 | ||
1480 | ||
698dcdb6 | 1481 | |
8284b0c5 | 1482 | |
7c66a493 | 1483 | |
a0b9e27f MB |
1484 | |
1485 | ||
a0b9e27f | 1486 | |
a0b9e27f | 1487 | |
a0b9e27f | 1488 | |
a0b9e27f | 1489 | |
a0b9e27f | 1490 | |
a0b9e27f | 1491 | |
e6cc62c6 VS |
1492 | |
1493 | ||
1494 | ac_aux_dir= | |
1495 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
1496 | if test -f $ac_dir/install-sh; then | |
1497 | ac_aux_dir=$ac_dir | |
1498 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1499 | break | |
1500 | elif test -f $ac_dir/install.sh; then | |
1501 | ac_aux_dir=$ac_dir | |
1502 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1503 | break | |
1504 | elif test -f $ac_dir/shtool; then | |
1505 | ac_aux_dir=$ac_dir | |
1506 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1507 | break | |
1508 | fi | |
1509 | done | |
1510 | if test -z "$ac_aux_dir"; then | |
1511 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | |
1512 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | |
1513 | { (exit 1); exit 1; }; } | |
1514 | fi | |
1515 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
1516 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
1517 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
1518 | ||
1519 | # Make sure we can run config.sub. | |
1520 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
1521 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
1522 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
1523 | { (exit 1); exit 1; }; } | |
1524 | ||
1525 | echo "$as_me:$LINENO: checking build system type" >&5 | |
1526 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
1527 | if test "${ac_cv_build+set}" = set; then | |
1528 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1529 | else | |
1530 | ac_cv_build_alias=$build_alias | |
1531 | test -z "$ac_cv_build_alias" && | |
1532 | ac_cv_build_alias=`$ac_config_guess` | |
1533 | test -z "$ac_cv_build_alias" && | |
1534 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
1535 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
1536 | { (exit 1); exit 1; }; } | |
1537 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
1538 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
1539 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
1540 | { (exit 1); exit 1; }; } | |
1541 | ||
1542 | fi | |
1543 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
1544 | echo "${ECHO_T}$ac_cv_build" >&6 | |
1545 | build=$ac_cv_build | |
1546 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1547 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1548 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1549 | ||
1550 | ||
1551 | echo "$as_me:$LINENO: checking host system type" >&5 | |
1552 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
1553 | if test "${ac_cv_host+set}" = set; then | |
1554 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1555 | else | |
1556 | ac_cv_host_alias=$host_alias | |
1557 | test -z "$ac_cv_host_alias" && | |
1558 | ac_cv_host_alias=$ac_cv_build_alias | |
1559 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
1560 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
1561 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
1562 | { (exit 1); exit 1; }; } | |
1563 | ||
1564 | fi | |
1565 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
1566 | echo "${ECHO_T}$ac_cv_host" >&6 | |
1567 | host=$ac_cv_host | |
1568 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1569 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1570 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1571 | ||
1572 | ||
1573 | echo "$as_me:$LINENO: checking target system type" >&5 | |
1574 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | |
1575 | if test "${ac_cv_target+set}" = set; then | |
1576 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1577 | else | |
1578 | ac_cv_target_alias=$target_alias | |
1579 | test "x$ac_cv_target_alias" = "x" && | |
1580 | ac_cv_target_alias=$ac_cv_host_alias | |
1581 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | |
1582 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | |
1583 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | |
1584 | { (exit 1); exit 1; }; } | |
1585 | ||
1586 | fi | |
1587 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | |
1588 | echo "${ECHO_T}$ac_cv_target" >&6 | |
1589 | target=$ac_cv_target | |
1590 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1591 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1592 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1593 | ||
1594 | ||
1595 | # The aliases save the names the user supplied, while $host etc. | |
1596 | # will get canonicalized. | |
1597 | test -n "$target_alias" && | |
7c66a493 VZ |
1598 | test "$program_prefix$program_suffix$program_transform_name" = \ |
1599 | NONENONEs,x,x, && | |
1600 | program_prefix=${target_alias}- | |
8284b0c5 MB |
1601 | |
1602 | ||
a0b9e27f | 1603 | |
10f2d63a | 1604 | WX_MAJOR_VERSION_NUMBER=2 |
34bed6d9 | 1605 | WX_MINOR_VERSION_NUMBER=5 |
e46d2a18 | 1606 | WX_RELEASE_NUMBER=1 |
10f2d63a | 1607 | |
10f2d63a | 1608 | WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER |
10f2d63a | 1609 | WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER |
6426998c | 1610 | |
978f1259 RL |
1611 | WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER |
1612 | ||
7015ef3a | 1613 | WX_CURRENT=1 |
6426998c RL |
1614 | WX_REVISION=0 |
1615 | WX_AGE=0 | |
1616 | ||
8284b0c5 MB |
1617 | |
1618 | ||
10f2d63a | 1619 | USE_UNIX=1 |
73d617c9 | 1620 | USE_OS2=0 |
10f2d63a | 1621 | USE_WIN32=0 |
f9bc1684 | 1622 | USE_DOS=0 |
b12915c1 | 1623 | USE_BEOS=0 |
1216f52d | 1624 | USE_MAC=0 |
b12915c1 | 1625 | |
10f2d63a | 1626 | USE_AIX= |
fe0895cf VS |
1627 | USE_BSD= USE_DARWIN= USE_FREEBSD= |
1628 | USE_GNU= USE_HPUX= | |
89e3b3e4 | 1629 | USE_LINUX= |
f6bcfd97 | 1630 | USE_NETBSD= |
89e3b3e4 | 1631 | USE_OPENBSD= |
fe0895cf VS |
1632 | USE_OSF= USE_SGI= |
1633 | USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS= | |
10f2d63a | 1634 | USE_ULTRIX= |
89e3b3e4 VZ |
1635 | USE_UNIXWARE= |
1636 | ||
1637 | USE_ALPHA= | |
10f2d63a | 1638 | |
ab9b9eab VZ |
1639 | NEEDS_D_REENTRANT_FOR_R_FUNCS=0 |
1640 | ||
ac0c4cc3 | 1641 | ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11" |
10f2d63a | 1642 | |
ac0c4cc3 | 1643 | DEFAULT_wxUSE_COCOA=0 |
10f2d63a | 1644 | DEFAULT_wxUSE_GTK=0 |
1e6feb95 VZ |
1645 | DEFAULT_wxUSE_MAC=0 |
1646 | DEFAULT_wxUSE_MGL=0 | |
1725144d | 1647 | DEFAULT_wxUSE_MICROWIN=0 |
10f2d63a VZ |
1648 | DEFAULT_wxUSE_MOTIF=0 |
1649 | DEFAULT_wxUSE_MSW=0 | |
e07802fc | 1650 | DEFAULT_wxUSE_PM=0 |
f79bd02d | 1651 | DEFAULT_wxUSE_X11=0 |
10f2d63a | 1652 | |
ac0c4cc3 | 1653 | DEFAULT_DEFAULT_wxUSE_COCOA=0 |
10f2d63a | 1654 | DEFAULT_DEFAULT_wxUSE_GTK=0 |
1e6feb95 VZ |
1655 | DEFAULT_DEFAULT_wxUSE_MAC=0 |
1656 | DEFAULT_DEFAULT_wxUSE_MGL=0 | |
1725144d | 1657 | DEFAULT_DEFAULT_wxUSE_MICROWIN=0 |
10f2d63a VZ |
1658 | DEFAULT_DEFAULT_wxUSE_MOTIF=0 |
1659 | DEFAULT_DEFAULT_wxUSE_MSW=0 | |
e07802fc | 1660 | DEFAULT_DEFAULT_wxUSE_PM=0 |
f79bd02d | 1661 | DEFAULT_DEFAULT_wxUSE_X11=0 |
10f2d63a | 1662 | |
d6a55c4b | 1663 | PROGRAM_EXT= |
3a922bb4 | 1664 | SO_SUFFIX=so |
fe0895cf | 1665 | SAMPLES_RPATH_FLAG= |
0f1bc9c2 | 1666 | SAMPLES_RPATH_POSTLINK= |
d6a55c4b | 1667 | |
10f2d63a VZ |
1668 | case "${host}" in |
1669 | *-hp-hpux* ) | |
1670 | USE_HPUX=1 | |
1671 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
ab9b9eab | 1672 | NEEDS_D_REENTRANT_FOR_R_FUNCS=1 |
3a922bb4 | 1673 | SO_SUFFIX=sl |
e6cc62c6 | 1674 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1675 | #define __HPUX__ 1 |
e6cc62c6 | 1676 | _ACEOF |
10f2d63a VZ |
1677 | |
1678 | ;; | |
1679 | *-*-linux* ) | |
1680 | USE_LINUX=1 | |
e6cc62c6 | 1681 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1682 | #define __LINUX__ 1 |
e6cc62c6 | 1683 | _ACEOF |
10f2d63a VZ |
1684 | |
1685 | TMP=`uname -m` | |
1686 | if test "x$TMP" = "xalpha"; then | |
1687 | USE_ALPHA=1 | |
e6cc62c6 | 1688 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1689 | #define __ALPHA__ 1 |
e6cc62c6 | 1690 | _ACEOF |
fe0895cf VS |
1691 | |
1692 | fi | |
1693 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1694 | ;; | |
1695 | *-*-gnu* ) | |
1696 | USE_GNU=1 | |
e6cc62c6 | 1697 | cat >>confdefs.h <<\_ACEOF |
fe0895cf | 1698 | #define __GNU__ 1 |
e6cc62c6 | 1699 | _ACEOF |
fe0895cf VS |
1700 | |
1701 | TMP=`uname -m` | |
1702 | if test "x$TMP" = "xalpha"; then | |
1703 | USE_ALPHA=1 | |
e6cc62c6 | 1704 | cat >>confdefs.h <<\_ACEOF |
fe0895cf | 1705 | #define __ALPHA__ 1 |
e6cc62c6 | 1706 | _ACEOF |
10f2d63a VZ |
1707 | |
1708 | fi | |
1709 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1710 | ;; | |
1711 | *-*-irix5* | *-*-irix6* ) | |
1712 | USE_SGI=1 | |
1713 | USE_SVR4=1 | |
e6cc62c6 | 1714 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1715 | #define __SGI__ 1 |
e6cc62c6 | 1716 | _ACEOF |
10f2d63a | 1717 | |
e6cc62c6 | 1718 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1719 | #define __SVR4__ 1 |
e6cc62c6 | 1720 | _ACEOF |
10f2d63a VZ |
1721 | |
1722 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1723 | ;; | |
1724 | *-*-solaris2* ) | |
1725 | USE_SUN=1 | |
1726 | USE_SOLARIS=1 | |
1727 | USE_SVR4=1 | |
e6cc62c6 | 1728 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1729 | #define __SUN__ 1 |
e6cc62c6 | 1730 | _ACEOF |
10f2d63a | 1731 | |
e6cc62c6 | 1732 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1733 | #define __SOLARIS__ 1 |
e6cc62c6 | 1734 | _ACEOF |
10f2d63a | 1735 | |
e6cc62c6 | 1736 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1737 | #define __SVR4__ 1 |
e6cc62c6 | 1738 | _ACEOF |
10f2d63a VZ |
1739 | |
1740 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
ab9b9eab | 1741 | NEEDS_D_REENTRANT_FOR_R_FUNCS=1 |
10f2d63a VZ |
1742 | ;; |
1743 | *-*-sunos4* ) | |
1744 | USE_SUN=1 | |
1745 | USE_SUNOS=1 | |
1746 | USE_BSD=1 | |
e6cc62c6 | 1747 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1748 | #define __SUN__ 1 |
e6cc62c6 | 1749 | _ACEOF |
10f2d63a | 1750 | |
e6cc62c6 | 1751 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1752 | #define __SUNOS__ 1 |
e6cc62c6 | 1753 | _ACEOF |
10f2d63a | 1754 | |
e6cc62c6 | 1755 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1756 | #define __BSD__ 1 |
e6cc62c6 | 1757 | _ACEOF |
10f2d63a VZ |
1758 | |
1759 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1760 | ;; | |
f6bcfd97 | 1761 | *-*-freebsd*) |
10f2d63a VZ |
1762 | USE_BSD=1 |
1763 | USE_FREEBSD=1 | |
e6cc62c6 | 1764 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1765 | #define __FREEBSD__ 1 |
e6cc62c6 | 1766 | _ACEOF |
10f2d63a | 1767 | |
e6cc62c6 | 1768 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1769 | #define __BSD__ 1 |
e6cc62c6 | 1770 | _ACEOF |
95c8801c VS |
1771 | |
1772 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1773 | ;; | |
1774 | *-*-openbsd*) | |
1775 | USE_BSD=1 | |
1776 | USE_OPENBSD=1 | |
e6cc62c6 | 1777 | cat >>confdefs.h <<\_ACEOF |
2b5f62a0 | 1778 | #define __OPENBSD__ 1 |
e6cc62c6 | 1779 | _ACEOF |
95c8801c | 1780 | |
e6cc62c6 | 1781 | cat >>confdefs.h <<\_ACEOF |
2b5f62a0 | 1782 | #define __BSD__ 1 |
e6cc62c6 | 1783 | _ACEOF |
f6bcfd97 BP |
1784 | |
1785 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1786 | ;; | |
1787 | *-*-netbsd*) | |
1788 | USE_BSD=1 | |
1789 | USE_NETBSD=1 | |
e6cc62c6 | 1790 | cat >>confdefs.h <<\_ACEOF |
2b5f62a0 | 1791 | #define __NETBSD__ 1 |
e6cc62c6 | 1792 | _ACEOF |
f6bcfd97 | 1793 | |
e6cc62c6 | 1794 | cat >>confdefs.h <<\_ACEOF |
2b5f62a0 | 1795 | #define __BSD__ 1 |
e6cc62c6 | 1796 | _ACEOF |
10f2d63a VZ |
1797 | |
1798 | DEFAULT_DEFAULT_wxUSE_GTK=1 | |
1799 | ;; | |
1800 | *-*-osf* ) | |
1801 | USE_ALPHA=1 | |
1802 | USE_OSF=1 | |
e6cc62c6 | 1803 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1804 | #define __ALPHA__ 1 |
e6cc62c6 | 1805 | _ACEOF |
10f2d63a | 1806 | |
e6cc62c6 | 1807 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1808 | #define __OSF__ 1 |
e6cc62c6 | 1809 | _ACEOF |
10f2d63a VZ |
1810 | |
1811 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
f6bcfd97 | 1812 | NEEDS_D_REENTRANT_FOR_R_FUNCS=1 |
10f2d63a VZ |
1813 | ;; |
1814 | *-*-dgux5* ) | |
1815 | USE_ALPHA=1 | |
1816 | USE_SVR4=1 | |
e6cc62c6 | 1817 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1818 | #define __ALPHA__ 1 |
e6cc62c6 | 1819 | _ACEOF |
10f2d63a | 1820 | |
e6cc62c6 | 1821 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1822 | #define __SVR4__ 1 |
e6cc62c6 | 1823 | _ACEOF |
10f2d63a VZ |
1824 | |
1825 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1826 | ;; | |
1827 | *-*-sysv5* ) | |
1828 | USE_SYSV=1 | |
1829 | USE_SVR4=1 | |
e6cc62c6 | 1830 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1831 | #define __SYSV__ 1 |
e6cc62c6 | 1832 | _ACEOF |
10f2d63a | 1833 | |
e6cc62c6 | 1834 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1835 | #define __SVR4__ 1 |
e6cc62c6 | 1836 | _ACEOF |
10f2d63a VZ |
1837 | |
1838 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1839 | ;; | |
1840 | *-*-aix* ) | |
1841 | USE_AIX=1 | |
1842 | USE_SYSV=1 | |
1843 | USE_SVR4=1 | |
2b5f62a0 | 1844 | SO_SUFFIX=a |
e6cc62c6 | 1845 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1846 | #define __AIX__ 1 |
e6cc62c6 | 1847 | _ACEOF |
10f2d63a | 1848 | |
e6cc62c6 | 1849 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1850 | #define __SYSV__ 1 |
e6cc62c6 | 1851 | _ACEOF |
10f2d63a | 1852 | |
e6cc62c6 | 1853 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1854 | #define __SVR4__ 1 |
e6cc62c6 | 1855 | _ACEOF |
10f2d63a VZ |
1856 | |
1857 | DEFAULT_DEFAULT_wxUSE_MOTIF=1 | |
1858 | ;; | |
1859 | ||
89e3b3e4 VZ |
1860 | *-*-*UnixWare*) |
1861 | USE_SYSV=1 | |
1862 | USE_SVR4=1 | |
1863 | USE_UNIXWARE=1 | |
e6cc62c6 | 1864 | cat >>confdefs.h <<\_ACEOF |
89e3b3e4 | 1865 | #define __UNIXWARE__ 1 |
e6cc62c6 | 1866 | _ACEOF |
89e3b3e4 VZ |
1867 | |
1868 | ;; | |
1869 | ||
1c8183e2 | 1870 | *-*-cygwin* | *-*-mingw32* ) |
17234b26 | 1871 | SO_SUFFIX=dll |
cf27ef00 | 1872 | PROGRAM_EXT=".exe" |
7b7a7637 | 1873 | RESCOMP=windres |
10f2d63a VZ |
1874 | DEFAULT_DEFAULT_wxUSE_MSW=1 |
1875 | ;; | |
1876 | ||
f9bc1684 VS |
1877 | *-pc-msdosdjgpp ) |
1878 | USE_UNIX=0 | |
1879 | USE_DOS=1 | |
e6cc62c6 | 1880 | cat >>confdefs.h <<\_ACEOF |
f9bc1684 | 1881 | #define __DOS__ 1 |
e6cc62c6 | 1882 | _ACEOF |
f9bc1684 VS |
1883 | |
1884 | PROGRAM_EXT=".exe" | |
1885 | DEFAULT_DEFAULT_wxUSE_MGL=1 | |
24f5e003 | 1886 | LIBS="$LIBS -lstdc++" |
f9bc1684 VS |
1887 | ;; |
1888 | ||
6fa882bd | 1889 | *-pc-os2_emx | *-pc-os2-emx ) |
e6cc62c6 | 1890 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 1891 | #define __EMX__ 1 |
e6cc62c6 | 1892 | _ACEOF |
10f2d63a | 1893 | |
73d617c9 | 1894 | USE_OS2=1 |
7015ef3a VZ |
1895 | cat >>confdefs.h <<\_ACEOF |
1896 | #define __OS2__ 1 | |
1897 | _ACEOF | |
1898 | ||
cf27ef00 | 1899 | PROGRAM_EXT=".exe" |
e07802fc | 1900 | DEFAULT_DEFAULT_wxUSE_PM=1 |
eb69fda5 | 1901 | CXX=gcc |
73d617c9 | 1902 | LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals" |
d5fc095c VS |
1903 | ac_executable_extensions=".exe" |
1904 | export ac_executable_extensions | |
1905 | ac_save_IFS="$IFS" | |
e46d2a18 | 1906 | IFS='\\' |
d5fc095c VS |
1907 | ac_TEMP_PATH= |
1908 | for ac_dir in $PATH; do | |
1909 | IFS=$ac_save_IFS | |
1910 | if test -z "$ac_TEMP_PATH"; then | |
1911 | ac_TEMP_PATH="$ac_dir" | |
1912 | else | |
1913 | ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir" | |
1914 | fi | |
1915 | done | |
1916 | export PATH="$ac_TEMP_PATH" | |
1917 | unset ac_TEMP_PATH | |
10f2d63a VZ |
1918 | ;; |
1919 | ||
d08b457b GD |
1920 | powerpc-*-darwin* ) |
1921 | USE_BSD=1 | |
f11bdd03 | 1922 | USE_DARWIN=1 |
3a922bb4 | 1923 | SO_SUFFIX=dylib |
e6cc62c6 | 1924 | cat >>confdefs.h <<\_ACEOF |
f11bdd03 | 1925 | #define __BSD__ 1 |
e6cc62c6 | 1926 | _ACEOF |
b4085ce6 | 1927 | |
e6cc62c6 | 1928 | cat >>confdefs.h <<\_ACEOF |
f11bdd03 | 1929 | #define __DARWIN__ 1 |
e6cc62c6 | 1930 | _ACEOF |
d08b457b | 1931 | |
e6cc62c6 | 1932 | cat >>confdefs.h <<\_ACEOF |
d08b457b | 1933 | #define __POWERPC__ 1 |
e6cc62c6 | 1934 | _ACEOF |
82d43113 | 1935 | |
e6cc62c6 | 1936 | cat >>confdefs.h <<\_ACEOF |
82d43113 | 1937 | #define TARGET_CARBON 1 |
e6cc62c6 | 1938 | _ACEOF |
b4085ce6 GD |
1939 | |
1940 | DEFAULT_DEFAULT_wxUSE_MAC=1 | |
1941 | ;; | |
1942 | ||
b12915c1 VZ |
1943 | *-*-beos* ) |
1944 | USE_BEOS=1 | |
e6cc62c6 | 1945 | cat >>confdefs.h <<\_ACEOF |
b12915c1 | 1946 | #define __BEOS__ 1 |
e6cc62c6 | 1947 | _ACEOF |
b12915c1 VZ |
1948 | |
1949 | ;; | |
1950 | ||
10f2d63a | 1951 | *) |
e6cc62c6 VS |
1952 | { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5 |
1953 | echo "$as_me: error: unknown system type ${host}." >&2;} | |
1954 | { (exit 1); exit 1; }; } | |
10f2d63a VZ |
1955 | esac |
1956 | ||
8284b0c5 MB |
1957 | |
1958 | ||
1959 | ||
1960 | wx_arg_cache_file="configarg.cache" | |
1961 | echo "loading argument cache $wx_arg_cache_file" | |
10f2d63a VZ |
1962 | rm -f ${wx_arg_cache_file}.tmp |
1963 | touch ${wx_arg_cache_file}.tmp | |
1964 | touch ${wx_arg_cache_file} | |
e6cc62c6 | 1965 | |
10f2d63a VZ |
1966 | |
1967 | DEBUG_CONFIGURE=0 | |
1968 | if test $DEBUG_CONFIGURE = 1; then | |
1e6feb95 | 1969 | DEFAULT_wxUSE_UNIVERSAL=no |
df5168c4 | 1970 | DEFAULT_wxUSE_STL=no |
1e6feb95 | 1971 | |
d8356fa3 VZ |
1972 | DEFAULT_wxUSE_NANOX=no |
1973 | ||
10f2d63a VZ |
1974 | DEFAULT_wxUSE_THREADS=yes |
1975 | ||
1976 | DEFAULT_wxUSE_SHARED=yes | |
1e6feb95 | 1977 | DEFAULT_wxUSE_OPTIMISE=no |
10f2d63a VZ |
1978 | DEFAULT_wxUSE_PROFILE=no |
1979 | DEFAULT_wxUSE_NO_DEPS=no | |
8f4a9a10 RR |
1980 | DEFAULT_wxUSE_NO_RTTI=no |
1981 | DEFAULT_wxUSE_NO_EXCEPTIONS=no | |
10f2d63a VZ |
1982 | DEFAULT_wxUSE_PERMISSIVE=no |
1983 | DEFAULT_wxUSE_DEBUG_FLAG=yes | |
1984 | DEFAULT_wxUSE_DEBUG_INFO=yes | |
1985 | DEFAULT_wxUSE_DEBUG_GDB=yes | |
1986 | DEFAULT_wxUSE_MEM_TRACING=no | |
1987 | DEFAULT_wxUSE_DEBUG_CONTEXT=no | |
1988 | DEFAULT_wxUSE_DMALLOC=no | |
1989 | DEFAULT_wxUSE_APPLE_IEEE=no | |
1990 | ||
e46d2a18 | 1991 | DEFAULT_wxUSE_EXCEPTIONS=no |
10f2d63a | 1992 | DEFAULT_wxUSE_LOG=yes |
1e6feb95 VZ |
1993 | DEFAULT_wxUSE_LOGWINDOW=no |
1994 | DEFAULT_wxUSE_LOGGUI=no | |
69d27ff7 | 1995 | DEFAULT_wxUSE_LOGDIALOG=no |
10f2d63a VZ |
1996 | |
1997 | DEFAULT_wxUSE_GUI=yes | |
1e6feb95 | 1998 | DEFAULT_wxUSE_CONTROLS=no |
10f2d63a | 1999 | |
3e44f09d | 2000 | DEFAULT_wxUSE_REGEX=no |
672abd7a VS |
2001 | DEFAULT_wxUSE_XML=no |
2002 | DEFAULT_wxUSE_EXPAT=no | |
10f2d63a VZ |
2003 | DEFAULT_wxUSE_ZLIB=no |
2004 | DEFAULT_wxUSE_LIBPNG=no | |
2005 | DEFAULT_wxUSE_LIBJPEG=no | |
c7a2bf27 | 2006 | DEFAULT_wxUSE_LIBTIFF=no |
10f2d63a | 2007 | DEFAULT_wxUSE_ODBC=no |
bdad4e7e | 2008 | DEFAULT_wxUSE_OPENGL=no |
10f2d63a | 2009 | |
eb4efbdc | 2010 | DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no |
4f3c5f06 | 2011 | DEFAULT_wxUSE_SNGLINST_CHECKER=no |
10f2d63a | 2012 | DEFAULT_wxUSE_STD_IOSTREAM=no |
1e6feb95 VZ |
2013 | DEFAULT_wxUSE_CMDLINE_PARSER=no |
2014 | DEFAULT_wxUSE_DATETIME=no | |
1e6feb95 VZ |
2015 | DEFAULT_wxUSE_TIMER=no |
2016 | DEFAULT_wxUSE_STOPWATCH=no | |
10f2d63a | 2017 | DEFAULT_wxUSE_FILE=no |
1e6feb95 | 2018 | DEFAULT_wxUSE_FFILE=no |
a3a584a7 | 2019 | DEFAULT_wxUSE_TEXTBUFFER=no |
10f2d63a | 2020 | DEFAULT_wxUSE_TEXTFILE=no |
10f2d63a VZ |
2021 | DEFAULT_wxUSE_WAVE=no |
2022 | DEFAULT_wxUSE_INTL=no | |
2023 | DEFAULT_wxUSE_CONFIG=no | |
1e6feb95 | 2024 | DEFAULT_wxUSE_FONTMAP=no |
10f2d63a VZ |
2025 | DEFAULT_wxUSE_STREAMS=no |
2026 | DEFAULT_wxUSE_SOCKETS=no | |
3bce6687 JS |
2027 | DEFAULT_wxUSE_OLE=no |
2028 | DEFAULT_wxUSE_DATAOBJ=no | |
10f2d63a | 2029 | DEFAULT_wxUSE_DIALUP_MANAGER=no |
10f2d63a | 2030 | DEFAULT_wxUSE_JOYSTICK=no |
6bff71f8 | 2031 | DEFAULT_wxUSE_DYNLIB_CLASS=no |
0b9ab0bd | 2032 | DEFAULT_wxUSE_DYNAMIC_LOADER=no |
10f2d63a | 2033 | DEFAULT_wxUSE_LONGLONG=no |
e8f65ba6 | 2034 | DEFAULT_wxUSE_GEOMETRY=no |
10f2d63a VZ |
2035 | |
2036 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no | |
2037 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no | |
2038 | DEFAULT_wxUSE_POSTSCRIPT=no | |
2039 | ||
10f2d63a VZ |
2040 | DEFAULT_wxUSE_CLIPBOARD=no |
2041 | DEFAULT_wxUSE_TOOLTIPS=no | |
2042 | DEFAULT_wxUSE_DRAG_AND_DROP=no | |
24fd6d87 | 2043 | DEFAULT_wxUSE_DRAGIMAGE=no |
10f2d63a VZ |
2044 | DEFAULT_wxUSE_SPLINES=no |
2045 | ||
2046 | DEFAULT_wxUSE_MDI_ARCHITECTURE=no | |
2047 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no | |
2048 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no | |
2049 | ||
10f2d63a VZ |
2050 | DEFAULT_wxUSE_RESOURCES=no |
2051 | DEFAULT_wxUSE_CONSTRAINTS=no | |
2052 | DEFAULT_wxUSE_IPC=no | |
2053 | DEFAULT_wxUSE_HELP=no | |
29fd3c0c | 2054 | DEFAULT_wxUSE_MS_HTML_HELP=no |
3379ed37 | 2055 | DEFAULT_wxUSE_WXHTML_HELP=no |
24176f2c | 2056 | DEFAULT_wxUSE_TREELAYOUT=no |
10f2d63a | 2057 | DEFAULT_wxUSE_METAFILE=no |
1e6feb95 | 2058 | DEFAULT_wxUSE_MIMETYPE=no |
4cdb0ab0 VS |
2059 | DEFAULT_wxUSE_SYSTEM_OPTIONS=no |
2060 | DEFAULT_wxUSE_PROTOCOL=no | |
2061 | DEFAULT_wxUSE_PROTOCOL_HTTP=no | |
2062 | DEFAULT_wxUSE_PROTOCOL_FTP=no | |
2063 | DEFAULT_wxUSE_PROTOCOL_FILE=no | |
2064 | DEFAULT_wxUSE_URL=no | |
3bd8fb5f | 2065 | |
10f2d63a | 2066 | DEFAULT_wxUSE_COMMONDLGS=no |
1e6feb95 VZ |
2067 | DEFAULT_wxUSE_CHOICEDLG=no |
2068 | DEFAULT_wxUSE_COLOURDLG=no | |
10f2d63a | 2069 | DEFAULT_wxUSE_DIRDLG=no |
1e6feb95 | 2070 | DEFAULT_wxUSE_FILEDLG=no |
8db37e06 | 2071 | DEFAULT_wxUSE_FINDREPLDLG=no |
1e6feb95 VZ |
2072 | DEFAULT_wxUSE_FONTDLG=no |
2073 | DEFAULT_wxUSE_MSGDLG=no | |
2074 | DEFAULT_wxUSE_NUMBERDLG=no | |
10f2d63a | 2075 | DEFAULT_wxUSE_TEXTDLG=no |
cbca9943 | 2076 | DEFAULT_wxUSE_SPLASH=no |
10f2d63a VZ |
2077 | DEFAULT_wxUSE_STARTUP_TIPS=no |
2078 | DEFAULT_wxUSE_PROGRESSDLG=no | |
b1f5d087 VZ |
2079 | DEFAULT_wxUSE_WIZARDDLG=no |
2080 | ||
1e6feb95 | 2081 | DEFAULT_wxUSE_MENUS=no |
10f2d63a VZ |
2082 | DEFAULT_wxUSE_MINIFRAME=no |
2083 | DEFAULT_wxUSE_HTML=no | |
24528b0c | 2084 | DEFAULT_wxUSE_FILESYSTEM=no |
10f2d63a VZ |
2085 | DEFAULT_wxUSE_FS_INET=no |
2086 | DEFAULT_wxUSE_FS_ZIP=no | |
2087 | DEFAULT_wxUSE_BUSYINFO=no | |
2088 | DEFAULT_wxUSE_ZIPSTREAM=no | |
7015ef3a | 2089 | DEFAULT_wxUSE_GZSTREAM=no |
1e6feb95 | 2090 | DEFAULT_wxUSE_VALIDATORS=no |
10f2d63a VZ |
2091 | |
2092 | DEFAULT_wxUSE_ACCEL=no | |
1e6feb95 | 2093 | DEFAULT_wxUSE_BUTTON=no |
10f2d63a | 2094 | DEFAULT_wxUSE_BMPBUTTON=no |
1e6feb95 VZ |
2095 | DEFAULT_wxUSE_CALCTRL=no |
2096 | DEFAULT_wxUSE_CARET=no | |
10f2d63a VZ |
2097 | DEFAULT_wxUSE_CHECKBOX=no |
2098 | DEFAULT_wxUSE_CHECKLST=no | |
1e6feb95 | 2099 | DEFAULT_wxUSE_CHOICE=no |
10f2d63a | 2100 | DEFAULT_wxUSE_COMBOBOX=no |
da494b40 | 2101 | DEFAULT_wxUSE_DISPLAY=no |
10f2d63a VZ |
2102 | DEFAULT_wxUSE_GAUGE=no |
2103 | DEFAULT_wxUSE_GRID=no | |
10f2d63a | 2104 | DEFAULT_wxUSE_IMAGLIST=no |
0e012a93 | 2105 | DEFAULT_wxUSE_LISTBOOK=no |
10f2d63a VZ |
2106 | DEFAULT_wxUSE_LISTBOX=no |
2107 | DEFAULT_wxUSE_LISTCTRL=no | |
2108 | DEFAULT_wxUSE_NOTEBOOK=no | |
2109 | DEFAULT_wxUSE_RADIOBOX=no | |
2110 | DEFAULT_wxUSE_RADIOBTN=no | |
2111 | DEFAULT_wxUSE_SASH=no | |
2112 | DEFAULT_wxUSE_SCROLLBAR=no | |
2113 | DEFAULT_wxUSE_SLIDER=no | |
2114 | DEFAULT_wxUSE_SPINBTN=no | |
56cfaa52 | 2115 | DEFAULT_wxUSE_SPINCTRL=no |
10f2d63a VZ |
2116 | DEFAULT_wxUSE_SPLITTER=no |
2117 | DEFAULT_wxUSE_STATBMP=no | |
2118 | DEFAULT_wxUSE_STATBOX=no | |
2119 | DEFAULT_wxUSE_STATLINE=no | |
1e6feb95 | 2120 | DEFAULT_wxUSE_STATTEXT=no |
10f2d63a VZ |
2121 | DEFAULT_wxUSE_STATUSBAR=yes |
2122 | DEFAULT_wxUSE_TABDIALOG=no | |
1e6feb95 | 2123 | DEFAULT_wxUSE_TEXTCTRL=no |
1db8dc4a | 2124 | DEFAULT_wxUSE_TOGGLEBTN=no |
10f2d63a | 2125 | DEFAULT_wxUSE_TOOLBAR=no |
360d6699 VZ |
2126 | DEFAULT_wxUSE_TOOLBAR_NATIVE=no |
2127 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=no | |
10f2d63a | 2128 | DEFAULT_wxUSE_TREECTRL=no |
9f41d601 | 2129 | DEFAULT_wxUSE_POPUPWIN=no |
9926e4a4 | 2130 | DEFAULT_wxUSE_TIPWINDOW=no |
10f2d63a VZ |
2131 | |
2132 | DEFAULT_wxUSE_UNICODE=no | |
a72a4bfa | 2133 | DEFAULT_wxUSE_UNICODE_MSLU=no |
10f2d63a VZ |
2134 | DEFAULT_wxUSE_WCSRTOMBS=no |
2135 | ||
edae8572 | 2136 | DEFAULT_wxUSE_PALETTE=no |
0046ff7c | 2137 | DEFAULT_wxUSE_IMAGE=no |
10f2d63a VZ |
2138 | DEFAULT_wxUSE_GIF=no |
2139 | DEFAULT_wxUSE_PCX=no | |
2140 | DEFAULT_wxUSE_PNM=no | |
4b6b4dfc | 2141 | DEFAULT_wxUSE_IFF=no |
0046ff7c | 2142 | DEFAULT_wxUSE_XPM=no |
658974ae | 2143 | DEFAULT_wxUSE_ICO_CUR=no |
7bb2947d | 2144 | DEFAULT_wxUSE_ACCESSIBILITY=no |
9747f85d | 2145 | |
e9e0dc15 | 2146 | DEFAULT_wxUSE_MONOLITHIC=no |
029b47ad | 2147 | DEFAULT_wxUSE_OFFICIAL_BUILD=no |
10f2d63a | 2148 | else |
1e6feb95 | 2149 | DEFAULT_wxUSE_UNIVERSAL=no |
df5168c4 | 2150 | DEFAULT_wxUSE_STL=no |
1e6feb95 | 2151 | |
d8356fa3 VZ |
2152 | DEFAULT_wxUSE_NANOX=no |
2153 | ||
10f2d63a VZ |
2154 | DEFAULT_wxUSE_THREADS=yes |
2155 | ||
2156 | DEFAULT_wxUSE_SHARED=yes | |
2157 | DEFAULT_wxUSE_OPTIMISE=yes | |
2158 | DEFAULT_wxUSE_PROFILE=no | |
2159 | DEFAULT_wxUSE_NO_DEPS=no | |
8f4a9a10 RR |
2160 | DEFAULT_wxUSE_NO_RTTI=no |
2161 | DEFAULT_wxUSE_NO_EXCEPTIONS=no | |
10f2d63a VZ |
2162 | DEFAULT_wxUSE_PERMISSIVE=no |
2163 | DEFAULT_wxUSE_DEBUG_FLAG=no | |
2164 | DEFAULT_wxUSE_DEBUG_INFO=no | |
2165 | DEFAULT_wxUSE_DEBUG_GDB=no | |
2166 | DEFAULT_wxUSE_MEM_TRACING=no | |
2167 | DEFAULT_wxUSE_DEBUG_CONTEXT=no | |
2168 | DEFAULT_wxUSE_DMALLOC=no | |
2169 | DEFAULT_wxUSE_APPLE_IEEE=yes | |
2170 | ||
e46d2a18 | 2171 | DEFAULT_wxUSE_EXCEPTIONS=yes |
10f2d63a | 2172 | DEFAULT_wxUSE_LOG=yes |
d73be714 VZ |
2173 | DEFAULT_wxUSE_LOGWINDOW=yes |
2174 | DEFAULT_wxUSE_LOGGUI=yes | |
69d27ff7 | 2175 | DEFAULT_wxUSE_LOGDIALOG=yes |
10f2d63a VZ |
2176 | |
2177 | DEFAULT_wxUSE_GUI=yes | |
2178 | ||
831b3152 | 2179 | DEFAULT_wxUSE_REGEX=yes |
672abd7a VS |
2180 | DEFAULT_wxUSE_XML=yes |
2181 | DEFAULT_wxUSE_EXPAT=yes | |
10f2d63a VZ |
2182 | DEFAULT_wxUSE_ZLIB=yes |
2183 | DEFAULT_wxUSE_LIBPNG=yes | |
2184 | DEFAULT_wxUSE_LIBJPEG=yes | |
b47c832e | 2185 | DEFAULT_wxUSE_LIBTIFF=yes |
16b52fa1 | 2186 | DEFAULT_wxUSE_ODBC=no |
bdad4e7e | 2187 | DEFAULT_wxUSE_OPENGL=no |
10f2d63a | 2188 | |
eb4efbdc | 2189 | DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes |
4f3c5f06 | 2190 | DEFAULT_wxUSE_SNGLINST_CHECKER=yes |
10f2d63a | 2191 | DEFAULT_wxUSE_STD_IOSTREAM=no |
1e6feb95 VZ |
2192 | DEFAULT_wxUSE_CMDLINE_PARSER=yes |
2193 | DEFAULT_wxUSE_DATETIME=yes | |
1e6feb95 VZ |
2194 | DEFAULT_wxUSE_TIMER=yes |
2195 | DEFAULT_wxUSE_STOPWATCH=yes | |
10f2d63a | 2196 | DEFAULT_wxUSE_FILE=yes |
1e6feb95 | 2197 | DEFAULT_wxUSE_FFILE=yes |
a3a584a7 | 2198 | DEFAULT_wxUSE_TEXTBUFFER=yes |
10f2d63a | 2199 | DEFAULT_wxUSE_TEXTFILE=yes |
10f2d63a VZ |
2200 | DEFAULT_wxUSE_WAVE=no |
2201 | DEFAULT_wxUSE_INTL=yes | |
2202 | DEFAULT_wxUSE_CONFIG=yes | |
1e6feb95 | 2203 | DEFAULT_wxUSE_FONTMAP=yes |
10f2d63a VZ |
2204 | DEFAULT_wxUSE_STREAMS=yes |
2205 | DEFAULT_wxUSE_SOCKETS=yes | |
3bce6687 JS |
2206 | DEFAULT_wxUSE_OLE=yes |
2207 | DEFAULT_wxUSE_DATAOBJ=yes | |
10f2d63a | 2208 | DEFAULT_wxUSE_DIALUP_MANAGER=yes |
10f2d63a | 2209 | DEFAULT_wxUSE_JOYSTICK=yes |
6bff71f8 | 2210 | DEFAULT_wxUSE_DYNLIB_CLASS=yes |
9337b578 | 2211 | DEFAULT_wxUSE_DYNAMIC_LOADER=yes |
b685cd9b | 2212 | DEFAULT_wxUSE_LONGLONG=yes |
e8f65ba6 | 2213 | DEFAULT_wxUSE_GEOMETRY=yes |
10f2d63a VZ |
2214 | |
2215 | DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes | |
2216 | DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes | |
2217 | DEFAULT_wxUSE_POSTSCRIPT=yes | |
2218 | ||
10f2d63a VZ |
2219 | DEFAULT_wxUSE_CLIPBOARD=yes |
2220 | DEFAULT_wxUSE_TOOLTIPS=yes | |
2221 | DEFAULT_wxUSE_DRAG_AND_DROP=yes | |
24fd6d87 | 2222 | DEFAULT_wxUSE_DRAGIMAGE=yes |
10f2d63a VZ |
2223 | DEFAULT_wxUSE_SPLINES=yes |
2224 | ||
2225 | DEFAULT_wxUSE_MDI_ARCHITECTURE=yes | |
2226 | DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes | |
2227 | DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes | |
2228 | ||
2b5f62a0 | 2229 | DEFAULT_wxUSE_RESOURCES=no |
10f2d63a VZ |
2230 | DEFAULT_wxUSE_CONSTRAINTS=yes |
2231 | DEFAULT_wxUSE_IPC=yes | |
2232 | DEFAULT_wxUSE_HELP=yes | |
29fd3c0c | 2233 | DEFAULT_wxUSE_MS_HTML_HELP=yes |
3379ed37 | 2234 | DEFAULT_wxUSE_WXHTML_HELP=yes |
24176f2c | 2235 | DEFAULT_wxUSE_TREELAYOUT=yes |
10f2d63a | 2236 | DEFAULT_wxUSE_METAFILE=yes |
1e6feb95 | 2237 | DEFAULT_wxUSE_MIMETYPE=yes |
3e44f09d | 2238 | DEFAULT_wxUSE_SYSTEM_OPTIONS=yes |
4cdb0ab0 VS |
2239 | DEFAULT_wxUSE_PROTOCOL=yes |
2240 | DEFAULT_wxUSE_PROTOCOL_HTTP=yes | |
2241 | DEFAULT_wxUSE_PROTOCOL_FTP=yes | |
2242 | DEFAULT_wxUSE_PROTOCOL_FILE=yes | |
2243 | DEFAULT_wxUSE_URL=yes | |
10f2d63a VZ |
2244 | |
2245 | DEFAULT_wxUSE_COMMONDLGS=yes | |
1e6feb95 VZ |
2246 | DEFAULT_wxUSE_CHOICEDLG=yes |
2247 | DEFAULT_wxUSE_COLOURDLG=yes | |
10f2d63a | 2248 | DEFAULT_wxUSE_DIRDLG=yes |
1e6feb95 | 2249 | DEFAULT_wxUSE_FILEDLG=yes |
8db37e06 | 2250 | DEFAULT_wxUSE_FINDREPLDLG=yes |
1e6feb95 VZ |
2251 | DEFAULT_wxUSE_FONTDLG=yes |
2252 | DEFAULT_wxUSE_MSGDLG=yes | |
2253 | DEFAULT_wxUSE_NUMBERDLG=yes | |
10f2d63a | 2254 | DEFAULT_wxUSE_TEXTDLG=yes |
cbca9943 | 2255 | DEFAULT_wxUSE_SPLASH=yes |
10f2d63a VZ |
2256 | DEFAULT_wxUSE_STARTUP_TIPS=yes |
2257 | DEFAULT_wxUSE_PROGRESSDLG=yes | |
f33f19dd VZ |
2258 | DEFAULT_wxUSE_WIZARDDLG=yes |
2259 | ||
1e6feb95 | 2260 | DEFAULT_wxUSE_MENUS=yes |
10f2d63a VZ |
2261 | DEFAULT_wxUSE_MINIFRAME=yes |
2262 | DEFAULT_wxUSE_HTML=yes | |
24528b0c | 2263 | DEFAULT_wxUSE_FILESYSTEM=yes |
10f2d63a VZ |
2264 | DEFAULT_wxUSE_FS_INET=yes |
2265 | DEFAULT_wxUSE_FS_ZIP=yes | |
2266 | DEFAULT_wxUSE_BUSYINFO=yes | |
2267 | DEFAULT_wxUSE_ZIPSTREAM=yes | |
7015ef3a | 2268 | DEFAULT_wxUSE_GZSTREAM=yes |
10f2d63a VZ |
2269 | DEFAULT_wxUSE_VALIDATORS=yes |
2270 | ||
2271 | DEFAULT_wxUSE_ACCEL=yes | |
1e6feb95 | 2272 | DEFAULT_wxUSE_BUTTON=yes |
10f2d63a | 2273 | DEFAULT_wxUSE_BMPBUTTON=yes |
1e6feb95 VZ |
2274 | DEFAULT_wxUSE_CALCTRL=yes |
2275 | DEFAULT_wxUSE_CARET=yes | |
10f2d63a VZ |
2276 | DEFAULT_wxUSE_CHECKBOX=yes |
2277 | DEFAULT_wxUSE_CHECKLST=yes | |
2278 | DEFAULT_wxUSE_CHOICE=yes | |
2279 | DEFAULT_wxUSE_COMBOBOX=yes | |
da494b40 | 2280 | DEFAULT_wxUSE_DISPLAY=no |
10f2d63a VZ |
2281 | DEFAULT_wxUSE_GAUGE=yes |
2282 | DEFAULT_wxUSE_GRID=yes | |
10f2d63a | 2283 | DEFAULT_wxUSE_IMAGLIST=yes |
0e012a93 | 2284 | DEFAULT_wxUSE_LISTBOOK=yes |
10f2d63a VZ |
2285 | DEFAULT_wxUSE_LISTBOX=yes |
2286 | DEFAULT_wxUSE_LISTCTRL=yes | |
2287 | DEFAULT_wxUSE_NOTEBOOK=yes | |
2288 | DEFAULT_wxUSE_RADIOBOX=yes | |
2289 | DEFAULT_wxUSE_RADIOBTN=yes | |
2290 | DEFAULT_wxUSE_SASH=yes | |
2291 | DEFAULT_wxUSE_SCROLLBAR=yes | |
2292 | DEFAULT_wxUSE_SLIDER=yes | |
2293 | DEFAULT_wxUSE_SPINBTN=yes | |
56cfaa52 | 2294 | DEFAULT_wxUSE_SPINCTRL=yes |
10f2d63a VZ |
2295 | DEFAULT_wxUSE_SPLITTER=yes |
2296 | DEFAULT_wxUSE_STATBMP=yes | |
2297 | DEFAULT_wxUSE_STATBOX=yes | |
2298 | DEFAULT_wxUSE_STATLINE=yes | |
1e6feb95 | 2299 | DEFAULT_wxUSE_STATTEXT=yes |
10f2d63a VZ |
2300 | DEFAULT_wxUSE_STATUSBAR=yes |
2301 | DEFAULT_wxUSE_TABDIALOG=no | |
1e6feb95 | 2302 | DEFAULT_wxUSE_TEXTCTRL=yes |
1db8dc4a | 2303 | DEFAULT_wxUSE_TOGGLEBTN=yes |
10f2d63a | 2304 | DEFAULT_wxUSE_TOOLBAR=yes |
360d6699 VZ |
2305 | DEFAULT_wxUSE_TOOLBAR_NATIVE=yes |
2306 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes | |
10f2d63a | 2307 | DEFAULT_wxUSE_TREECTRL=yes |
9f41d601 | 2308 | DEFAULT_wxUSE_POPUPWIN=yes |
9926e4a4 | 2309 | DEFAULT_wxUSE_TIPWINDOW=yes |
10f2d63a VZ |
2310 | |
2311 | DEFAULT_wxUSE_UNICODE=no | |
a72a4bfa | 2312 | DEFAULT_wxUSE_UNICODE_MSLU=yes |
10f2d63a VZ |
2313 | DEFAULT_wxUSE_WCSRTOMBS=no |
2314 | ||
edae8572 | 2315 | DEFAULT_wxUSE_PALETTE=yes |
0046ff7c | 2316 | DEFAULT_wxUSE_IMAGE=yes |
10f2d63a VZ |
2317 | DEFAULT_wxUSE_GIF=yes |
2318 | DEFAULT_wxUSE_PCX=yes | |
cc0e8480 | 2319 | DEFAULT_wxUSE_IFF=no |
10f2d63a | 2320 | DEFAULT_wxUSE_PNM=yes |
0046ff7c | 2321 | DEFAULT_wxUSE_XPM=yes |
658974ae | 2322 | DEFAULT_wxUSE_ICO_CUR=yes |
7bb2947d | 2323 | DEFAULT_wxUSE_ACCESSIBILITY=no |
9747f85d | 2324 | |
e9e0dc15 | 2325 | DEFAULT_wxUSE_MONOLITHIC=no |
029b47ad | 2326 | DEFAULT_wxUSE_OFFICIAL_BUILD=no |
10f2d63a VZ |
2327 | fi |
2328 | ||
8284b0c5 MB |
2329 | |
2330 | ||
10f2d63a | 2331 | for toolkit in `echo $ALL_TOOLKITS`; do |
d74f4b5a VZ |
2332 | LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}` |
2333 | if test "x$LINE" != "x" ; then | |
10f2d63a VZ |
2334 | has_toolkit_in_cache=1 |
2335 | eval "DEFAULT_$LINE" | |
2336 | eval "CACHE_$toolkit=1" | |
2337 | fi | |
2338 | done | |
2339 | ||
8284b0c5 MB |
2340 | |
2341 | ||
5005acfe | 2342 | enablestring= |
e6cc62c6 VS |
2343 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5 |
2344 | echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6 | |
10f2d63a VZ |
2345 | no_cache=0 |
2346 | # Check whether --enable-gui or --disable-gui was given. | |
2347 | if test "${enable_gui+set}" = set; then | |
2348 | enableval="$enable_gui" | |
e6cc62c6 | 2349 | |
10f2d63a VZ |
2350 | if test "$enableval" = yes; then |
2351 | ac_cv_use_gui='wxUSE_GUI=yes' | |
2352 | else | |
2353 | ac_cv_use_gui='wxUSE_GUI=no' | |
2354 | fi | |
e6cc62c6 | 2355 | |
10f2d63a | 2356 | else |
e6cc62c6 | 2357 | |
10f2d63a VZ |
2358 | LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}` |
2359 | if test "x$LINE" != x ; then | |
2360 | eval "DEFAULT_$LINE" | |
2361 | else | |
2362 | no_cache=1 | |
2363 | fi | |
2364 | ||
2365 | ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI | |
10f2d63a | 2366 | |
e6cc62c6 | 2367 | fi; |
10f2d63a VZ |
2368 | |
2369 | eval "$ac_cv_use_gui" | |
2370 | if test "$no_cache" != 1; then | |
2371 | echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp | |
2372 | fi | |
2373 | ||
2374 | if test "$wxUSE_GUI" = yes; then | |
e6cc62c6 VS |
2375 | echo "$as_me:$LINENO: result: yes" >&5 |
2376 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 2377 | else |
e6cc62c6 VS |
2378 | echo "$as_me:$LINENO: result: no" >&5 |
2379 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 2380 | fi |
e6cc62c6 | 2381 | |
10f2d63a | 2382 | |
9747f85d VS |
2383 | enablestring= |
2384 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5 | |
2385 | echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6 | |
2386 | no_cache=0 | |
2387 | # Check whether --enable-monolithic or --disable-monolithic was given. | |
2388 | if test "${enable_monolithic+set}" = set; then | |
2389 | enableval="$enable_monolithic" | |
2390 | ||
2391 | if test "$enableval" = yes; then | |
2392 | ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes' | |
2393 | else | |
2394 | ac_cv_use_monolithic='wxUSE_MONOLITHIC=no' | |
2395 | fi | |
2396 | ||
2397 | else | |
2398 | ||
2399 | LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}` | |
2400 | if test "x$LINE" != x ; then | |
2401 | eval "DEFAULT_$LINE" | |
2402 | else | |
2403 | no_cache=1 | |
2404 | fi | |
2405 | ||
2406 | ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC | |
2407 | ||
2408 | fi; | |
2409 | ||
2410 | eval "$ac_cv_use_monolithic" | |
2411 | if test "$no_cache" != 1; then | |
2412 | echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp | |
2413 | fi | |
2414 | ||
2415 | if test "$wxUSE_MONOLITHIC" = yes; then | |
2416 | echo "$as_me:$LINENO: result: yes" >&5 | |
2417 | echo "${ECHO_T}yes" >&6 | |
2418 | else | |
2419 | echo "$as_me:$LINENO: result: no" >&5 | |
2420 | echo "${ECHO_T}no" >&6 | |
2421 | fi | |
2422 | ||
2423 | ||
b12915c1 | 2424 | if test "$wxUSE_GUI" = "yes"; then |
10f2d63a | 2425 | |
8284b0c5 | 2426 | |
5005acfe | 2427 | enablestring= |
e6cc62c6 VS |
2428 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5 |
2429 | echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6 | |
1e6feb95 VZ |
2430 | no_cache=0 |
2431 | # Check whether --enable-universal or --disable-universal was given. | |
2432 | if test "${enable_universal+set}" = set; then | |
2433 | enableval="$enable_universal" | |
e6cc62c6 | 2434 | |
1e6feb95 VZ |
2435 | if test "$enableval" = yes; then |
2436 | ac_cv_use_universal='wxUSE_UNIVERSAL=yes' | |
2437 | else | |
2438 | ac_cv_use_universal='wxUSE_UNIVERSAL=no' | |
2439 | fi | |
e6cc62c6 | 2440 | |
1e6feb95 | 2441 | else |
e6cc62c6 | 2442 | |
1e6feb95 VZ |
2443 | LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}` |
2444 | if test "x$LINE" != x ; then | |
2445 | eval "DEFAULT_$LINE" | |
2446 | else | |
2447 | no_cache=1 | |
2448 | fi | |
2449 | ||
2450 | ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL | |
1e6feb95 | 2451 | |
e6cc62c6 | 2452 | fi; |
1e6feb95 VZ |
2453 | |
2454 | eval "$ac_cv_use_universal" | |
2455 | if test "$no_cache" != 1; then | |
2456 | echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp | |
2457 | fi | |
2458 | ||
2459 | if test "$wxUSE_UNIVERSAL" = yes; then | |
e6cc62c6 VS |
2460 | echo "$as_me:$LINENO: result: yes" >&5 |
2461 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 2462 | else |
e6cc62c6 VS |
2463 | echo "$as_me:$LINENO: result: no" >&5 |
2464 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 2465 | fi |
e6cc62c6 VS |
2466 | |
2467 | ||
10f2d63a VZ |
2468 | # Check whether --with-gtk or --without-gtk was given. |
2469 | if test "${with_gtk+set}" = set; then | |
2470 | withval="$with_gtk" | |
2471 | wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1 | |
e6cc62c6 | 2472 | fi; |
10f2d63a VZ |
2473 | |
2474 | # Check whether --with-motif or --without-motif was given. | |
2475 | if test "${with_motif+set}" = set; then | |
2476 | withval="$with_motif" | |
2477 | wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1 | |
e6cc62c6 | 2478 | fi; |
10f2d63a | 2479 | |
b4085ce6 GD |
2480 | # Check whether --with-mac or --without-mac was given. |
2481 | if test "${with_mac+set}" = set; then | |
2482 | withval="$with_mac" | |
2483 | wxUSE_MAC="$withval" TOOLKIT_GIVEN=1 | |
e6cc62c6 | 2484 | fi; |
b4085ce6 | 2485 | |
ac0c4cc3 DE |
2486 | # Check whether --with-cocoa or --without-cocoa was given. |
2487 | if test "${with_cocoa+set}" = set; then | |
2488 | withval="$with_cocoa" | |
2489 | wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1 | |
e6cc62c6 | 2490 | fi; |
ac0c4cc3 | 2491 | |
10f2d63a VZ |
2492 | # Check whether --with-wine or --without-wine was given. |
2493 | if test "${with_wine+set}" = set; then | |
2494 | withval="$with_wine" | |
89e6bf6d | 2495 | wxUSE_WINE="$withval" CACHE_WINE=1 |
e6cc62c6 | 2496 | fi; |
10f2d63a | 2497 | |
77e13408 RL |
2498 | # Check whether --with-msw or --without-msw was given. |
2499 | if test "${with_msw+set}" = set; then | |
2500 | withval="$with_msw" | |
b4efce5e | 2501 | wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1 |
e6cc62c6 | 2502 | fi; |
10f2d63a | 2503 | |
e07802fc VZ |
2504 | # Check whether --with-pm or --without-pm was given. |
2505 | if test "${with_pm+set}" = set; then | |
2506 | withval="$with_pm" | |
2507 | wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1 | |
e6cc62c6 | 2508 | fi; |
698dcdb6 | 2509 | |
1e6feb95 VZ |
2510 | # Check whether --with-mgl or --without-mgl was given. |
2511 | if test "${with_mgl+set}" = set; then | |
2512 | withval="$with_mgl" | |
6c657b52 | 2513 | wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1 |
e6cc62c6 | 2514 | fi; |
1e6feb95 | 2515 | |
1725144d RR |
2516 | # Check whether --with-microwin or --without-microwin was given. |
2517 | if test "${with_microwin+set}" = set; then | |
2518 | withval="$with_microwin" | |
2519 | wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1 | |
e6cc62c6 | 2520 | fi; |
1725144d | 2521 | |
f79bd02d JS |
2522 | # Check whether --with-x11 or --without-x11 was given. |
2523 | if test "${with_x11+set}" = set; then | |
2524 | withval="$with_x11" | |
3c011993 | 2525 | wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1 |
e6cc62c6 | 2526 | fi; |
a0b9e27f | 2527 | |
5005acfe | 2528 | enablestring= |
e6cc62c6 VS |
2529 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5 |
2530 | echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6 | |
d8356fa3 | 2531 | no_cache=0 |
ba875e66 VZ |
2532 | # Check whether --enable-nanox or --disable-nanox was given. |
2533 | if test "${enable_nanox+set}" = set; then | |
2534 | enableval="$enable_nanox" | |
e6cc62c6 | 2535 | |
d8356fa3 | 2536 | if test "$enableval" = yes; then |
ba875e66 | 2537 | ac_cv_use_nanox='wxUSE_NANOX=yes' |
d8356fa3 | 2538 | else |
ba875e66 | 2539 | ac_cv_use_nanox='wxUSE_NANOX=no' |
d8356fa3 | 2540 | fi |
e6cc62c6 | 2541 | |
d8356fa3 | 2542 | else |
e6cc62c6 | 2543 | |
d8356fa3 VZ |
2544 | LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}` |
2545 | if test "x$LINE" != x ; then | |
2546 | eval "DEFAULT_$LINE" | |
2547 | else | |
2548 | no_cache=1 | |
2549 | fi | |
2550 | ||
ba875e66 | 2551 | ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX |
d8356fa3 | 2552 | |
e6cc62c6 | 2553 | fi; |
d8356fa3 | 2554 | |
ba875e66 | 2555 | eval "$ac_cv_use_nanox" |
d8356fa3 | 2556 | if test "$no_cache" != 1; then |
ba875e66 | 2557 | echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp |
d8356fa3 VZ |
2558 | fi |
2559 | ||
2560 | if test "$wxUSE_NANOX" = yes; then | |
e6cc62c6 VS |
2561 | echo "$as_me:$LINENO: result: yes" >&5 |
2562 | echo "${ECHO_T}yes" >&6 | |
d8356fa3 | 2563 | else |
e6cc62c6 VS |
2564 | echo "$as_me:$LINENO: result: no" >&5 |
2565 | echo "${ECHO_T}no" >&6 | |
d8356fa3 | 2566 | fi |
e6cc62c6 | 2567 | |
8284b0c5 | 2568 | |
d74f4b5a | 2569 | |
5005acfe | 2570 | enablestring= |
e6cc62c6 VS |
2571 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5 |
2572 | echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6 | |
d74f4b5a VZ |
2573 | no_cache=0 |
2574 | # Check whether --enable-gtk2 or --disable-gtk2 was given. | |
8168de4c VZ |
2575 | if test "${enable_gtk2+set}" = set; then |
2576 | enableval="$enable_gtk2" | |
e6cc62c6 | 2577 | |
d74f4b5a VZ |
2578 | if test "$enableval" = yes; then |
2579 | ac_cv_use_gtk2='wxUSE_GTK2=yes' | |
2580 | else | |
2581 | ac_cv_use_gtk2='wxUSE_GTK2=no' | |
2582 | fi | |
e6cc62c6 | 2583 | |
10f2d63a | 2584 | else |
e6cc62c6 | 2585 | |
d74f4b5a VZ |
2586 | LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}` |
2587 | if test "x$LINE" != x ; then | |
2588 | eval "DEFAULT_$LINE" | |
2589 | else | |
2590 | no_cache=1 | |
2591 | fi | |
2592 | ||
2593 | ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2 | |
52127426 | 2594 | |
e6cc62c6 | 2595 | fi; |
328a083c | 2596 | |
d74f4b5a VZ |
2597 | eval "$ac_cv_use_gtk2" |
2598 | if test "$no_cache" != 1; then | |
2599 | echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp | |
2600 | fi | |
2601 | ||
2602 | if test "$wxUSE_GTK2" = yes; then | |
e6cc62c6 VS |
2603 | echo "$as_me:$LINENO: result: yes" >&5 |
2604 | echo "${ECHO_T}yes" >&6 | |
d74f4b5a | 2605 | else |
e6cc62c6 VS |
2606 | echo "$as_me:$LINENO: result: no" >&5 |
2607 | echo "${ECHO_T}no" >&6 | |
d74f4b5a | 2608 | fi |
d74f4b5a | 2609 | |
5c6fa7d2 | 2610 | |
e6cc62c6 VS |
2611 | |
2612 | echo "$as_me:$LINENO: checking for --with-libpng" >&5 | |
2613 | echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6 | |
8284b0c5 | 2614 | no_cache=0 |
e6cc62c6 VS |
2615 | |
2616 | # Check whether --with-libpng or --without-libpng was given. | |
b12915c1 VZ |
2617 | if test "${with_libpng+set}" = set; then |
2618 | withval="$with_libpng" | |
e6cc62c6 | 2619 | |
10f2d63a | 2620 | if test "$withval" = yes; then |
b12915c1 | 2621 | ac_cv_use_libpng='wxUSE_LIBPNG=yes' |
422107f9 | 2622 | elif test "$withval" = no; then |
b12915c1 | 2623 | ac_cv_use_libpng='wxUSE_LIBPNG=no' |
422107f9 VZ |
2624 | elif test "$withval" = sys; then |
2625 | ac_cv_use_libpng='wxUSE_LIBPNG=sys' | |
4f14bcd8 GD |
2626 | elif test "$withval" = builtin; then |
2627 | ac_cv_use_libpng='wxUSE_LIBPNG=builtin' | |
422107f9 | 2628 | else |
e6cc62c6 VS |
2629 | { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5 |
2630 | echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;} | |
2631 | { (exit 1); exit 1; }; } | |
10f2d63a | 2632 | fi |
e6cc62c6 | 2633 | |
10f2d63a | 2634 | else |
e6cc62c6 | 2635 | |
b12915c1 | 2636 | LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}` |
10f2d63a VZ |
2637 | if test "x$LINE" != x ; then |
2638 | eval "DEFAULT_$LINE" | |
2639 | else | |
2640 | no_cache=1 | |
2641 | fi | |
2642 | ||
b12915c1 | 2643 | ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG |
10f2d63a | 2644 | |
e6cc62c6 | 2645 | fi; |
10f2d63a | 2646 | |
b12915c1 | 2647 | eval "$ac_cv_use_libpng" |
10f2d63a | 2648 | if test "$no_cache" != 1; then |
b12915c1 | 2649 | echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
2650 | fi |
2651 | ||
b12915c1 | 2652 | if test "$wxUSE_LIBPNG" = yes; then |
e6cc62c6 VS |
2653 | echo "$as_me:$LINENO: result: yes" >&5 |
2654 | echo "${ECHO_T}yes" >&6 | |
422107f9 | 2655 | elif test "$wxUSE_LIBPNG" = no; then |
e6cc62c6 VS |
2656 | echo "$as_me:$LINENO: result: no" >&5 |
2657 | echo "${ECHO_T}no" >&6 | |
422107f9 | 2658 | elif test "$wxUSE_LIBPNG" = sys; then |
e6cc62c6 VS |
2659 | echo "$as_me:$LINENO: result: system version" >&5 |
2660 | echo "${ECHO_T}system version" >&6 | |
4f14bcd8 | 2661 | elif test "$wxUSE_LIBPNG" = builtin; then |
e6cc62c6 VS |
2662 | echo "$as_me:$LINENO: result: builtin version" >&5 |
2663 | echo "${ECHO_T}builtin version" >&6 | |
422107f9 | 2664 | else |
e6cc62c6 VS |
2665 | { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5 |
2666 | echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;} | |
2667 | { (exit 1); exit 1; }; } | |
10f2d63a | 2668 | fi |
10f2d63a | 2669 | |
e6cc62c6 VS |
2670 | |
2671 | echo "$as_me:$LINENO: checking for --with-libjpeg" >&5 | |
2672 | echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6 | |
10f2d63a | 2673 | no_cache=0 |
e6cc62c6 VS |
2674 | |
2675 | # Check whether --with-libjpeg or --without-libjpeg was given. | |
b12915c1 VZ |
2676 | if test "${with_libjpeg+set}" = set; then |
2677 | withval="$with_libjpeg" | |
e6cc62c6 | 2678 | |
10f2d63a | 2679 | if test "$withval" = yes; then |
b12915c1 | 2680 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes' |
422107f9 | 2681 | elif test "$withval" = no; then |
b12915c1 | 2682 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=no' |
422107f9 VZ |
2683 | elif test "$withval" = sys; then |
2684 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys' | |
4f14bcd8 GD |
2685 | elif test "$withval" = builtin; then |
2686 | ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin' | |
422107f9 | 2687 | else |
e6cc62c6 VS |
2688 | { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5 |
2689 | echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;} | |
2690 | { (exit 1); exit 1; }; } | |
10f2d63a | 2691 | fi |
e6cc62c6 | 2692 | |
10f2d63a | 2693 | else |
e6cc62c6 | 2694 | |
b12915c1 | 2695 | LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}` |
10f2d63a VZ |
2696 | if test "x$LINE" != x ; then |
2697 | eval "DEFAULT_$LINE" | |
2698 | else | |
2699 | no_cache=1 | |
2700 | fi | |
2701 | ||
b12915c1 | 2702 | ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG |
10f2d63a | 2703 | |
e6cc62c6 | 2704 | fi; |
10f2d63a | 2705 | |
b12915c1 | 2706 | eval "$ac_cv_use_libjpeg" |
10f2d63a | 2707 | if test "$no_cache" != 1; then |
b12915c1 | 2708 | echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
2709 | fi |
2710 | ||
b12915c1 | 2711 | if test "$wxUSE_LIBJPEG" = yes; then |
e6cc62c6 VS |
2712 | echo "$as_me:$LINENO: result: yes" >&5 |
2713 | echo "${ECHO_T}yes" >&6 | |
422107f9 | 2714 | elif test "$wxUSE_LIBJPEG" = no; then |
e6cc62c6 VS |
2715 | echo "$as_me:$LINENO: result: no" >&5 |
2716 | echo "${ECHO_T}no" >&6 | |
422107f9 | 2717 | elif test "$wxUSE_LIBJPEG" = sys; then |
e6cc62c6 VS |
2718 | echo "$as_me:$LINENO: result: system version" >&5 |
2719 | echo "${ECHO_T}system version" >&6 | |
4f14bcd8 | 2720 | elif test "$wxUSE_LIBJPEG" = builtin; then |
e6cc62c6 VS |
2721 | echo "$as_me:$LINENO: result: builtin version" >&5 |
2722 | echo "${ECHO_T}builtin version" >&6 | |
422107f9 | 2723 | else |
e6cc62c6 VS |
2724 | { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5 |
2725 | echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;} | |
2726 | { (exit 1); exit 1; }; } | |
10f2d63a | 2727 | fi |
10f2d63a | 2728 | |
e6cc62c6 VS |
2729 | |
2730 | echo "$as_me:$LINENO: checking for --with-libtiff" >&5 | |
2731 | echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6 | |
10f2d63a | 2732 | no_cache=0 |
e6cc62c6 VS |
2733 | |
2734 | # Check whether --with-libtiff or --without-libtiff was given. | |
b12915c1 VZ |
2735 | if test "${with_libtiff+set}" = set; then |
2736 | withval="$with_libtiff" | |
e6cc62c6 | 2737 | |
10f2d63a | 2738 | if test "$withval" = yes; then |
b12915c1 | 2739 | ac_cv_use_libtiff='wxUSE_LIBTIFF=yes' |
0dcf9893 | 2740 | elif test "$withval" = no; then |
b12915c1 | 2741 | ac_cv_use_libtiff='wxUSE_LIBTIFF=no' |
0dcf9893 VZ |
2742 | elif test "$withval" = sys; then |
2743 | ac_cv_use_libtiff='wxUSE_LIBTIFF=sys' | |
4f14bcd8 GD |
2744 | elif test "$withval" = builtin; then |
2745 | ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin' | |
0dcf9893 | 2746 | else |
e6cc62c6 VS |
2747 | { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5 |
2748 | echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;} | |
2749 | { (exit 1); exit 1; }; } | |
10f2d63a | 2750 | fi |
e6cc62c6 | 2751 | |
10f2d63a | 2752 | else |
e6cc62c6 | 2753 | |
b12915c1 | 2754 | LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}` |
10f2d63a VZ |
2755 | if test "x$LINE" != x ; then |
2756 | eval "DEFAULT_$LINE" | |
2757 | else | |
2758 | no_cache=1 | |
2759 | fi | |
2760 | ||
b12915c1 | 2761 | ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF |
10f2d63a | 2762 | |
e6cc62c6 | 2763 | fi; |
10f2d63a | 2764 | |
b12915c1 | 2765 | eval "$ac_cv_use_libtiff" |
10f2d63a | 2766 | if test "$no_cache" != 1; then |
b12915c1 | 2767 | echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
2768 | fi |
2769 | ||
b12915c1 | 2770 | if test "$wxUSE_LIBTIFF" = yes; then |
e6cc62c6 VS |
2771 | echo "$as_me:$LINENO: result: yes" >&5 |
2772 | echo "${ECHO_T}yes" >&6 | |
0dcf9893 | 2773 | elif test "$wxUSE_LIBTIFF" = no; then |
e6cc62c6 VS |
2774 | echo "$as_me:$LINENO: result: no" >&5 |
2775 | echo "${ECHO_T}no" >&6 | |
0dcf9893 | 2776 | elif test "$wxUSE_LIBTIFF" = sys; then |
e6cc62c6 VS |
2777 | echo "$as_me:$LINENO: result: system version" >&5 |
2778 | echo "${ECHO_T}system version" >&6 | |
4f14bcd8 | 2779 | elif test "$wxUSE_LIBTIFF" = builtin; then |
e6cc62c6 VS |
2780 | echo "$as_me:$LINENO: result: builtin version" >&5 |
2781 | echo "${ECHO_T}builtin version" >&6 | |
0dcf9893 | 2782 | else |
e6cc62c6 VS |
2783 | { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5 |
2784 | echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;} | |
2785 | { (exit 1); exit 1; }; } | |
10f2d63a | 2786 | fi |
10f2d63a | 2787 | |
e6cc62c6 VS |
2788 | |
2789 | echo "$as_me:$LINENO: checking for --with-opengl" >&5 | |
2790 | echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6 | |
10f2d63a | 2791 | no_cache=0 |
e6cc62c6 VS |
2792 | |
2793 | # Check whether --with-opengl or --without-opengl was given. | |
b12915c1 VZ |
2794 | if test "${with_opengl+set}" = set; then |
2795 | withval="$with_opengl" | |
e6cc62c6 | 2796 | |
10f2d63a | 2797 | if test "$withval" = yes; then |
b12915c1 | 2798 | ac_cv_use_opengl='wxUSE_OPENGL=yes' |
10f2d63a | 2799 | else |
b12915c1 | 2800 | ac_cv_use_opengl='wxUSE_OPENGL=no' |
10f2d63a | 2801 | fi |
e6cc62c6 | 2802 | |
10f2d63a | 2803 | else |
e6cc62c6 | 2804 | |
b12915c1 | 2805 | LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}` |
10f2d63a VZ |
2806 | if test "x$LINE" != x ; then |
2807 | eval "DEFAULT_$LINE" | |
2808 | else | |
2809 | no_cache=1 | |
2810 | fi | |
2811 | ||
b12915c1 | 2812 | ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL |
10f2d63a | 2813 | |
e6cc62c6 | 2814 | fi; |
10f2d63a | 2815 | |
b12915c1 | 2816 | eval "$ac_cv_use_opengl" |
10f2d63a | 2817 | if test "$no_cache" != 1; then |
b12915c1 | 2818 | echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
2819 | fi |
2820 | ||
b12915c1 | 2821 | if test "$wxUSE_OPENGL" = yes; then |
e6cc62c6 VS |
2822 | echo "$as_me:$LINENO: result: yes" >&5 |
2823 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 2824 | else |
e6cc62c6 VS |
2825 | echo "$as_me:$LINENO: result: no" >&5 |
2826 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 2827 | fi |
e6cc62c6 | 2828 | |
10f2d63a | 2829 | |
b12915c1 VZ |
2830 | fi |
2831 | ||
5c6fa7d2 | 2832 | |
e6cc62c6 VS |
2833 | echo "$as_me:$LINENO: checking for --with-dmalloc" >&5 |
2834 | echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6 | |
8284b0c5 | 2835 | no_cache=0 |
e6cc62c6 VS |
2836 | |
2837 | # Check whether --with-dmalloc or --without-dmalloc was given. | |
b12915c1 VZ |
2838 | if test "${with_dmalloc+set}" = set; then |
2839 | withval="$with_dmalloc" | |
e6cc62c6 | 2840 | |
c7a2bf27 | 2841 | if test "$withval" = yes; then |
b12915c1 | 2842 | ac_cv_use_dmalloc='wxUSE_DMALLOC=yes' |
c7a2bf27 | 2843 | else |
b12915c1 | 2844 | ac_cv_use_dmalloc='wxUSE_DMALLOC=no' |
c7a2bf27 | 2845 | fi |
e6cc62c6 | 2846 | |
c7a2bf27 | 2847 | else |
e6cc62c6 | 2848 | |
b12915c1 | 2849 | LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}` |
c7a2bf27 RR |
2850 | if test "x$LINE" != x ; then |
2851 | eval "DEFAULT_$LINE" | |
2852 | else | |
2853 | no_cache=1 | |
2854 | fi | |
2855 | ||
b12915c1 | 2856 | ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC |
c7a2bf27 | 2857 | |
e6cc62c6 | 2858 | fi; |
c7a2bf27 | 2859 | |
b12915c1 | 2860 | eval "$ac_cv_use_dmalloc" |
c7a2bf27 | 2861 | if test "$no_cache" != 1; then |
b12915c1 | 2862 | echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp |
c7a2bf27 RR |
2863 | fi |
2864 | ||
b12915c1 | 2865 | if test "$wxUSE_DMALLOC" = yes; then |
e6cc62c6 VS |
2866 | echo "$as_me:$LINENO: result: yes" >&5 |
2867 | echo "${ECHO_T}yes" >&6 | |
c7a2bf27 | 2868 | else |
e6cc62c6 VS |
2869 | echo "$as_me:$LINENO: result: no" >&5 |
2870 | echo "${ECHO_T}no" >&6 | |
c7a2bf27 | 2871 | fi |
c7a2bf27 | 2872 | |
e6cc62c6 VS |
2873 | |
2874 | echo "$as_me:$LINENO: checking for --with-regex" >&5 | |
2875 | echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6 | |
3e44f09d | 2876 | no_cache=0 |
e6cc62c6 VS |
2877 | |
2878 | # Check whether --with-regex or --without-regex was given. | |
3e44f09d VZ |
2879 | if test "${with_regex+set}" = set; then |
2880 | withval="$with_regex" | |
e6cc62c6 | 2881 | |
3e44f09d VZ |
2882 | if test "$withval" = yes; then |
2883 | ac_cv_use_regex='wxUSE_REGEX=yes' | |
2884 | elif test "$withval" = no; then | |
2885 | ac_cv_use_regex='wxUSE_REGEX=no' | |
2886 | elif test "$withval" = sys; then | |
2887 | ac_cv_use_regex='wxUSE_REGEX=sys' | |
4f14bcd8 GD |
2888 | elif test "$withval" = builtin; then |
2889 | ac_cv_use_regex='wxUSE_REGEX=builtin' | |
3e44f09d | 2890 | else |
e6cc62c6 VS |
2891 | { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5 |
2892 | echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;} | |
2893 | { (exit 1); exit 1; }; } | |
3e44f09d | 2894 | fi |
e6cc62c6 | 2895 | |
3e44f09d | 2896 | else |
e6cc62c6 | 2897 | |
3e44f09d VZ |
2898 | LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}` |
2899 | if test "x$LINE" != x ; then | |
2900 | eval "DEFAULT_$LINE" | |
2901 | else | |
2902 | no_cache=1 | |
2903 | fi | |
2904 | ||
2905 | ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX | |
3e44f09d | 2906 | |
e6cc62c6 | 2907 | fi; |
3e44f09d VZ |
2908 | |
2909 | eval "$ac_cv_use_regex" | |
2910 | if test "$no_cache" != 1; then | |
2911 | echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp | |
2912 | fi | |
2913 | ||
2914 | if test "$wxUSE_REGEX" = yes; then | |
e6cc62c6 VS |
2915 | echo "$as_me:$LINENO: result: yes" >&5 |
2916 | echo "${ECHO_T}yes" >&6 | |
3e44f09d | 2917 | elif test "$wxUSE_REGEX" = no; then |
e6cc62c6 VS |
2918 | echo "$as_me:$LINENO: result: no" >&5 |
2919 | echo "${ECHO_T}no" >&6 | |
3e44f09d | 2920 | elif test "$wxUSE_REGEX" = sys; then |
e6cc62c6 VS |
2921 | echo "$as_me:$LINENO: result: system version" >&5 |
2922 | echo "${ECHO_T}system version" >&6 | |
4f14bcd8 | 2923 | elif test "$wxUSE_REGEX" = builtin; then |
e6cc62c6 VS |
2924 | echo "$as_me:$LINENO: result: builtin version" >&5 |
2925 | echo "${ECHO_T}builtin version" >&6 | |
3e44f09d | 2926 | else |
e6cc62c6 VS |
2927 | { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5 |
2928 | echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;} | |
2929 | { (exit 1); exit 1; }; } | |
3e44f09d | 2930 | fi |
3e44f09d | 2931 | |
e6cc62c6 VS |
2932 | |
2933 | echo "$as_me:$LINENO: checking for --with-zlib" >&5 | |
2934 | echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6 | |
10f2d63a | 2935 | no_cache=0 |
e6cc62c6 VS |
2936 | |
2937 | # Check whether --with-zlib or --without-zlib was given. | |
b12915c1 VZ |
2938 | if test "${with_zlib+set}" = set; then |
2939 | withval="$with_zlib" | |
e6cc62c6 | 2940 | |
10f2d63a | 2941 | if test "$withval" = yes; then |
b12915c1 | 2942 | ac_cv_use_zlib='wxUSE_ZLIB=yes' |
422107f9 | 2943 | elif test "$withval" = no; then |
b12915c1 | 2944 | ac_cv_use_zlib='wxUSE_ZLIB=no' |
422107f9 VZ |
2945 | elif test "$withval" = sys; then |
2946 | ac_cv_use_zlib='wxUSE_ZLIB=sys' | |
4f14bcd8 GD |
2947 | elif test "$withval" = builtin; then |
2948 | ac_cv_use_zlib='wxUSE_ZLIB=builtin' | |
422107f9 | 2949 | else |
e6cc62c6 VS |
2950 | { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5 |
2951 | echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;} | |
2952 | { (exit 1); exit 1; }; } | |
10f2d63a | 2953 | fi |
e6cc62c6 | 2954 | |
10f2d63a | 2955 | else |
e6cc62c6 | 2956 | |
b12915c1 | 2957 | LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}` |
10f2d63a VZ |
2958 | if test "x$LINE" != x ; then |
2959 | eval "DEFAULT_$LINE" | |
2960 | else | |
2961 | no_cache=1 | |
2962 | fi | |
2963 | ||
b12915c1 | 2964 | ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB |
10f2d63a | 2965 | |
e6cc62c6 | 2966 | fi; |
10f2d63a | 2967 | |
b12915c1 | 2968 | eval "$ac_cv_use_zlib" |
10f2d63a | 2969 | if test "$no_cache" != 1; then |
b12915c1 | 2970 | echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
2971 | fi |
2972 | ||
b12915c1 | 2973 | if test "$wxUSE_ZLIB" = yes; then |
e6cc62c6 VS |
2974 | echo "$as_me:$LINENO: result: yes" >&5 |
2975 | echo "${ECHO_T}yes" >&6 | |
422107f9 | 2976 | elif test "$wxUSE_ZLIB" = no; then |
e6cc62c6 VS |
2977 | echo "$as_me:$LINENO: result: no" >&5 |
2978 | echo "${ECHO_T}no" >&6 | |
422107f9 | 2979 | elif test "$wxUSE_ZLIB" = sys; then |
e6cc62c6 VS |
2980 | echo "$as_me:$LINENO: result: system version" >&5 |
2981 | echo "${ECHO_T}system version" >&6 | |
4f14bcd8 | 2982 | elif test "$wxUSE_ZLIB" = builtin; then |
e6cc62c6 VS |
2983 | echo "$as_me:$LINENO: result: builtin version" >&5 |
2984 | echo "${ECHO_T}builtin version" >&6 | |
422107f9 | 2985 | else |
e6cc62c6 VS |
2986 | { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5 |
2987 | echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;} | |
2988 | { (exit 1); exit 1; }; } | |
10f2d63a | 2989 | fi |
10f2d63a | 2990 | |
e6cc62c6 VS |
2991 | |
2992 | echo "$as_me:$LINENO: checking for --with-odbc" >&5 | |
2993 | echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6 | |
10f2d63a | 2994 | no_cache=0 |
e6cc62c6 VS |
2995 | |
2996 | # Check whether --with-odbc or --without-odbc was given. | |
10f2d63a VZ |
2997 | if test "${with_odbc+set}" = set; then |
2998 | withval="$with_odbc" | |
e6cc62c6 | 2999 | |
10f2d63a VZ |
3000 | if test "$withval" = yes; then |
3001 | ac_cv_use_odbc='wxUSE_ODBC=yes' | |
8647bec6 | 3002 | elif test "$withval" = no; then |
10f2d63a | 3003 | ac_cv_use_odbc='wxUSE_ODBC=no' |
8647bec6 RG |
3004 | elif test "$withval" = sys; then |
3005 | ac_cv_use_odbc='wxUSE_ODBC=sys' | |
3006 | elif test "$withval" = builtin; then | |
3007 | ac_cv_use_odbc='wxUSE_ODBC=builtin' | |
3008 | else | |
e6cc62c6 VS |
3009 | { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5 |
3010 | echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;} | |
3011 | { (exit 1); exit 1; }; } | |
10f2d63a | 3012 | fi |
e6cc62c6 | 3013 | |
10f2d63a | 3014 | else |
e6cc62c6 | 3015 | |
10f2d63a VZ |
3016 | LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}` |
3017 | if test "x$LINE" != x ; then | |
3018 | eval "DEFAULT_$LINE" | |
3019 | else | |
3020 | no_cache=1 | |
3021 | fi | |
3022 | ||
3023 | ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC | |
10f2d63a | 3024 | |
e6cc62c6 | 3025 | fi; |
10f2d63a VZ |
3026 | |
3027 | eval "$ac_cv_use_odbc" | |
3028 | if test "$no_cache" != 1; then | |
3029 | echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp | |
3030 | fi | |
3031 | ||
3032 | if test "$wxUSE_ODBC" = yes; then | |
e6cc62c6 VS |
3033 | echo "$as_me:$LINENO: result: yes" >&5 |
3034 | echo "${ECHO_T}yes" >&6 | |
8647bec6 | 3035 | elif test "$wxUSE_ODBC" = no; then |
e6cc62c6 VS |
3036 | echo "$as_me:$LINENO: result: no" >&5 |
3037 | echo "${ECHO_T}no" >&6 | |
8647bec6 | 3038 | elif test "$wxUSE_ODBC" = sys; then |
e6cc62c6 VS |
3039 | echo "$as_me:$LINENO: result: system version" >&5 |
3040 | echo "${ECHO_T}system version" >&6 | |
8647bec6 | 3041 | elif test "$wxUSE_ODBC" = builtin; then |
e6cc62c6 VS |
3042 | echo "$as_me:$LINENO: result: builtin version" >&5 |
3043 | echo "${ECHO_T}builtin version" >&6 | |
8647bec6 | 3044 | else |
e6cc62c6 VS |
3045 | { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5 |
3046 | echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;} | |
3047 | { (exit 1); exit 1; }; } | |
10f2d63a | 3048 | fi |
e6cc62c6 | 3049 | |
52127426 | 3050 | |
672abd7a VS |
3051 | echo "$as_me:$LINENO: checking for --with-expat" >&5 |
3052 | echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6 | |
3053 | no_cache=0 | |
3054 | ||
3055 | # Check whether --with-expat or --without-expat was given. | |
3056 | if test "${with_expat+set}" = set; then | |
3057 | withval="$with_expat" | |
3058 | ||
3059 | if test "$withval" = yes; then | |
3060 | ac_cv_use_expat='wxUSE_EXPAT=yes' | |
3061 | elif test "$withval" = no; then | |
3062 | ac_cv_use_expat='wxUSE_EXPAT=no' | |
3063 | elif test "$withval" = sys; then | |
3064 | ac_cv_use_expat='wxUSE_EXPAT=sys' | |
3065 | elif test "$withval" = builtin; then | |
3066 | ac_cv_use_expat='wxUSE_EXPAT=builtin' | |
3067 | else | |
3068 | { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5 | |
3069 | echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;} | |
3070 | { (exit 1); exit 1; }; } | |
3071 | fi | |
3072 | ||
3073 | else | |
3074 | ||
3075 | LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}` | |
3076 | if test "x$LINE" != x ; then | |
3077 | eval "DEFAULT_$LINE" | |
3078 | else | |
3079 | no_cache=1 | |
3080 | fi | |
3081 | ||
3082 | ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT | |
3083 | ||
3084 | fi; | |
3085 | ||
3086 | eval "$ac_cv_use_expat" | |
3087 | if test "$no_cache" != 1; then | |
3088 | echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp | |
3089 | fi | |
3090 | ||
3091 | if test "$wxUSE_EXPAT" = yes; then | |
3092 | echo "$as_me:$LINENO: result: yes" >&5 | |
3093 | echo "${ECHO_T}yes" >&6 | |
3094 | elif test "$wxUSE_EXPAT" = no; then | |
3095 | echo "$as_me:$LINENO: result: no" >&5 | |
3096 | echo "${ECHO_T}no" >&6 | |
3097 | elif test "$wxUSE_EXPAT" = sys; then | |
3098 | echo "$as_me:$LINENO: result: system version" >&5 | |
3099 | echo "${ECHO_T}system version" >&6 | |
3100 | elif test "$wxUSE_EXPAT" = builtin; then | |
3101 | echo "$as_me:$LINENO: result: builtin version" >&5 | |
3102 | echo "${ECHO_T}builtin version" >&6 | |
3103 | else | |
3104 | { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5 | |
3105 | echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;} | |
3106 | { (exit 1); exit 1; }; } | |
3107 | fi | |
3108 | ||
3109 | ||
8284b0c5 MB |
3110 | |
3111 | ||
5005acfe | 3112 | enablestring= |
e6cc62c6 VS |
3113 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5 |
3114 | echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6 | |
10f2d63a VZ |
3115 | no_cache=0 |
3116 | # Check whether --enable-shared or --disable-shared was given. | |
3117 | if test "${enable_shared+set}" = set; then | |
3118 | enableval="$enable_shared" | |
e6cc62c6 | 3119 | |
10f2d63a VZ |
3120 | if test "$enableval" = yes; then |
3121 | ac_cv_use_shared='wxUSE_SHARED=yes' | |
3122 | else | |
3123 | ac_cv_use_shared='wxUSE_SHARED=no' | |
3124 | fi | |
e6cc62c6 | 3125 | |
10f2d63a | 3126 | else |
e6cc62c6 | 3127 | |
10f2d63a VZ |
3128 | LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}` |
3129 | if test "x$LINE" != x ; then | |
3130 | eval "DEFAULT_$LINE" | |
3131 | else | |
3132 | no_cache=1 | |
3133 | fi | |
3134 | ||
3135 | ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED | |
10f2d63a | 3136 | |
e6cc62c6 | 3137 | fi; |
10f2d63a VZ |
3138 | |
3139 | eval "$ac_cv_use_shared" | |
3140 | if test "$no_cache" != 1; then | |
3141 | echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp | |
3142 | fi | |
3143 | ||
3144 | if test "$wxUSE_SHARED" = yes; then | |
e6cc62c6 VS |
3145 | echo "$as_me:$LINENO: result: yes" >&5 |
3146 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3147 | else |
e6cc62c6 VS |
3148 | echo "$as_me:$LINENO: result: no" >&5 |
3149 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3150 | fi |
e6cc62c6 | 3151 | |
10f2d63a | 3152 | |
5005acfe | 3153 | enablestring= |
e6cc62c6 VS |
3154 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5 |
3155 | echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6 | |
10f2d63a VZ |
3156 | no_cache=0 |
3157 | # Check whether --enable-optimise or --disable-optimise was given. | |
3158 | if test "${enable_optimise+set}" = set; then | |
3159 | enableval="$enable_optimise" | |
e6cc62c6 | 3160 | |
10f2d63a VZ |
3161 | if test "$enableval" = yes; then |
3162 | ac_cv_use_optimise='wxUSE_OPTIMISE=yes' | |
3163 | else | |
3164 | ac_cv_use_optimise='wxUSE_OPTIMISE=no' | |
3165 | fi | |
e6cc62c6 | 3166 | |
10f2d63a | 3167 | else |
e6cc62c6 | 3168 | |
10f2d63a VZ |
3169 | LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}` |
3170 | if test "x$LINE" != x ; then | |
3171 | eval "DEFAULT_$LINE" | |
3172 | else | |
3173 | no_cache=1 | |
3174 | fi | |
3175 | ||
3176 | ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE | |
10f2d63a | 3177 | |
e6cc62c6 | 3178 | fi; |
10f2d63a VZ |
3179 | |
3180 | eval "$ac_cv_use_optimise" | |
3181 | if test "$no_cache" != 1; then | |
3182 | echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp | |
3183 | fi | |
3184 | ||
3185 | if test "$wxUSE_OPTIMISE" = yes; then | |
e6cc62c6 VS |
3186 | echo "$as_me:$LINENO: result: yes" >&5 |
3187 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3188 | else |
e6cc62c6 VS |
3189 | echo "$as_me:$LINENO: result: no" >&5 |
3190 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3191 | fi |
e6cc62c6 | 3192 | |
10f2d63a | 3193 | |
5005acfe | 3194 | enablestring= |
e6cc62c6 VS |
3195 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5 |
3196 | echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6 | |
10f2d63a VZ |
3197 | no_cache=0 |
3198 | # Check whether --enable-debug or --disable-debug was given. | |
3199 | if test "${enable_debug+set}" = set; then | |
3200 | enableval="$enable_debug" | |
e6cc62c6 | 3201 | |
10f2d63a VZ |
3202 | if test "$enableval" = yes; then |
3203 | ac_cv_use_debug='wxUSE_DEBUG=yes' | |
3204 | else | |
3205 | ac_cv_use_debug='wxUSE_DEBUG=no' | |
3206 | fi | |
e6cc62c6 | 3207 | |
10f2d63a | 3208 | else |
e6cc62c6 | 3209 | |
10f2d63a VZ |
3210 | LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}` |
3211 | if test "x$LINE" != x ; then | |
3212 | eval "DEFAULT_$LINE" | |
3213 | else | |
3214 | no_cache=1 | |
3215 | fi | |
3216 | ||
3217 | ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG | |
10f2d63a | 3218 | |
e6cc62c6 | 3219 | fi; |
10f2d63a VZ |
3220 | |
3221 | eval "$ac_cv_use_debug" | |
3222 | if test "$no_cache" != 1; then | |
3223 | echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp | |
3224 | fi | |
3225 | ||
3226 | if test "$wxUSE_DEBUG" = yes; then | |
e6cc62c6 VS |
3227 | echo "$as_me:$LINENO: result: yes" >&5 |
3228 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3229 | else |
e6cc62c6 VS |
3230 | echo "$as_me:$LINENO: result: no" >&5 |
3231 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3232 | fi |
e6cc62c6 | 3233 | |
52127426 | 3234 | |
df5168c4 MB |
3235 | enablestring= |
3236 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5 | |
3237 | echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6 | |
3238 | no_cache=0 | |
3239 | # Check whether --enable-stl or --disable-stl was given. | |
3240 | if test "${enable_stl+set}" = set; then | |
3241 | enableval="$enable_stl" | |
3242 | ||
3243 | if test "$enableval" = yes; then | |
3244 | ac_cv_use_stl='wxUSE_STL=yes' | |
3245 | else | |
3246 | ac_cv_use_stl='wxUSE_STL=no' | |
3247 | fi | |
3248 | ||
3249 | else | |
3250 | ||
3251 | LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}` | |
3252 | if test "x$LINE" != x ; then | |
3253 | eval "DEFAULT_$LINE" | |
3254 | else | |
3255 | no_cache=1 | |
3256 | fi | |
3257 | ||
3258 | ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL | |
3259 | ||
3260 | fi; | |
3261 | ||
3262 | eval "$ac_cv_use_stl" | |
3263 | if test "$no_cache" != 1; then | |
3264 | echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp | |
3265 | fi | |
3266 | ||
3267 | if test "$wxUSE_STL" = yes; then | |
3268 | echo "$as_me:$LINENO: result: yes" >&5 | |
3269 | echo "${ECHO_T}yes" >&6 | |
3270 | else | |
3271 | echo "$as_me:$LINENO: result: no" >&5 | |
3272 | echo "${ECHO_T}no" >&6 | |
3273 | fi | |
3274 | ||
3275 | ||
10f2d63a VZ |
3276 | if test "$wxUSE_DEBUG" = "yes"; then |
3277 | DEFAULT_wxUSE_DEBUG_FLAG=yes | |
3278 | DEFAULT_wxUSE_DEBUG_INFO=yes | |
6c67131a | 3279 | BUILD=debug |
10f2d63a VZ |
3280 | elif test "$wxUSE_DEBUG" = "no"; then |
3281 | DEFAULT_wxUSE_DEBUG_FLAG=no | |
3282 | DEFAULT_wxUSE_DEBUG_INFO=no | |
6c67131a | 3283 | BUILD=release |
10f2d63a VZ |
3284 | fi |
3285 | ||
8284b0c5 | 3286 | |
5005acfe | 3287 | enablestring= |
e6cc62c6 VS |
3288 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5 |
3289 | echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6 | |
10f2d63a VZ |
3290 | no_cache=0 |
3291 | # Check whether --enable-debug_flag or --disable-debug_flag was given. | |
3292 | if test "${enable_debug_flag+set}" = set; then | |
3293 | enableval="$enable_debug_flag" | |
e6cc62c6 | 3294 | |
10f2d63a VZ |
3295 | if test "$enableval" = yes; then |
3296 | ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes' | |
3297 | else | |
3298 | ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no' | |
3299 | fi | |
e6cc62c6 | 3300 | |
10f2d63a | 3301 | else |
e6cc62c6 | 3302 | |
10f2d63a VZ |
3303 | LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}` |
3304 | if test "x$LINE" != x ; then | |
3305 | eval "DEFAULT_$LINE" | |
3306 | else | |
3307 | no_cache=1 | |
3308 | fi | |
3309 | ||
3310 | ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG | |
10f2d63a | 3311 | |
e6cc62c6 | 3312 | fi; |
10f2d63a VZ |
3313 | |
3314 | eval "$ac_cv_use_debug_flag" | |
3315 | if test "$no_cache" != 1; then | |
3316 | echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp | |
3317 | fi | |
3318 | ||
3319 | if test "$wxUSE_DEBUG_FLAG" = yes; then | |
e6cc62c6 VS |
3320 | echo "$as_me:$LINENO: result: yes" >&5 |
3321 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3322 | else |
e6cc62c6 VS |
3323 | echo "$as_me:$LINENO: result: no" >&5 |
3324 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3325 | fi |
e6cc62c6 | 3326 | |
10f2d63a | 3327 | |
5005acfe | 3328 | enablestring= |
e6cc62c6 VS |
3329 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5 |
3330 | echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6 | |
10f2d63a VZ |
3331 | no_cache=0 |
3332 | # Check whether --enable-debug_info or --disable-debug_info was given. | |
3333 | if test "${enable_debug_info+set}" = set; then | |
3334 | enableval="$enable_debug_info" | |
e6cc62c6 | 3335 | |
10f2d63a VZ |
3336 | if test "$enableval" = yes; then |
3337 | ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes' | |
3338 | else | |
3339 | ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no' | |
3340 | fi | |
e6cc62c6 | 3341 | |
10f2d63a | 3342 | else |
e6cc62c6 | 3343 | |
10f2d63a VZ |
3344 | LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}` |
3345 | if test "x$LINE" != x ; then | |
3346 | eval "DEFAULT_$LINE" | |
3347 | else | |
3348 | no_cache=1 | |
3349 | fi | |
3350 | ||
3351 | ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO | |
10f2d63a | 3352 | |
e6cc62c6 | 3353 | fi; |
10f2d63a VZ |
3354 | |
3355 | eval "$ac_cv_use_debug_info" | |
3356 | if test "$no_cache" != 1; then | |
3357 | echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp | |
3358 | fi | |
3359 | ||
3360 | if test "$wxUSE_DEBUG_INFO" = yes; then | |
e6cc62c6 VS |
3361 | echo "$as_me:$LINENO: result: yes" >&5 |
3362 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3363 | else |
e6cc62c6 VS |
3364 | echo "$as_me:$LINENO: result: no" >&5 |
3365 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3366 | fi |
e6cc62c6 | 3367 | |
10f2d63a | 3368 | |
5005acfe | 3369 | enablestring= |
e6cc62c6 VS |
3370 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5 |
3371 | echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6 | |
10f2d63a VZ |
3372 | no_cache=0 |
3373 | # Check whether --enable-debug_gdb or --disable-debug_gdb was given. | |
3374 | if test "${enable_debug_gdb+set}" = set; then | |
3375 | enableval="$enable_debug_gdb" | |
e6cc62c6 | 3376 | |
10f2d63a VZ |
3377 | if test "$enableval" = yes; then |
3378 | ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes' | |
3379 | else | |
3380 | ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no' | |
3381 | fi | |
e6cc62c6 | 3382 | |
10f2d63a | 3383 | else |
e6cc62c6 | 3384 | |
10f2d63a VZ |
3385 | LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}` |
3386 | if test "x$LINE" != x ; then | |
3387 | eval "DEFAULT_$LINE" | |
3388 | else | |
3389 | no_cache=1 | |
3390 | fi | |
3391 | ||
3392 | ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB | |
10f2d63a | 3393 | |
e6cc62c6 | 3394 | fi; |
10f2d63a VZ |
3395 | |
3396 | eval "$ac_cv_use_debug_gdb" | |
3397 | if test "$no_cache" != 1; then | |
3398 | echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp | |
3399 | fi | |
3400 | ||
3401 | if test "$wxUSE_DEBUG_GDB" = yes; then | |
e6cc62c6 VS |
3402 | echo "$as_me:$LINENO: result: yes" >&5 |
3403 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3404 | else |
e6cc62c6 VS |
3405 | echo "$as_me:$LINENO: result: no" >&5 |
3406 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3407 | fi |
e6cc62c6 | 3408 | |
10f2d63a | 3409 | |
5005acfe | 3410 | enablestring= |
e6cc62c6 VS |
3411 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5 |
3412 | echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6 | |
10f2d63a VZ |
3413 | no_cache=0 |
3414 | # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given. | |
3415 | if test "${enable_debug_cntxt+set}" = set; then | |
3416 | enableval="$enable_debug_cntxt" | |
e6cc62c6 | 3417 | |
10f2d63a VZ |
3418 | if test "$enableval" = yes; then |
3419 | ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes' | |
3420 | else | |
3421 | ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no' | |
3422 | fi | |
e6cc62c6 | 3423 | |
10f2d63a | 3424 | else |
e6cc62c6 | 3425 | |
10f2d63a VZ |
3426 | LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}` |
3427 | if test "x$LINE" != x ; then | |
3428 | eval "DEFAULT_$LINE" | |
3429 | else | |
3430 | no_cache=1 | |
3431 | fi | |
3432 | ||
3433 | ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT | |
10f2d63a | 3434 | |
e6cc62c6 | 3435 | fi; |
10f2d63a VZ |
3436 | |
3437 | eval "$ac_cv_use_debug_cntxt" | |
3438 | if test "$no_cache" != 1; then | |
3439 | echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp | |
3440 | fi | |
3441 | ||
3442 | if test "$wxUSE_DEBUG_CONTEXT" = yes; then | |
e6cc62c6 VS |
3443 | echo "$as_me:$LINENO: result: yes" >&5 |
3444 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3445 | else |
e6cc62c6 VS |
3446 | echo "$as_me:$LINENO: result: no" >&5 |
3447 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3448 | fi |
e6cc62c6 | 3449 | |
10f2d63a | 3450 | |
5005acfe | 3451 | enablestring= |
e6cc62c6 VS |
3452 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5 |
3453 | echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6 | |
10f2d63a VZ |
3454 | no_cache=0 |
3455 | # Check whether --enable-mem_tracing or --disable-mem_tracing was given. | |
3456 | if test "${enable_mem_tracing+set}" = set; then | |
3457 | enableval="$enable_mem_tracing" | |
e6cc62c6 | 3458 | |
10f2d63a VZ |
3459 | if test "$enableval" = yes; then |
3460 | ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes' | |
3461 | else | |
3462 | ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no' | |
3463 | fi | |
e6cc62c6 | 3464 | |
10f2d63a | 3465 | else |
e6cc62c6 | 3466 | |
10f2d63a VZ |
3467 | LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}` |
3468 | if test "x$LINE" != x ; then | |
3469 | eval "DEFAULT_$LINE" | |
3470 | else | |
3471 | no_cache=1 | |
3472 | fi | |
3473 | ||
3474 | ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING | |
10f2d63a | 3475 | |
e6cc62c6 | 3476 | fi; |
10f2d63a VZ |
3477 | |
3478 | eval "$ac_cv_use_mem_tracing" | |
3479 | if test "$no_cache" != 1; then | |
3480 | echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp | |
3481 | fi | |
3482 | ||
3483 | if test "$wxUSE_MEM_TRACING" = yes; then | |
e6cc62c6 VS |
3484 | echo "$as_me:$LINENO: result: yes" >&5 |
3485 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3486 | else |
e6cc62c6 VS |
3487 | echo "$as_me:$LINENO: result: no" >&5 |
3488 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3489 | fi |
e6cc62c6 | 3490 | |
10f2d63a | 3491 | |
5005acfe | 3492 | enablestring= |
e6cc62c6 VS |
3493 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5 |
3494 | echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6 | |
10f2d63a VZ |
3495 | no_cache=0 |
3496 | # Check whether --enable-profile or --disable-profile was given. | |
3497 | if test "${enable_profile+set}" = set; then | |
3498 | enableval="$enable_profile" | |
e6cc62c6 | 3499 | |
10f2d63a VZ |
3500 | if test "$enableval" = yes; then |
3501 | ac_cv_use_profile='wxUSE_PROFILE=yes' | |
3502 | else | |
3503 | ac_cv_use_profile='wxUSE_PROFILE=no' | |
3504 | fi | |
e6cc62c6 | 3505 | |
10f2d63a | 3506 | else |
e6cc62c6 | 3507 | |
10f2d63a VZ |
3508 | LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}` |
3509 | if test "x$LINE" != x ; then | |
3510 | eval "DEFAULT_$LINE" | |
3511 | else | |
3512 | no_cache=1 | |
3513 | fi | |
3514 | ||
3515 | ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE | |
10f2d63a | 3516 | |
e6cc62c6 | 3517 | fi; |
10f2d63a VZ |
3518 | |
3519 | eval "$ac_cv_use_profile" | |
3520 | if test "$no_cache" != 1; then | |
3521 | echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp | |
3522 | fi | |
3523 | ||
3524 | if test "$wxUSE_PROFILE" = yes; then | |
e6cc62c6 VS |
3525 | echo "$as_me:$LINENO: result: yes" >&5 |
3526 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3527 | else |
e6cc62c6 VS |
3528 | echo "$as_me:$LINENO: result: no" >&5 |
3529 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3530 | fi |
e6cc62c6 | 3531 | |
10f2d63a | 3532 | |
5005acfe | 3533 | enablestring= |
e6cc62c6 VS |
3534 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5 |
3535 | echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6 | |
10f2d63a VZ |
3536 | no_cache=0 |
3537 | # Check whether --enable-no_rtti or --disable-no_rtti was given. | |
3538 | if test "${enable_no_rtti+set}" = set; then | |
3539 | enableval="$enable_no_rtti" | |
e6cc62c6 | 3540 | |
10f2d63a VZ |
3541 | if test "$enableval" = yes; then |
3542 | ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes' | |
3543 | else | |
3544 | ac_cv_use_no_rtti='wxUSE_NO_RTTI=no' | |
3545 | fi | |
e6cc62c6 | 3546 | |
10f2d63a | 3547 | else |
e6cc62c6 | 3548 | |
10f2d63a VZ |
3549 | LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}` |
3550 | if test "x$LINE" != x ; then | |
3551 | eval "DEFAULT_$LINE" | |
3552 | else | |
3553 | no_cache=1 | |
3554 | fi | |
3555 | ||
3556 | ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI | |
10f2d63a | 3557 | |
e6cc62c6 | 3558 | fi; |
10f2d63a VZ |
3559 | |
3560 | eval "$ac_cv_use_no_rtti" | |
3561 | if test "$no_cache" != 1; then | |
3562 | echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp | |
3563 | fi | |
3564 | ||
3565 | if test "$wxUSE_NO_RTTI" = yes; then | |
e6cc62c6 VS |
3566 | echo "$as_me:$LINENO: result: yes" >&5 |
3567 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3568 | else |
e6cc62c6 VS |
3569 | echo "$as_me:$LINENO: result: no" >&5 |
3570 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3571 | fi |
e6cc62c6 | 3572 | |
10f2d63a | 3573 | |
5005acfe | 3574 | enablestring= |
e6cc62c6 VS |
3575 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5 |
3576 | echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6 | |
10f2d63a VZ |
3577 | no_cache=0 |
3578 | # Check whether --enable-no_exceptions or --disable-no_exceptions was given. | |
3579 | if test "${enable_no_exceptions+set}" = set; then | |
3580 | enableval="$enable_no_exceptions" | |
e6cc62c6 | 3581 | |
10f2d63a VZ |
3582 | if test "$enableval" = yes; then |
3583 | ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes' | |
3584 | else | |
3585 | ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no' | |
3586 | fi | |
e6cc62c6 | 3587 | |
10f2d63a | 3588 | else |
e6cc62c6 | 3589 | |
10f2d63a VZ |
3590 | LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}` |
3591 | if test "x$LINE" != x ; then | |
3592 | eval "DEFAULT_$LINE" | |
3593 | else | |
3594 | no_cache=1 | |
3595 | fi | |
3596 | ||
3597 | ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS | |
10f2d63a | 3598 | |
e6cc62c6 | 3599 | fi; |
10f2d63a VZ |
3600 | |
3601 | eval "$ac_cv_use_no_exceptions" | |
3602 | if test "$no_cache" != 1; then | |
3603 | echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp | |
3604 | fi | |
3605 | ||
3606 | if test "$wxUSE_NO_EXCEPTIONS" = yes; then | |
e6cc62c6 VS |
3607 | echo "$as_me:$LINENO: result: yes" >&5 |
3608 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3609 | else |
e6cc62c6 VS |
3610 | echo "$as_me:$LINENO: result: no" >&5 |
3611 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3612 | fi |
e6cc62c6 | 3613 | |
10f2d63a | 3614 | |
5005acfe | 3615 | enablestring= |
e6cc62c6 VS |
3616 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5 |
3617 | echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6 | |
10f2d63a VZ |
3618 | no_cache=0 |
3619 | # Check whether --enable-permissive or --disable-permissive was given. | |
3620 | if test "${enable_permissive+set}" = set; then | |
3621 | enableval="$enable_permissive" | |
e6cc62c6 | 3622 | |
10f2d63a VZ |
3623 | if test "$enableval" = yes; then |
3624 | ac_cv_use_permissive='wxUSE_PERMISSIVE=yes' | |
3625 | else | |
3626 | ac_cv_use_permissive='wxUSE_PERMISSIVE=no' | |
3627 | fi | |
e6cc62c6 | 3628 | |
10f2d63a | 3629 | else |
e6cc62c6 | 3630 | |
10f2d63a VZ |
3631 | LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}` |
3632 | if test "x$LINE" != x ; then | |
3633 | eval "DEFAULT_$LINE" | |
3634 | else | |
3635 | no_cache=1 | |
3636 | fi | |
3637 | ||
3638 | ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE | |
10f2d63a | 3639 | |
e6cc62c6 | 3640 | fi; |
10f2d63a VZ |
3641 | |
3642 | eval "$ac_cv_use_permissive" | |
3643 | if test "$no_cache" != 1; then | |
3644 | echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp | |
3645 | fi | |
3646 | ||
3647 | if test "$wxUSE_PERMISSIVE" = yes; then | |
e6cc62c6 VS |
3648 | echo "$as_me:$LINENO: result: yes" >&5 |
3649 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3650 | else |
e6cc62c6 VS |
3651 | echo "$as_me:$LINENO: result: no" >&5 |
3652 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3653 | fi |
e6cc62c6 | 3654 | |
10f2d63a | 3655 | |
5005acfe | 3656 | enablestring= |
e6cc62c6 VS |
3657 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5 |
3658 | echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6 | |
10f2d63a VZ |
3659 | no_cache=0 |
3660 | # Check whether --enable-no_deps or --disable-no_deps was given. | |
3661 | if test "${enable_no_deps+set}" = set; then | |
3662 | enableval="$enable_no_deps" | |
e6cc62c6 | 3663 | |
10f2d63a VZ |
3664 | if test "$enableval" = yes; then |
3665 | ac_cv_use_no_deps='wxUSE_NO_DEPS=yes' | |
3666 | else | |
3667 | ac_cv_use_no_deps='wxUSE_NO_DEPS=no' | |
3668 | fi | |
e6cc62c6 | 3669 | |
10f2d63a | 3670 | else |
e6cc62c6 | 3671 | |
10f2d63a VZ |
3672 | LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}` |
3673 | if test "x$LINE" != x ; then | |
3674 | eval "DEFAULT_$LINE" | |
3675 | else | |
3676 | no_cache=1 | |
3677 | fi | |
3678 | ||
3679 | ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS | |
10f2d63a | 3680 | |
e6cc62c6 | 3681 | fi; |
10f2d63a VZ |
3682 | |
3683 | eval "$ac_cv_use_no_deps" | |
3684 | if test "$no_cache" != 1; then | |
3685 | echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp | |
3686 | fi | |
3687 | ||
3688 | if test "$wxUSE_NO_DEPS" = yes; then | |
e6cc62c6 VS |
3689 | echo "$as_me:$LINENO: result: yes" >&5 |
3690 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3691 | else |
e6cc62c6 VS |
3692 | echo "$as_me:$LINENO: result: no" >&5 |
3693 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3694 | fi |
e6cc62c6 | 3695 | |
52127426 | 3696 | |
8284b0c5 | 3697 | |
65d8ef1e | 3698 | enablestring= |
e6cc62c6 VS |
3699 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5 |
3700 | echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6 | |
54276ccf VZ |
3701 | no_cache=0 |
3702 | # Check whether --enable-compat22 or --disable-compat22 was given. | |
3703 | if test "${enable_compat22+set}" = set; then | |
3704 | enableval="$enable_compat22" | |
e6cc62c6 | 3705 | |
54276ccf VZ |
3706 | if test "$enableval" = yes; then |
3707 | ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes' | |
3708 | else | |
3709 | ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no' | |
3710 | fi | |
e6cc62c6 | 3711 | |
54276ccf | 3712 | else |
e6cc62c6 | 3713 | |
54276ccf VZ |
3714 | LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}` |
3715 | if test "x$LINE" != x ; then | |
3716 | eval "DEFAULT_$LINE" | |
3717 | else | |
3718 | no_cache=1 | |
3719 | fi | |
3720 | ||
3721 | ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2 | |
54276ccf | 3722 | |
e6cc62c6 | 3723 | fi; |
54276ccf VZ |
3724 | |
3725 | eval "$ac_cv_use_compat22" | |
3726 | if test "$no_cache" != 1; then | |
3727 | echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp | |
3728 | fi | |
3729 | ||
3730 | if test "$WXWIN_COMPATIBILITY_2_2" = yes; then | |
e6cc62c6 VS |
3731 | echo "$as_me:$LINENO: result: yes" >&5 |
3732 | echo "${ECHO_T}yes" >&6 | |
54276ccf | 3733 | else |
e6cc62c6 VS |
3734 | echo "$as_me:$LINENO: result: no" >&5 |
3735 | echo "${ECHO_T}no" >&6 | |
54276ccf | 3736 | fi |
e6cc62c6 | 3737 | |
54276ccf | 3738 | |
65d8ef1e | 3739 | enablestring=disable |
e6cc62c6 VS |
3740 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5 |
3741 | echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6 | |
65d8ef1e VS |
3742 | no_cache=0 |
3743 | # Check whether --enable-compat24 or --disable-compat24 was given. | |
3744 | if test "${enable_compat24+set}" = set; then | |
3745 | enableval="$enable_compat24" | |
e6cc62c6 | 3746 | |
65d8ef1e VS |
3747 | if test "$enableval" = yes; then |
3748 | ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes' | |
3749 | else | |
3750 | ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no' | |
3751 | fi | |
e6cc62c6 | 3752 | |
65d8ef1e | 3753 | else |
e6cc62c6 | 3754 | |
65d8ef1e VS |
3755 | LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}` |
3756 | if test "x$LINE" != x ; then | |
3757 | eval "DEFAULT_$LINE" | |
3758 | else | |
3759 | no_cache=1 | |
3760 | fi | |
3761 | ||
3762 | ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4 | |
65d8ef1e | 3763 | |
e6cc62c6 | 3764 | fi; |
65d8ef1e VS |
3765 | |
3766 | eval "$ac_cv_use_compat24" | |
3767 | if test "$no_cache" != 1; then | |
3768 | echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp | |
3769 | fi | |
3770 | ||
3771 | if test "$WXWIN_COMPATIBILITY_2_4" = yes; then | |
e6cc62c6 VS |
3772 | echo "$as_me:$LINENO: result: yes" >&5 |
3773 | echo "${ECHO_T}yes" >&6 | |
65d8ef1e | 3774 | else |
e6cc62c6 VS |
3775 | echo "$as_me:$LINENO: result: no" >&5 |
3776 | echo "${ECHO_T}no" >&6 | |
65d8ef1e | 3777 | fi |
e6cc62c6 | 3778 | |
65d8ef1e | 3779 | |
3bd8fb5f RD |
3780 | # Check whether --enable-rpath or --disable-rpath was given. |
3781 | if test "${enable_rpath+set}" = set; then | |
3782 | enableval="$enable_rpath" | |
3783 | wxRPATH_DIR="$enableval" | |
e6cc62c6 | 3784 | fi; |
3bd8fb5f RD |
3785 | |
3786 | if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then | |
3787 | WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR" | |
3788 | fi | |
3789 | ||
8284b0c5 MB |
3790 | |
3791 | ||
3792 | ||
5005acfe | 3793 | enablestring= |
e6cc62c6 VS |
3794 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5 |
3795 | echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6 | |
10f2d63a VZ |
3796 | no_cache=0 |
3797 | # Check whether --enable-intl or --disable-intl was given. | |
3798 | if test "${enable_intl+set}" = set; then | |
3799 | enableval="$enable_intl" | |
e6cc62c6 | 3800 | |
10f2d63a VZ |
3801 | if test "$enableval" = yes; then |
3802 | ac_cv_use_intl='wxUSE_INTL=yes' | |
3803 | else | |
3804 | ac_cv_use_intl='wxUSE_INTL=no' | |
3805 | fi | |
e6cc62c6 | 3806 | |
10f2d63a | 3807 | else |
e6cc62c6 | 3808 | |
10f2d63a VZ |
3809 | LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}` |
3810 | if test "x$LINE" != x ; then | |
3811 | eval "DEFAULT_$LINE" | |
3812 | else | |
3813 | no_cache=1 | |
3814 | fi | |
3815 | ||
3816 | ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL | |
10f2d63a | 3817 | |
e6cc62c6 | 3818 | fi; |
10f2d63a VZ |
3819 | |
3820 | eval "$ac_cv_use_intl" | |
3821 | if test "$no_cache" != 1; then | |
3822 | echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp | |
3823 | fi | |
3824 | ||
3825 | if test "$wxUSE_INTL" = yes; then | |
e6cc62c6 VS |
3826 | echo "$as_me:$LINENO: result: yes" >&5 |
3827 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3828 | else |
e6cc62c6 VS |
3829 | echo "$as_me:$LINENO: result: no" >&5 |
3830 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3831 | fi |
e6cc62c6 | 3832 | |
10f2d63a | 3833 | |
5005acfe | 3834 | enablestring= |
e6cc62c6 VS |
3835 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5 |
3836 | echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6 | |
10f2d63a VZ |
3837 | no_cache=0 |
3838 | # Check whether --enable-config or --disable-config was given. | |
3839 | if test "${enable_config+set}" = set; then | |
3840 | enableval="$enable_config" | |
e6cc62c6 | 3841 | |
10f2d63a VZ |
3842 | if test "$enableval" = yes; then |
3843 | ac_cv_use_config='wxUSE_CONFIG=yes' | |
3844 | else | |
3845 | ac_cv_use_config='wxUSE_CONFIG=no' | |
3846 | fi | |
e6cc62c6 | 3847 | |
10f2d63a | 3848 | else |
e6cc62c6 | 3849 | |
10f2d63a VZ |
3850 | LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}` |
3851 | if test "x$LINE" != x ; then | |
3852 | eval "DEFAULT_$LINE" | |
3853 | else | |
3854 | no_cache=1 | |
3855 | fi | |
3856 | ||
3857 | ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG | |
10f2d63a | 3858 | |
e6cc62c6 | 3859 | fi; |
10f2d63a VZ |
3860 | |
3861 | eval "$ac_cv_use_config" | |
3862 | if test "$no_cache" != 1; then | |
3863 | echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp | |
3864 | fi | |
3865 | ||
3866 | if test "$wxUSE_CONFIG" = yes; then | |
e6cc62c6 VS |
3867 | echo "$as_me:$LINENO: result: yes" >&5 |
3868 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 3869 | else |
e6cc62c6 VS |
3870 | echo "$as_me:$LINENO: result: no" >&5 |
3871 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 3872 | fi |
e6cc62c6 | 3873 | |
52127426 | 3874 | |
8284b0c5 | 3875 | |
5005acfe | 3876 | enablestring= |
e6cc62c6 VS |
3877 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5 |
3878 | echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6 | |
a1622950 VZ |
3879 | no_cache=0 |
3880 | # Check whether --enable-protocols or --disable-protocols was given. | |
3881 | if test "${enable_protocols+set}" = set; then | |
3882 | enableval="$enable_protocols" | |
e6cc62c6 | 3883 | |
a1622950 VZ |
3884 | if test "$enableval" = yes; then |
3885 | ac_cv_use_protocols='wxUSE_PROTOCOL=yes' | |
3886 | else | |
3887 | ac_cv_use_protocols='wxUSE_PROTOCOL=no' | |
3888 | fi | |
e6cc62c6 | 3889 | |
a1622950 | 3890 | else |
e6cc62c6 | 3891 | |
a1622950 VZ |
3892 | LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}` |
3893 | if test "x$LINE" != x ; then | |
3894 | eval "DEFAULT_$LINE" | |
3895 | else | |
3896 | no_cache=1 | |
3897 | fi | |
3898 | ||
3899 | ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL | |
a1622950 | 3900 | |
e6cc62c6 | 3901 | fi; |
a1622950 VZ |
3902 | |
3903 | eval "$ac_cv_use_protocols" | |
3904 | if test "$no_cache" != 1; then | |
3905 | echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp | |
3906 | fi | |
3907 | ||
3908 | if test "$wxUSE_PROTOCOL" = yes; then | |
e6cc62c6 VS |
3909 | echo "$as_me:$LINENO: result: yes" >&5 |
3910 | echo "${ECHO_T}yes" >&6 | |
a1622950 | 3911 | else |
e6cc62c6 VS |
3912 | echo "$as_me:$LINENO: result: no" >&5 |
3913 | echo "${ECHO_T}no" >&6 | |
a1622950 | 3914 | fi |
e6cc62c6 | 3915 | |
a1622950 | 3916 | |
5005acfe | 3917 | enablestring= |
e6cc62c6 VS |
3918 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5 |
3919 | echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6 | |
a1622950 VZ |
3920 | no_cache=0 |
3921 | # Check whether --enable-ftp or --disable-ftp was given. | |
3922 | if test "${enable_ftp+set}" = set; then | |
3923 | enableval="$enable_ftp" | |
e6cc62c6 | 3924 | |
a1622950 VZ |
3925 | if test "$enableval" = yes; then |
3926 | ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes' | |
3927 | else | |
3928 | ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no' | |
3929 | fi | |
e6cc62c6 | 3930 | |
a1622950 | 3931 | else |
e6cc62c6 | 3932 | |
a1622950 VZ |
3933 | LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}` |
3934 | if test "x$LINE" != x ; then | |
3935 | eval "DEFAULT_$LINE" | |
3936 | else | |
3937 | no_cache=1 | |
3938 | fi | |
3939 | ||
3940 | ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP | |
a1622950 | 3941 | |
e6cc62c6 | 3942 | fi; |
a1622950 VZ |
3943 | |
3944 | eval "$ac_cv_use_ftp" | |
3945 | if test "$no_cache" != 1; then | |
3946 | echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp | |
3947 | fi | |
3948 | ||
3949 | if test "$wxUSE_PROTOCOL_FTP" = yes; then | |
e6cc62c6 VS |
3950 | echo "$as_me:$LINENO: result: yes" >&5 |
3951 | echo "${ECHO_T}yes" >&6 | |
a1622950 | 3952 | else |
e6cc62c6 VS |
3953 | echo "$as_me:$LINENO: result: no" >&5 |
3954 | echo "${ECHO_T}no" >&6 | |
a1622950 | 3955 | fi |
e6cc62c6 | 3956 | |
a1622950 | 3957 | |
5005acfe | 3958 | enablestring= |
e6cc62c6 VS |
3959 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5 |
3960 | echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6 | |
a1622950 VZ |
3961 | no_cache=0 |
3962 | # Check whether --enable-http or --disable-http was given. | |
3963 | if test "${enable_http+set}" = set; then | |
3964 | enableval="$enable_http" | |
e6cc62c6 | 3965 | |
a1622950 VZ |
3966 | if test "$enableval" = yes; then |
3967 | ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes' | |
3968 | else | |
3969 | ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no' | |
3970 | fi | |
e6cc62c6 | 3971 | |
a1622950 | 3972 | else |
e6cc62c6 | 3973 | |
a1622950 VZ |
3974 | LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}` |
3975 | if test "x$LINE" != x ; then | |
3976 | eval "DEFAULT_$LINE" | |
3977 | else | |
3978 | no_cache=1 | |
3979 | fi | |
3980 | ||
3981 | ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP | |
a1622950 | 3982 | |
e6cc62c6 | 3983 | fi; |
a1622950 VZ |
3984 | |
3985 | eval "$ac_cv_use_http" | |
3986 | if test "$no_cache" != 1; then | |
3987 | echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp | |
3988 | fi | |
3989 | ||
3990 | if test "$wxUSE_PROTOCOL_HTTP" = yes; then | |
e6cc62c6 VS |
3991 | echo "$as_me:$LINENO: result: yes" >&5 |
3992 | echo "${ECHO_T}yes" >&6 | |
a1622950 | 3993 | else |
e6cc62c6 VS |
3994 | echo "$as_me:$LINENO: result: no" >&5 |
3995 | echo "${ECHO_T}no" >&6 | |
a1622950 | 3996 | fi |
e6cc62c6 | 3997 | |
a1622950 | 3998 | |
5005acfe | 3999 | enablestring= |
e6cc62c6 VS |
4000 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5 |
4001 | echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6 | |
a1622950 VZ |
4002 | no_cache=0 |
4003 | # Check whether --enable-fileproto or --disable-fileproto was given. | |
4004 | if test "${enable_fileproto+set}" = set; then | |
4005 | enableval="$enable_fileproto" | |
e6cc62c6 | 4006 | |
a1622950 VZ |
4007 | if test "$enableval" = yes; then |
4008 | ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes' | |
4009 | else | |
4010 | ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no' | |
4011 | fi | |
e6cc62c6 | 4012 | |
a1622950 | 4013 | else |
e6cc62c6 | 4014 | |
a1622950 VZ |
4015 | LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}` |
4016 | if test "x$LINE" != x ; then | |
4017 | eval "DEFAULT_$LINE" | |
4018 | else | |
4019 | no_cache=1 | |
4020 | fi | |
4021 | ||
4022 | ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE | |
a1622950 | 4023 | |
e6cc62c6 | 4024 | fi; |
a1622950 VZ |
4025 | |
4026 | eval "$ac_cv_use_fileproto" | |
4027 | if test "$no_cache" != 1; then | |
4028 | echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp | |
4029 | fi | |
4030 | ||
4031 | if test "$wxUSE_PROTOCOL_FILE" = yes; then | |
e6cc62c6 VS |
4032 | echo "$as_me:$LINENO: result: yes" >&5 |
4033 | echo "${ECHO_T}yes" >&6 | |
a1622950 | 4034 | else |
e6cc62c6 VS |
4035 | echo "$as_me:$LINENO: result: no" >&5 |
4036 | echo "${ECHO_T}no" >&6 | |
a1622950 | 4037 | fi |
e6cc62c6 | 4038 | |
a1622950 | 4039 | |
5005acfe | 4040 | enablestring= |
e6cc62c6 VS |
4041 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5 |
4042 | echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6 | |
10f2d63a VZ |
4043 | no_cache=0 |
4044 | # Check whether --enable-sockets or --disable-sockets was given. | |
4045 | if test "${enable_sockets+set}" = set; then | |
4046 | enableval="$enable_sockets" | |
e6cc62c6 | 4047 | |
10f2d63a VZ |
4048 | if test "$enableval" = yes; then |
4049 | ac_cv_use_sockets='wxUSE_SOCKETS=yes' | |
4050 | else | |
4051 | ac_cv_use_sockets='wxUSE_SOCKETS=no' | |
4052 | fi | |
e6cc62c6 | 4053 | |
10f2d63a | 4054 | else |
e6cc62c6 | 4055 | |
10f2d63a VZ |
4056 | LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}` |
4057 | if test "x$LINE" != x ; then | |
4058 | eval "DEFAULT_$LINE" | |
4059 | else | |
4060 | no_cache=1 | |
4061 | fi | |
4062 | ||
4063 | ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS | |
10f2d63a | 4064 | |
e6cc62c6 | 4065 | fi; |
10f2d63a VZ |
4066 | |
4067 | eval "$ac_cv_use_sockets" | |
4068 | if test "$no_cache" != 1; then | |
4069 | echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp | |
4070 | fi | |
4071 | ||
4072 | if test "$wxUSE_SOCKETS" = yes; then | |
e6cc62c6 VS |
4073 | echo "$as_me:$LINENO: result: yes" >&5 |
4074 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4075 | else |
e6cc62c6 VS |
4076 | echo "$as_me:$LINENO: result: no" >&5 |
4077 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4078 | fi |
e6cc62c6 | 4079 | |
8284b0c5 | 4080 | |
5005acfe | 4081 | enablestring= |
e6cc62c6 VS |
4082 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5 |
4083 | echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6 | |
3bce6687 JS |
4084 | no_cache=0 |
4085 | # Check whether --enable-ole or --disable-ole was given. | |
4086 | if test "${enable_ole+set}" = set; then | |
4087 | enableval="$enable_ole" | |
e6cc62c6 | 4088 | |
3bce6687 JS |
4089 | if test "$enableval" = yes; then |
4090 | ac_cv_use_ole='wxUSE_OLE=yes' | |
4091 | else | |
4092 | ac_cv_use_ole='wxUSE_OLE=no' | |
4093 | fi | |
e6cc62c6 | 4094 | |
3bce6687 | 4095 | else |
e6cc62c6 | 4096 | |
3bce6687 JS |
4097 | LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}` |
4098 | if test "x$LINE" != x ; then | |
4099 | eval "DEFAULT_$LINE" | |
4100 | else | |
4101 | no_cache=1 | |
4102 | fi | |
4103 | ||
4104 | ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE | |
3bce6687 | 4105 | |
e6cc62c6 | 4106 | fi; |
3bce6687 JS |
4107 | |
4108 | eval "$ac_cv_use_ole" | |
4109 | if test "$no_cache" != 1; then | |
4110 | echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp | |
4111 | fi | |
4112 | ||
4113 | if test "$wxUSE_OLE" = yes; then | |
e6cc62c6 VS |
4114 | echo "$as_me:$LINENO: result: yes" >&5 |
4115 | echo "${ECHO_T}yes" >&6 | |
3bce6687 | 4116 | else |
e6cc62c6 VS |
4117 | echo "$as_me:$LINENO: result: no" >&5 |
4118 | echo "${ECHO_T}no" >&6 | |
3bce6687 | 4119 | fi |
e6cc62c6 | 4120 | |
3bce6687 | 4121 | |
5005acfe | 4122 | enablestring= |
e6cc62c6 VS |
4123 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5 |
4124 | echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6 | |
3bce6687 JS |
4125 | no_cache=0 |
4126 | # Check whether --enable-dataobj or --disable-dataobj was given. | |
4127 | if test "${enable_dataobj+set}" = set; then | |
4128 | enableval="$enable_dataobj" | |
e6cc62c6 | 4129 | |
3bce6687 JS |
4130 | if test "$enableval" = yes; then |
4131 | ac_cv_use_dataobj='wxUSE_DATAOBJ=yes' | |
4132 | else | |
4133 | ac_cv_use_dataobj='wxUSE_DATAOBJ=no' | |
4134 | fi | |
e6cc62c6 | 4135 | |
3bce6687 | 4136 | else |
e6cc62c6 | 4137 | |
3bce6687 JS |
4138 | LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}` |
4139 | if test "x$LINE" != x ; then | |
4140 | eval "DEFAULT_$LINE" | |
4141 | else | |
4142 | no_cache=1 | |
4143 | fi | |
4144 | ||
4145 | ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ | |
3bce6687 | 4146 | |
e6cc62c6 | 4147 | fi; |
3bce6687 JS |
4148 | |
4149 | eval "$ac_cv_use_dataobj" | |
4150 | if test "$no_cache" != 1; then | |
4151 | echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp | |
4152 | fi | |
4153 | ||
4154 | if test "$wxUSE_DATAOBJ" = yes; then | |
e6cc62c6 VS |
4155 | echo "$as_me:$LINENO: result: yes" >&5 |
4156 | echo "${ECHO_T}yes" >&6 | |
3bce6687 | 4157 | else |
e6cc62c6 VS |
4158 | echo "$as_me:$LINENO: result: no" >&5 |
4159 | echo "${ECHO_T}no" >&6 | |
3bce6687 | 4160 | fi |
e6cc62c6 | 4161 | |
3bce6687 | 4162 | |
52127426 | 4163 | |
5005acfe | 4164 | enablestring= |
e6cc62c6 VS |
4165 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5 |
4166 | echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6 | |
10f2d63a | 4167 | no_cache=0 |
eb4efbdc VZ |
4168 | # Check whether --enable-ipc or --disable-ipc was given. |
4169 | if test "${enable_ipc+set}" = set; then | |
4170 | enableval="$enable_ipc" | |
e6cc62c6 | 4171 | |
10f2d63a | 4172 | if test "$enableval" = yes; then |
eb4efbdc | 4173 | ac_cv_use_ipc='wxUSE_IPC=yes' |
10f2d63a | 4174 | else |
eb4efbdc | 4175 | ac_cv_use_ipc='wxUSE_IPC=no' |
10f2d63a | 4176 | fi |
e6cc62c6 | 4177 | |
10f2d63a | 4178 | else |
e6cc62c6 | 4179 | |
eb4efbdc | 4180 | LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}` |
10f2d63a VZ |
4181 | if test "x$LINE" != x ; then |
4182 | eval "DEFAULT_$LINE" | |
4183 | else | |
4184 | no_cache=1 | |
4185 | fi | |
4186 | ||
eb4efbdc | 4187 | ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC |
10f2d63a | 4188 | |
e6cc62c6 | 4189 | fi; |
10f2d63a | 4190 | |
eb4efbdc | 4191 | eval "$ac_cv_use_ipc" |
10f2d63a | 4192 | if test "$no_cache" != 1; then |
eb4efbdc | 4193 | echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4194 | fi |
4195 | ||
eb4efbdc | 4196 | if test "$wxUSE_IPC" = yes; then |
e6cc62c6 VS |
4197 | echo "$as_me:$LINENO: result: yes" >&5 |
4198 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4199 | else |
e6cc62c6 VS |
4200 | echo "$as_me:$LINENO: result: no" >&5 |
4201 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4202 | fi |
e6cc62c6 | 4203 | |
52127426 | 4204 | |
8284b0c5 | 4205 | |
5005acfe | 4206 | enablestring= |
e46d2a18 VS |
4207 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5 |
4208 | echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6 | |
10f2d63a | 4209 | no_cache=0 |
e46d2a18 VS |
4210 | # Check whether --enable-apple_ieee or --disable-apple_ieee was given. |
4211 | if test "${enable_apple_ieee+set}" = set; then | |
4212 | enableval="$enable_apple_ieee" | |
e6cc62c6 | 4213 | |
10f2d63a | 4214 | if test "$enableval" = yes; then |
e46d2a18 | 4215 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes' |
10f2d63a | 4216 | else |
e46d2a18 | 4217 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no' |
10f2d63a | 4218 | fi |
e6cc62c6 | 4219 | |
10f2d63a | 4220 | else |
e6cc62c6 | 4221 | |
e46d2a18 | 4222 | LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}` |
10f2d63a VZ |
4223 | if test "x$LINE" != x ; then |
4224 | eval "DEFAULT_$LINE" | |
4225 | else | |
4226 | no_cache=1 | |
4227 | fi | |
4228 | ||
e46d2a18 | 4229 | ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE |
10f2d63a | 4230 | |
e6cc62c6 | 4231 | fi; |
10f2d63a | 4232 | |
e46d2a18 | 4233 | eval "$ac_cv_use_apple_ieee" |
10f2d63a | 4234 | if test "$no_cache" != 1; then |
e46d2a18 | 4235 | echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4236 | fi |
4237 | ||
e46d2a18 | 4238 | if test "$wxUSE_APPLE_IEEE" = yes; then |
e6cc62c6 VS |
4239 | echo "$as_me:$LINENO: result: yes" >&5 |
4240 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4241 | else |
e6cc62c6 VS |
4242 | echo "$as_me:$LINENO: result: no" >&5 |
4243 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4244 | fi |
e6cc62c6 | 4245 | |
10f2d63a | 4246 | |
5005acfe | 4247 | enablestring= |
e46d2a18 VS |
4248 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5 |
4249 | echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6 | |
10f2d63a | 4250 | no_cache=0 |
e46d2a18 VS |
4251 | # Check whether --enable-catch_segvs or --disable-catch_segvs was given. |
4252 | if test "${enable_catch_segvs+set}" = set; then | |
4253 | enableval="$enable_catch_segvs" | |
e6cc62c6 | 4254 | |
10f2d63a | 4255 | if test "$enableval" = yes; then |
e46d2a18 | 4256 | ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes' |
10f2d63a | 4257 | else |
e46d2a18 | 4258 | ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no' |
10f2d63a | 4259 | fi |
e6cc62c6 | 4260 | |
10f2d63a | 4261 | else |
e6cc62c6 | 4262 | |
e46d2a18 | 4263 | LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}` |
10f2d63a VZ |
4264 | if test "x$LINE" != x ; then |
4265 | eval "DEFAULT_$LINE" | |
4266 | else | |
4267 | no_cache=1 | |
4268 | fi | |
4269 | ||
e46d2a18 | 4270 | ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION |
10f2d63a | 4271 | |
e6cc62c6 | 4272 | fi; |
10f2d63a | 4273 | |
e46d2a18 | 4274 | eval "$ac_cv_use_catch_segvs" |
10f2d63a | 4275 | if test "$no_cache" != 1; then |
e46d2a18 | 4276 | echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4277 | fi |
4278 | ||
e46d2a18 | 4279 | if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then |
e6cc62c6 VS |
4280 | echo "$as_me:$LINENO: result: yes" >&5 |
4281 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4282 | else |
e6cc62c6 VS |
4283 | echo "$as_me:$LINENO: result: no" >&5 |
4284 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4285 | fi |
e6cc62c6 | 4286 | |
10f2d63a | 4287 | |
5005acfe | 4288 | enablestring= |
e46d2a18 VS |
4289 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5 |
4290 | echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6 | |
10f2d63a | 4291 | no_cache=0 |
e46d2a18 VS |
4292 | # Check whether --enable-cmdline or --disable-cmdline was given. |
4293 | if test "${enable_cmdline+set}" = set; then | |
4294 | enableval="$enable_cmdline" | |
e6cc62c6 | 4295 | |
10f2d63a | 4296 | if test "$enableval" = yes; then |
e46d2a18 | 4297 | ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes' |
10f2d63a | 4298 | else |
e46d2a18 | 4299 | ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no' |
10f2d63a | 4300 | fi |
e6cc62c6 | 4301 | |
10f2d63a | 4302 | else |
e6cc62c6 | 4303 | |
e46d2a18 | 4304 | LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}` |
10f2d63a VZ |
4305 | if test "x$LINE" != x ; then |
4306 | eval "DEFAULT_$LINE" | |
4307 | else | |
4308 | no_cache=1 | |
4309 | fi | |
4310 | ||
e46d2a18 | 4311 | ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER |
10f2d63a | 4312 | |
e6cc62c6 | 4313 | fi; |
10f2d63a | 4314 | |
e46d2a18 | 4315 | eval "$ac_cv_use_cmdline" |
10f2d63a | 4316 | if test "$no_cache" != 1; then |
e46d2a18 | 4317 | echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4318 | fi |
4319 | ||
e46d2a18 | 4320 | if test "$wxUSE_CMDLINE_PARSER" = yes; then |
e6cc62c6 VS |
4321 | echo "$as_me:$LINENO: result: yes" >&5 |
4322 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4323 | else |
e6cc62c6 VS |
4324 | echo "$as_me:$LINENO: result: no" >&5 |
4325 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4326 | fi |
e6cc62c6 | 4327 | |
10f2d63a | 4328 | |
5005acfe | 4329 | enablestring= |
e46d2a18 VS |
4330 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5 |
4331 | echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6 | |
10f2d63a | 4332 | no_cache=0 |
e46d2a18 VS |
4333 | # Check whether --enable-datetime or --disable-datetime was given. |
4334 | if test "${enable_datetime+set}" = set; then | |
4335 | enableval="$enable_datetime" | |
e6cc62c6 | 4336 | |
10f2d63a | 4337 | if test "$enableval" = yes; then |
e46d2a18 | 4338 | ac_cv_use_datetime='wxUSE_DATETIME=yes' |
10f2d63a | 4339 | else |
e46d2a18 | 4340 | ac_cv_use_datetime='wxUSE_DATETIME=no' |
10f2d63a | 4341 | fi |
e6cc62c6 | 4342 | |
10f2d63a | 4343 | else |
e6cc62c6 | 4344 | |
e46d2a18 | 4345 | LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}` |
10f2d63a VZ |
4346 | if test "x$LINE" != x ; then |
4347 | eval "DEFAULT_$LINE" | |
4348 | else | |
4349 | no_cache=1 | |
4350 | fi | |
4351 | ||
e46d2a18 | 4352 | ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME |
10f2d63a | 4353 | |
e6cc62c6 | 4354 | fi; |
10f2d63a | 4355 | |
e46d2a18 | 4356 | eval "$ac_cv_use_datetime" |
10f2d63a | 4357 | if test "$no_cache" != 1; then |
e46d2a18 | 4358 | echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4359 | fi |
4360 | ||
e46d2a18 | 4361 | if test "$wxUSE_DATETIME" = yes; then |
e6cc62c6 VS |
4362 | echo "$as_me:$LINENO: result: yes" >&5 |
4363 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4364 | else |
e6cc62c6 VS |
4365 | echo "$as_me:$LINENO: result: no" >&5 |
4366 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4367 | fi |
e6cc62c6 | 4368 | |
10f2d63a | 4369 | |
5005acfe | 4370 | enablestring= |
e46d2a18 VS |
4371 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5 |
4372 | echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6 | |
10f2d63a | 4373 | no_cache=0 |
e46d2a18 VS |
4374 | # Check whether --enable-dialupman or --disable-dialupman was given. |
4375 | if test "${enable_dialupman+set}" = set; then | |
4376 | enableval="$enable_dialupman" | |
e6cc62c6 | 4377 | |
10f2d63a | 4378 | if test "$enableval" = yes; then |
e46d2a18 | 4379 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes' |
10f2d63a | 4380 | else |
e46d2a18 | 4381 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no' |
10f2d63a | 4382 | fi |
e6cc62c6 | 4383 | |
10f2d63a | 4384 | else |
e6cc62c6 | 4385 | |
e46d2a18 | 4386 | LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}` |
10f2d63a VZ |
4387 | if test "x$LINE" != x ; then |
4388 | eval "DEFAULT_$LINE" | |
4389 | else | |
4390 | no_cache=1 | |
4391 | fi | |
4392 | ||
e46d2a18 | 4393 | ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER |
10f2d63a | 4394 | |
e6cc62c6 | 4395 | fi; |
10f2d63a | 4396 | |
e46d2a18 | 4397 | eval "$ac_cv_use_dialupman" |
10f2d63a | 4398 | if test "$no_cache" != 1; then |
e46d2a18 | 4399 | echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4400 | fi |
4401 | ||
e46d2a18 | 4402 | if test "$wxUSE_DIALUP_MANAGER" = yes; then |
e6cc62c6 VS |
4403 | echo "$as_me:$LINENO: result: yes" >&5 |
4404 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4405 | else |
e6cc62c6 VS |
4406 | echo "$as_me:$LINENO: result: no" >&5 |
4407 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4408 | fi |
e6cc62c6 | 4409 | |
10f2d63a | 4410 | |
5005acfe | 4411 | enablestring= |
e6cc62c6 VS |
4412 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5 |
4413 | echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6 | |
10f2d63a VZ |
4414 | no_cache=0 |
4415 | # Check whether --enable-dynlib or --disable-dynlib was given. | |
4416 | if test "${enable_dynlib+set}" = set; then | |
4417 | enableval="$enable_dynlib" | |
e6cc62c6 | 4418 | |
10f2d63a VZ |
4419 | if test "$enableval" = yes; then |
4420 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes' | |
4421 | else | |
4422 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no' | |
4423 | fi | |
e6cc62c6 | 4424 | |
10f2d63a | 4425 | else |
e6cc62c6 | 4426 | |
10f2d63a VZ |
4427 | LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}` |
4428 | if test "x$LINE" != x ; then | |
4429 | eval "DEFAULT_$LINE" | |
4430 | else | |
4431 | no_cache=1 | |
4432 | fi | |
4433 | ||
4434 | ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS | |
10f2d63a | 4435 | |
e6cc62c6 | 4436 | fi; |
10f2d63a VZ |
4437 | |
4438 | eval "$ac_cv_use_dynlib" | |
4439 | if test "$no_cache" != 1; then | |
4440 | echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp | |
4441 | fi | |
4442 | ||
4443 | if test "$wxUSE_DYNLIB_CLASS" = yes; then | |
e6cc62c6 VS |
4444 | echo "$as_me:$LINENO: result: yes" >&5 |
4445 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4446 | else |
e6cc62c6 VS |
4447 | echo "$as_me:$LINENO: result: no" >&5 |
4448 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4449 | fi |
e6cc62c6 | 4450 | |
10f2d63a | 4451 | |
5005acfe | 4452 | enablestring= |
e6cc62c6 VS |
4453 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5 |
4454 | echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6 | |
0b9ab0bd RL |
4455 | no_cache=0 |
4456 | # Check whether --enable-dynamicloader or --disable-dynamicloader was given. | |
4457 | if test "${enable_dynamicloader+set}" = set; then | |
4458 | enableval="$enable_dynamicloader" | |
e6cc62c6 | 4459 | |
0b9ab0bd RL |
4460 | if test "$enableval" = yes; then |
4461 | ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes' | |
4462 | else | |
4463 | ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no' | |
4464 | fi | |
e6cc62c6 | 4465 | |
0b9ab0bd | 4466 | else |
e6cc62c6 | 4467 | |
0b9ab0bd RL |
4468 | LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}` |
4469 | if test "x$LINE" != x ; then | |
4470 | eval "DEFAULT_$LINE" | |
4471 | else | |
4472 | no_cache=1 | |
4473 | fi | |
4474 | ||
4475 | ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER | |
0b9ab0bd | 4476 | |
e6cc62c6 | 4477 | fi; |
0b9ab0bd RL |
4478 | |
4479 | eval "$ac_cv_use_dynamicloader" | |
4480 | if test "$no_cache" != 1; then | |
4481 | echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp | |
4482 | fi | |
4483 | ||
4484 | if test "$wxUSE_DYNAMIC_LOADER" = yes; then | |
e6cc62c6 VS |
4485 | echo "$as_me:$LINENO: result: yes" >&5 |
4486 | echo "${ECHO_T}yes" >&6 | |
0b9ab0bd | 4487 | else |
e6cc62c6 VS |
4488 | echo "$as_me:$LINENO: result: no" >&5 |
4489 | echo "${ECHO_T}no" >&6 | |
0b9ab0bd | 4490 | fi |
e6cc62c6 | 4491 | |
0b9ab0bd | 4492 | |
5005acfe | 4493 | enablestring= |
e46d2a18 VS |
4494 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5 |
4495 | echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6 | |
10f2d63a | 4496 | no_cache=0 |
e46d2a18 VS |
4497 | # Check whether --enable-exceptions or --disable-exceptions was given. |
4498 | if test "${enable_exceptions+set}" = set; then | |
4499 | enableval="$enable_exceptions" | |
e6cc62c6 | 4500 | |
10f2d63a | 4501 | if test "$enableval" = yes; then |
e46d2a18 | 4502 | ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes' |
10f2d63a | 4503 | else |
e46d2a18 | 4504 | ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no' |
10f2d63a | 4505 | fi |
e6cc62c6 | 4506 | |
10f2d63a | 4507 | else |
e6cc62c6 | 4508 | |
e46d2a18 | 4509 | LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}` |
10f2d63a VZ |
4510 | if test "x$LINE" != x ; then |
4511 | eval "DEFAULT_$LINE" | |
4512 | else | |
4513 | no_cache=1 | |
4514 | fi | |
4515 | ||
e46d2a18 | 4516 | ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS |
10f2d63a | 4517 | |
e6cc62c6 | 4518 | fi; |
10f2d63a | 4519 | |
e46d2a18 | 4520 | eval "$ac_cv_use_exceptions" |
10f2d63a | 4521 | if test "$no_cache" != 1; then |
e46d2a18 | 4522 | echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4523 | fi |
4524 | ||
e46d2a18 | 4525 | if test "$wxUSE_EXCEPTIONS" = yes; then |
e6cc62c6 VS |
4526 | echo "$as_me:$LINENO: result: yes" >&5 |
4527 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4528 | else |
e6cc62c6 VS |
4529 | echo "$as_me:$LINENO: result: no" >&5 |
4530 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4531 | fi |
e6cc62c6 | 4532 | |
10f2d63a | 4533 | |
5005acfe | 4534 | enablestring= |
e46d2a18 VS |
4535 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5 |
4536 | echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6 | |
e8f65ba6 | 4537 | no_cache=0 |
e46d2a18 VS |
4538 | # Check whether --enable-ffile or --disable-ffile was given. |
4539 | if test "${enable_ffile+set}" = set; then | |
4540 | enableval="$enable_ffile" | |
e6cc62c6 | 4541 | |
e8f65ba6 | 4542 | if test "$enableval" = yes; then |
e46d2a18 | 4543 | ac_cv_use_ffile='wxUSE_FFILE=yes' |
e8f65ba6 | 4544 | else |
e46d2a18 | 4545 | ac_cv_use_ffile='wxUSE_FFILE=no' |
e8f65ba6 | 4546 | fi |
e6cc62c6 | 4547 | |
e8f65ba6 | 4548 | else |
e6cc62c6 | 4549 | |
e46d2a18 | 4550 | LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}` |
e8f65ba6 RR |
4551 | if test "x$LINE" != x ; then |
4552 | eval "DEFAULT_$LINE" | |
4553 | else | |
4554 | no_cache=1 | |
4555 | fi | |
4556 | ||
e46d2a18 | 4557 | ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE |
e8f65ba6 | 4558 | |
e6cc62c6 | 4559 | fi; |
e8f65ba6 | 4560 | |
e46d2a18 | 4561 | eval "$ac_cv_use_ffile" |
e8f65ba6 | 4562 | if test "$no_cache" != 1; then |
e46d2a18 | 4563 | echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp |
e8f65ba6 RR |
4564 | fi |
4565 | ||
e46d2a18 | 4566 | if test "$wxUSE_FFILE" = yes; then |
e6cc62c6 VS |
4567 | echo "$as_me:$LINENO: result: yes" >&5 |
4568 | echo "${ECHO_T}yes" >&6 | |
e8f65ba6 | 4569 | else |
e6cc62c6 VS |
4570 | echo "$as_me:$LINENO: result: no" >&5 |
4571 | echo "${ECHO_T}no" >&6 | |
e8f65ba6 | 4572 | fi |
e6cc62c6 | 4573 | |
e8f65ba6 | 4574 | |
5005acfe | 4575 | enablestring= |
e46d2a18 VS |
4576 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5 |
4577 | echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6 | |
10f2d63a | 4578 | no_cache=0 |
e46d2a18 VS |
4579 | # Check whether --enable-file or --disable-file was given. |
4580 | if test "${enable_file+set}" = set; then | |
4581 | enableval="$enable_file" | |
e6cc62c6 | 4582 | |
10f2d63a | 4583 | if test "$enableval" = yes; then |
e46d2a18 | 4584 | ac_cv_use_file='wxUSE_FILE=yes' |
10f2d63a | 4585 | else |
e46d2a18 | 4586 | ac_cv_use_file='wxUSE_FILE=no' |
10f2d63a | 4587 | fi |
e6cc62c6 | 4588 | |
10f2d63a | 4589 | else |
e6cc62c6 | 4590 | |
e46d2a18 | 4591 | LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}` |
10f2d63a VZ |
4592 | if test "x$LINE" != x ; then |
4593 | eval "DEFAULT_$LINE" | |
4594 | else | |
4595 | no_cache=1 | |
4596 | fi | |
4597 | ||
e46d2a18 | 4598 | ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE |
10f2d63a | 4599 | |
e6cc62c6 | 4600 | fi; |
10f2d63a | 4601 | |
e46d2a18 | 4602 | eval "$ac_cv_use_file" |
10f2d63a | 4603 | if test "$no_cache" != 1; then |
e46d2a18 | 4604 | echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4605 | fi |
4606 | ||
e46d2a18 | 4607 | if test "$wxUSE_FILE" = yes; then |
e6cc62c6 VS |
4608 | echo "$as_me:$LINENO: result: yes" >&5 |
4609 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4610 | else |
e6cc62c6 VS |
4611 | echo "$as_me:$LINENO: result: no" >&5 |
4612 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4613 | fi |
e6cc62c6 | 4614 | |
10f2d63a | 4615 | |
5005acfe | 4616 | enablestring= |
e46d2a18 VS |
4617 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5 |
4618 | echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6 | |
10f2d63a | 4619 | no_cache=0 |
e46d2a18 VS |
4620 | # Check whether --enable-filesystem or --disable-filesystem was given. |
4621 | if test "${enable_filesystem+set}" = set; then | |
4622 | enableval="$enable_filesystem" | |
e6cc62c6 | 4623 | |
10f2d63a | 4624 | if test "$enableval" = yes; then |
e46d2a18 | 4625 | ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes' |
10f2d63a | 4626 | else |
e46d2a18 | 4627 | ac_cv_use_filesystem='wxUSE_FILESYSTEM=no' |
10f2d63a | 4628 | fi |
e6cc62c6 | 4629 | |
10f2d63a | 4630 | else |
e6cc62c6 | 4631 | |
e46d2a18 | 4632 | LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}` |
10f2d63a VZ |
4633 | if test "x$LINE" != x ; then |
4634 | eval "DEFAULT_$LINE" | |
4635 | else | |
4636 | no_cache=1 | |
4637 | fi | |
4638 | ||
e46d2a18 | 4639 | ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM |
10f2d63a | 4640 | |
e6cc62c6 | 4641 | fi; |
10f2d63a | 4642 | |
e46d2a18 | 4643 | eval "$ac_cv_use_filesystem" |
10f2d63a | 4644 | if test "$no_cache" != 1; then |
e46d2a18 | 4645 | echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4646 | fi |
4647 | ||
e46d2a18 | 4648 | if test "$wxUSE_FILESYSTEM" = yes; then |
e6cc62c6 VS |
4649 | echo "$as_me:$LINENO: result: yes" >&5 |
4650 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4651 | else |
e6cc62c6 VS |
4652 | echo "$as_me:$LINENO: result: no" >&5 |
4653 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4654 | fi |
e6cc62c6 | 4655 | |
10f2d63a | 4656 | |
5005acfe | 4657 | enablestring= |
e46d2a18 VS |
4658 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5 |
4659 | echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6 | |
10f2d63a | 4660 | no_cache=0 |
e46d2a18 VS |
4661 | # Check whether --enable-fontmap or --disable-fontmap was given. |
4662 | if test "${enable_fontmap+set}" = set; then | |
4663 | enableval="$enable_fontmap" | |
e6cc62c6 | 4664 | |
10f2d63a | 4665 | if test "$enableval" = yes; then |
e46d2a18 | 4666 | ac_cv_use_fontmap='wxUSE_FONTMAP=yes' |
10f2d63a | 4667 | else |
e46d2a18 | 4668 | ac_cv_use_fontmap='wxUSE_FONTMAP=no' |
10f2d63a | 4669 | fi |
e6cc62c6 | 4670 | |
10f2d63a | 4671 | else |
e6cc62c6 | 4672 | |
e46d2a18 | 4673 | LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}` |
10f2d63a VZ |
4674 | if test "x$LINE" != x ; then |
4675 | eval "DEFAULT_$LINE" | |
4676 | else | |
4677 | no_cache=1 | |
4678 | fi | |
4679 | ||
e46d2a18 | 4680 | ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP |
10f2d63a | 4681 | |
e6cc62c6 | 4682 | fi; |
10f2d63a | 4683 | |
e46d2a18 | 4684 | eval "$ac_cv_use_fontmap" |
10f2d63a | 4685 | if test "$no_cache" != 1; then |
e46d2a18 | 4686 | echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4687 | fi |
4688 | ||
e46d2a18 | 4689 | if test "$wxUSE_FONTMAP" = yes; then |
e6cc62c6 VS |
4690 | echo "$as_me:$LINENO: result: yes" >&5 |
4691 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4692 | else |
e6cc62c6 VS |
4693 | echo "$as_me:$LINENO: result: no" >&5 |
4694 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4695 | fi |
e6cc62c6 | 4696 | |
10f2d63a | 4697 | |
5005acfe | 4698 | enablestring= |
e46d2a18 VS |
4699 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5 |
4700 | echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6 | |
10f2d63a | 4701 | no_cache=0 |
e46d2a18 VS |
4702 | # Check whether --enable-fs_inet or --disable-fs_inet was given. |
4703 | if test "${enable_fs_inet+set}" = set; then | |
4704 | enableval="$enable_fs_inet" | |
e6cc62c6 | 4705 | |
10f2d63a | 4706 | if test "$enableval" = yes; then |
e46d2a18 | 4707 | ac_cv_use_fs_inet='wxUSE_FS_INET=yes' |
10f2d63a | 4708 | else |
e46d2a18 | 4709 | ac_cv_use_fs_inet='wxUSE_FS_INET=no' |
10f2d63a | 4710 | fi |
e6cc62c6 | 4711 | |
10f2d63a | 4712 | else |
e6cc62c6 | 4713 | |
e46d2a18 | 4714 | LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}` |
10f2d63a VZ |
4715 | if test "x$LINE" != x ; then |
4716 | eval "DEFAULT_$LINE" | |
4717 | else | |
4718 | no_cache=1 | |
4719 | fi | |
4720 | ||
e46d2a18 | 4721 | ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET |
10f2d63a | 4722 | |
e6cc62c6 | 4723 | fi; |
10f2d63a | 4724 | |
e46d2a18 | 4725 | eval "$ac_cv_use_fs_inet" |
10f2d63a | 4726 | if test "$no_cache" != 1; then |
e46d2a18 | 4727 | echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4728 | fi |
4729 | ||
e46d2a18 | 4730 | if test "$wxUSE_FS_INET" = yes; then |
e6cc62c6 VS |
4731 | echo "$as_me:$LINENO: result: yes" >&5 |
4732 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4733 | else |
e6cc62c6 VS |
4734 | echo "$as_me:$LINENO: result: no" >&5 |
4735 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4736 | fi |
e6cc62c6 | 4737 | |
10f2d63a | 4738 | |
5005acfe | 4739 | enablestring= |
e46d2a18 VS |
4740 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5 |
4741 | echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6 | |
a3a584a7 | 4742 | no_cache=0 |
e46d2a18 VS |
4743 | # Check whether --enable-fs_zip or --disable-fs_zip was given. |
4744 | if test "${enable_fs_zip+set}" = set; then | |
4745 | enableval="$enable_fs_zip" | |
e6cc62c6 | 4746 | |
a3a584a7 | 4747 | if test "$enableval" = yes; then |
e46d2a18 | 4748 | ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes' |
a3a584a7 | 4749 | else |
e46d2a18 | 4750 | ac_cv_use_fs_zip='wxUSE_FS_ZIP=no' |
a3a584a7 | 4751 | fi |
e6cc62c6 | 4752 | |
a3a584a7 | 4753 | else |
e6cc62c6 | 4754 | |
e46d2a18 | 4755 | LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}` |
a3a584a7 VZ |
4756 | if test "x$LINE" != x ; then |
4757 | eval "DEFAULT_$LINE" | |
4758 | else | |
4759 | no_cache=1 | |
4760 | fi | |
4761 | ||
e46d2a18 | 4762 | ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP |
a3a584a7 | 4763 | |
e6cc62c6 | 4764 | fi; |
a3a584a7 | 4765 | |
e46d2a18 | 4766 | eval "$ac_cv_use_fs_zip" |
a3a584a7 | 4767 | if test "$no_cache" != 1; then |
e46d2a18 | 4768 | echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp |
a3a584a7 VZ |
4769 | fi |
4770 | ||
e46d2a18 | 4771 | if test "$wxUSE_FS_ZIP" = yes; then |
e6cc62c6 VS |
4772 | echo "$as_me:$LINENO: result: yes" >&5 |
4773 | echo "${ECHO_T}yes" >&6 | |
a3a584a7 | 4774 | else |
e6cc62c6 VS |
4775 | echo "$as_me:$LINENO: result: no" >&5 |
4776 | echo "${ECHO_T}no" >&6 | |
a3a584a7 | 4777 | fi |
e6cc62c6 | 4778 | |
a3a584a7 | 4779 | |
5005acfe | 4780 | enablestring= |
e46d2a18 VS |
4781 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5 |
4782 | echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6 | |
10f2d63a | 4783 | no_cache=0 |
e46d2a18 VS |
4784 | # Check whether --enable-geometry or --disable-geometry was given. |
4785 | if test "${enable_geometry+set}" = set; then | |
4786 | enableval="$enable_geometry" | |
e6cc62c6 | 4787 | |
10f2d63a | 4788 | if test "$enableval" = yes; then |
e46d2a18 | 4789 | ac_cv_use_geometry='wxUSE_GEOMETRY=yes' |
10f2d63a | 4790 | else |
e46d2a18 | 4791 | ac_cv_use_geometry='wxUSE_GEOMETRY=no' |
10f2d63a | 4792 | fi |
e6cc62c6 | 4793 | |
10f2d63a | 4794 | else |
e6cc62c6 | 4795 | |
e46d2a18 | 4796 | LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}` |
10f2d63a VZ |
4797 | if test "x$LINE" != x ; then |
4798 | eval "DEFAULT_$LINE" | |
4799 | else | |
4800 | no_cache=1 | |
4801 | fi | |
4802 | ||
e46d2a18 | 4803 | ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY |
10f2d63a | 4804 | |
e6cc62c6 | 4805 | fi; |
10f2d63a | 4806 | |
e46d2a18 | 4807 | eval "$ac_cv_use_geometry" |
10f2d63a | 4808 | if test "$no_cache" != 1; then |
e46d2a18 | 4809 | echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4810 | fi |
4811 | ||
e46d2a18 | 4812 | if test "$wxUSE_GEOMETRY" = yes; then |
e6cc62c6 VS |
4813 | echo "$as_me:$LINENO: result: yes" >&5 |
4814 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4815 | else |
e6cc62c6 VS |
4816 | echo "$as_me:$LINENO: result: no" >&5 |
4817 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4818 | fi |
e6cc62c6 | 4819 | |
10f2d63a | 4820 | |
5005acfe | 4821 | enablestring= |
e46d2a18 VS |
4822 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5 |
4823 | echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6 | |
10f2d63a | 4824 | no_cache=0 |
e46d2a18 VS |
4825 | # Check whether --enable-log or --disable-log was given. |
4826 | if test "${enable_log+set}" = set; then | |
4827 | enableval="$enable_log" | |
e6cc62c6 | 4828 | |
10f2d63a | 4829 | if test "$enableval" = yes; then |
e46d2a18 | 4830 | ac_cv_use_log='wxUSE_LOG=yes' |
10f2d63a | 4831 | else |
e46d2a18 | 4832 | ac_cv_use_log='wxUSE_LOG=no' |
10f2d63a | 4833 | fi |
e6cc62c6 | 4834 | |
10f2d63a | 4835 | else |
e6cc62c6 | 4836 | |
e46d2a18 | 4837 | LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}` |
10f2d63a VZ |
4838 | if test "x$LINE" != x ; then |
4839 | eval "DEFAULT_$LINE" | |
4840 | else | |
4841 | no_cache=1 | |
4842 | fi | |
4843 | ||
e46d2a18 | 4844 | ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG |
10f2d63a | 4845 | |
e6cc62c6 | 4846 | fi; |
10f2d63a | 4847 | |
e46d2a18 | 4848 | eval "$ac_cv_use_log" |
10f2d63a | 4849 | if test "$no_cache" != 1; then |
e46d2a18 | 4850 | echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
4851 | fi |
4852 | ||
e46d2a18 | 4853 | if test "$wxUSE_LOG" = yes; then |
e6cc62c6 VS |
4854 | echo "$as_me:$LINENO: result: yes" >&5 |
4855 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 4856 | else |
e6cc62c6 VS |
4857 | echo "$as_me:$LINENO: result: no" >&5 |
4858 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 4859 | fi |
e6cc62c6 | 4860 | |
10f2d63a | 4861 | |
5005acfe | 4862 | enablestring= |
e46d2a18 VS |
4863 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5 |
4864 | echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6 | |
10f2d63a | 4865 | no_cache=0 |
e46d2a18 VS |
4866 | # Check whether --enable-longlong or --disable-longlong was given. |
4867 | if test "${enable_longlong+set}" = set; then | |
4868 | enableval="$enable_longlong" | |
e6cc62c6 | 4869 | |
1e6feb95 | 4870 | if test "$enableval" = yes; then |
e46d2a18 | 4871 | ac_cv_use_longlong='wxUSE_LONGLONG=yes' |
1e6feb95 | 4872 | else |
e46d2a18 | 4873 | ac_cv_use_longlong='wxUSE_LONGLONG=no' |
1e6feb95 | 4874 | fi |
e6cc62c6 | 4875 | |
1e6feb95 | 4876 | else |
e6cc62c6 | 4877 | |
e46d2a18 | 4878 | LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}` |
1e6feb95 VZ |
4879 | if test "x$LINE" != x ; then |
4880 | eval "DEFAULT_$LINE" | |
4881 | else | |
4882 | no_cache=1 | |
4883 | fi | |
4884 | ||
e46d2a18 | 4885 | ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG |
1e6feb95 | 4886 | |
e6cc62c6 | 4887 | fi; |
1e6feb95 | 4888 | |
e46d2a18 | 4889 | eval "$ac_cv_use_longlong" |
1e6feb95 | 4890 | if test "$no_cache" != 1; then |
e46d2a18 | 4891 | echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp |
1e6feb95 VZ |
4892 | fi |
4893 | ||
e46d2a18 VS |
4894 | if test "$wxUSE_LONGLONG" = yes; then |
4895 | echo "$as_me:$LINENO: result: yes" >&5 | |
4896 | echo "${ECHO_T}yes" >&6 | |
4897 | else | |
4898 | echo "$as_me:$LINENO: result: no" >&5 | |
4899 | echo "${ECHO_T}no" >&6 | |
4900 | fi | |
4901 | ||
4902 | ||
4903 | enablestring= | |
4904 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5 | |
4905 | echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6 | |
4906 | no_cache=0 | |
4907 | # Check whether --enable-mimetype or --disable-mimetype was given. | |
4908 | if test "${enable_mimetype+set}" = set; then | |
4909 | enableval="$enable_mimetype" | |
4910 | ||
4911 | if test "$enableval" = yes; then | |
4912 | ac_cv_use_mimetype='wxUSE_MIMETYPE=yes' | |
4913 | else | |
4914 | ac_cv_use_mimetype='wxUSE_MIMETYPE=no' | |
4915 | fi | |
4916 | ||
4917 | else | |
4918 | ||
4919 | LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}` | |
4920 | if test "x$LINE" != x ; then | |
4921 | eval "DEFAULT_$LINE" | |
4922 | else | |
4923 | no_cache=1 | |
4924 | fi | |
4925 | ||
4926 | ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE | |
4927 | ||
4928 | fi; | |
4929 | ||
4930 | eval "$ac_cv_use_mimetype" | |
4931 | if test "$no_cache" != 1; then | |
4932 | echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp | |
4933 | fi | |
4934 | ||
4935 | if test "$wxUSE_MIMETYPE" = yes; then | |
e6cc62c6 VS |
4936 | echo "$as_me:$LINENO: result: yes" >&5 |
4937 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 4938 | else |
e6cc62c6 VS |
4939 | echo "$as_me:$LINENO: result: no" >&5 |
4940 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 4941 | fi |
e6cc62c6 | 4942 | |
1e6feb95 | 4943 | |
5005acfe | 4944 | enablestring= |
e6cc62c6 VS |
4945 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5 |
4946 | echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6 | |
a72a4bfa VS |
4947 | no_cache=0 |
4948 | # Check whether --enable-mslu or --disable-mslu was given. | |
4949 | if test "${enable_mslu+set}" = set; then | |
4950 | enableval="$enable_mslu" | |
e6cc62c6 | 4951 | |
a72a4bfa VS |
4952 | if test "$enableval" = yes; then |
4953 | ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes' | |
4954 | else | |
4955 | ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no' | |
4956 | fi | |
e6cc62c6 | 4957 | |
a72a4bfa | 4958 | else |
e6cc62c6 | 4959 | |
a72a4bfa VS |
4960 | LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}` |
4961 | if test "x$LINE" != x ; then | |
4962 | eval "DEFAULT_$LINE" | |
4963 | else | |
4964 | no_cache=1 | |
4965 | fi | |
4966 | ||
4967 | ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU | |
a72a4bfa | 4968 | |
e6cc62c6 | 4969 | fi; |
a72a4bfa VS |
4970 | |
4971 | eval "$ac_cv_use_mslu" | |
4972 | if test "$no_cache" != 1; then | |
4973 | echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp | |
4974 | fi | |
4975 | ||
4976 | if test "$wxUSE_UNICODE_MSLU" = yes; then | |
e6cc62c6 VS |
4977 | echo "$as_me:$LINENO: result: yes" >&5 |
4978 | echo "${ECHO_T}yes" >&6 | |
a72a4bfa | 4979 | else |
e6cc62c6 VS |
4980 | echo "$as_me:$LINENO: result: no" >&5 |
4981 | echo "${ECHO_T}no" >&6 | |
a72a4bfa | 4982 | fi |
e6cc62c6 | 4983 | |
a72a4bfa | 4984 | |
5005acfe | 4985 | enablestring= |
e46d2a18 VS |
4986 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5 |
4987 | echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6 | |
1e6feb95 | 4988 | no_cache=0 |
e46d2a18 VS |
4989 | # Check whether --enable-snglinst or --disable-snglinst was given. |
4990 | if test "${enable_snglinst+set}" = set; then | |
4991 | enableval="$enable_snglinst" | |
e6cc62c6 | 4992 | |
1e6feb95 | 4993 | if test "$enableval" = yes; then |
e46d2a18 | 4994 | ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes' |
10f2d63a | 4995 | else |
e46d2a18 | 4996 | ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no' |
10f2d63a | 4997 | fi |
e6cc62c6 | 4998 | |
10f2d63a | 4999 | else |
e6cc62c6 | 5000 | |
e46d2a18 | 5001 | LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}` |
10f2d63a VZ |
5002 | if test "x$LINE" != x ; then |
5003 | eval "DEFAULT_$LINE" | |
5004 | else | |
5005 | no_cache=1 | |
5006 | fi | |
5007 | ||
e46d2a18 | 5008 | ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER |
10f2d63a | 5009 | |
e6cc62c6 | 5010 | fi; |
10f2d63a | 5011 | |
e46d2a18 | 5012 | eval "$ac_cv_use_snglinst" |
10f2d63a | 5013 | if test "$no_cache" != 1; then |
e46d2a18 | 5014 | echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
5015 | fi |
5016 | ||
e46d2a18 VS |
5017 | if test "$wxUSE_SNGLINST_CHECKER" = yes; then |
5018 | echo "$as_me:$LINENO: result: yes" >&5 | |
5019 | echo "${ECHO_T}yes" >&6 | |
5020 | else | |
5021 | echo "$as_me:$LINENO: result: no" >&5 | |
5022 | echo "${ECHO_T}no" >&6 | |
5023 | fi | |
5024 | ||
5025 | ||
5026 | enablestring= | |
5027 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5 | |
5028 | echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6 | |
5029 | no_cache=0 | |
5030 | # Check whether --enable-streams or --disable-streams was given. | |
5031 | if test "${enable_streams+set}" = set; then | |
5032 | enableval="$enable_streams" | |
5033 | ||
5034 | if test "$enableval" = yes; then | |
5035 | ac_cv_use_streams='wxUSE_STREAMS=yes' | |
5036 | else | |
5037 | ac_cv_use_streams='wxUSE_STREAMS=no' | |
5038 | fi | |
5039 | ||
5040 | else | |
5041 | ||
5042 | LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}` | |
5043 | if test "x$LINE" != x ; then | |
5044 | eval "DEFAULT_$LINE" | |
5045 | else | |
5046 | no_cache=1 | |
5047 | fi | |
5048 | ||
5049 | ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS | |
5050 | ||
5051 | fi; | |
5052 | ||
5053 | eval "$ac_cv_use_streams" | |
5054 | if test "$no_cache" != 1; then | |
5055 | echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp | |
5056 | fi | |
5057 | ||
5058 | if test "$wxUSE_STREAMS" = yes; then | |
e6cc62c6 VS |
5059 | echo "$as_me:$LINENO: result: yes" >&5 |
5060 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5061 | else |
e6cc62c6 VS |
5062 | echo "$as_me:$LINENO: result: no" >&5 |
5063 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5064 | fi |
e6cc62c6 | 5065 | |
10f2d63a | 5066 | |
5005acfe | 5067 | enablestring= |
e6cc62c6 VS |
5068 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5 |
5069 | echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6 | |
10f2d63a VZ |
5070 | no_cache=0 |
5071 | # Check whether --enable-std_iostreams or --disable-std_iostreams was given. | |
5072 | if test "${enable_std_iostreams+set}" = set; then | |
5073 | enableval="$enable_std_iostreams" | |
e6cc62c6 | 5074 | |
10f2d63a VZ |
5075 | if test "$enableval" = yes; then |
5076 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes' | |
5077 | else | |
5078 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no' | |
5079 | fi | |
e6cc62c6 | 5080 | |
10f2d63a | 5081 | else |
e6cc62c6 | 5082 | |
10f2d63a VZ |
5083 | LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}` |
5084 | if test "x$LINE" != x ; then | |
5085 | eval "DEFAULT_$LINE" | |
5086 | else | |
5087 | no_cache=1 | |
5088 | fi | |
5089 | ||
5090 | ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM | |
10f2d63a | 5091 | |
e6cc62c6 | 5092 | fi; |
10f2d63a VZ |
5093 | |
5094 | eval "$ac_cv_use_std_iostreams" | |
5095 | if test "$no_cache" != 1; then | |
5096 | echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp | |
5097 | fi | |
5098 | ||
5099 | if test "$wxUSE_STD_IOSTREAM" = yes; then | |
e6cc62c6 VS |
5100 | echo "$as_me:$LINENO: result: yes" >&5 |
5101 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5102 | else |
e6cc62c6 VS |
5103 | echo "$as_me:$LINENO: result: no" >&5 |
5104 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5105 | fi |
e6cc62c6 | 5106 | |
10f2d63a | 5107 | |
5005acfe | 5108 | enablestring= |
e46d2a18 VS |
5109 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5 |
5110 | echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6 | |
24528b0c | 5111 | no_cache=0 |
e46d2a18 VS |
5112 | # Check whether --enable-stopwatch or --disable-stopwatch was given. |
5113 | if test "${enable_stopwatch+set}" = set; then | |
5114 | enableval="$enable_stopwatch" | |
e6cc62c6 | 5115 | |
24528b0c | 5116 | if test "$enableval" = yes; then |
e46d2a18 | 5117 | ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes' |
24528b0c | 5118 | else |
e46d2a18 | 5119 | ac_cv_use_stopwatch='wxUSE_STOPWATCH=no' |
24528b0c | 5120 | fi |
e6cc62c6 | 5121 | |
24528b0c | 5122 | else |
e6cc62c6 | 5123 | |
e46d2a18 | 5124 | LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}` |
24528b0c VS |
5125 | if test "x$LINE" != x ; then |
5126 | eval "DEFAULT_$LINE" | |
5127 | else | |
5128 | no_cache=1 | |
5129 | fi | |
5130 | ||
e46d2a18 | 5131 | ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH |
24528b0c | 5132 | |
e6cc62c6 | 5133 | fi; |
24528b0c | 5134 | |
e46d2a18 | 5135 | eval "$ac_cv_use_stopwatch" |
24528b0c | 5136 | if test "$no_cache" != 1; then |
e46d2a18 | 5137 | echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp |
24528b0c VS |
5138 | fi |
5139 | ||
e46d2a18 | 5140 | if test "$wxUSE_STOPWATCH" = yes; then |
e6cc62c6 VS |
5141 | echo "$as_me:$LINENO: result: yes" >&5 |
5142 | echo "${ECHO_T}yes" >&6 | |
24528b0c | 5143 | else |
e6cc62c6 VS |
5144 | echo "$as_me:$LINENO: result: no" >&5 |
5145 | echo "${ECHO_T}no" >&6 | |
24528b0c | 5146 | fi |
e6cc62c6 | 5147 | |
24528b0c | 5148 | |
5005acfe | 5149 | enablestring= |
e46d2a18 VS |
5150 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5 |
5151 | echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6 | |
10f2d63a | 5152 | no_cache=0 |
e46d2a18 VS |
5153 | # Check whether --enable-system_options or --disable-system_options was given. |
5154 | if test "${enable_system_options+set}" = set; then | |
5155 | enableval="$enable_system_options" | |
e6cc62c6 | 5156 | |
10f2d63a | 5157 | if test "$enableval" = yes; then |
e46d2a18 | 5158 | ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes' |
10f2d63a | 5159 | else |
e46d2a18 | 5160 | ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no' |
10f2d63a | 5161 | fi |
e6cc62c6 | 5162 | |
10f2d63a | 5163 | else |
e6cc62c6 | 5164 | |
e46d2a18 | 5165 | LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}` |
10f2d63a VZ |
5166 | if test "x$LINE" != x ; then |
5167 | eval "DEFAULT_$LINE" | |
5168 | else | |
5169 | no_cache=1 | |
5170 | fi | |
5171 | ||
e46d2a18 | 5172 | ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS |
10f2d63a | 5173 | |
e6cc62c6 | 5174 | fi; |
10f2d63a | 5175 | |
e46d2a18 | 5176 | eval "$ac_cv_use_system_options" |
10f2d63a | 5177 | if test "$no_cache" != 1; then |
e46d2a18 | 5178 | echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
5179 | fi |
5180 | ||
e46d2a18 | 5181 | if test "$wxUSE_SYSTEM_OPTIONS" = yes; then |
e6cc62c6 VS |
5182 | echo "$as_me:$LINENO: result: yes" >&5 |
5183 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5184 | else |
e6cc62c6 VS |
5185 | echo "$as_me:$LINENO: result: no" >&5 |
5186 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5187 | fi |
e6cc62c6 | 5188 | |
10f2d63a | 5189 | |
5005acfe | 5190 | enablestring= |
e46d2a18 VS |
5191 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5 |
5192 | echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6 | |
10f2d63a | 5193 | no_cache=0 |
e46d2a18 VS |
5194 | # Check whether --enable-textbuf or --disable-textbuf was given. |
5195 | if test "${enable_textbuf+set}" = set; then | |
5196 | enableval="$enable_textbuf" | |
e6cc62c6 | 5197 | |
10f2d63a | 5198 | if test "$enableval" = yes; then |
e46d2a18 | 5199 | ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes' |
10f2d63a | 5200 | else |
e46d2a18 | 5201 | ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no' |
10f2d63a | 5202 | fi |
e6cc62c6 | 5203 | |
10f2d63a | 5204 | else |
e6cc62c6 | 5205 | |
e46d2a18 | 5206 | LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}` |
10f2d63a VZ |
5207 | if test "x$LINE" != x ; then |
5208 | eval "DEFAULT_$LINE" | |
5209 | else | |
5210 | no_cache=1 | |
5211 | fi | |
5212 | ||
e46d2a18 | 5213 | ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER |
10f2d63a | 5214 | |
e6cc62c6 | 5215 | fi; |
10f2d63a | 5216 | |
e46d2a18 | 5217 | eval "$ac_cv_use_textbuf" |
10f2d63a | 5218 | if test "$no_cache" != 1; then |
e46d2a18 | 5219 | echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
5220 | fi |
5221 | ||
e46d2a18 | 5222 | if test "$wxUSE_TEXTBUFFER" = yes; then |
e6cc62c6 VS |
5223 | echo "$as_me:$LINENO: result: yes" >&5 |
5224 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5225 | else |
e6cc62c6 VS |
5226 | echo "$as_me:$LINENO: result: no" >&5 |
5227 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5228 | fi |
e6cc62c6 | 5229 | |
10f2d63a | 5230 | |
5005acfe | 5231 | enablestring= |
e46d2a18 VS |
5232 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5 |
5233 | echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6 | |
10f2d63a | 5234 | no_cache=0 |
e46d2a18 VS |
5235 | # Check whether --enable-textfile or --disable-textfile was given. |
5236 | if test "${enable_textfile+set}" = set; then | |
5237 | enableval="$enable_textfile" | |
e6cc62c6 | 5238 | |
10f2d63a | 5239 | if test "$enableval" = yes; then |
e46d2a18 | 5240 | ac_cv_use_textfile='wxUSE_TEXTFILE=yes' |
10f2d63a | 5241 | else |
e46d2a18 | 5242 | ac_cv_use_textfile='wxUSE_TEXTFILE=no' |
10f2d63a | 5243 | fi |
e6cc62c6 | 5244 | |
10f2d63a | 5245 | else |
e6cc62c6 | 5246 | |
e46d2a18 | 5247 | LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}` |
10f2d63a VZ |
5248 | if test "x$LINE" != x ; then |
5249 | eval "DEFAULT_$LINE" | |
5250 | else | |
5251 | no_cache=1 | |
5252 | fi | |
5253 | ||
e46d2a18 | 5254 | ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE |
10f2d63a | 5255 | |
e6cc62c6 | 5256 | fi; |
10f2d63a | 5257 | |
e46d2a18 | 5258 | eval "$ac_cv_use_textfile" |
10f2d63a | 5259 | if test "$no_cache" != 1; then |
e46d2a18 | 5260 | echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
5261 | fi |
5262 | ||
e46d2a18 | 5263 | if test "$wxUSE_TEXTFILE" = yes; then |
e6cc62c6 VS |
5264 | echo "$as_me:$LINENO: result: yes" >&5 |
5265 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5266 | else |
e6cc62c6 VS |
5267 | echo "$as_me:$LINENO: result: no" >&5 |
5268 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5269 | fi |
e6cc62c6 | 5270 | |
8284b0c5 | 5271 | |
5005acfe | 5272 | enablestring= |
e46d2a18 VS |
5273 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5 |
5274 | echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6 | |
eb4efbdc | 5275 | no_cache=0 |
e46d2a18 VS |
5276 | # Check whether --enable-timer or --disable-timer was given. |
5277 | if test "${enable_timer+set}" = set; then | |
5278 | enableval="$enable_timer" | |
e6cc62c6 | 5279 | |
eb4efbdc | 5280 | if test "$enableval" = yes; then |
e46d2a18 | 5281 | ac_cv_use_timer='wxUSE_TIMER=yes' |
eb4efbdc | 5282 | else |
e46d2a18 | 5283 | ac_cv_use_timer='wxUSE_TIMER=no' |
eb4efbdc | 5284 | fi |
e6cc62c6 | 5285 | |
eb4efbdc | 5286 | else |
e6cc62c6 | 5287 | |
e46d2a18 | 5288 | LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}` |
eb4efbdc VZ |
5289 | if test "x$LINE" != x ; then |
5290 | eval "DEFAULT_$LINE" | |
5291 | else | |
5292 | no_cache=1 | |
5293 | fi | |
5294 | ||
e46d2a18 | 5295 | ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER |
eb4efbdc | 5296 | |
e6cc62c6 | 5297 | fi; |
eb4efbdc | 5298 | |
e46d2a18 | 5299 | eval "$ac_cv_use_timer" |
eb4efbdc | 5300 | if test "$no_cache" != 1; then |
e46d2a18 | 5301 | echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp |
eb4efbdc VZ |
5302 | fi |
5303 | ||
e46d2a18 | 5304 | if test "$wxUSE_TIMER" = yes; then |
e6cc62c6 VS |
5305 | echo "$as_me:$LINENO: result: yes" >&5 |
5306 | echo "${ECHO_T}yes" >&6 | |
eb4efbdc | 5307 | else |
e6cc62c6 VS |
5308 | echo "$as_me:$LINENO: result: no" >&5 |
5309 | echo "${ECHO_T}no" >&6 | |
eb4efbdc | 5310 | fi |
e6cc62c6 | 5311 | |
eb4efbdc | 5312 | |
5005acfe | 5313 | enablestring= |
e46d2a18 VS |
5314 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5 |
5315 | echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6 | |
4f3c5f06 | 5316 | no_cache=0 |
e46d2a18 VS |
5317 | # Check whether --enable-unicode or --disable-unicode was given. |
5318 | if test "${enable_unicode+set}" = set; then | |
5319 | enableval="$enable_unicode" | |
e6cc62c6 | 5320 | |
4f3c5f06 | 5321 | if test "$enableval" = yes; then |
e46d2a18 | 5322 | ac_cv_use_unicode='wxUSE_UNICODE=yes' |
4f3c5f06 | 5323 | else |
e46d2a18 | 5324 | ac_cv_use_unicode='wxUSE_UNICODE=no' |
4f3c5f06 | 5325 | fi |
e6cc62c6 | 5326 | |
4f3c5f06 | 5327 | else |
e6cc62c6 | 5328 | |
e46d2a18 | 5329 | LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}` |
4f3c5f06 VZ |
5330 | if test "x$LINE" != x ; then |
5331 | eval "DEFAULT_$LINE" | |
5332 | else | |
5333 | no_cache=1 | |
5334 | fi | |
5335 | ||
e46d2a18 | 5336 | ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE |
4f3c5f06 | 5337 | |
e6cc62c6 | 5338 | fi; |
4f3c5f06 | 5339 | |
e46d2a18 | 5340 | eval "$ac_cv_use_unicode" |
4f3c5f06 | 5341 | if test "$no_cache" != 1; then |
e46d2a18 | 5342 | echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp |
4f3c5f06 VZ |
5343 | fi |
5344 | ||
e46d2a18 | 5345 | if test "$wxUSE_UNICODE" = yes; then |
e6cc62c6 VS |
5346 | echo "$as_me:$LINENO: result: yes" >&5 |
5347 | echo "${ECHO_T}yes" >&6 | |
4f3c5f06 | 5348 | else |
e6cc62c6 VS |
5349 | echo "$as_me:$LINENO: result: no" >&5 |
5350 | echo "${ECHO_T}no" >&6 | |
4f3c5f06 | 5351 | fi |
e6cc62c6 | 5352 | |
52127426 | 5353 | |
e46d2a18 VS |
5354 | enablestring= |
5355 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5 | |
5356 | echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6 | |
5357 | no_cache=0 | |
5358 | # Check whether --enable-wave or --disable-wave was given. | |
5359 | if test "${enable_wave+set}" = set; then | |
5360 | enableval="$enable_wave" | |
5361 | ||
5362 | if test "$enableval" = yes; then | |
5363 | ac_cv_use_wave='wxUSE_WAVE=yes' | |
5364 | else | |
5365 | ac_cv_use_wave='wxUSE_WAVE=no' | |
5366 | fi | |
5367 | ||
5368 | else | |
5369 | ||
5370 | LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}` | |
5371 | if test "x$LINE" != x ; then | |
5372 | eval "DEFAULT_$LINE" | |
5373 | else | |
5374 | no_cache=1 | |
5375 | fi | |
5376 | ||
5377 | ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE | |
5378 | ||
5379 | fi; | |
5380 | ||
5381 | eval "$ac_cv_use_wave" | |
5382 | if test "$no_cache" != 1; then | |
5383 | echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp | |
5384 | fi | |
5385 | ||
5386 | if test "$wxUSE_WAVE" = yes; then | |
5387 | echo "$as_me:$LINENO: result: yes" >&5 | |
5388 | echo "${ECHO_T}yes" >&6 | |
5389 | else | |
5390 | echo "$as_me:$LINENO: result: no" >&5 | |
5391 | echo "${ECHO_T}no" >&6 | |
5392 | fi | |
5393 | ||
8284b0c5 | 5394 | |
5005acfe | 5395 | enablestring= |
e46d2a18 VS |
5396 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5 |
5397 | echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6 | |
1e6feb95 | 5398 | no_cache=0 |
e46d2a18 VS |
5399 | # Check whether --enable-wxprintfv or --disable-wxprintfv was given. |
5400 | if test "${enable_wxprintfv+set}" = set; then | |
5401 | enableval="$enable_wxprintfv" | |
e6cc62c6 | 5402 | |
1e6feb95 | 5403 | if test "$enableval" = yes; then |
e46d2a18 | 5404 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes' |
1e6feb95 | 5405 | else |
e46d2a18 | 5406 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no' |
1e6feb95 | 5407 | fi |
e6cc62c6 | 5408 | |
1e6feb95 | 5409 | else |
e6cc62c6 | 5410 | |
e46d2a18 | 5411 | LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}` |
1e6feb95 VZ |
5412 | if test "x$LINE" != x ; then |
5413 | eval "DEFAULT_$LINE" | |
5414 | else | |
5415 | no_cache=1 | |
5416 | fi | |
5417 | ||
e46d2a18 | 5418 | ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF |
1e6feb95 | 5419 | |
e6cc62c6 | 5420 | fi; |
1e6feb95 | 5421 | |
e46d2a18 | 5422 | eval "$ac_cv_use_wxprintfv" |
1e6feb95 | 5423 | if test "$no_cache" != 1; then |
e46d2a18 | 5424 | echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp |
1e6feb95 VZ |
5425 | fi |
5426 | ||
e46d2a18 | 5427 | if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then |
e6cc62c6 VS |
5428 | echo "$as_me:$LINENO: result: yes" >&5 |
5429 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 5430 | else |
e6cc62c6 VS |
5431 | echo "$as_me:$LINENO: result: no" >&5 |
5432 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 5433 | fi |
e6cc62c6 | 5434 | |
1e6feb95 | 5435 | |
5005acfe | 5436 | enablestring= |
e46d2a18 VS |
5437 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5 |
5438 | echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6 | |
3e44f09d | 5439 | no_cache=0 |
e46d2a18 VS |
5440 | # Check whether --enable-zipstream or --disable-zipstream was given. |
5441 | if test "${enable_zipstream+set}" = set; then | |
5442 | enableval="$enable_zipstream" | |
e6cc62c6 | 5443 | |
3e44f09d | 5444 | if test "$enableval" = yes; then |
e46d2a18 | 5445 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes' |
3e44f09d | 5446 | else |
e46d2a18 | 5447 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no' |
3e44f09d | 5448 | fi |
e6cc62c6 | 5449 | |
3e44f09d | 5450 | else |
e6cc62c6 | 5451 | |
e46d2a18 | 5452 | LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}` |
3e44f09d VZ |
5453 | if test "x$LINE" != x ; then |
5454 | eval "DEFAULT_$LINE" | |
5455 | else | |
5456 | no_cache=1 | |
5457 | fi | |
5458 | ||
e46d2a18 | 5459 | ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM |
3e44f09d | 5460 | |
e6cc62c6 | 5461 | fi; |
3e44f09d | 5462 | |
e46d2a18 | 5463 | eval "$ac_cv_use_zipstream" |
3e44f09d | 5464 | if test "$no_cache" != 1; then |
e46d2a18 | 5465 | echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp |
3e44f09d VZ |
5466 | fi |
5467 | ||
e46d2a18 | 5468 | if test "$wxUSE_ZIPSTREAM" = yes; then |
e6cc62c6 VS |
5469 | echo "$as_me:$LINENO: result: yes" >&5 |
5470 | echo "${ECHO_T}yes" >&6 | |
3e44f09d | 5471 | else |
e6cc62c6 VS |
5472 | echo "$as_me:$LINENO: result: no" >&5 |
5473 | echo "${ECHO_T}no" >&6 | |
3e44f09d | 5474 | fi |
e6cc62c6 | 5475 | |
8284b0c5 | 5476 | |
7015ef3a VZ |
5477 | enablestring= |
5478 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5 | |
5479 | echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6 | |
5480 | no_cache=0 | |
5481 | # Check whether --enable-gzstream or --disable-gzstream was given. | |
5482 | if test "${enable_gzstream+set}" = set; then | |
5483 | enableval="$enable_gzstream" | |
5484 | ||
5485 | if test "$enableval" = yes; then | |
5486 | ac_cv_use_gzstream='wxUSE_GZSTREAM=yes' | |
5487 | else | |
5488 | ac_cv_use_gzstream='wxUSE_GZSTREAM=no' | |
5489 | fi | |
5490 | ||
5491 | else | |
5492 | ||
5493 | LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}` | |
5494 | if test "x$LINE" != x ; then | |
5495 | eval "DEFAULT_$LINE" | |
5496 | else | |
5497 | no_cache=1 | |
5498 | fi | |
5499 | ||
5500 | ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM | |
5501 | ||
5502 | fi; | |
5503 | ||
5504 | eval "$ac_cv_use_gzstream" | |
5505 | if test "$no_cache" != 1; then | |
5506 | echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp | |
5507 | fi | |
5508 | ||
5509 | if test "$wxUSE_GZSTREAM" = yes; then | |
5510 | echo "$as_me:$LINENO: result: yes" >&5 | |
5511 | echo "${ECHO_T}yes" >&6 | |
5512 | else | |
5513 | echo "$as_me:$LINENO: result: no" >&5 | |
5514 | echo "${ECHO_T}no" >&6 | |
5515 | fi | |
5516 | ||
5517 | ||
52127426 | 5518 | |
5005acfe | 5519 | enablestring= |
e6cc62c6 VS |
5520 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5 |
5521 | echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6 | |
4cdb0ab0 VS |
5522 | no_cache=0 |
5523 | # Check whether --enable-url or --disable-url was given. | |
5524 | if test "${enable_url+set}" = set; then | |
5525 | enableval="$enable_url" | |
e6cc62c6 | 5526 | |
4cdb0ab0 VS |
5527 | if test "$enableval" = yes; then |
5528 | ac_cv_use_url='wxUSE_URL=yes' | |
5529 | else | |
5530 | ac_cv_use_url='wxUSE_URL=no' | |
5531 | fi | |
e6cc62c6 | 5532 | |
4cdb0ab0 | 5533 | else |
e6cc62c6 | 5534 | |
4cdb0ab0 VS |
5535 | LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}` |
5536 | if test "x$LINE" != x ; then | |
5537 | eval "DEFAULT_$LINE" | |
5538 | else | |
5539 | no_cache=1 | |
5540 | fi | |
5541 | ||
5542 | ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL | |
4cdb0ab0 | 5543 | |
e6cc62c6 | 5544 | fi; |
4cdb0ab0 VS |
5545 | |
5546 | eval "$ac_cv_use_url" | |
5547 | if test "$no_cache" != 1; then | |
5548 | echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp | |
5549 | fi | |
5550 | ||
5551 | if test "$wxUSE_URL" = yes; then | |
e6cc62c6 VS |
5552 | echo "$as_me:$LINENO: result: yes" >&5 |
5553 | echo "${ECHO_T}yes" >&6 | |
4cdb0ab0 | 5554 | else |
e6cc62c6 VS |
5555 | echo "$as_me:$LINENO: result: no" >&5 |
5556 | echo "${ECHO_T}no" >&6 | |
4cdb0ab0 | 5557 | fi |
e6cc62c6 | 5558 | |
4cdb0ab0 | 5559 | |
5005acfe | 5560 | enablestring= |
e6cc62c6 VS |
5561 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5 |
5562 | echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6 | |
4cdb0ab0 VS |
5563 | no_cache=0 |
5564 | # Check whether --enable-protocol or --disable-protocol was given. | |
5565 | if test "${enable_protocol+set}" = set; then | |
5566 | enableval="$enable_protocol" | |
e6cc62c6 | 5567 | |
4cdb0ab0 VS |
5568 | if test "$enableval" = yes; then |
5569 | ac_cv_use_protocol='wxUSE_PROTOCOL=yes' | |
5570 | else | |
5571 | ac_cv_use_protocol='wxUSE_PROTOCOL=no' | |
5572 | fi | |
e6cc62c6 | 5573 | |
4cdb0ab0 | 5574 | else |
e6cc62c6 | 5575 | |
4cdb0ab0 VS |
5576 | LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}` |
5577 | if test "x$LINE" != x ; then | |
5578 | eval "DEFAULT_$LINE" | |
5579 | else | |
5580 | no_cache=1 | |
5581 | fi | |
5582 | ||
5583 | ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL | |
4cdb0ab0 | 5584 | |
e6cc62c6 | 5585 | fi; |
4cdb0ab0 VS |
5586 | |
5587 | eval "$ac_cv_use_protocol" | |
5588 | if test "$no_cache" != 1; then | |
5589 | echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp | |
5590 | fi | |
5591 | ||
5592 | if test "$wxUSE_PROTOCOL" = yes; then | |
e6cc62c6 VS |
5593 | echo "$as_me:$LINENO: result: yes" >&5 |
5594 | echo "${ECHO_T}yes" >&6 | |
4cdb0ab0 | 5595 | else |
e6cc62c6 VS |
5596 | echo "$as_me:$LINENO: result: no" >&5 |
5597 | echo "${ECHO_T}no" >&6 | |
4cdb0ab0 | 5598 | fi |
e6cc62c6 | 5599 | |
4cdb0ab0 | 5600 | |
5005acfe | 5601 | enablestring= |
e6cc62c6 VS |
5602 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5 |
5603 | echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6 | |
4cdb0ab0 VS |
5604 | no_cache=0 |
5605 | # Check whether --enable-protocol_http or --disable-protocol_http was given. | |
5606 | if test "${enable_protocol_http+set}" = set; then | |
5607 | enableval="$enable_protocol_http" | |
e6cc62c6 | 5608 | |
4cdb0ab0 VS |
5609 | if test "$enableval" = yes; then |
5610 | ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes' | |
5611 | else | |
5612 | ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no' | |
5613 | fi | |
e6cc62c6 | 5614 | |
4cdb0ab0 | 5615 | else |
e6cc62c6 | 5616 | |
4cdb0ab0 VS |
5617 | LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}` |
5618 | if test "x$LINE" != x ; then | |
5619 | eval "DEFAULT_$LINE" | |
5620 | else | |
5621 | no_cache=1 | |
5622 | fi | |
5623 | ||
5624 | ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP | |
4cdb0ab0 | 5625 | |
e6cc62c6 | 5626 | fi; |
4cdb0ab0 VS |
5627 | |
5628 | eval "$ac_cv_use_protocol_http" | |
5629 | if test "$no_cache" != 1; then | |
5630 | echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp | |
5631 | fi | |
5632 | ||
5633 | if test "$wxUSE_PROTOCOL_HTTP" = yes; then | |
e6cc62c6 VS |
5634 | echo "$as_me:$LINENO: result: yes" >&5 |
5635 | echo "${ECHO_T}yes" >&6 | |
4cdb0ab0 | 5636 | else |
e6cc62c6 VS |
5637 | echo "$as_me:$LINENO: result: no" >&5 |
5638 | echo "${ECHO_T}no" >&6 | |
4cdb0ab0 | 5639 | fi |
e6cc62c6 | 5640 | |
4cdb0ab0 | 5641 | |
5005acfe | 5642 | enablestring= |
e6cc62c6 VS |
5643 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5 |
5644 | echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6 | |
4cdb0ab0 VS |
5645 | no_cache=0 |
5646 | # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given. | |
5647 | if test "${enable_protocol_ftp+set}" = set; then | |
5648 | enableval="$enable_protocol_ftp" | |
e6cc62c6 | 5649 | |
4cdb0ab0 VS |
5650 | if test "$enableval" = yes; then |
5651 | ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes' | |
5652 | else | |
5653 | ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no' | |
5654 | fi | |
e6cc62c6 | 5655 | |
4cdb0ab0 | 5656 | else |
e6cc62c6 | 5657 | |
4cdb0ab0 VS |
5658 | LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}` |
5659 | if test "x$LINE" != x ; then | |
5660 | eval "DEFAULT_$LINE" | |
5661 | else | |
5662 | no_cache=1 | |
5663 | fi | |
5664 | ||
5665 | ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP | |
4cdb0ab0 | 5666 | |
e6cc62c6 | 5667 | fi; |
4cdb0ab0 VS |
5668 | |
5669 | eval "$ac_cv_use_protocol_ftp" | |
5670 | if test "$no_cache" != 1; then | |
5671 | echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp | |
5672 | fi | |
5673 | ||
5674 | if test "$wxUSE_PROTOCOL_FTP" = yes; then | |
e6cc62c6 VS |
5675 | echo "$as_me:$LINENO: result: yes" >&5 |
5676 | echo "${ECHO_T}yes" >&6 | |
4cdb0ab0 | 5677 | else |
e6cc62c6 VS |
5678 | echo "$as_me:$LINENO: result: no" >&5 |
5679 | echo "${ECHO_T}no" >&6 | |
4cdb0ab0 | 5680 | fi |
e6cc62c6 | 5681 | |
4cdb0ab0 | 5682 | |
5005acfe | 5683 | enablestring= |
e6cc62c6 VS |
5684 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5 |
5685 | echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6 | |
4cdb0ab0 VS |
5686 | no_cache=0 |
5687 | # Check whether --enable-protocol_file or --disable-protocol_file was given. | |
5688 | if test "${enable_protocol_file+set}" = set; then | |
5689 | enableval="$enable_protocol_file" | |
e6cc62c6 | 5690 | |
4cdb0ab0 VS |
5691 | if test "$enableval" = yes; then |
5692 | ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes' | |
5693 | else | |
5694 | ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no' | |
5695 | fi | |
e6cc62c6 | 5696 | |
4cdb0ab0 | 5697 | else |
e6cc62c6 | 5698 | |
4cdb0ab0 VS |
5699 | LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}` |
5700 | if test "x$LINE" != x ; then | |
5701 | eval "DEFAULT_$LINE" | |
5702 | else | |
5703 | no_cache=1 | |
5704 | fi | |
5705 | ||
5706 | ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE | |
4cdb0ab0 | 5707 | |
e6cc62c6 | 5708 | fi; |
4cdb0ab0 VS |
5709 | |
5710 | eval "$ac_cv_use_protocol_file" | |
5711 | if test "$no_cache" != 1; then | |
5712 | echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp | |
5713 | fi | |
5714 | ||
5715 | if test "$wxUSE_PROTOCOL_FILE" = yes; then | |
e6cc62c6 VS |
5716 | echo "$as_me:$LINENO: result: yes" >&5 |
5717 | echo "${ECHO_T}yes" >&6 | |
4cdb0ab0 | 5718 | else |
e6cc62c6 VS |
5719 | echo "$as_me:$LINENO: result: no" >&5 |
5720 | echo "${ECHO_T}no" >&6 | |
4cdb0ab0 | 5721 | fi |
e6cc62c6 | 5722 | |
52127426 | 5723 | |
8284b0c5 MB |
5724 | |
5725 | ||
5726 | ||
5005acfe | 5727 | enablestring= |
e6cc62c6 VS |
5728 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5 |
5729 | echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6 | |
10f2d63a VZ |
5730 | no_cache=0 |
5731 | # Check whether --enable-threads or --disable-threads was given. | |
5732 | if test "${enable_threads+set}" = set; then | |
5733 | enableval="$enable_threads" | |
e6cc62c6 | 5734 | |
10f2d63a VZ |
5735 | if test "$enableval" = yes; then |
5736 | ac_cv_use_threads='wxUSE_THREADS=yes' | |
5737 | else | |
5738 | ac_cv_use_threads='wxUSE_THREADS=no' | |
5739 | fi | |
e6cc62c6 | 5740 | |
10f2d63a | 5741 | else |
e6cc62c6 | 5742 | |
10f2d63a VZ |
5743 | LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}` |
5744 | if test "x$LINE" != x ; then | |
5745 | eval "DEFAULT_$LINE" | |
5746 | else | |
5747 | no_cache=1 | |
5748 | fi | |
5749 | ||
5750 | ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS | |
10f2d63a | 5751 | |
e6cc62c6 | 5752 | fi; |
10f2d63a VZ |
5753 | |
5754 | eval "$ac_cv_use_threads" | |
5755 | if test "$no_cache" != 1; then | |
5756 | echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp | |
5757 | fi | |
5758 | ||
5759 | if test "$wxUSE_THREADS" = yes; then | |
e6cc62c6 VS |
5760 | echo "$as_me:$LINENO: result: yes" >&5 |
5761 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5762 | else |
e6cc62c6 VS |
5763 | echo "$as_me:$LINENO: result: no" >&5 |
5764 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5765 | fi |
e6cc62c6 | 5766 | |
10f2d63a | 5767 | |
b12915c1 VZ |
5768 | if test "$wxUSE_GUI" = "yes"; then |
5769 | ||
8284b0c5 MB |
5770 | |
5771 | ||
5005acfe | 5772 | enablestring= |
e6cc62c6 VS |
5773 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5 |
5774 | echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6 | |
10f2d63a VZ |
5775 | no_cache=0 |
5776 | # Check whether --enable-docview or --disable-docview was given. | |
5777 | if test "${enable_docview+set}" = set; then | |
5778 | enableval="$enable_docview" | |
e6cc62c6 | 5779 | |
10f2d63a VZ |
5780 | if test "$enableval" = yes; then |
5781 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes' | |
5782 | else | |
5783 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no' | |
5784 | fi | |
e6cc62c6 | 5785 | |
10f2d63a | 5786 | else |
e6cc62c6 | 5787 | |
10f2d63a VZ |
5788 | LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}` |
5789 | if test "x$LINE" != x ; then | |
5790 | eval "DEFAULT_$LINE" | |
5791 | else | |
5792 | no_cache=1 | |
5793 | fi | |
5794 | ||
5795 | ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE | |
10f2d63a | 5796 | |
e6cc62c6 | 5797 | fi; |
10f2d63a VZ |
5798 | |
5799 | eval "$ac_cv_use_docview" | |
5800 | if test "$no_cache" != 1; then | |
5801 | echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp | |
5802 | fi | |
5803 | ||
5804 | if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then | |
e6cc62c6 VS |
5805 | echo "$as_me:$LINENO: result: yes" >&5 |
5806 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5807 | else |
e6cc62c6 VS |
5808 | echo "$as_me:$LINENO: result: no" >&5 |
5809 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5810 | fi |
e6cc62c6 | 5811 | |
10f2d63a | 5812 | |
5005acfe | 5813 | enablestring= |
e6cc62c6 VS |
5814 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5 |
5815 | echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6 | |
10f2d63a VZ |
5816 | no_cache=0 |
5817 | # Check whether --enable-help or --disable-help was given. | |
5818 | if test "${enable_help+set}" = set; then | |
5819 | enableval="$enable_help" | |
e6cc62c6 | 5820 | |
10f2d63a VZ |
5821 | if test "$enableval" = yes; then |
5822 | ac_cv_use_help='wxUSE_HELP=yes' | |
5823 | else | |
5824 | ac_cv_use_help='wxUSE_HELP=no' | |
5825 | fi | |
e6cc62c6 | 5826 | |
10f2d63a | 5827 | else |
e6cc62c6 | 5828 | |
10f2d63a VZ |
5829 | LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}` |
5830 | if test "x$LINE" != x ; then | |
5831 | eval "DEFAULT_$LINE" | |
5832 | else | |
5833 | no_cache=1 | |
5834 | fi | |
5835 | ||
5836 | ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP | |
10f2d63a | 5837 | |
e6cc62c6 | 5838 | fi; |
10f2d63a VZ |
5839 | |
5840 | eval "$ac_cv_use_help" | |
5841 | if test "$no_cache" != 1; then | |
5842 | echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp | |
5843 | fi | |
5844 | ||
5845 | if test "$wxUSE_HELP" = yes; then | |
e6cc62c6 VS |
5846 | echo "$as_me:$LINENO: result: yes" >&5 |
5847 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 5848 | else |
e6cc62c6 VS |
5849 | echo "$as_me:$LINENO: result: no" >&5 |
5850 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 5851 | fi |
e6cc62c6 | 5852 | |
10f2d63a | 5853 | |
5005acfe | 5854 | enablestring= |
e6cc62c6 VS |
5855 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5 |
5856 | echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6 | |
29fd3c0c VS |
5857 | no_cache=0 |
5858 | # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given. | |
5859 | if test "${enable_mshtmlhelp+set}" = set; then | |
5860 | enableval="$enable_mshtmlhelp" | |
e6cc62c6 | 5861 | |
29fd3c0c VS |
5862 | if test "$enableval" = yes; then |
5863 | ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes' | |
5864 | else | |
5865 | ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no' | |
5866 | fi | |
e6cc62c6 | 5867 | |
29fd3c0c | 5868 | else |
e6cc62c6 | 5869 | |
29fd3c0c VS |
5870 | LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}` |
5871 | if test "x$LINE" != x ; then | |
5872 | eval "DEFAULT_$LINE" | |
5873 | else | |
5874 | no_cache=1 | |
5875 | fi | |
5876 | ||
5877 | ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP | |
29fd3c0c | 5878 | |
e6cc62c6 | 5879 | fi; |
29fd3c0c VS |
5880 | |
5881 | eval "$ac_cv_use_mshtmlhelp" | |
5882 | if test "$no_cache" != 1; then | |
5883 | echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp | |
5884 | fi | |
5885 | ||
5886 | if test "$wxUSE_MS_HTML_HELP" = yes; then | |
e6cc62c6 VS |
5887 | echo "$as_me:$LINENO: result: yes" >&5 |
5888 | echo "${ECHO_T}yes" >&6 | |
29fd3c0c | 5889 | else |
e6cc62c6 VS |
5890 | echo "$as_me:$LINENO: result: no" >&5 |
5891 | echo "${ECHO_T}no" >&6 | |
29fd3c0c | 5892 | fi |
e6cc62c6 | 5893 | |
29fd3c0c | 5894 | |
5005acfe | 5895 | enablestring= |
e6cc62c6 VS |
5896 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5 |
5897 | echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6 | |
3379ed37 VZ |
5898 | no_cache=0 |
5899 | # Check whether --enable-html or --disable-html was given. | |
5900 | if test "${enable_html+set}" = set; then | |
5901 | enableval="$enable_html" | |
e6cc62c6 | 5902 | |
3379ed37 VZ |
5903 | if test "$enableval" = yes; then |
5904 | ac_cv_use_html='wxUSE_HTML=yes' | |
5905 | else | |
5906 | ac_cv_use_html='wxUSE_HTML=no' | |
5907 | fi | |
e6cc62c6 | 5908 | |
3379ed37 | 5909 | else |
e6cc62c6 | 5910 | |
3379ed37 VZ |
5911 | LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}` |
5912 | if test "x$LINE" != x ; then | |
5913 | eval "DEFAULT_$LINE" | |
5914 | else | |
5915 | no_cache=1 | |
5916 | fi | |
5917 | ||
5918 | ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML | |
3379ed37 | 5919 | |
e6cc62c6 | 5920 | fi; |
3379ed37 VZ |
5921 | |
5922 | eval "$ac_cv_use_html" | |
5923 | if test "$no_cache" != 1; then | |
5924 | echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp | |
5925 | fi | |
5926 | ||
5927 | if test "$wxUSE_HTML" = yes; then | |
e6cc62c6 VS |
5928 | echo "$as_me:$LINENO: result: yes" >&5 |
5929 | echo "${ECHO_T}yes" >&6 | |
3379ed37 | 5930 | else |
e6cc62c6 VS |
5931 | echo "$as_me:$LINENO: result: no" >&5 |
5932 | echo "${ECHO_T}no" >&6 | |
3379ed37 | 5933 | fi |
e6cc62c6 | 5934 | |
3379ed37 | 5935 | |
5005acfe | 5936 | enablestring= |
e6cc62c6 VS |
5937 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5 |
5938 | echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6 | |
3379ed37 VZ |
5939 | no_cache=0 |
5940 | # Check whether --enable-htmlhelp or --disable-htmlhelp was given. | |
5941 | if test "${enable_htmlhelp+set}" = set; then | |
5942 | enableval="$enable_htmlhelp" | |
e6cc62c6 | 5943 | |
3379ed37 VZ |
5944 | if test "$enableval" = yes; then |
5945 | ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes' | |
5946 | else | |
5947 | ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no' | |
5948 | fi | |
e6cc62c6 | 5949 | |
3379ed37 | 5950 | else |
e6cc62c6 | 5951 | |
3379ed37 VZ |
5952 | LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}` |
5953 | if test "x$LINE" != x ; then | |
5954 | eval "DEFAULT_$LINE" | |
5955 | else | |
5956 | no_cache=1 | |
5957 | fi | |
5958 | ||
5959 | ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP | |
3379ed37 | 5960 | |
e6cc62c6 | 5961 | fi; |
3379ed37 VZ |
5962 | |
5963 | eval "$ac_cv_use_htmlhelp" | |
5964 | if test "$no_cache" != 1; then | |
5965 | echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp | |
5966 | fi | |
5967 | ||
5968 | if test "$wxUSE_WXHTML_HELP" = yes; then | |
e6cc62c6 VS |
5969 | echo "$as_me:$LINENO: result: yes" >&5 |
5970 | echo "${ECHO_T}yes" >&6 | |
3379ed37 | 5971 | else |
e6cc62c6 VS |
5972 | echo "$as_me:$LINENO: result: no" >&5 |
5973 | echo "${ECHO_T}no" >&6 | |
3379ed37 | 5974 | fi |
e6cc62c6 | 5975 | |
3379ed37 | 5976 | |
5005acfe | 5977 | enablestring= |
e6cc62c6 VS |
5978 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5 |
5979 | echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6 | |
10f2d63a VZ |
5980 | no_cache=0 |
5981 | # Check whether --enable-constraints or --disable-constraints was given. | |
5982 | if test "${enable_constraints+set}" = set; then | |
5983 | enableval="$enable_constraints" | |
e6cc62c6 | 5984 | |
10f2d63a VZ |
5985 | if test "$enableval" = yes; then |
5986 | ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes' | |
5987 | else | |
5988 | ac_cv_use_constraints='wxUSE_CONSTRAINTS=no' | |
5989 | fi | |
e6cc62c6 | 5990 | |
10f2d63a | 5991 | else |
e6cc62c6 | 5992 | |
10f2d63a VZ |
5993 | LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}` |
5994 | if test "x$LINE" != x ; then | |
5995 | eval "DEFAULT_$LINE" | |
5996 | else | |
5997 | no_cache=1 | |
5998 | fi | |
5999 | ||
6000 | ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS | |
10f2d63a | 6001 | |
e6cc62c6 | 6002 | fi; |
10f2d63a VZ |
6003 | |
6004 | eval "$ac_cv_use_constraints" | |
6005 | if test "$no_cache" != 1; then | |
6006 | echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp | |
6007 | fi | |
6008 | ||
6009 | if test "$wxUSE_CONSTRAINTS" = yes; then | |
e6cc62c6 VS |
6010 | echo "$as_me:$LINENO: result: yes" >&5 |
6011 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6012 | else |
e6cc62c6 VS |
6013 | echo "$as_me:$LINENO: result: no" >&5 |
6014 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6015 | fi |
e6cc62c6 | 6016 | |
10f2d63a | 6017 | |
5005acfe | 6018 | enablestring= |
e6cc62c6 VS |
6019 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5 |
6020 | echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6 | |
10f2d63a VZ |
6021 | no_cache=0 |
6022 | # Check whether --enable-printarch or --disable-printarch was given. | |
6023 | if test "${enable_printarch+set}" = set; then | |
6024 | enableval="$enable_printarch" | |
e6cc62c6 | 6025 | |
10f2d63a VZ |
6026 | if test "$enableval" = yes; then |
6027 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes' | |
6028 | else | |
6029 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no' | |
6030 | fi | |
e6cc62c6 | 6031 | |
10f2d63a | 6032 | else |
e6cc62c6 | 6033 | |
10f2d63a VZ |
6034 | LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}` |
6035 | if test "x$LINE" != x ; then | |
6036 | eval "DEFAULT_$LINE" | |
6037 | else | |
6038 | no_cache=1 | |
6039 | fi | |
6040 | ||
6041 | ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE | |
10f2d63a | 6042 | |
e6cc62c6 | 6043 | fi; |
10f2d63a VZ |
6044 | |
6045 | eval "$ac_cv_use_printarch" | |
6046 | if test "$no_cache" != 1; then | |
6047 | echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp | |
6048 | fi | |
6049 | ||
6050 | if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then | |
e6cc62c6 VS |
6051 | echo "$as_me:$LINENO: result: yes" >&5 |
6052 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6053 | else |
e6cc62c6 VS |
6054 | echo "$as_me:$LINENO: result: no" >&5 |
6055 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6056 | fi |
e6cc62c6 | 6057 | |
10f2d63a | 6058 | |
5005acfe | 6059 | enablestring= |
e6cc62c6 VS |
6060 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5 |
6061 | echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6 | |
10f2d63a VZ |
6062 | no_cache=0 |
6063 | # Check whether --enable-mdi or --disable-mdi was given. | |
6064 | if test "${enable_mdi+set}" = set; then | |
6065 | enableval="$enable_mdi" | |
e6cc62c6 | 6066 | |
10f2d63a VZ |
6067 | if test "$enableval" = yes; then |
6068 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes' | |
6069 | else | |
6070 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no' | |
6071 | fi | |
e6cc62c6 | 6072 | |
10f2d63a | 6073 | else |
e6cc62c6 | 6074 | |
10f2d63a VZ |
6075 | LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}` |
6076 | if test "x$LINE" != x ; then | |
6077 | eval "DEFAULT_$LINE" | |
6078 | else | |
6079 | no_cache=1 | |
6080 | fi | |
6081 | ||
6082 | ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE | |
10f2d63a | 6083 | |
e6cc62c6 | 6084 | fi; |
10f2d63a VZ |
6085 | |
6086 | eval "$ac_cv_use_mdi" | |
6087 | if test "$no_cache" != 1; then | |
6088 | echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp | |
6089 | fi | |
6090 | ||
6091 | if test "$wxUSE_MDI_ARCHITECTURE" = yes; then | |
e6cc62c6 VS |
6092 | echo "$as_me:$LINENO: result: yes" >&5 |
6093 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6094 | else |
e6cc62c6 VS |
6095 | echo "$as_me:$LINENO: result: no" >&5 |
6096 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6097 | fi |
e6cc62c6 | 6098 | |
698dcdb6 | 6099 | |
5005acfe | 6100 | enablestring= |
e6cc62c6 VS |
6101 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5 |
6102 | echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6 | |
1e6feb95 VZ |
6103 | no_cache=0 |
6104 | # Check whether --enable-loggui or --disable-loggui was given. | |
6105 | if test "${enable_loggui+set}" = set; then | |
6106 | enableval="$enable_loggui" | |
e6cc62c6 | 6107 | |
1e6feb95 VZ |
6108 | if test "$enableval" = yes; then |
6109 | ac_cv_use_loggui='wxUSE_LOGGUI=yes' | |
6110 | else | |
6111 | ac_cv_use_loggui='wxUSE_LOGGUI=no' | |
6112 | fi | |
e6cc62c6 | 6113 | |
1e6feb95 | 6114 | else |
e6cc62c6 | 6115 | |
1e6feb95 VZ |
6116 | LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}` |
6117 | if test "x$LINE" != x ; then | |
6118 | eval "DEFAULT_$LINE" | |
6119 | else | |
6120 | no_cache=1 | |
6121 | fi | |
6122 | ||
6123 | ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI | |
1e6feb95 | 6124 | |
e6cc62c6 | 6125 | fi; |
1e6feb95 VZ |
6126 | |
6127 | eval "$ac_cv_use_loggui" | |
6128 | if test "$no_cache" != 1; then | |
6129 | echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp | |
6130 | fi | |
6131 | ||
6132 | if test "$wxUSE_LOGGUI" = yes; then | |
e6cc62c6 VS |
6133 | echo "$as_me:$LINENO: result: yes" >&5 |
6134 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 6135 | else |
e6cc62c6 VS |
6136 | echo "$as_me:$LINENO: result: no" >&5 |
6137 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 6138 | fi |
e6cc62c6 | 6139 | |
1e6feb95 | 6140 | |
5005acfe | 6141 | enablestring= |
e6cc62c6 VS |
6142 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5 |
6143 | echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6 | |
1e6feb95 VZ |
6144 | no_cache=0 |
6145 | # Check whether --enable-logwin or --disable-logwin was given. | |
6146 | if test "${enable_logwin+set}" = set; then | |
6147 | enableval="$enable_logwin" | |
e6cc62c6 | 6148 | |
1e6feb95 VZ |
6149 | if test "$enableval" = yes; then |
6150 | ac_cv_use_logwin='wxUSE_LOGWINDOW=yes' | |
6151 | else | |
6152 | ac_cv_use_logwin='wxUSE_LOGWINDOW=no' | |
6153 | fi | |
e6cc62c6 | 6154 | |
1e6feb95 | 6155 | else |
e6cc62c6 | 6156 | |
1e6feb95 VZ |
6157 | LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}` |
6158 | if test "x$LINE" != x ; then | |
6159 | eval "DEFAULT_$LINE" | |
6160 | else | |
6161 | no_cache=1 | |
6162 | fi | |
6163 | ||
6164 | ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW | |
1e6feb95 | 6165 | |
e6cc62c6 | 6166 | fi; |
1e6feb95 VZ |
6167 | |
6168 | eval "$ac_cv_use_logwin" | |
6169 | if test "$no_cache" != 1; then | |
6170 | echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp | |
6171 | fi | |
6172 | ||
6173 | if test "$wxUSE_LOGWINDOW" = yes; then | |
e6cc62c6 VS |
6174 | echo "$as_me:$LINENO: result: yes" >&5 |
6175 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 6176 | else |
e6cc62c6 VS |
6177 | echo "$as_me:$LINENO: result: no" >&5 |
6178 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 6179 | fi |
e6cc62c6 | 6180 | |
1e6feb95 | 6181 | |
5005acfe | 6182 | enablestring= |
e6cc62c6 VS |
6183 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5 |
6184 | echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6 | |
69d27ff7 MB |
6185 | no_cache=0 |
6186 | # Check whether --enable-logdialog or --disable-logdialog was given. | |
6187 | if test "${enable_logdialog+set}" = set; then | |
6188 | enableval="$enable_logdialog" | |
e6cc62c6 | 6189 | |
69d27ff7 MB |
6190 | if test "$enableval" = yes; then |
6191 | ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes' | |
6192 | else | |
6193 | ac_cv_use_logdialog='wxUSE_LOGDIALOG=no' | |
6194 | fi | |
e6cc62c6 | 6195 | |
69d27ff7 | 6196 | else |
e6cc62c6 | 6197 | |
69d27ff7 MB |
6198 | LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}` |
6199 | if test "x$LINE" != x ; then | |
6200 | eval "DEFAULT_$LINE" | |
6201 | else | |
6202 | no_cache=1 | |
6203 | fi | |
6204 | ||
6205 | ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG | |
69d27ff7 | 6206 | |
e6cc62c6 | 6207 | fi; |
69d27ff7 MB |
6208 | |
6209 | eval "$ac_cv_use_logdialog" | |
6210 | if test "$no_cache" != 1; then | |
6211 | echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp | |
6212 | fi | |
6213 | ||
6214 | if test "$wxUSE_LOGDIALOG" = yes; then | |
e6cc62c6 VS |
6215 | echo "$as_me:$LINENO: result: yes" >&5 |
6216 | echo "${ECHO_T}yes" >&6 | |
69d27ff7 | 6217 | else |
e6cc62c6 VS |
6218 | echo "$as_me:$LINENO: result: no" >&5 |
6219 | echo "${ECHO_T}no" >&6 | |
69d27ff7 | 6220 | fi |
e6cc62c6 | 6221 | |
8284b0c5 | 6222 | |
52127426 | 6223 | |
5005acfe | 6224 | enablestring= |
e6cc62c6 VS |
6225 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5 |
6226 | echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6 | |
10f2d63a VZ |
6227 | no_cache=0 |
6228 | # Check whether --enable-postscript or --disable-postscript was given. | |
6229 | if test "${enable_postscript+set}" = set; then | |
6230 | enableval="$enable_postscript" | |
e6cc62c6 | 6231 | |
10f2d63a VZ |
6232 | if test "$enableval" = yes; then |
6233 | ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes' | |
6234 | else | |
6235 | ac_cv_use_postscript='wxUSE_POSTSCRIPT=no' | |
6236 | fi | |
e6cc62c6 | 6237 | |
10f2d63a | 6238 | else |
e6cc62c6 | 6239 | |
10f2d63a VZ |
6240 | LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}` |
6241 | if test "x$LINE" != x ; then | |
6242 | eval "DEFAULT_$LINE" | |
6243 | else | |
6244 | no_cache=1 | |
6245 | fi | |
6246 | ||
6247 | ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT | |
10f2d63a | 6248 | |
e6cc62c6 | 6249 | fi; |
10f2d63a VZ |
6250 | |
6251 | eval "$ac_cv_use_postscript" | |
6252 | if test "$no_cache" != 1; then | |
6253 | echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp | |
6254 | fi | |
6255 | ||
6256 | if test "$wxUSE_POSTSCRIPT" = yes; then | |
e6cc62c6 VS |
6257 | echo "$as_me:$LINENO: result: yes" >&5 |
6258 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6259 | else |
e6cc62c6 VS |
6260 | echo "$as_me:$LINENO: result: no" >&5 |
6261 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6262 | fi |
e6cc62c6 | 6263 | |
8284b0c5 MB |
6264 | |
6265 | ||
52127426 | 6266 | |
8284b0c5 | 6267 | |
5005acfe | 6268 | enablestring= |
e6cc62c6 VS |
6269 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5 |
6270 | echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6 | |
10f2d63a | 6271 | no_cache=0 |
3c907f20 VZ |
6272 | # Check whether --enable-prologio or --disable-prologio was given. |
6273 | if test "${enable_prologio+set}" = set; then | |
6274 | enableval="$enable_prologio" | |
e6cc62c6 | 6275 | |
10f2d63a | 6276 | if test "$enableval" = yes; then |
3c907f20 | 6277 | ac_cv_use_prologio='wxUSE_PROLOGIO=yes' |
10f2d63a | 6278 | else |
3c907f20 | 6279 | ac_cv_use_prologio='wxUSE_PROLOGIO=no' |
10f2d63a | 6280 | fi |
e6cc62c6 | 6281 | |
10f2d63a | 6282 | else |
e6cc62c6 | 6283 | |
3c907f20 | 6284 | LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}` |
10f2d63a VZ |
6285 | if test "x$LINE" != x ; then |
6286 | eval "DEFAULT_$LINE" | |
6287 | else | |
6288 | no_cache=1 | |
6289 | fi | |
6290 | ||
3c907f20 | 6291 | ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO |
10f2d63a | 6292 | |
e6cc62c6 | 6293 | fi; |
10f2d63a | 6294 | |
3c907f20 | 6295 | eval "$ac_cv_use_prologio" |
10f2d63a | 6296 | if test "$no_cache" != 1; then |
3c907f20 | 6297 | echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
6298 | fi |
6299 | ||
3c907f20 | 6300 | if test "$wxUSE_PROLOGIO" = yes; then |
e6cc62c6 VS |
6301 | echo "$as_me:$LINENO: result: yes" >&5 |
6302 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6303 | else |
e6cc62c6 VS |
6304 | echo "$as_me:$LINENO: result: no" >&5 |
6305 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6306 | fi |
e6cc62c6 | 6307 | |
8284b0c5 | 6308 | |
5005acfe | 6309 | enablestring= |
e6cc62c6 VS |
6310 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5 |
6311 | echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6 | |
10f2d63a | 6312 | no_cache=0 |
3c907f20 VZ |
6313 | # Check whether --enable-resources or --disable-resources was given. |
6314 | if test "${enable_resources+set}" = set; then | |
6315 | enableval="$enable_resources" | |
e6cc62c6 | 6316 | |
10f2d63a | 6317 | if test "$enableval" = yes; then |
3c907f20 | 6318 | ac_cv_use_resources='wxUSE_RESOURCES=yes' |
10f2d63a | 6319 | else |
3c907f20 | 6320 | ac_cv_use_resources='wxUSE_RESOURCES=no' |
10f2d63a | 6321 | fi |
e6cc62c6 | 6322 | |
10f2d63a | 6323 | else |
e6cc62c6 | 6324 | |
3c907f20 | 6325 | LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}` |
10f2d63a VZ |
6326 | if test "x$LINE" != x ; then |
6327 | eval "DEFAULT_$LINE" | |
6328 | else | |
6329 | no_cache=1 | |
6330 | fi | |
6331 | ||
3c907f20 | 6332 | ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES |
10f2d63a | 6333 | |
e6cc62c6 | 6334 | fi; |
10f2d63a | 6335 | |
3c907f20 | 6336 | eval "$ac_cv_use_resources" |
10f2d63a | 6337 | if test "$no_cache" != 1; then |
3c907f20 | 6338 | echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
6339 | fi |
6340 | ||
3c907f20 | 6341 | if test "$wxUSE_RESOURCES" = yes; then |
e6cc62c6 VS |
6342 | echo "$as_me:$LINENO: result: yes" >&5 |
6343 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6344 | else |
e6cc62c6 VS |
6345 | echo "$as_me:$LINENO: result: no" >&5 |
6346 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6347 | fi |
e6cc62c6 | 6348 | |
8284b0c5 MB |
6349 | |
6350 | ||
52127426 | 6351 | |
5005acfe | 6352 | enablestring= |
e6cc62c6 VS |
6353 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5 |
6354 | echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6 | |
10f2d63a VZ |
6355 | no_cache=0 |
6356 | # Check whether --enable-clipboard or --disable-clipboard was given. | |
6357 | if test "${enable_clipboard+set}" = set; then | |
6358 | enableval="$enable_clipboard" | |
e6cc62c6 | 6359 | |
10f2d63a VZ |
6360 | if test "$enableval" = yes; then |
6361 | ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes' | |
6362 | else | |
6363 | ac_cv_use_clipboard='wxUSE_CLIPBOARD=no' | |
6364 | fi | |
e6cc62c6 | 6365 | |
10f2d63a | 6366 | else |
e6cc62c6 | 6367 | |
10f2d63a VZ |
6368 | LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}` |
6369 | if test "x$LINE" != x ; then | |
6370 | eval "DEFAULT_$LINE" | |
6371 | else | |
6372 | no_cache=1 | |
6373 | fi | |
6374 | ||
6375 | ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD | |
10f2d63a | 6376 | |
e6cc62c6 | 6377 | fi; |
10f2d63a VZ |
6378 | |
6379 | eval "$ac_cv_use_clipboard" | |
6380 | if test "$no_cache" != 1; then | |
6381 | echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp | |
6382 | fi | |
6383 | ||
6384 | if test "$wxUSE_CLIPBOARD" = yes; then | |
e6cc62c6 VS |
6385 | echo "$as_me:$LINENO: result: yes" >&5 |
6386 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6387 | else |
e6cc62c6 VS |
6388 | echo "$as_me:$LINENO: result: no" >&5 |
6389 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6390 | fi |
e6cc62c6 | 6391 | |
10f2d63a | 6392 | |
5005acfe | 6393 | enablestring= |
e6cc62c6 VS |
6394 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5 |
6395 | echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6 | |
10f2d63a VZ |
6396 | no_cache=0 |
6397 | # Check whether --enable-dnd or --disable-dnd was given. | |
6398 | if test "${enable_dnd+set}" = set; then | |
6399 | enableval="$enable_dnd" | |
e6cc62c6 | 6400 | |
10f2d63a VZ |
6401 | if test "$enableval" = yes; then |
6402 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes' | |
6403 | else | |
6404 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no' | |
6405 | fi | |
e6cc62c6 | 6406 | |
10f2d63a | 6407 | else |
e6cc62c6 | 6408 | |
10f2d63a VZ |
6409 | LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}` |
6410 | if test "x$LINE" != x ; then | |
6411 | eval "DEFAULT_$LINE" | |
6412 | else | |
6413 | no_cache=1 | |
6414 | fi | |
6415 | ||
6416 | ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP | |
10f2d63a | 6417 | |
e6cc62c6 | 6418 | fi; |
10f2d63a VZ |
6419 | |
6420 | eval "$ac_cv_use_dnd" | |
6421 | if test "$no_cache" != 1; then | |
6422 | echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp | |
6423 | fi | |
6424 | ||
6425 | if test "$wxUSE_DRAG_AND_DROP" = yes; then | |
e6cc62c6 VS |
6426 | echo "$as_me:$LINENO: result: yes" >&5 |
6427 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6428 | else |
e6cc62c6 VS |
6429 | echo "$as_me:$LINENO: result: no" >&5 |
6430 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6431 | fi |
e6cc62c6 | 6432 | |
10f2d63a | 6433 | |
5005acfe | 6434 | enablestring= |
e6cc62c6 VS |
6435 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5 |
6436 | echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6 | |
b64f0a5f RL |
6437 | no_cache=0 |
6438 | # Check whether --enable-metafile or --disable-metafile was given. | |
6439 | if test "${enable_metafile+set}" = set; then | |
6440 | enableval="$enable_metafile" | |
e6cc62c6 | 6441 | |
b64f0a5f RL |
6442 | if test "$enableval" = yes; then |
6443 | ac_cv_use_metafile='wxUSE_METAFILE=yes' | |
6444 | else | |
6445 | ac_cv_use_metafile='wxUSE_METAFILE=no' | |
6446 | fi | |
e6cc62c6 | 6447 | |
b64f0a5f | 6448 | else |
e6cc62c6 | 6449 | |
b64f0a5f RL |
6450 | LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}` |
6451 | if test "x$LINE" != x ; then | |
6452 | eval "DEFAULT_$LINE" | |
6453 | else | |
6454 | no_cache=1 | |
6455 | fi | |
6456 | ||
6457 | ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE | |
b64f0a5f | 6458 | |
e6cc62c6 | 6459 | fi; |
b64f0a5f RL |
6460 | |
6461 | eval "$ac_cv_use_metafile" | |
6462 | if test "$no_cache" != 1; then | |
6463 | echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp | |
6464 | fi | |
6465 | ||
6466 | if test "$wxUSE_METAFILE" = yes; then | |
e6cc62c6 VS |
6467 | echo "$as_me:$LINENO: result: yes" >&5 |
6468 | echo "${ECHO_T}yes" >&6 | |
b64f0a5f | 6469 | else |
e6cc62c6 VS |
6470 | echo "$as_me:$LINENO: result: no" >&5 |
6471 | echo "${ECHO_T}no" >&6 | |
b64f0a5f | 6472 | fi |
e6cc62c6 | 6473 | |
52127426 | 6474 | |
8284b0c5 | 6475 | |
52127426 | 6476 | |
8284b0c5 | 6477 | |
5005acfe | 6478 | enablestring= |
e6cc62c6 VS |
6479 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5 |
6480 | echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6 | |
10f2d63a VZ |
6481 | no_cache=0 |
6482 | # Check whether --enable-controls or --disable-controls was given. | |
6483 | if test "${enable_controls+set}" = set; then | |
6484 | enableval="$enable_controls" | |
e6cc62c6 | 6485 | |
10f2d63a VZ |
6486 | if test "$enableval" = yes; then |
6487 | ac_cv_use_controls='wxUSE_CONTROLS=yes' | |
6488 | else | |
6489 | ac_cv_use_controls='wxUSE_CONTROLS=no' | |
6490 | fi | |
e6cc62c6 | 6491 | |
10f2d63a | 6492 | else |
e6cc62c6 | 6493 | |
10f2d63a VZ |
6494 | LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}` |
6495 | if test "x$LINE" != x ; then | |
6496 | eval "DEFAULT_$LINE" | |
6497 | else | |
6498 | no_cache=1 | |
6499 | fi | |
6500 | ||
6501 | ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS | |
10f2d63a | 6502 | |
e6cc62c6 | 6503 | fi; |
10f2d63a VZ |
6504 | |
6505 | eval "$ac_cv_use_controls" | |
6506 | if test "$no_cache" != 1; then | |
6507 | echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp | |
6508 | fi | |
6509 | ||
6510 | if test "$wxUSE_CONTROLS" = yes; then | |
e6cc62c6 VS |
6511 | echo "$as_me:$LINENO: result: yes" >&5 |
6512 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6513 | else |
e6cc62c6 VS |
6514 | echo "$as_me:$LINENO: result: no" >&5 |
6515 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6516 | fi |
e6cc62c6 | 6517 | |
10f2d63a VZ |
6518 | |
6519 | if test "$wxUSE_CONTROLS" = "yes"; then | |
6520 | DEFAULT_wxUSE_ACCEL=yes | |
1e6feb95 VZ |
6521 | DEFAULT_wxUSE_BMPBUTTON=yes |
6522 | DEFAULT_wxUSE_BUTTON=yes | |
6523 | DEFAULT_wxUSE_CALCTRL=no | |
10f2d63a VZ |
6524 | DEFAULT_wxUSE_CARET=yes |
6525 | DEFAULT_wxUSE_COMBOBOX=yes | |
10f2d63a VZ |
6526 | DEFAULT_wxUSE_CHECKBOX=yes |
6527 | DEFAULT_wxUSE_CHECKLISTBOX=yes | |
6528 | DEFAULT_wxUSE_CHOICE=yes | |
6529 | DEFAULT_wxUSE_GAUGE=yes | |
6530 | DEFAULT_wxUSE_GRID=yes | |
10f2d63a | 6531 | DEFAULT_wxUSE_IMAGLIST=yes |
0e012a93 | 6532 | DEFAULT_wxUSE_LISTBOOK=yes |
10f2d63a VZ |
6533 | DEFAULT_wxUSE_LISTBOX=yes |
6534 | DEFAULT_wxUSE_LISTCTRL=yes | |
6535 | DEFAULT_wxUSE_NOTEBOOK=yes | |
6536 | DEFAULT_wxUSE_RADIOBOX=yes | |
6537 | DEFAULT_wxUSE_RADIOBTN=yes | |
6538 | DEFAULT_wxUSE_SASH=yes | |
6539 | DEFAULT_wxUSE_SCROLLBAR=yes | |
6540 | DEFAULT_wxUSE_SLIDER=yes | |
6541 | DEFAULT_wxUSE_SPINBTN=yes | |
56cfaa52 | 6542 | DEFAULT_wxUSE_SPINCTRL=yes |
10f2d63a VZ |
6543 | DEFAULT_wxUSE_SPLITTER=yes |
6544 | DEFAULT_wxUSE_STATBMP=yes | |
6545 | DEFAULT_wxUSE_STATBOX=yes | |
6546 | DEFAULT_wxUSE_STATLINE=yes | |
6547 | DEFAULT_wxUSE_STATUSBAR=yes | |
6548 | DEFAULT_wxUSE_TAB_DIALOG=yes | |
1db8dc4a | 6549 | DEFAULT_wxUSE_TOGGLEBTN=yes |
10f2d63a | 6550 | DEFAULT_wxUSE_TOOLBAR=yes |
360d6699 VZ |
6551 | DEFAULT_wxUSE_TOOLBAR_NATIVE=yes |
6552 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes | |
10f2d63a VZ |
6553 | DEFAULT_wxUSE_TOOLTIPS=yes |
6554 | DEFAULT_wxUSE_TREECTRL=yes | |
9f41d601 | 6555 | DEFAULT_wxUSE_POPUPWIN=yes |
9926e4a4 | 6556 | DEFAULT_wxUSE_TIPWINDOW=yes |
10f2d63a VZ |
6557 | elif test "$wxUSE_CONTROLS" = "no"; then |
6558 | DEFAULT_wxUSE_ACCEL=no | |
1e6feb95 VZ |
6559 | DEFAULT_wxUSE_BMPBUTTON=no |
6560 | DEFAULT_wxUSE_BUTTON=no | |
6561 | DEFAULT_wxUSE_CALCTRL=no | |
10f2d63a VZ |
6562 | DEFAULT_wxUSE_CARET=no |
6563 | DEFAULT_wxUSE_COMBOBOX=no | |
10f2d63a VZ |
6564 | DEFAULT_wxUSE_CHECKBOX=no |
6565 | DEFAULT_wxUSE_CHECKLISTBOX=no | |
6566 | DEFAULT_wxUSE_CHOICE=no | |
6567 | DEFAULT_wxUSE_GAUGE=no | |
6568 | DEFAULT_wxUSE_GRID=no | |
10f2d63a | 6569 | DEFAULT_wxUSE_IMAGLIST=no |
0e012a93 | 6570 | DEFAULT_wxUSE_LISTBOOK=no |
10f2d63a VZ |
6571 | DEFAULT_wxUSE_LISTBOX=no |
6572 | DEFAULT_wxUSE_LISTCTRL=no | |
6573 | DEFAULT_wxUSE_NOTEBOOK=no | |
6574 | DEFAULT_wxUSE_RADIOBOX=no | |
6575 | DEFAULT_wxUSE_RADIOBTN=no | |
6576 | DEFAULT_wxUSE_SASH=no | |
6577 | DEFAULT_wxUSE_SCROLLBAR=no | |
6578 | DEFAULT_wxUSE_SLIDER=no | |
6579 | DEFAULT_wxUSE_SPINBTN=no | |
56cfaa52 | 6580 | DEFAULT_wxUSE_SPINCTRL=no |
10f2d63a VZ |
6581 | DEFAULT_wxUSE_SPLITTER=no |
6582 | DEFAULT_wxUSE_STATBMP=no | |
6583 | DEFAULT_wxUSE_STATBOX=no | |
6584 | DEFAULT_wxUSE_STATLINE=no | |
6585 | DEFAULT_wxUSE_STATUSBAR=no | |
6586 | DEFAULT_wxUSE_TAB_DIALOG=no | |
1db8dc4a | 6587 | DEFAULT_wxUSE_TOGGLEBTN=no |
10f2d63a | 6588 | DEFAULT_wxUSE_TOOLBAR=no |
360d6699 VZ |
6589 | DEFAULT_wxUSE_TOOLBAR_NATIVE=no |
6590 | DEFAULT_wxUSE_TOOLBAR_SIMPLE=no | |
10f2d63a VZ |
6591 | DEFAULT_wxUSE_TOOLTIPS=no |
6592 | DEFAULT_wxUSE_TREECTRL=no | |
9f41d601 | 6593 | DEFAULT_wxUSE_POPUPWIN=no |
9926e4a4 | 6594 | DEFAULT_wxUSE_TIPWINDOW=no |
10f2d63a VZ |
6595 | fi |
6596 | ||
ac0c4cc3 DE |
6597 | ## FIXME: This is a blatant hack |
6598 | if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then | |
6599 | wxUSE_PRINTING_ARCHITECTURE=no | |
ac0c4cc3 | 6600 | wxUSE_DRAG_AND_DROP=no |
8b389fab DE |
6601 | # Generic notebook requires tab dialog |
6602 | DEFAULT_wxUSE_TABDIALOG=yes | |
ac0c4cc3 | 6603 | DEFAULT_wxUSE_TOOLBAR_NATIVE=no |
ac0c4cc3 | 6604 | DEFAULT_wxUSE_SCROLLBAR=no |
ac0c4cc3 | 6605 | DEFAULT_wxUSE_TOOLTIPS=no |
ac0c4cc3 | 6606 | DEFAULT_wxUSE_DRAGIMAGE=no |
ac0c4cc3 DE |
6607 | fi |
6608 | ||
8284b0c5 | 6609 | |
5005acfe | 6610 | enablestring= |
e6cc62c6 VS |
6611 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5 |
6612 | echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6 | |
10f2d63a VZ |
6613 | no_cache=0 |
6614 | # Check whether --enable-accel or --disable-accel was given. | |
6615 | if test "${enable_accel+set}" = set; then | |
6616 | enableval="$enable_accel" | |
e6cc62c6 | 6617 | |
10f2d63a VZ |
6618 | if test "$enableval" = yes; then |
6619 | ac_cv_use_accel='wxUSE_ACCEL=yes' | |
6620 | else | |
6621 | ac_cv_use_accel='wxUSE_ACCEL=no' | |
6622 | fi | |
e6cc62c6 | 6623 | |
10f2d63a | 6624 | else |
e6cc62c6 | 6625 | |
10f2d63a VZ |
6626 | LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}` |
6627 | if test "x$LINE" != x ; then | |
6628 | eval "DEFAULT_$LINE" | |
6629 | else | |
6630 | no_cache=1 | |
6631 | fi | |
6632 | ||
6633 | ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL | |
10f2d63a | 6634 | |
e6cc62c6 | 6635 | fi; |
10f2d63a VZ |
6636 | |
6637 | eval "$ac_cv_use_accel" | |
6638 | if test "$no_cache" != 1; then | |
6639 | echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp | |
6640 | fi | |
6641 | ||
6642 | if test "$wxUSE_ACCEL" = yes; then | |
e6cc62c6 VS |
6643 | echo "$as_me:$LINENO: result: yes" >&5 |
6644 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6645 | else |
e6cc62c6 VS |
6646 | echo "$as_me:$LINENO: result: no" >&5 |
6647 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6648 | fi |
e6cc62c6 | 6649 | |
10f2d63a | 6650 | |
5005acfe | 6651 | enablestring= |
e6cc62c6 VS |
6652 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5 |
6653 | echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6 | |
10f2d63a | 6654 | no_cache=0 |
1e6feb95 VZ |
6655 | # Check whether --enable-button or --disable-button was given. |
6656 | if test "${enable_button+set}" = set; then | |
6657 | enableval="$enable_button" | |
e6cc62c6 | 6658 | |
10f2d63a | 6659 | if test "$enableval" = yes; then |
1e6feb95 | 6660 | ac_cv_use_button='wxUSE_BUTTON=yes' |
10f2d63a | 6661 | else |
1e6feb95 | 6662 | ac_cv_use_button='wxUSE_BUTTON=no' |
10f2d63a | 6663 | fi |
e6cc62c6 | 6664 | |
10f2d63a | 6665 | else |
e6cc62c6 | 6666 | |
1e6feb95 | 6667 | LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}` |
10f2d63a VZ |
6668 | if test "x$LINE" != x ; then |
6669 | eval "DEFAULT_$LINE" | |
6670 | else | |
6671 | no_cache=1 | |
6672 | fi | |
6673 | ||
1e6feb95 | 6674 | ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON |
10f2d63a | 6675 | |
e6cc62c6 | 6676 | fi; |
10f2d63a | 6677 | |
1e6feb95 | 6678 | eval "$ac_cv_use_button" |
10f2d63a | 6679 | if test "$no_cache" != 1; then |
1e6feb95 | 6680 | echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
6681 | fi |
6682 | ||
1e6feb95 | 6683 | if test "$wxUSE_BUTTON" = yes; then |
e6cc62c6 VS |
6684 | echo "$as_me:$LINENO: result: yes" >&5 |
6685 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6686 | else |
e6cc62c6 VS |
6687 | echo "$as_me:$LINENO: result: no" >&5 |
6688 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6689 | fi |
e6cc62c6 | 6690 | |
10f2d63a | 6691 | |
5005acfe | 6692 | enablestring= |
e6cc62c6 VS |
6693 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5 |
6694 | echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6 | |
10f2d63a VZ |
6695 | no_cache=0 |
6696 | # Check whether --enable-bmpbutton or --disable-bmpbutton was given. | |
6697 | if test "${enable_bmpbutton+set}" = set; then | |
6698 | enableval="$enable_bmpbutton" | |
e6cc62c6 | 6699 | |
10f2d63a VZ |
6700 | if test "$enableval" = yes; then |
6701 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes' | |
6702 | else | |
6703 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no' | |
6704 | fi | |
e6cc62c6 | 6705 | |
10f2d63a | 6706 | else |
e6cc62c6 | 6707 | |
10f2d63a VZ |
6708 | LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}` |
6709 | if test "x$LINE" != x ; then | |
6710 | eval "DEFAULT_$LINE" | |
6711 | else | |
6712 | no_cache=1 | |
6713 | fi | |
6714 | ||
6715 | ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON | |
10f2d63a | 6716 | |
e6cc62c6 | 6717 | fi; |
10f2d63a VZ |
6718 | |
6719 | eval "$ac_cv_use_bmpbutton" | |
6720 | if test "$no_cache" != 1; then | |
6721 | echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp | |
6722 | fi | |
6723 | ||
6724 | if test "$wxUSE_BMPBUTTON" = yes; then | |
e6cc62c6 VS |
6725 | echo "$as_me:$LINENO: result: yes" >&5 |
6726 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6727 | else |
e6cc62c6 VS |
6728 | echo "$as_me:$LINENO: result: no" >&5 |
6729 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6730 | fi |
e6cc62c6 | 6731 | |
10f2d63a | 6732 | |
5005acfe | 6733 | enablestring= |
e6cc62c6 VS |
6734 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5 |
6735 | echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6 | |
1e6feb95 VZ |
6736 | no_cache=0 |
6737 | # Check whether --enable-calendar or --disable-calendar was given. | |
6738 | if test "${enable_calendar+set}" = set; then | |
6739 | enableval="$enable_calendar" | |
e6cc62c6 | 6740 | |
1e6feb95 VZ |
6741 | if test "$enableval" = yes; then |
6742 | ac_cv_use_calendar='wxUSE_CALCTRL=yes' | |
6743 | else | |
6744 | ac_cv_use_calendar='wxUSE_CALCTRL=no' | |
6745 | fi | |
e6cc62c6 | 6746 | |
1e6feb95 | 6747 | else |
e6cc62c6 | 6748 | |
1e6feb95 VZ |
6749 | LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}` |
6750 | if test "x$LINE" != x ; then | |
6751 | eval "DEFAULT_$LINE" | |
6752 | else | |
6753 | no_cache=1 | |
6754 | fi | |
6755 | ||
6756 | ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL | |
1e6feb95 | 6757 | |
e6cc62c6 | 6758 | fi; |
1e6feb95 VZ |
6759 | |
6760 | eval "$ac_cv_use_calendar" | |
6761 | if test "$no_cache" != 1; then | |
6762 | echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp | |
6763 | fi | |
6764 | ||
6765 | if test "$wxUSE_CALCTRL" = yes; then | |
e6cc62c6 VS |
6766 | echo "$as_me:$LINENO: result: yes" >&5 |
6767 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 6768 | else |
e6cc62c6 VS |
6769 | echo "$as_me:$LINENO: result: no" >&5 |
6770 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 6771 | fi |
e6cc62c6 | 6772 | |
1e6feb95 | 6773 | |
5005acfe | 6774 | enablestring= |
e6cc62c6 VS |
6775 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5 |
6776 | echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6 | |
1e6feb95 VZ |
6777 | no_cache=0 |
6778 | # Check whether --enable-caret or --disable-caret was given. | |
6779 | if test "${enable_caret+set}" = set; then | |
6780 | enableval="$enable_caret" | |
e6cc62c6 | 6781 | |
1e6feb95 VZ |
6782 | if test "$enableval" = yes; then |
6783 | ac_cv_use_caret='wxUSE_CARET=yes' | |
6784 | else | |
6785 | ac_cv_use_caret='wxUSE_CARET=no' | |
6786 | fi | |
e6cc62c6 | 6787 | |
1e6feb95 | 6788 | else |
e6cc62c6 | 6789 | |
1e6feb95 VZ |
6790 | LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}` |
6791 | if test "x$LINE" != x ; then | |
6792 | eval "DEFAULT_$LINE" | |
6793 | else | |
6794 | no_cache=1 | |
6795 | fi | |
6796 | ||
6797 | ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET | |
1e6feb95 | 6798 | |
e6cc62c6 | 6799 | fi; |
1e6feb95 VZ |
6800 | |
6801 | eval "$ac_cv_use_caret" | |
6802 | if test "$no_cache" != 1; then | |
6803 | echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp | |
6804 | fi | |
6805 | ||
6806 | if test "$wxUSE_CARET" = yes; then | |
e6cc62c6 VS |
6807 | echo "$as_me:$LINENO: result: yes" >&5 |
6808 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 6809 | else |
e6cc62c6 VS |
6810 | echo "$as_me:$LINENO: result: no" >&5 |
6811 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 6812 | fi |
e6cc62c6 | 6813 | |
1e6feb95 | 6814 | |
5005acfe | 6815 | enablestring= |
e6cc62c6 VS |
6816 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5 |
6817 | echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6 | |
10f2d63a VZ |
6818 | no_cache=0 |
6819 | # Check whether --enable-checkbox or --disable-checkbox was given. | |
6820 | if test "${enable_checkbox+set}" = set; then | |
6821 | enableval="$enable_checkbox" | |
e6cc62c6 | 6822 | |
10f2d63a VZ |
6823 | if test "$enableval" = yes; then |
6824 | ac_cv_use_checkbox='wxUSE_CHECKBOX=yes' | |
6825 | else | |
6826 | ac_cv_use_checkbox='wxUSE_CHECKBOX=no' | |
6827 | fi | |
e6cc62c6 | 6828 | |
10f2d63a | 6829 | else |
e6cc62c6 | 6830 | |
10f2d63a VZ |
6831 | LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}` |
6832 | if test "x$LINE" != x ; then | |
6833 | eval "DEFAULT_$LINE" | |
6834 | else | |
6835 | no_cache=1 | |
6836 | fi | |
6837 | ||
6838 | ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX | |
10f2d63a | 6839 | |
e6cc62c6 | 6840 | fi; |
10f2d63a VZ |
6841 | |
6842 | eval "$ac_cv_use_checkbox" | |
6843 | if test "$no_cache" != 1; then | |
6844 | echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp | |
6845 | fi | |
6846 | ||
6847 | if test "$wxUSE_CHECKBOX" = yes; then | |
e6cc62c6 VS |
6848 | echo "$as_me:$LINENO: result: yes" >&5 |
6849 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6850 | else |
e6cc62c6 VS |
6851 | echo "$as_me:$LINENO: result: no" >&5 |
6852 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6853 | fi |
e6cc62c6 | 6854 | |
10f2d63a | 6855 | |
5005acfe | 6856 | enablestring= |
e6cc62c6 VS |
6857 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5 |
6858 | echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6 | |
10f2d63a VZ |
6859 | no_cache=0 |
6860 | # Check whether --enable-checklst or --disable-checklst was given. | |
6861 | if test "${enable_checklst+set}" = set; then | |
6862 | enableval="$enable_checklst" | |
e6cc62c6 | 6863 | |
10f2d63a VZ |
6864 | if test "$enableval" = yes; then |
6865 | ac_cv_use_checklst='wxUSE_CHECKLST=yes' | |
6866 | else | |
6867 | ac_cv_use_checklst='wxUSE_CHECKLST=no' | |
6868 | fi | |
e6cc62c6 | 6869 | |
10f2d63a | 6870 | else |
e6cc62c6 | 6871 | |
10f2d63a VZ |
6872 | LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}` |
6873 | if test "x$LINE" != x ; then | |
6874 | eval "DEFAULT_$LINE" | |
6875 | else | |
6876 | no_cache=1 | |
6877 | fi | |
6878 | ||
6879 | ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST | |
10f2d63a | 6880 | |
e6cc62c6 | 6881 | fi; |
10f2d63a VZ |
6882 | |
6883 | eval "$ac_cv_use_checklst" | |
6884 | if test "$no_cache" != 1; then | |
6885 | echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp | |
6886 | fi | |
6887 | ||
6888 | if test "$wxUSE_CHECKLST" = yes; then | |
e6cc62c6 VS |
6889 | echo "$as_me:$LINENO: result: yes" >&5 |
6890 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6891 | else |
e6cc62c6 VS |
6892 | echo "$as_me:$LINENO: result: no" >&5 |
6893 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6894 | fi |
e6cc62c6 | 6895 | |
10f2d63a | 6896 | |
5005acfe | 6897 | enablestring= |
e6cc62c6 VS |
6898 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5 |
6899 | echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6 | |
10f2d63a VZ |
6900 | no_cache=0 |
6901 | # Check whether --enable-choice or --disable-choice was given. | |
6902 | if test "${enable_choice+set}" = set; then | |
6903 | enableval="$enable_choice" | |
e6cc62c6 | 6904 | |
10f2d63a VZ |
6905 | if test "$enableval" = yes; then |
6906 | ac_cv_use_choice='wxUSE_CHOICE=yes' | |
6907 | else | |
6908 | ac_cv_use_choice='wxUSE_CHOICE=no' | |
6909 | fi | |
e6cc62c6 | 6910 | |
10f2d63a | 6911 | else |
e6cc62c6 | 6912 | |
10f2d63a VZ |
6913 | LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}` |
6914 | if test "x$LINE" != x ; then | |
6915 | eval "DEFAULT_$LINE" | |
6916 | else | |
6917 | no_cache=1 | |
6918 | fi | |
6919 | ||
6920 | ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE | |
10f2d63a | 6921 | |
e6cc62c6 | 6922 | fi; |
10f2d63a VZ |
6923 | |
6924 | eval "$ac_cv_use_choice" | |
6925 | if test "$no_cache" != 1; then | |
6926 | echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp | |
6927 | fi | |
6928 | ||
6929 | if test "$wxUSE_CHOICE" = yes; then | |
e6cc62c6 VS |
6930 | echo "$as_me:$LINENO: result: yes" >&5 |
6931 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6932 | else |
e6cc62c6 VS |
6933 | echo "$as_me:$LINENO: result: no" >&5 |
6934 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6935 | fi |
e6cc62c6 | 6936 | |
10f2d63a | 6937 | |
5005acfe | 6938 | enablestring= |
e6cc62c6 VS |
6939 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5 |
6940 | echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6 | |
10f2d63a VZ |
6941 | no_cache=0 |
6942 | # Check whether --enable-combobox or --disable-combobox was given. | |
6943 | if test "${enable_combobox+set}" = set; then | |
6944 | enableval="$enable_combobox" | |
e6cc62c6 | 6945 | |
10f2d63a VZ |
6946 | if test "$enableval" = yes; then |
6947 | ac_cv_use_combobox='wxUSE_COMBOBOX=yes' | |
6948 | else | |
6949 | ac_cv_use_combobox='wxUSE_COMBOBOX=no' | |
6950 | fi | |
e6cc62c6 | 6951 | |
10f2d63a | 6952 | else |
e6cc62c6 | 6953 | |
10f2d63a VZ |
6954 | LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}` |
6955 | if test "x$LINE" != x ; then | |
6956 | eval "DEFAULT_$LINE" | |
6957 | else | |
6958 | no_cache=1 | |
6959 | fi | |
6960 | ||
6961 | ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX | |
10f2d63a | 6962 | |
e6cc62c6 | 6963 | fi; |
10f2d63a VZ |
6964 | |
6965 | eval "$ac_cv_use_combobox" | |
6966 | if test "$no_cache" != 1; then | |
6967 | echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp | |
6968 | fi | |
6969 | ||
6970 | if test "$wxUSE_COMBOBOX" = yes; then | |
e6cc62c6 VS |
6971 | echo "$as_me:$LINENO: result: yes" >&5 |
6972 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 6973 | else |
e6cc62c6 VS |
6974 | echo "$as_me:$LINENO: result: no" >&5 |
6975 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 6976 | fi |
e6cc62c6 | 6977 | |
10f2d63a | 6978 | |
da494b40 | 6979 | enablestring= |
e6cc62c6 VS |
6980 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5 |
6981 | echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6 | |
da494b40 MB |
6982 | no_cache=0 |
6983 | # Check whether --enable-display or --disable-display was given. | |
6984 | if test "${enable_display+set}" = set; then | |
6985 | enableval="$enable_display" | |
e6cc62c6 | 6986 | |
da494b40 MB |
6987 | if test "$enableval" = yes; then |
6988 | ac_cv_use_display='wxUSE_DISPLAY=yes' | |
6989 | else | |
6990 | ac_cv_use_display='wxUSE_DISPLAY=no' | |
6991 | fi | |
e6cc62c6 | 6992 | |
da494b40 | 6993 | else |
e6cc62c6 | 6994 | |
da494b40 MB |
6995 | LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}` |
6996 | if test "x$LINE" != x ; then | |
6997 | eval "DEFAULT_$LINE" | |
6998 | else | |
6999 | no_cache=1 | |
7000 | fi | |
7001 | ||
7002 | ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY | |
da494b40 | 7003 | |
e6cc62c6 | 7004 | fi; |
da494b40 MB |
7005 | |
7006 | eval "$ac_cv_use_display" | |
7007 | if test "$no_cache" != 1; then | |
7008 | echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp | |
7009 | fi | |
7010 | ||
7011 | if test "$wxUSE_DISPLAY" = yes; then | |
e6cc62c6 VS |
7012 | echo "$as_me:$LINENO: result: yes" >&5 |
7013 | echo "${ECHO_T}yes" >&6 | |
da494b40 | 7014 | else |
e6cc62c6 VS |
7015 | echo "$as_me:$LINENO: result: no" >&5 |
7016 | echo "${ECHO_T}no" >&6 | |
da494b40 | 7017 | fi |
e6cc62c6 | 7018 | |
da494b40 | 7019 | |
5005acfe | 7020 | enablestring= |
e6cc62c6 VS |
7021 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5 |
7022 | echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6 | |
10f2d63a VZ |
7023 | no_cache=0 |
7024 | # Check whether --enable-gauge or --disable-gauge was given. | |
7025 | if test "${enable_gauge+set}" = set; then | |
7026 | enableval="$enable_gauge" | |
e6cc62c6 | 7027 | |
10f2d63a VZ |
7028 | if test "$enableval" = yes; then |
7029 | ac_cv_use_gauge='wxUSE_GAUGE=yes' | |
7030 | else | |
7031 | ac_cv_use_gauge='wxUSE_GAUGE=no' | |
7032 | fi | |
e6cc62c6 | 7033 | |
10f2d63a | 7034 | else |
e6cc62c6 | 7035 | |
10f2d63a VZ |
7036 | LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}` |
7037 | if test "x$LINE" != x ; then | |
7038 | eval "DEFAULT_$LINE" | |
7039 | else | |
7040 | no_cache=1 | |
7041 | fi | |
7042 | ||
7043 | ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE | |
10f2d63a | 7044 | |
e6cc62c6 | 7045 | fi; |
10f2d63a VZ |
7046 | |
7047 | eval "$ac_cv_use_gauge" | |
7048 | if test "$no_cache" != 1; then | |
7049 | echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp | |
7050 | fi | |
7051 | ||
7052 | if test "$wxUSE_GAUGE" = yes; then | |
e6cc62c6 VS |
7053 | echo "$as_me:$LINENO: result: yes" >&5 |
7054 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7055 | else |
e6cc62c6 VS |
7056 | echo "$as_me:$LINENO: result: no" >&5 |
7057 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7058 | fi |
e6cc62c6 | 7059 | |
10f2d63a | 7060 | |
5005acfe | 7061 | enablestring= |
e6cc62c6 VS |
7062 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5 |
7063 | echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6 | |
10f2d63a VZ |
7064 | no_cache=0 |
7065 | # Check whether --enable-grid or --disable-grid was given. | |
7066 | if test "${enable_grid+set}" = set; then | |
7067 | enableval="$enable_grid" | |
e6cc62c6 | 7068 | |
10f2d63a VZ |
7069 | if test "$enableval" = yes; then |
7070 | ac_cv_use_grid='wxUSE_GRID=yes' | |
7071 | else | |
7072 | ac_cv_use_grid='wxUSE_GRID=no' | |
7073 | fi | |
e6cc62c6 | 7074 | |
10f2d63a | 7075 | else |
e6cc62c6 | 7076 | |
10f2d63a VZ |
7077 | LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}` |
7078 | if test "x$LINE" != x ; then | |
7079 | eval "DEFAULT_$LINE" | |
7080 | else | |
7081 | no_cache=1 | |
7082 | fi | |
7083 | ||
7084 | ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID | |
10f2d63a | 7085 | |
e6cc62c6 | 7086 | fi; |
10f2d63a VZ |
7087 | |
7088 | eval "$ac_cv_use_grid" | |
7089 | if test "$no_cache" != 1; then | |
7090 | echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp | |
7091 | fi | |
7092 | ||
7093 | if test "$wxUSE_GRID" = yes; then | |
e6cc62c6 VS |
7094 | echo "$as_me:$LINENO: result: yes" >&5 |
7095 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7096 | else |
e6cc62c6 VS |
7097 | echo "$as_me:$LINENO: result: no" >&5 |
7098 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7099 | fi |
e6cc62c6 | 7100 | |
10f2d63a | 7101 | |
5005acfe | 7102 | enablestring= |
e6cc62c6 VS |
7103 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5 |
7104 | echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6 | |
10f2d63a VZ |
7105 | no_cache=0 |
7106 | # Check whether --enable-imaglist or --disable-imaglist was given. | |
7107 | if test "${enable_imaglist+set}" = set; then | |
7108 | enableval="$enable_imaglist" | |
e6cc62c6 | 7109 | |
10f2d63a VZ |
7110 | if test "$enableval" = yes; then |
7111 | ac_cv_use_imaglist='wxUSE_IMAGLIST=yes' | |
7112 | else | |
7113 | ac_cv_use_imaglist='wxUSE_IMAGLIST=no' | |
7114 | fi | |
e6cc62c6 | 7115 | |
10f2d63a | 7116 | else |
e6cc62c6 | 7117 | |
10f2d63a VZ |
7118 | LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}` |
7119 | if test "x$LINE" != x ; then | |
7120 | eval "DEFAULT_$LINE" | |
7121 | else | |
7122 | no_cache=1 | |
7123 | fi | |
7124 | ||
7125 | ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST | |
10f2d63a | 7126 | |
e6cc62c6 | 7127 | fi; |
10f2d63a VZ |
7128 | |
7129 | eval "$ac_cv_use_imaglist" | |
7130 | if test "$no_cache" != 1; then | |
7131 | echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp | |
7132 | fi | |
7133 | ||
7134 | if test "$wxUSE_IMAGLIST" = yes; then | |
e6cc62c6 VS |
7135 | echo "$as_me:$LINENO: result: yes" >&5 |
7136 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7137 | else |
e6cc62c6 VS |
7138 | echo "$as_me:$LINENO: result: no" >&5 |
7139 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7140 | fi |
e6cc62c6 | 7141 | |
10f2d63a | 7142 | |
0e012a93 VZ |
7143 | enablestring= |
7144 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5 | |
7145 | echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6 | |
7146 | no_cache=0 | |
7147 | # Check whether --enable-listbook or --disable-listbook was given. | |
7148 | if test "${enable_listbook+set}" = set; then | |
7149 | enableval="$enable_listbook" | |
7150 | ||
7151 | if test "$enableval" = yes; then | |
7152 | ac_cv_use_listbook='wxUSE_LISTBOOK=yes' | |
7153 | else | |
7154 | ac_cv_use_listbook='wxUSE_LISTBOOK=no' | |
7155 | fi | |
7156 | ||
7157 | else | |
7158 | ||
7159 | LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}` | |
7160 | if test "x$LINE" != x ; then | |
7161 | eval "DEFAULT_$LINE" | |
7162 | else | |
7163 | no_cache=1 | |
7164 | fi | |
7165 | ||
7166 | ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK | |
7167 | ||
7168 | fi; | |
7169 | ||
7170 | eval "$ac_cv_use_listbook" | |
7171 | if test "$no_cache" != 1; then | |
7172 | echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp | |
7173 | fi | |
7174 | ||
7175 | if test "$wxUSE_LISTBOOK" = yes; then | |
7176 | echo "$as_me:$LINENO: result: yes" >&5 | |
7177 | echo "${ECHO_T}yes" >&6 | |
7178 | else | |
7179 | echo "$as_me:$LINENO: result: no" >&5 | |
7180 | echo "${ECHO_T}no" >&6 | |
7181 | fi | |
7182 | ||
7183 | ||
5005acfe | 7184 | enablestring= |
e6cc62c6 VS |
7185 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5 |
7186 | echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6 | |
10f2d63a VZ |
7187 | no_cache=0 |
7188 | # Check whether --enable-listbox or --disable-listbox was given. | |
7189 | if test "${enable_listbox+set}" = set; then | |
7190 | enableval="$enable_listbox" | |
e6cc62c6 | 7191 | |
10f2d63a VZ |
7192 | if test "$enableval" = yes; then |
7193 | ac_cv_use_listbox='wxUSE_LISTBOX=yes' | |
7194 | else | |
7195 | ac_cv_use_listbox='wxUSE_LISTBOX=no' | |
7196 | fi | |
e6cc62c6 | 7197 | |
10f2d63a | 7198 | else |
e6cc62c6 | 7199 | |
10f2d63a VZ |
7200 | LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}` |
7201 | if test "x$LINE" != x ; then | |
7202 | eval "DEFAULT_$LINE" | |
7203 | else | |
7204 | no_cache=1 | |
7205 | fi | |
7206 | ||
7207 | ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX | |
10f2d63a | 7208 | |
e6cc62c6 | 7209 | fi; |
10f2d63a VZ |
7210 | |
7211 | eval "$ac_cv_use_listbox" | |
7212 | if test "$no_cache" != 1; then | |
7213 | echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp | |
7214 | fi | |
7215 | ||
7216 | if test "$wxUSE_LISTBOX" = yes; then | |
e6cc62c6 VS |
7217 | echo "$as_me:$LINENO: result: yes" >&5 |
7218 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7219 | else |
e6cc62c6 VS |
7220 | echo "$as_me:$LINENO: result: no" >&5 |
7221 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7222 | fi |
e6cc62c6 | 7223 | |
10f2d63a | 7224 | |
5005acfe | 7225 | enablestring= |
e6cc62c6 VS |
7226 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5 |
7227 | echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6 | |
10f2d63a VZ |
7228 | no_cache=0 |
7229 | # Check whether --enable-listctrl or --disable-listctrl was given. | |
7230 | if test "${enable_listctrl+set}" = set; then | |
7231 | enableval="$enable_listctrl" | |
e6cc62c6 | 7232 | |
10f2d63a VZ |
7233 | if test "$enableval" = yes; then |
7234 | ac_cv_use_listctrl='wxUSE_LISTCTRL=yes' | |
7235 | else | |
7236 | ac_cv_use_listctrl='wxUSE_LISTCTRL=no' | |
7237 | fi | |
e6cc62c6 | 7238 | |
10f2d63a | 7239 | else |
e6cc62c6 | 7240 | |
10f2d63a VZ |
7241 | LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}` |
7242 | if test "x$LINE" != x ; then | |
7243 | eval "DEFAULT_$LINE" | |
7244 | else | |
7245 | no_cache=1 | |
7246 | fi | |
7247 | ||
7248 | ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL | |
10f2d63a | 7249 | |
e6cc62c6 | 7250 | fi; |
10f2d63a VZ |
7251 | |
7252 | eval "$ac_cv_use_listctrl" | |
7253 | if test "$no_cache" != 1; then | |
7254 | echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp | |
7255 | fi | |
7256 | ||
7257 | if test "$wxUSE_LISTCTRL" = yes; then | |
e6cc62c6 VS |
7258 | echo "$as_me:$LINENO: result: yes" >&5 |
7259 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7260 | else |
e6cc62c6 VS |
7261 | echo "$as_me:$LINENO: result: no" >&5 |
7262 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7263 | fi |
e6cc62c6 | 7264 | |
10f2d63a | 7265 | |
5005acfe | 7266 | enablestring= |
e6cc62c6 VS |
7267 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5 |
7268 | echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6 | |
10f2d63a VZ |
7269 | no_cache=0 |
7270 | # Check whether --enable-notebook or --disable-notebook was given. | |
7271 | if test "${enable_notebook+set}" = set; then | |
7272 | enableval="$enable_notebook" | |
e6cc62c6 | 7273 | |
10f2d63a VZ |
7274 | if test "$enableval" = yes; then |
7275 | ac_cv_use_notebook='wxUSE_NOTEBOOK=yes' | |
7276 | else | |
7277 | ac_cv_use_notebook='wxUSE_NOTEBOOK=no' | |
7278 | fi | |
e6cc62c6 | 7279 | |
10f2d63a | 7280 | else |
e6cc62c6 | 7281 | |
10f2d63a VZ |
7282 | LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}` |
7283 | if test "x$LINE" != x ; then | |
7284 | eval "DEFAULT_$LINE" | |
7285 | else | |
7286 | no_cache=1 | |
7287 | fi | |
7288 | ||
7289 | ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK | |
10f2d63a | 7290 | |
e6cc62c6 | 7291 | fi; |
10f2d63a VZ |
7292 | |
7293 | eval "$ac_cv_use_notebook" | |
7294 | if test "$no_cache" != 1; then | |
7295 | echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp | |
7296 | fi | |
7297 | ||
7298 | if test "$wxUSE_NOTEBOOK" = yes; then | |
e6cc62c6 VS |
7299 | echo "$as_me:$LINENO: result: yes" >&5 |
7300 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7301 | else |
e6cc62c6 VS |
7302 | echo "$as_me:$LINENO: result: no" >&5 |
7303 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7304 | fi |
e6cc62c6 | 7305 | |
10f2d63a | 7306 | |
5005acfe | 7307 | enablestring= |
e6cc62c6 VS |
7308 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5 |
7309 | echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6 | |
10f2d63a VZ |
7310 | no_cache=0 |
7311 | # Check whether --enable-radiobox or --disable-radiobox was given. | |
7312 | if test "${enable_radiobox+set}" = set; then | |
7313 | enableval="$enable_radiobox" | |
e6cc62c6 | 7314 | |
10f2d63a VZ |
7315 | if test "$enableval" = yes; then |
7316 | ac_cv_use_radiobox='wxUSE_RADIOBOX=yes' | |
7317 | else | |
7318 | ac_cv_use_radiobox='wxUSE_RADIOBOX=no' | |
7319 | fi | |
e6cc62c6 | 7320 | |
10f2d63a | 7321 | else |
e6cc62c6 | 7322 | |
10f2d63a VZ |
7323 | LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}` |
7324 | if test "x$LINE" != x ; then | |
7325 | eval "DEFAULT_$LINE" | |
7326 | else | |
7327 | no_cache=1 | |
7328 | fi | |
7329 | ||
7330 | ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX | |
10f2d63a | 7331 | |
e6cc62c6 | 7332 | fi; |
10f2d63a VZ |
7333 | |
7334 | eval "$ac_cv_use_radiobox" | |
7335 | if test "$no_cache" != 1; then | |
7336 | echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp | |
7337 | fi | |
7338 | ||
7339 | if test "$wxUSE_RADIOBOX" = yes; then | |
e6cc62c6 VS |
7340 | echo "$as_me:$LINENO: result: yes" >&5 |
7341 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7342 | else |
e6cc62c6 VS |
7343 | echo "$as_me:$LINENO: result: no" >&5 |
7344 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7345 | fi |
e6cc62c6 | 7346 | |
10f2d63a | 7347 | |
5005acfe | 7348 | enablestring= |
e6cc62c6 VS |
7349 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5 |
7350 | echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6 | |
10f2d63a VZ |
7351 | no_cache=0 |
7352 | # Check whether --enable-radiobtn or --disable-radiobtn was given. | |
7353 | if test "${enable_radiobtn+set}" = set; then | |
7354 | enableval="$enable_radiobtn" | |
e6cc62c6 | 7355 | |
10f2d63a VZ |
7356 | if test "$enableval" = yes; then |
7357 | ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes' | |
7358 | else | |
7359 | ac_cv_use_radiobtn='wxUSE_RADIOBTN=no' | |
7360 | fi | |
e6cc62c6 | 7361 | |
10f2d63a | 7362 | else |
e6cc62c6 | 7363 | |
10f2d63a VZ |
7364 | LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}` |
7365 | if test "x$LINE" != x ; then | |
7366 | eval "DEFAULT_$LINE" | |
7367 | else | |
7368 | no_cache=1 | |
7369 | fi | |
7370 | ||
7371 | ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN | |
10f2d63a | 7372 | |
e6cc62c6 | 7373 | fi; |
10f2d63a VZ |
7374 | |
7375 | eval "$ac_cv_use_radiobtn" | |
7376 | if test "$no_cache" != 1; then | |
7377 | echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp | |
7378 | fi | |
7379 | ||
7380 | if test "$wxUSE_RADIOBTN" = yes; then | |
e6cc62c6 VS |
7381 | echo "$as_me:$LINENO: result: yes" >&5 |
7382 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7383 | else |
e6cc62c6 VS |
7384 | echo "$as_me:$LINENO: result: no" >&5 |
7385 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7386 | fi |
e6cc62c6 | 7387 | |
10f2d63a | 7388 | |
5005acfe | 7389 | enablestring= |
e6cc62c6 VS |
7390 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5 |
7391 | echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6 | |
10f2d63a VZ |
7392 | no_cache=0 |
7393 | # Check whether --enable-sash or --disable-sash was given. | |
7394 | if test "${enable_sash+set}" = set; then | |
7395 | enableval="$enable_sash" | |
e6cc62c6 | 7396 | |
10f2d63a VZ |
7397 | if test "$enableval" = yes; then |
7398 | ac_cv_use_sash='wxUSE_SASH=yes' | |
7399 | else | |
7400 | ac_cv_use_sash='wxUSE_SASH=no' | |
7401 | fi | |
e6cc62c6 | 7402 | |
10f2d63a | 7403 | else |
e6cc62c6 | 7404 | |
10f2d63a VZ |
7405 | LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}` |
7406 | if test "x$LINE" != x ; then | |
7407 | eval "DEFAULT_$LINE" | |
7408 | else | |
7409 | no_cache=1 | |
7410 | fi | |
7411 | ||
7412 | ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH | |
10f2d63a | 7413 | |
e6cc62c6 | 7414 | fi; |
10f2d63a VZ |
7415 | |
7416 | eval "$ac_cv_use_sash" | |
7417 | if test "$no_cache" != 1; then | |
7418 | echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp | |
7419 | fi | |
7420 | ||
7421 | if test "$wxUSE_SASH" = yes; then | |
e6cc62c6 VS |
7422 | echo "$as_me:$LINENO: result: yes" >&5 |
7423 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7424 | else |
e6cc62c6 VS |
7425 | echo "$as_me:$LINENO: result: no" >&5 |
7426 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7427 | fi |
e6cc62c6 | 7428 | |
10f2d63a | 7429 | |
5005acfe | 7430 | enablestring= |
e6cc62c6 VS |
7431 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5 |
7432 | echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6 | |
10f2d63a VZ |
7433 | no_cache=0 |
7434 | # Check whether --enable-scrollbar or --disable-scrollbar was given. | |
7435 | if test "${enable_scrollbar+set}" = set; then | |
7436 | enableval="$enable_scrollbar" | |
e6cc62c6 | 7437 | |
10f2d63a VZ |
7438 | if test "$enableval" = yes; then |
7439 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes' | |
7440 | else | |
7441 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no' | |
7442 | fi | |
e6cc62c6 | 7443 | |
10f2d63a | 7444 | else |
e6cc62c6 | 7445 | |
10f2d63a VZ |
7446 | LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}` |
7447 | if test "x$LINE" != x ; then | |
7448 | eval "DEFAULT_$LINE" | |
7449 | else | |
7450 | no_cache=1 | |
7451 | fi | |
7452 | ||
7453 | ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR | |
10f2d63a | 7454 | |
e6cc62c6 | 7455 | fi; |
10f2d63a VZ |
7456 | |
7457 | eval "$ac_cv_use_scrollbar" | |
7458 | if test "$no_cache" != 1; then | |
7459 | echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp | |
7460 | fi | |
7461 | ||
7462 | if test "$wxUSE_SCROLLBAR" = yes; then | |
e6cc62c6 VS |
7463 | echo "$as_me:$LINENO: result: yes" >&5 |
7464 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7465 | else |
e6cc62c6 VS |
7466 | echo "$as_me:$LINENO: result: no" >&5 |
7467 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7468 | fi |
e6cc62c6 | 7469 | |
10f2d63a | 7470 | |
5005acfe | 7471 | enablestring= |
e6cc62c6 VS |
7472 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5 |
7473 | echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6 | |
10f2d63a VZ |
7474 | no_cache=0 |
7475 | # Check whether --enable-slider or --disable-slider was given. | |
7476 | if test "${enable_slider+set}" = set; then | |
7477 | enableval="$enable_slider" | |
e6cc62c6 | 7478 | |
10f2d63a VZ |
7479 | if test "$enableval" = yes; then |
7480 | ac_cv_use_slider='wxUSE_SLIDER=yes' | |
7481 | else | |
7482 | ac_cv_use_slider='wxUSE_SLIDER=no' | |
7483 | fi | |
e6cc62c6 | 7484 | |
10f2d63a | 7485 | else |
e6cc62c6 | 7486 | |
10f2d63a VZ |
7487 | LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}` |
7488 | if test "x$LINE" != x ; then | |
7489 | eval "DEFAULT_$LINE" | |
7490 | else | |
7491 | no_cache=1 | |
7492 | fi | |
7493 | ||
7494 | ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER | |
10f2d63a | 7495 | |
e6cc62c6 | 7496 | fi; |
10f2d63a VZ |
7497 | |
7498 | eval "$ac_cv_use_slider" | |
7499 | if test "$no_cache" != 1; then | |
7500 | echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp | |
7501 | fi | |
7502 | ||
7503 | if test "$wxUSE_SLIDER" = yes; then | |
e6cc62c6 VS |
7504 | echo "$as_me:$LINENO: result: yes" >&5 |
7505 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7506 | else |
e6cc62c6 VS |
7507 | echo "$as_me:$LINENO: result: no" >&5 |
7508 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7509 | fi |
e6cc62c6 | 7510 | |
10f2d63a | 7511 | |
5005acfe | 7512 | enablestring= |
e6cc62c6 VS |
7513 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5 |
7514 | echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6 | |
10f2d63a VZ |
7515 | no_cache=0 |
7516 | # Check whether --enable-spinbtn or --disable-spinbtn was given. | |
7517 | if test "${enable_spinbtn+set}" = set; then | |
7518 | enableval="$enable_spinbtn" | |
e6cc62c6 | 7519 | |
10f2d63a VZ |
7520 | if test "$enableval" = yes; then |
7521 | ac_cv_use_spinbtn='wxUSE_SPINBTN=yes' | |
7522 | else | |
7523 | ac_cv_use_spinbtn='wxUSE_SPINBTN=no' | |
7524 | fi | |
e6cc62c6 | 7525 | |
10f2d63a | 7526 | else |
e6cc62c6 | 7527 | |
10f2d63a VZ |
7528 | LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}` |
7529 | if test "x$LINE" != x ; then | |
7530 | eval "DEFAULT_$LINE" | |
7531 | else | |
7532 | no_cache=1 | |
7533 | fi | |
7534 | ||
7535 | ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN | |
10f2d63a | 7536 | |
e6cc62c6 | 7537 | fi; |
10f2d63a VZ |
7538 | |
7539 | eval "$ac_cv_use_spinbtn" | |
7540 | if test "$no_cache" != 1; then | |
7541 | echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp | |
7542 | fi | |
7543 | ||
7544 | if test "$wxUSE_SPINBTN" = yes; then | |
e6cc62c6 VS |
7545 | echo "$as_me:$LINENO: result: yes" >&5 |
7546 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7547 | else |
e6cc62c6 VS |
7548 | echo "$as_me:$LINENO: result: no" >&5 |
7549 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7550 | fi |
e6cc62c6 | 7551 | |
10f2d63a | 7552 | |
5005acfe | 7553 | enablestring= |
e6cc62c6 VS |
7554 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5 |
7555 | echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6 | |
56cfaa52 RR |
7556 | no_cache=0 |
7557 | # Check whether --enable-spinctrl or --disable-spinctrl was given. | |
7558 | if test "${enable_spinctrl+set}" = set; then | |
7559 | enableval="$enable_spinctrl" | |
e6cc62c6 | 7560 | |
56cfaa52 RR |
7561 | if test "$enableval" = yes; then |
7562 | ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes' | |
7563 | else | |
7564 | ac_cv_use_spinctrl='wxUSE_SPINCTRL=no' | |
7565 | fi | |
e6cc62c6 | 7566 | |
56cfaa52 | 7567 | else |
e6cc62c6 | 7568 | |
56cfaa52 RR |
7569 | LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}` |
7570 | if test "x$LINE" != x ; then | |
7571 | eval "DEFAULT_$LINE" | |
7572 | else | |
7573 | no_cache=1 | |
7574 | fi | |
7575 | ||
7576 | ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL | |
56cfaa52 | 7577 | |
e6cc62c6 | 7578 | fi; |
56cfaa52 RR |
7579 | |
7580 | eval "$ac_cv_use_spinctrl" | |
7581 | if test "$no_cache" != 1; then | |
7582 | echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp | |
7583 | fi | |
7584 | ||
7585 | if test "$wxUSE_SPINCTRL" = yes; then | |
e6cc62c6 VS |
7586 | echo "$as_me:$LINENO: result: yes" >&5 |
7587 | echo "${ECHO_T}yes" >&6 | |
56cfaa52 | 7588 | else |
e6cc62c6 VS |
7589 | echo "$as_me:$LINENO: result: no" >&5 |
7590 | echo "${ECHO_T}no" >&6 | |
56cfaa52 | 7591 | fi |
e6cc62c6 | 7592 | |
56cfaa52 | 7593 | |
5005acfe | 7594 | enablestring= |
e6cc62c6 VS |
7595 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5 |
7596 | echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6 | |
10f2d63a VZ |
7597 | no_cache=0 |
7598 | # Check whether --enable-splitter or --disable-splitter was given. | |
7599 | if test "${enable_splitter+set}" = set; then | |
7600 | enableval="$enable_splitter" | |
e6cc62c6 | 7601 | |
10f2d63a VZ |
7602 | if test "$enableval" = yes; then |
7603 | ac_cv_use_splitter='wxUSE_SPLITTER=yes' | |
7604 | else | |
7605 | ac_cv_use_splitter='wxUSE_SPLITTER=no' | |
7606 | fi | |
e6cc62c6 | 7607 | |
10f2d63a | 7608 | else |
e6cc62c6 | 7609 | |
10f2d63a VZ |
7610 | LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}` |
7611 | if test "x$LINE" != x ; then | |
7612 | eval "DEFAULT_$LINE" | |
7613 | else | |
7614 | no_cache=1 | |
7615 | fi | |
7616 | ||
7617 | ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER | |
10f2d63a | 7618 | |
e6cc62c6 | 7619 | fi; |
10f2d63a VZ |
7620 | |
7621 | eval "$ac_cv_use_splitter" | |
7622 | if test "$no_cache" != 1; then | |
7623 | echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp | |
7624 | fi | |
7625 | ||
7626 | if test "$wxUSE_SPLITTER" = yes; then | |
e6cc62c6 VS |
7627 | echo "$as_me:$LINENO: result: yes" >&5 |
7628 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7629 | else |
e6cc62c6 VS |
7630 | echo "$as_me:$LINENO: result: no" >&5 |
7631 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7632 | fi |
e6cc62c6 | 7633 | |
10f2d63a | 7634 | |
5005acfe | 7635 | enablestring= |
e6cc62c6 VS |
7636 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5 |
7637 | echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6 | |
10f2d63a VZ |
7638 | no_cache=0 |
7639 | # Check whether --enable-statbmp or --disable-statbmp was given. | |
7640 | if test "${enable_statbmp+set}" = set; then | |
7641 | enableval="$enable_statbmp" | |
e6cc62c6 | 7642 | |
10f2d63a VZ |
7643 | if test "$enableval" = yes; then |
7644 | ac_cv_use_statbmp='wxUSE_STATBMP=yes' | |
7645 | else | |
7646 | ac_cv_use_statbmp='wxUSE_STATBMP=no' | |
7647 | fi | |
e6cc62c6 | 7648 | |
10f2d63a | 7649 | else |
e6cc62c6 | 7650 | |
10f2d63a VZ |
7651 | LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}` |
7652 | if test "x$LINE" != x ; then | |
7653 | eval "DEFAULT_$LINE" | |
7654 | else | |
7655 | no_cache=1 | |
7656 | fi | |
7657 | ||
7658 | ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP | |
10f2d63a | 7659 | |
e6cc62c6 | 7660 | fi; |
10f2d63a VZ |
7661 | |
7662 | eval "$ac_cv_use_statbmp" | |
7663 | if test "$no_cache" != 1; then | |
7664 | echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp | |
7665 | fi | |
7666 | ||
7667 | if test "$wxUSE_STATBMP" = yes; then | |
e6cc62c6 VS |
7668 | echo "$as_me:$LINENO: result: yes" >&5 |
7669 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7670 | else |
e6cc62c6 VS |
7671 | echo "$as_me:$LINENO: result: no" >&5 |
7672 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7673 | fi |
e6cc62c6 | 7674 | |
10f2d63a | 7675 | |
5005acfe | 7676 | enablestring= |
e6cc62c6 VS |
7677 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5 |
7678 | echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6 | |
10f2d63a VZ |
7679 | no_cache=0 |
7680 | # Check whether --enable-statbox or --disable-statbox was given. | |
7681 | if test "${enable_statbox+set}" = set; then | |
7682 | enableval="$enable_statbox" | |
e6cc62c6 | 7683 | |
10f2d63a VZ |
7684 | if test "$enableval" = yes; then |
7685 | ac_cv_use_statbox='wxUSE_STATBOX=yes' | |
7686 | else | |
7687 | ac_cv_use_statbox='wxUSE_STATBOX=no' | |
7688 | fi | |
e6cc62c6 | 7689 | |
10f2d63a | 7690 | else |
e6cc62c6 | 7691 | |
10f2d63a VZ |
7692 | LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}` |
7693 | if test "x$LINE" != x ; then | |
7694 | eval "DEFAULT_$LINE" | |
7695 | else | |
7696 | no_cache=1 | |
7697 | fi | |
7698 | ||
7699 | ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX | |
10f2d63a | 7700 | |
e6cc62c6 | 7701 | fi; |
10f2d63a VZ |
7702 | |
7703 | eval "$ac_cv_use_statbox" | |
7704 | if test "$no_cache" != 1; then | |
7705 | echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp | |
7706 | fi | |
7707 | ||
7708 | if test "$wxUSE_STATBOX" = yes; then | |
e6cc62c6 VS |
7709 | echo "$as_me:$LINENO: result: yes" >&5 |
7710 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7711 | else |
e6cc62c6 VS |
7712 | echo "$as_me:$LINENO: result: no" >&5 |
7713 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7714 | fi |
e6cc62c6 | 7715 | |
10f2d63a | 7716 | |
5005acfe | 7717 | enablestring= |
e6cc62c6 VS |
7718 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5 |
7719 | echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6 | |
10f2d63a VZ |
7720 | no_cache=0 |
7721 | # Check whether --enable-statline or --disable-statline was given. | |
7722 | if test "${enable_statline+set}" = set; then | |
7723 | enableval="$enable_statline" | |
e6cc62c6 | 7724 | |
10f2d63a VZ |
7725 | if test "$enableval" = yes; then |
7726 | ac_cv_use_statline='wxUSE_STATLINE=yes' | |
7727 | else | |
7728 | ac_cv_use_statline='wxUSE_STATLINE=no' | |
7729 | fi | |
e6cc62c6 | 7730 | |
10f2d63a | 7731 | else |
e6cc62c6 | 7732 | |
10f2d63a VZ |
7733 | LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}` |
7734 | if test "x$LINE" != x ; then | |
7735 | eval "DEFAULT_$LINE" | |
7736 | else | |
7737 | no_cache=1 | |
7738 | fi | |
7739 | ||
7740 | ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE | |
10f2d63a | 7741 | |
e6cc62c6 | 7742 | fi; |
10f2d63a VZ |
7743 | |
7744 | eval "$ac_cv_use_statline" | |
7745 | if test "$no_cache" != 1; then | |
7746 | echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp | |
7747 | fi | |
7748 | ||
7749 | if test "$wxUSE_STATLINE" = yes; then | |
e6cc62c6 VS |
7750 | echo "$as_me:$LINENO: result: yes" >&5 |
7751 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7752 | else |
e6cc62c6 VS |
7753 | echo "$as_me:$LINENO: result: no" >&5 |
7754 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7755 | fi |
e6cc62c6 | 7756 | |
10f2d63a | 7757 | |
5005acfe | 7758 | enablestring= |
e6cc62c6 VS |
7759 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5 |
7760 | echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6 | |
1e6feb95 VZ |
7761 | no_cache=0 |
7762 | # Check whether --enable-stattext or --disable-stattext was given. | |
7763 | if test "${enable_stattext+set}" = set; then | |
7764 | enableval="$enable_stattext" | |
e6cc62c6 | 7765 | |
1e6feb95 VZ |
7766 | if test "$enableval" = yes; then |
7767 | ac_cv_use_stattext='wxUSE_STATTEXT=yes' | |
7768 | else | |
7769 | ac_cv_use_stattext='wxUSE_STATTEXT=no' | |
7770 | fi | |
e6cc62c6 | 7771 | |
1e6feb95 | 7772 | else |
e6cc62c6 | 7773 | |
1e6feb95 VZ |
7774 | LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}` |
7775 | if test "x$LINE" != x ; then | |
7776 | eval "DEFAULT_$LINE" | |
7777 | else | |
7778 | no_cache=1 | |
7779 | fi | |
7780 | ||
7781 | ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT | |
1e6feb95 | 7782 | |
e6cc62c6 | 7783 | fi; |
1e6feb95 VZ |
7784 | |
7785 | eval "$ac_cv_use_stattext" | |
7786 | if test "$no_cache" != 1; then | |
7787 | echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp | |
7788 | fi | |
7789 | ||
7790 | if test "$wxUSE_STATTEXT" = yes; then | |
e6cc62c6 VS |
7791 | echo "$as_me:$LINENO: result: yes" >&5 |
7792 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 7793 | else |
e6cc62c6 VS |
7794 | echo "$as_me:$LINENO: result: no" >&5 |
7795 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 7796 | fi |
e6cc62c6 | 7797 | |
1e6feb95 | 7798 | |
5005acfe | 7799 | enablestring= |
e6cc62c6 VS |
7800 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5 |
7801 | echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6 | |
10f2d63a VZ |
7802 | no_cache=0 |
7803 | # Check whether --enable-statusbar or --disable-statusbar was given. | |
7804 | if test "${enable_statusbar+set}" = set; then | |
7805 | enableval="$enable_statusbar" | |
e6cc62c6 | 7806 | |
10f2d63a VZ |
7807 | if test "$enableval" = yes; then |
7808 | ac_cv_use_statusbar='wxUSE_STATUSBAR=yes' | |
7809 | else | |
7810 | ac_cv_use_statusbar='wxUSE_STATUSBAR=no' | |
7811 | fi | |
e6cc62c6 | 7812 | |
10f2d63a | 7813 | else |
e6cc62c6 | 7814 | |
10f2d63a VZ |
7815 | LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}` |
7816 | if test "x$LINE" != x ; then | |
7817 | eval "DEFAULT_$LINE" | |
7818 | else | |
7819 | no_cache=1 | |
7820 | fi | |
7821 | ||
7822 | ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR | |
10f2d63a | 7823 | |
e6cc62c6 | 7824 | fi; |
10f2d63a VZ |
7825 | |
7826 | eval "$ac_cv_use_statusbar" | |
7827 | if test "$no_cache" != 1; then | |
7828 | echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp | |
7829 | fi | |
7830 | ||
7831 | if test "$wxUSE_STATUSBAR" = yes; then | |
e6cc62c6 VS |
7832 | echo "$as_me:$LINENO: result: yes" >&5 |
7833 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7834 | else |
e6cc62c6 VS |
7835 | echo "$as_me:$LINENO: result: no" >&5 |
7836 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7837 | fi |
e6cc62c6 | 7838 | |
10f2d63a | 7839 | |
5005acfe | 7840 | enablestring= |
e6cc62c6 VS |
7841 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5 |
7842 | echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6 | |
10f2d63a VZ |
7843 | no_cache=0 |
7844 | # Check whether --enable-tabdialog or --disable-tabdialog was given. | |
7845 | if test "${enable_tabdialog+set}" = set; then | |
7846 | enableval="$enable_tabdialog" | |
e6cc62c6 | 7847 | |
10f2d63a VZ |
7848 | if test "$enableval" = yes; then |
7849 | ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes' | |
7850 | else | |
7851 | ac_cv_use_tabdialog='wxUSE_TABDIALOG=no' | |
7852 | fi | |
e6cc62c6 | 7853 | |
10f2d63a | 7854 | else |
e6cc62c6 | 7855 | |
10f2d63a VZ |
7856 | LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}` |
7857 | if test "x$LINE" != x ; then | |
7858 | eval "DEFAULT_$LINE" | |
7859 | else | |
7860 | no_cache=1 | |
7861 | fi | |
7862 | ||
7863 | ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG | |
10f2d63a | 7864 | |
e6cc62c6 | 7865 | fi; |
10f2d63a VZ |
7866 | |
7867 | eval "$ac_cv_use_tabdialog" | |
7868 | if test "$no_cache" != 1; then | |
7869 | echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp | |
7870 | fi | |
7871 | ||
7872 | if test "$wxUSE_TABDIALOG" = yes; then | |
e6cc62c6 VS |
7873 | echo "$as_me:$LINENO: result: yes" >&5 |
7874 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7875 | else |
e6cc62c6 VS |
7876 | echo "$as_me:$LINENO: result: no" >&5 |
7877 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 7878 | fi |
e6cc62c6 | 7879 | |
10f2d63a | 7880 | |
5005acfe | 7881 | enablestring= |
e6cc62c6 VS |
7882 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5 |
7883 | echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6 | |
1e6feb95 VZ |
7884 | no_cache=0 |
7885 | # Check whether --enable-textctrl or --disable-textctrl was given. | |
7886 | if test "${enable_textctrl+set}" = set; then | |
7887 | enableval="$enable_textctrl" | |
e6cc62c6 | 7888 | |
1e6feb95 VZ |
7889 | if test "$enableval" = yes; then |
7890 | ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes' | |
7891 | else | |
7892 | ac_cv_use_textctrl='wxUSE_TEXTCTRL=no' | |
7893 | fi | |
e6cc62c6 | 7894 | |
1e6feb95 | 7895 | else |
e6cc62c6 | 7896 | |
1e6feb95 VZ |
7897 | LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}` |
7898 | if test "x$LINE" != x ; then | |
7899 | eval "DEFAULT_$LINE" | |
7900 | else | |
7901 | no_cache=1 | |
7902 | fi | |
7903 | ||
7904 | ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL | |
1e6feb95 | 7905 | |
e6cc62c6 | 7906 | fi; |
1e6feb95 VZ |
7907 | |
7908 | eval "$ac_cv_use_textctrl" | |
7909 | if test "$no_cache" != 1; then | |
7910 | echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp | |
7911 | fi | |
7912 | ||
7913 | if test "$wxUSE_TEXTCTRL" = yes; then | |
e6cc62c6 VS |
7914 | echo "$as_me:$LINENO: result: yes" >&5 |
7915 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 7916 | else |
e6cc62c6 VS |
7917 | echo "$as_me:$LINENO: result: no" >&5 |
7918 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 7919 | fi |
e6cc62c6 | 7920 | |
1e6feb95 | 7921 | |
5005acfe | 7922 | enablestring= |
e6cc62c6 VS |
7923 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5 |
7924 | echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6 | |
1db8dc4a VZ |
7925 | no_cache=0 |
7926 | # Check whether --enable-togglebtn or --disable-togglebtn was given. | |
7927 | if test "${enable_togglebtn+set}" = set; then | |
7928 | enableval="$enable_togglebtn" | |
e6cc62c6 | 7929 | |
1db8dc4a VZ |
7930 | if test "$enableval" = yes; then |
7931 | ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes' | |
7932 | else | |
7933 | ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no' | |
7934 | fi | |
e6cc62c6 | 7935 | |
1db8dc4a | 7936 | else |
e6cc62c6 | 7937 | |
1db8dc4a VZ |
7938 | LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}` |
7939 | if test "x$LINE" != x ; then | |
7940 | eval "DEFAULT_$LINE" | |
7941 | else | |
7942 | no_cache=1 | |
7943 | fi | |
7944 | ||
7945 | ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN | |
1db8dc4a | 7946 | |
e6cc62c6 | 7947 | fi; |
1db8dc4a VZ |
7948 | |
7949 | eval "$ac_cv_use_togglebtn" | |
7950 | if test "$no_cache" != 1; then | |
7951 | echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp | |
7952 | fi | |
7953 | ||
7954 | if test "$wxUSE_TOGGLEBTN" = yes; then | |
e6cc62c6 VS |
7955 | echo "$as_me:$LINENO: result: yes" >&5 |
7956 | echo "${ECHO_T}yes" >&6 | |
1db8dc4a | 7957 | else |
e6cc62c6 VS |
7958 | echo "$as_me:$LINENO: result: no" >&5 |
7959 | echo "${ECHO_T}no" >&6 | |
1db8dc4a | 7960 | fi |
e6cc62c6 | 7961 | |
1db8dc4a | 7962 | |
5005acfe | 7963 | enablestring= |
e6cc62c6 VS |
7964 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5 |
7965 | echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6 | |
10f2d63a VZ |
7966 | no_cache=0 |
7967 | # Check whether --enable-toolbar or --disable-toolbar was given. | |
7968 | if test "${enable_toolbar+set}" = set; then | |
7969 | enableval="$enable_toolbar" | |
e6cc62c6 | 7970 | |
10f2d63a VZ |
7971 | if test "$enableval" = yes; then |
7972 | ac_cv_use_toolbar='wxUSE_TOOLBAR=yes' | |
7973 | else | |
7974 | ac_cv_use_toolbar='wxUSE_TOOLBAR=no' | |
7975 | fi | |
e6cc62c6 | 7976 | |
10f2d63a | 7977 | else |
e6cc62c6 | 7978 | |
10f2d63a VZ |
7979 | LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}` |
7980 | if test "x$LINE" != x ; then | |
7981 | eval "DEFAULT_$LINE" | |
7982 | else | |
7983 | no_cache=1 | |
7984 | fi | |
7985 | ||
7986 | ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR | |
10f2d63a | 7987 | |
e6cc62c6 | 7988 | fi; |
10f2d63a VZ |
7989 | |
7990 | eval "$ac_cv_use_toolbar" | |
7991 | if test "$no_cache" != 1; then | |
7992 | echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp | |
7993 | fi | |
7994 | ||
7995 | if test "$wxUSE_TOOLBAR" = yes; then | |
e6cc62c6 VS |
7996 | echo "$as_me:$LINENO: result: yes" >&5 |
7997 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 7998 | else |
e6cc62c6 VS |
7999 | echo "$as_me:$LINENO: result: no" >&5 |
8000 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8001 | fi |
e6cc62c6 | 8002 | |
10f2d63a | 8003 | |
5005acfe | 8004 | enablestring= |
e6cc62c6 VS |
8005 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5 |
8006 | echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6 | |
360d6699 VZ |
8007 | no_cache=0 |
8008 | # Check whether --enable-tbarnative or --disable-tbarnative was given. | |
8009 | if test "${enable_tbarnative+set}" = set; then | |
8010 | enableval="$enable_tbarnative" | |
e6cc62c6 | 8011 | |
360d6699 VZ |
8012 | if test "$enableval" = yes; then |
8013 | ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes' | |
8014 | else | |
8015 | ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no' | |
8016 | fi | |
e6cc62c6 | 8017 | |
360d6699 | 8018 | else |
e6cc62c6 | 8019 | |
360d6699 VZ |
8020 | LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}` |
8021 | if test "x$LINE" != x ; then | |
8022 | eval "DEFAULT_$LINE" | |
8023 | else | |
8024 | no_cache=1 | |
8025 | fi | |
8026 | ||
8027 | ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE | |
360d6699 | 8028 | |
e6cc62c6 | 8029 | fi; |
360d6699 VZ |
8030 | |
8031 | eval "$ac_cv_use_tbarnative" | |
8032 | if test "$no_cache" != 1; then | |
8033 | echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp | |
8034 | fi | |
8035 | ||
8036 | if test "$wxUSE_TOOLBAR_NATIVE" = yes; then | |
e6cc62c6 VS |
8037 | echo "$as_me:$LINENO: result: yes" >&5 |
8038 | echo "${ECHO_T}yes" >&6 | |
360d6699 | 8039 | else |
e6cc62c6 VS |
8040 | echo "$as_me:$LINENO: result: no" >&5 |
8041 | echo "${ECHO_T}no" >&6 | |
360d6699 | 8042 | fi |
e6cc62c6 | 8043 | |
360d6699 | 8044 | |
5005acfe | 8045 | enablestring= |
e6cc62c6 VS |
8046 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5 |
8047 | echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6 | |
360d6699 VZ |
8048 | no_cache=0 |
8049 | # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given. | |
8050 | if test "${enable_tbarsmpl+set}" = set; then | |
8051 | enableval="$enable_tbarsmpl" | |
e6cc62c6 | 8052 | |
360d6699 VZ |
8053 | if test "$enableval" = yes; then |
8054 | ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes' | |
8055 | else | |
8056 | ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no' | |
8057 | fi | |
e6cc62c6 | 8058 | |
360d6699 | 8059 | else |
e6cc62c6 | 8060 | |
360d6699 VZ |
8061 | LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}` |
8062 | if test "x$LINE" != x ; then | |
8063 | eval "DEFAULT_$LINE" | |
8064 | else | |
8065 | no_cache=1 | |
8066 | fi | |
8067 | ||
8068 | ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE | |
360d6699 | 8069 | |
e6cc62c6 | 8070 | fi; |
360d6699 VZ |
8071 | |
8072 | eval "$ac_cv_use_tbarsmpl" | |
8073 | if test "$no_cache" != 1; then | |
8074 | echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp | |
8075 | fi | |
8076 | ||
8077 | if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then | |
e6cc62c6 VS |
8078 | echo "$as_me:$LINENO: result: yes" >&5 |
8079 | echo "${ECHO_T}yes" >&6 | |
360d6699 | 8080 | else |
e6cc62c6 VS |
8081 | echo "$as_me:$LINENO: result: no" >&5 |
8082 | echo "${ECHO_T}no" >&6 | |
360d6699 | 8083 | fi |
e6cc62c6 | 8084 | |
360d6699 | 8085 | |
5005acfe | 8086 | enablestring= |
e6cc62c6 VS |
8087 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5 |
8088 | echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6 | |
10f2d63a VZ |
8089 | no_cache=0 |
8090 | # Check whether --enable-treectrl or --disable-treectrl was given. | |
8091 | if test "${enable_treectrl+set}" = set; then | |
8092 | enableval="$enable_treectrl" | |
e6cc62c6 | 8093 | |
10f2d63a VZ |
8094 | if test "$enableval" = yes; then |
8095 | ac_cv_use_treectrl='wxUSE_TREECTRL=yes' | |
8096 | else | |
8097 | ac_cv_use_treectrl='wxUSE_TREECTRL=no' | |
8098 | fi | |
e6cc62c6 | 8099 | |
10f2d63a | 8100 | else |
e6cc62c6 | 8101 | |
10f2d63a VZ |
8102 | LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}` |
8103 | if test "x$LINE" != x ; then | |
8104 | eval "DEFAULT_$LINE" | |
8105 | else | |
8106 | no_cache=1 | |
8107 | fi | |
8108 | ||
8109 | ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL | |
10f2d63a | 8110 | |
e6cc62c6 | 8111 | fi; |
10f2d63a | 8112 | |
1e6feb95 VZ |
8113 | eval "$ac_cv_use_treectrl" |
8114 | if test "$no_cache" != 1; then | |
8115 | echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp | |
8116 | fi | |
8117 | ||
8118 | if test "$wxUSE_TREECTRL" = yes; then | |
e6cc62c6 VS |
8119 | echo "$as_me:$LINENO: result: yes" >&5 |
8120 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8121 | else |
e6cc62c6 VS |
8122 | echo "$as_me:$LINENO: result: no" >&5 |
8123 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8124 | fi |
e6cc62c6 | 8125 | |
1e6feb95 | 8126 | |
5005acfe | 8127 | enablestring= |
e6cc62c6 VS |
8128 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5 |
8129 | echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6 | |
9926e4a4 VZ |
8130 | no_cache=0 |
8131 | # Check whether --enable-tipwindow or --disable-tipwindow was given. | |
8132 | if test "${enable_tipwindow+set}" = set; then | |
8133 | enableval="$enable_tipwindow" | |
e6cc62c6 | 8134 | |
9926e4a4 VZ |
8135 | if test "$enableval" = yes; then |
8136 | ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes' | |
8137 | else | |
8138 | ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no' | |
8139 | fi | |
e6cc62c6 | 8140 | |
9926e4a4 | 8141 | else |
e6cc62c6 | 8142 | |
9926e4a4 VZ |
8143 | LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}` |
8144 | if test "x$LINE" != x ; then | |
8145 | eval "DEFAULT_$LINE" | |
8146 | else | |
8147 | no_cache=1 | |
8148 | fi | |
8149 | ||
8150 | ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW | |
9926e4a4 | 8151 | |
e6cc62c6 | 8152 | fi; |
9926e4a4 VZ |
8153 | |
8154 | eval "$ac_cv_use_tipwindow" | |
8155 | if test "$no_cache" != 1; then | |
8156 | echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp | |
8157 | fi | |
8158 | ||
8159 | if test "$wxUSE_TIPWINDOW" = yes; then | |
e6cc62c6 VS |
8160 | echo "$as_me:$LINENO: result: yes" >&5 |
8161 | echo "${ECHO_T}yes" >&6 | |
9926e4a4 | 8162 | else |
e6cc62c6 VS |
8163 | echo "$as_me:$LINENO: result: no" >&5 |
8164 | echo "${ECHO_T}no" >&6 | |
9926e4a4 | 8165 | fi |
e6cc62c6 | 8166 | |
9926e4a4 | 8167 | |
5005acfe | 8168 | enablestring= |
e6cc62c6 VS |
8169 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5 |
8170 | echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6 | |
9f41d601 RR |
8171 | no_cache=0 |
8172 | # Check whether --enable-popupwin or --disable-popupwin was given. | |
8173 | if test "${enable_popupwin+set}" = set; then | |
8174 | enableval="$enable_popupwin" | |
e6cc62c6 | 8175 | |
9f41d601 RR |
8176 | if test "$enableval" = yes; then |
8177 | ac_cv_use_popupwin='wxUSE_POPUPWIN=yes' | |
8178 | else | |
8179 | ac_cv_use_popupwin='wxUSE_POPUPWIN=no' | |
8180 | fi | |
e6cc62c6 | 8181 | |
9f41d601 | 8182 | else |
e6cc62c6 | 8183 | |
9f41d601 RR |
8184 | LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}` |
8185 | if test "x$LINE" != x ; then | |
8186 | eval "DEFAULT_$LINE" | |
8187 | else | |
8188 | no_cache=1 | |
8189 | fi | |
8190 | ||
8191 | ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN | |
9f41d601 | 8192 | |
e6cc62c6 | 8193 | fi; |
9f41d601 RR |
8194 | |
8195 | eval "$ac_cv_use_popupwin" | |
8196 | if test "$no_cache" != 1; then | |
8197 | echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp | |
8198 | fi | |
8199 | ||
8200 | if test "$wxUSE_POPUPWIN" = yes; then | |
e6cc62c6 VS |
8201 | echo "$as_me:$LINENO: result: yes" >&5 |
8202 | echo "${ECHO_T}yes" >&6 | |
9f41d601 | 8203 | else |
e6cc62c6 VS |
8204 | echo "$as_me:$LINENO: result: no" >&5 |
8205 | echo "${ECHO_T}no" >&6 | |
9f41d601 | 8206 | fi |
e6cc62c6 | 8207 | |
52127426 | 8208 | |
8284b0c5 MB |
8209 | |
8210 | ||
5005acfe | 8211 | enablestring= |
e6cc62c6 VS |
8212 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5 |
8213 | echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6 | |
1e6feb95 VZ |
8214 | no_cache=0 |
8215 | # Check whether --enable-commondlg or --disable-commondlg was given. | |
8216 | if test "${enable_commondlg+set}" = set; then | |
8217 | enableval="$enable_commondlg" | |
e6cc62c6 | 8218 | |
1e6feb95 VZ |
8219 | if test "$enableval" = yes; then |
8220 | ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes' | |
8221 | else | |
8222 | ac_cv_use_commondlg='wxUSE_COMMONDLGS=no' | |
8223 | fi | |
e6cc62c6 | 8224 | |
1e6feb95 | 8225 | else |
e6cc62c6 | 8226 | |
1e6feb95 VZ |
8227 | LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}` |
8228 | if test "x$LINE" != x ; then | |
8229 | eval "DEFAULT_$LINE" | |
8230 | else | |
8231 | no_cache=1 | |
8232 | fi | |
8233 | ||
8234 | ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS | |
1e6feb95 | 8235 | |
e6cc62c6 | 8236 | fi; |
1e6feb95 VZ |
8237 | |
8238 | eval "$ac_cv_use_commondlg" | |
8239 | if test "$no_cache" != 1; then | |
8240 | echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp | |
8241 | fi | |
8242 | ||
8243 | if test "$wxUSE_COMMONDLGS" = yes; then | |
e6cc62c6 VS |
8244 | echo "$as_me:$LINENO: result: yes" >&5 |
8245 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8246 | else |
e6cc62c6 VS |
8247 | echo "$as_me:$LINENO: result: no" >&5 |
8248 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8249 | fi |
e6cc62c6 | 8250 | |
1e6feb95 | 8251 | |
5005acfe | 8252 | enablestring= |
e6cc62c6 VS |
8253 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5 |
8254 | echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6 | |
1e6feb95 VZ |
8255 | no_cache=0 |
8256 | # Check whether --enable-choicedlg or --disable-choicedlg was given. | |
8257 | if test "${enable_choicedlg+set}" = set; then | |
8258 | enableval="$enable_choicedlg" | |
e6cc62c6 | 8259 | |
1e6feb95 VZ |
8260 | if test "$enableval" = yes; then |
8261 | ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes' | |
8262 | else | |
8263 | ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no' | |
8264 | fi | |
e6cc62c6 | 8265 | |
1e6feb95 | 8266 | else |
e6cc62c6 | 8267 | |
1e6feb95 VZ |
8268 | LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}` |
8269 | if test "x$LINE" != x ; then | |
8270 | eval "DEFAULT_$LINE" | |
8271 | else | |
8272 | no_cache=1 | |
8273 | fi | |
8274 | ||
8275 | ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG | |
1e6feb95 | 8276 | |
e6cc62c6 | 8277 | fi; |
1e6feb95 VZ |
8278 | |
8279 | eval "$ac_cv_use_choicedlg" | |
8280 | if test "$no_cache" != 1; then | |
8281 | echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp | |
8282 | fi | |
8283 | ||
8284 | if test "$wxUSE_CHOICEDLG" = yes; then | |
e6cc62c6 VS |
8285 | echo "$as_me:$LINENO: result: yes" >&5 |
8286 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8287 | else |
e6cc62c6 VS |
8288 | echo "$as_me:$LINENO: result: no" >&5 |
8289 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8290 | fi |
e6cc62c6 | 8291 | |
1e6feb95 | 8292 | |
5005acfe | 8293 | enablestring= |
e6cc62c6 VS |
8294 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5 |
8295 | echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6 | |
1e6feb95 VZ |
8296 | no_cache=0 |
8297 | # Check whether --enable-coldlg or --disable-coldlg was given. | |
8298 | if test "${enable_coldlg+set}" = set; then | |
8299 | enableval="$enable_coldlg" | |
e6cc62c6 | 8300 | |
1e6feb95 VZ |
8301 | if test "$enableval" = yes; then |
8302 | ac_cv_use_coldlg='wxUSE_COLOURDLG=yes' | |
8303 | else | |
8304 | ac_cv_use_coldlg='wxUSE_COLOURDLG=no' | |
8305 | fi | |
e6cc62c6 | 8306 | |
1e6feb95 | 8307 | else |
e6cc62c6 | 8308 | |
1e6feb95 VZ |
8309 | LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}` |
8310 | if test "x$LINE" != x ; then | |
8311 | eval "DEFAULT_$LINE" | |
8312 | else | |
8313 | no_cache=1 | |
8314 | fi | |
8315 | ||
8316 | ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG | |
1e6feb95 | 8317 | |
e6cc62c6 | 8318 | fi; |
1e6feb95 VZ |
8319 | |
8320 | eval "$ac_cv_use_coldlg" | |
8321 | if test "$no_cache" != 1; then | |
8322 | echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp | |
8323 | fi | |
8324 | ||
8325 | if test "$wxUSE_COLOURDLG" = yes; then | |
e6cc62c6 VS |
8326 | echo "$as_me:$LINENO: result: yes" >&5 |
8327 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8328 | else |
e6cc62c6 VS |
8329 | echo "$as_me:$LINENO: result: no" >&5 |
8330 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8331 | fi |
e6cc62c6 | 8332 | |
1e6feb95 | 8333 | |
5005acfe | 8334 | enablestring= |
e6cc62c6 VS |
8335 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5 |
8336 | echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6 | |
1e6feb95 VZ |
8337 | no_cache=0 |
8338 | # Check whether --enable-filedlg or --disable-filedlg was given. | |
8339 | if test "${enable_filedlg+set}" = set; then | |
8340 | enableval="$enable_filedlg" | |
e6cc62c6 | 8341 | |
1e6feb95 VZ |
8342 | if test "$enableval" = yes; then |
8343 | ac_cv_use_filedlg='wxUSE_FILEDLG=yes' | |
8344 | else | |
8345 | ac_cv_use_filedlg='wxUSE_FILEDLG=no' | |
8346 | fi | |
e6cc62c6 | 8347 | |
1e6feb95 | 8348 | else |
e6cc62c6 | 8349 | |
1e6feb95 VZ |
8350 | LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}` |
8351 | if test "x$LINE" != x ; then | |
8352 | eval "DEFAULT_$LINE" | |
8353 | else | |
8354 | no_cache=1 | |
8355 | fi | |
8356 | ||
8357 | ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG | |
1e6feb95 | 8358 | |
e6cc62c6 | 8359 | fi; |
1e6feb95 VZ |
8360 | |
8361 | eval "$ac_cv_use_filedlg" | |
8362 | if test "$no_cache" != 1; then | |
8363 | echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp | |
8364 | fi | |
8365 | ||
8366 | if test "$wxUSE_FILEDLG" = yes; then | |
e6cc62c6 VS |
8367 | echo "$as_me:$LINENO: result: yes" >&5 |
8368 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8369 | else |
e6cc62c6 VS |
8370 | echo "$as_me:$LINENO: result: no" >&5 |
8371 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8372 | fi |
e6cc62c6 | 8373 | |
1e6feb95 | 8374 | |
5005acfe | 8375 | enablestring= |
e6cc62c6 VS |
8376 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5 |
8377 | echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6 | |
8db37e06 | 8378 | no_cache=0 |
69d27ff7 MB |
8379 | # Check whether --enable-finddlg or --disable-finddlg was given. |
8380 | if test "${enable_finddlg+set}" = set; then | |
8381 | enableval="$enable_finddlg" | |
e6cc62c6 | 8382 | |
8db37e06 | 8383 | if test "$enableval" = yes; then |
69d27ff7 | 8384 | ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes' |
8db37e06 | 8385 | else |
69d27ff7 | 8386 | ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no' |
8db37e06 | 8387 | fi |
e6cc62c6 | 8388 | |
8db37e06 | 8389 | else |
e6cc62c6 | 8390 | |
8db37e06 VZ |
8391 | LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}` |
8392 | if test "x$LINE" != x ; then | |
8393 | eval "DEFAULT_$LINE" | |
8394 | else | |
8395 | no_cache=1 | |
8396 | fi | |
8397 | ||
69d27ff7 | 8398 | ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG |
8db37e06 | 8399 | |
e6cc62c6 | 8400 | fi; |
8db37e06 | 8401 | |
69d27ff7 | 8402 | eval "$ac_cv_use_finddlg" |
8db37e06 | 8403 | if test "$no_cache" != 1; then |
69d27ff7 | 8404 | echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp |
8db37e06 VZ |
8405 | fi |
8406 | ||
8407 | if test "$wxUSE_FINDREPLDLG" = yes; then | |
e6cc62c6 VS |
8408 | echo "$as_me:$LINENO: result: yes" >&5 |
8409 | echo "${ECHO_T}yes" >&6 | |
8db37e06 | 8410 | else |
e6cc62c6 VS |
8411 | echo "$as_me:$LINENO: result: no" >&5 |
8412 | echo "${ECHO_T}no" >&6 | |
8db37e06 | 8413 | fi |
e6cc62c6 | 8414 | |
8db37e06 | 8415 | |
5005acfe | 8416 | enablestring= |
e6cc62c6 VS |
8417 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5 |
8418 | echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6 | |
1e6feb95 VZ |
8419 | no_cache=0 |
8420 | # Check whether --enable-fontdlg or --disable-fontdlg was given. | |
8421 | if test "${enable_fontdlg+set}" = set; then | |
8422 | enableval="$enable_fontdlg" | |
e6cc62c6 | 8423 | |
1e6feb95 VZ |
8424 | if test "$enableval" = yes; then |
8425 | ac_cv_use_fontdlg='wxUSE_FONTDLG=yes' | |
8426 | else | |
8427 | ac_cv_use_fontdlg='wxUSE_FONTDLG=no' | |
8428 | fi | |
e6cc62c6 | 8429 | |
1e6feb95 | 8430 | else |
e6cc62c6 | 8431 | |
1e6feb95 VZ |
8432 | LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}` |
8433 | if test "x$LINE" != x ; then | |
8434 | eval "DEFAULT_$LINE" | |
8435 | else | |
8436 | no_cache=1 | |
8437 | fi | |
8438 | ||
8439 | ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG | |
1e6feb95 | 8440 | |
e6cc62c6 | 8441 | fi; |
1e6feb95 VZ |
8442 | |
8443 | eval "$ac_cv_use_fontdlg" | |
8444 | if test "$no_cache" != 1; then | |
8445 | echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp | |
8446 | fi | |
8447 | ||
8448 | if test "$wxUSE_FONTDLG" = yes; then | |
e6cc62c6 VS |
8449 | echo "$as_me:$LINENO: result: yes" >&5 |
8450 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8451 | else |
e6cc62c6 VS |
8452 | echo "$as_me:$LINENO: result: no" >&5 |
8453 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8454 | fi |
e6cc62c6 | 8455 | |
1e6feb95 | 8456 | |
5005acfe | 8457 | enablestring= |
e6cc62c6 VS |
8458 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5 |
8459 | echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6 | |
1e6feb95 VZ |
8460 | no_cache=0 |
8461 | # Check whether --enable-dirdlg or --disable-dirdlg was given. | |
8462 | if test "${enable_dirdlg+set}" = set; then | |
8463 | enableval="$enable_dirdlg" | |
e6cc62c6 | 8464 | |
1e6feb95 VZ |
8465 | if test "$enableval" = yes; then |
8466 | ac_cv_use_dirdlg='wxUSE_DIRDLG=yes' | |
8467 | else | |
8468 | ac_cv_use_dirdlg='wxUSE_DIRDLG=no' | |
8469 | fi | |
e6cc62c6 | 8470 | |
1e6feb95 | 8471 | else |
e6cc62c6 | 8472 | |
1e6feb95 VZ |
8473 | LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}` |
8474 | if test "x$LINE" != x ; then | |
8475 | eval "DEFAULT_$LINE" | |
8476 | else | |
8477 | no_cache=1 | |
8478 | fi | |
8479 | ||
8480 | ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG | |
1e6feb95 | 8481 | |
e6cc62c6 | 8482 | fi; |
1e6feb95 VZ |
8483 | |
8484 | eval "$ac_cv_use_dirdlg" | |
10f2d63a | 8485 | if test "$no_cache" != 1; then |
1e6feb95 | 8486 | echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
8487 | fi |
8488 | ||
1e6feb95 | 8489 | if test "$wxUSE_DIRDLG" = yes; then |
e6cc62c6 VS |
8490 | echo "$as_me:$LINENO: result: yes" >&5 |
8491 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8492 | else |
e6cc62c6 VS |
8493 | echo "$as_me:$LINENO: result: no" >&5 |
8494 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8495 | fi |
e6cc62c6 | 8496 | |
698dcdb6 | 8497 | |
5005acfe | 8498 | enablestring= |
e6cc62c6 VS |
8499 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5 |
8500 | echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6 | |
10f2d63a | 8501 | no_cache=0 |
1e6feb95 VZ |
8502 | # Check whether --enable-msgdlg or --disable-msgdlg was given. |
8503 | if test "${enable_msgdlg+set}" = set; then | |
8504 | enableval="$enable_msgdlg" | |
e6cc62c6 | 8505 | |
10f2d63a | 8506 | if test "$enableval" = yes; then |
1e6feb95 | 8507 | ac_cv_use_msgdlg='wxUSE_MSGDLG=yes' |
10f2d63a | 8508 | else |
1e6feb95 | 8509 | ac_cv_use_msgdlg='wxUSE_MSGDLG=no' |
10f2d63a | 8510 | fi |
e6cc62c6 | 8511 | |
10f2d63a | 8512 | else |
e6cc62c6 | 8513 | |
1e6feb95 | 8514 | LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}` |
10f2d63a VZ |
8515 | if test "x$LINE" != x ; then |
8516 | eval "DEFAULT_$LINE" | |
8517 | else | |
8518 | no_cache=1 | |
8519 | fi | |
8520 | ||
1e6feb95 | 8521 | ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG |
10f2d63a | 8522 | |
e6cc62c6 | 8523 | fi; |
10f2d63a | 8524 | |
1e6feb95 | 8525 | eval "$ac_cv_use_msgdlg" |
10f2d63a | 8526 | if test "$no_cache" != 1; then |
1e6feb95 | 8527 | echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
8528 | fi |
8529 | ||
1e6feb95 | 8530 | if test "$wxUSE_MSGDLG" = yes; then |
e6cc62c6 VS |
8531 | echo "$as_me:$LINENO: result: yes" >&5 |
8532 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8533 | else |
e6cc62c6 VS |
8534 | echo "$as_me:$LINENO: result: no" >&5 |
8535 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8536 | fi |
e6cc62c6 | 8537 | |
10f2d63a | 8538 | |
5005acfe | 8539 | enablestring= |
e6cc62c6 VS |
8540 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5 |
8541 | echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6 | |
10f2d63a | 8542 | no_cache=0 |
1e6feb95 VZ |
8543 | # Check whether --enable-numberdlg or --disable-numberdlg was given. |
8544 | if test "${enable_numberdlg+set}" = set; then | |
8545 | enableval="$enable_numberdlg" | |
e6cc62c6 | 8546 | |
10f2d63a | 8547 | if test "$enableval" = yes; then |
1e6feb95 | 8548 | ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes' |
10f2d63a | 8549 | else |
1e6feb95 | 8550 | ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no' |
10f2d63a | 8551 | fi |
e6cc62c6 | 8552 | |
10f2d63a | 8553 | else |
e6cc62c6 | 8554 | |
1e6feb95 | 8555 | LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}` |
10f2d63a VZ |
8556 | if test "x$LINE" != x ; then |
8557 | eval "DEFAULT_$LINE" | |
8558 | else | |
8559 | no_cache=1 | |
8560 | fi | |
8561 | ||
1e6feb95 | 8562 | ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG |
10f2d63a | 8563 | |
e6cc62c6 | 8564 | fi; |
10f2d63a | 8565 | |
1e6feb95 | 8566 | eval "$ac_cv_use_numberdlg" |
10f2d63a | 8567 | if test "$no_cache" != 1; then |
1e6feb95 | 8568 | echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp |
10f2d63a VZ |
8569 | fi |
8570 | ||
1e6feb95 | 8571 | if test "$wxUSE_NUMBERDLG" = yes; then |
e6cc62c6 VS |
8572 | echo "$as_me:$LINENO: result: yes" >&5 |
8573 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8574 | else |
e6cc62c6 VS |
8575 | echo "$as_me:$LINENO: result: no" >&5 |
8576 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8577 | fi |
e6cc62c6 | 8578 | |
10f2d63a | 8579 | |
5005acfe | 8580 | enablestring= |
e6cc62c6 VS |
8581 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5 |
8582 | echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6 | |
cbca9943 VZ |
8583 | no_cache=0 |
8584 | # Check whether --enable-splash or --disable-splash was given. | |
8585 | if test "${enable_splash+set}" = set; then | |
8586 | enableval="$enable_splash" | |
e6cc62c6 | 8587 | |
cbca9943 VZ |
8588 | if test "$enableval" = yes; then |
8589 | ac_cv_use_splash='wxUSE_SPLASH=yes' | |
8590 | else | |
8591 | ac_cv_use_splash='wxUSE_SPLASH=no' | |
8592 | fi | |
e6cc62c6 | 8593 | |
cbca9943 | 8594 | else |
e6cc62c6 | 8595 | |
cbca9943 VZ |
8596 | LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}` |
8597 | if test "x$LINE" != x ; then | |
8598 | eval "DEFAULT_$LINE" | |
8599 | else | |
8600 | no_cache=1 | |
8601 | fi | |
8602 | ||
8603 | ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH | |
cbca9943 | 8604 | |
e6cc62c6 | 8605 | fi; |
cbca9943 VZ |
8606 | |
8607 | eval "$ac_cv_use_splash" | |
8608 | if test "$no_cache" != 1; then | |
8609 | echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp | |
8610 | fi | |
8611 | ||
8612 | if test "$wxUSE_SPLASH" = yes; then | |
e6cc62c6 VS |
8613 | echo "$as_me:$LINENO: result: yes" >&5 |
8614 | echo "${ECHO_T}yes" >&6 | |
cbca9943 | 8615 | else |
e6cc62c6 VS |
8616 | echo "$as_me:$LINENO: result: no" >&5 |
8617 | echo "${ECHO_T}no" >&6 | |
cbca9943 | 8618 | fi |
e6cc62c6 | 8619 | |
cbca9943 | 8620 | |
5005acfe | 8621 | enablestring= |
e6cc62c6 VS |
8622 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5 |
8623 | echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6 | |
10f2d63a VZ |
8624 | no_cache=0 |
8625 | # Check whether --enable-textdlg or --disable-textdlg was given. | |
8626 | if test "${enable_textdlg+set}" = set; then | |
8627 | enableval="$enable_textdlg" | |
e6cc62c6 | 8628 | |
10f2d63a VZ |
8629 | if test "$enableval" = yes; then |
8630 | ac_cv_use_textdlg='wxUSE_TEXTDLG=yes' | |
8631 | else | |
8632 | ac_cv_use_textdlg='wxUSE_TEXTDLG=no' | |
8633 | fi | |
e6cc62c6 | 8634 | |
10f2d63a | 8635 | else |
e6cc62c6 | 8636 | |
10f2d63a VZ |
8637 | LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}` |
8638 | if test "x$LINE" != x ; then | |
8639 | eval "DEFAULT_$LINE" | |
8640 | else | |
8641 | no_cache=1 | |
8642 | fi | |
8643 | ||
8644 | ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG | |
10f2d63a | 8645 | |
e6cc62c6 | 8646 | fi; |
10f2d63a VZ |
8647 | |
8648 | eval "$ac_cv_use_textdlg" | |
8649 | if test "$no_cache" != 1; then | |
8650 | echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp | |
8651 | fi | |
8652 | ||
8653 | if test "$wxUSE_TEXTDLG" = yes; then | |
e6cc62c6 VS |
8654 | echo "$as_me:$LINENO: result: yes" >&5 |
8655 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8656 | else |
e6cc62c6 VS |
8657 | echo "$as_me:$LINENO: result: no" >&5 |
8658 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8659 | fi |
e6cc62c6 | 8660 | |
10f2d63a | 8661 | |
5005acfe | 8662 | enablestring= |
e6cc62c6 VS |
8663 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5 |
8664 | echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6 | |
10f2d63a VZ |
8665 | no_cache=0 |
8666 | # Check whether --enable-tipdlg or --disable-tipdlg was given. | |
8667 | if test "${enable_tipdlg+set}" = set; then | |
8668 | enableval="$enable_tipdlg" | |
e6cc62c6 | 8669 | |
10f2d63a VZ |
8670 | if test "$enableval" = yes; then |
8671 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes' | |
8672 | else | |
8673 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no' | |
8674 | fi | |
e6cc62c6 | 8675 | |
10f2d63a | 8676 | else |
e6cc62c6 | 8677 | |
10f2d63a VZ |
8678 | LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}` |
8679 | if test "x$LINE" != x ; then | |
8680 | eval "DEFAULT_$LINE" | |
8681 | else | |
8682 | no_cache=1 | |
8683 | fi | |
8684 | ||
8685 | ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS | |
10f2d63a | 8686 | |
e6cc62c6 | 8687 | fi; |
10f2d63a VZ |
8688 | |
8689 | eval "$ac_cv_use_tipdlg" | |
8690 | if test "$no_cache" != 1; then | |
8691 | echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp | |
8692 | fi | |
8693 | ||
8694 | if test "$wxUSE_STARTUP_TIPS" = yes; then | |
e6cc62c6 VS |
8695 | echo "$as_me:$LINENO: result: yes" >&5 |
8696 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8697 | else |
e6cc62c6 VS |
8698 | echo "$as_me:$LINENO: result: no" >&5 |
8699 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8700 | fi |
e6cc62c6 | 8701 | |
10f2d63a | 8702 | |
5005acfe | 8703 | enablestring= |
e6cc62c6 VS |
8704 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5 |
8705 | echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6 | |
10f2d63a VZ |
8706 | no_cache=0 |
8707 | # Check whether --enable-progressdlg or --disable-progressdlg was given. | |
8708 | if test "${enable_progressdlg+set}" = set; then | |
8709 | enableval="$enable_progressdlg" | |
e6cc62c6 | 8710 | |
10f2d63a VZ |
8711 | if test "$enableval" = yes; then |
8712 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes' | |
8713 | else | |
8714 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no' | |
8715 | fi | |
e6cc62c6 | 8716 | |
10f2d63a | 8717 | else |
e6cc62c6 | 8718 | |
10f2d63a VZ |
8719 | LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}` |
8720 | if test "x$LINE" != x ; then | |
8721 | eval "DEFAULT_$LINE" | |
8722 | else | |
8723 | no_cache=1 | |
8724 | fi | |
8725 | ||
8726 | ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG | |
10f2d63a | 8727 | |
e6cc62c6 | 8728 | fi; |
10f2d63a VZ |
8729 | |
8730 | eval "$ac_cv_use_progressdlg" | |
8731 | if test "$no_cache" != 1; then | |
8732 | echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp | |
8733 | fi | |
8734 | ||
8735 | if test "$wxUSE_PROGRESSDLG" = yes; then | |
e6cc62c6 VS |
8736 | echo "$as_me:$LINENO: result: yes" >&5 |
8737 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8738 | else |
e6cc62c6 VS |
8739 | echo "$as_me:$LINENO: result: no" >&5 |
8740 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8741 | fi |
e6cc62c6 | 8742 | |
10f2d63a | 8743 | |
5005acfe | 8744 | enablestring= |
e6cc62c6 VS |
8745 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5 |
8746 | echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6 | |
b1f5d087 VZ |
8747 | no_cache=0 |
8748 | # Check whether --enable-wizarddlg or --disable-wizarddlg was given. | |
8749 | if test "${enable_wizarddlg+set}" = set; then | |
8750 | enableval="$enable_wizarddlg" | |
e6cc62c6 | 8751 | |
b1f5d087 VZ |
8752 | if test "$enableval" = yes; then |
8753 | ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes' | |
8754 | else | |
8755 | ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no' | |
8756 | fi | |
e6cc62c6 | 8757 | |
b1f5d087 | 8758 | else |
e6cc62c6 | 8759 | |
b1f5d087 VZ |
8760 | LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}` |
8761 | if test "x$LINE" != x ; then | |
8762 | eval "DEFAULT_$LINE" | |
8763 | else | |
8764 | no_cache=1 | |
8765 | fi | |
8766 | ||
8767 | ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG | |
b1f5d087 | 8768 | |
e6cc62c6 | 8769 | fi; |
b1f5d087 VZ |
8770 | |
8771 | eval "$ac_cv_use_wizarddlg" | |
8772 | if test "$no_cache" != 1; then | |
8773 | echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp | |
8774 | fi | |
8775 | ||
8776 | if test "$wxUSE_WIZARDDLG" = yes; then | |
e6cc62c6 VS |
8777 | echo "$as_me:$LINENO: result: yes" >&5 |
8778 | echo "${ECHO_T}yes" >&6 | |
b1f5d087 | 8779 | else |
e6cc62c6 VS |
8780 | echo "$as_me:$LINENO: result: no" >&5 |
8781 | echo "${ECHO_T}no" >&6 | |
b1f5d087 | 8782 | fi |
e6cc62c6 | 8783 | |
8284b0c5 MB |
8784 | |
8785 | ||
52127426 | 8786 | |
5005acfe | 8787 | enablestring= |
e6cc62c6 VS |
8788 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5 |
8789 | echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6 | |
1e6feb95 VZ |
8790 | no_cache=0 |
8791 | # Check whether --enable-menus or --disable-menus was given. | |
8792 | if test "${enable_menus+set}" = set; then | |
8793 | enableval="$enable_menus" | |
e6cc62c6 | 8794 | |
1e6feb95 VZ |
8795 | if test "$enableval" = yes; then |
8796 | ac_cv_use_menus='wxUSE_MENUS=yes' | |
8797 | else | |
8798 | ac_cv_use_menus='wxUSE_MENUS=no' | |
8799 | fi | |
e6cc62c6 | 8800 | |
1e6feb95 | 8801 | else |
e6cc62c6 | 8802 | |
1e6feb95 VZ |
8803 | LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}` |
8804 | if test "x$LINE" != x ; then | |
8805 | eval "DEFAULT_$LINE" | |
8806 | else | |
8807 | no_cache=1 | |
8808 | fi | |
8809 | ||
8810 | ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS | |
1e6feb95 | 8811 | |
e6cc62c6 | 8812 | fi; |
1e6feb95 VZ |
8813 | |
8814 | eval "$ac_cv_use_menus" | |
8815 | if test "$no_cache" != 1; then | |
8816 | echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp | |
8817 | fi | |
8818 | ||
8819 | if test "$wxUSE_MENUS" = yes; then | |
e6cc62c6 VS |
8820 | echo "$as_me:$LINENO: result: yes" >&5 |
8821 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 8822 | else |
e6cc62c6 VS |
8823 | echo "$as_me:$LINENO: result: no" >&5 |
8824 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 8825 | fi |
e6cc62c6 | 8826 | |
1e6feb95 | 8827 | |
5005acfe | 8828 | enablestring= |
e6cc62c6 VS |
8829 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5 |
8830 | echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6 | |
10f2d63a VZ |
8831 | no_cache=0 |
8832 | # Check whether --enable-miniframe or --disable-miniframe was given. | |
8833 | if test "${enable_miniframe+set}" = set; then | |
8834 | enableval="$enable_miniframe" | |
e6cc62c6 | 8835 | |
10f2d63a VZ |
8836 | if test "$enableval" = yes; then |
8837 | ac_cv_use_miniframe='wxUSE_MINIFRAME=yes' | |
8838 | else | |
8839 | ac_cv_use_miniframe='wxUSE_MINIFRAME=no' | |
8840 | fi | |
e6cc62c6 | 8841 | |
10f2d63a | 8842 | else |
e6cc62c6 | 8843 | |
10f2d63a VZ |
8844 | LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}` |
8845 | if test "x$LINE" != x ; then | |
8846 | eval "DEFAULT_$LINE" | |
8847 | else | |
8848 | no_cache=1 | |
8849 | fi | |
8850 | ||
8851 | ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME | |
10f2d63a | 8852 | |
e6cc62c6 | 8853 | fi; |
10f2d63a VZ |
8854 | |
8855 | eval "$ac_cv_use_miniframe" | |
8856 | if test "$no_cache" != 1; then | |
8857 | echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp | |
8858 | fi | |
8859 | ||
8860 | if test "$wxUSE_MINIFRAME" = yes; then | |
e6cc62c6 VS |
8861 | echo "$as_me:$LINENO: result: yes" >&5 |
8862 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8863 | else |
e6cc62c6 VS |
8864 | echo "$as_me:$LINENO: result: no" >&5 |
8865 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8866 | fi |
e6cc62c6 | 8867 | |
10f2d63a | 8868 | |
5005acfe | 8869 | enablestring= |
e6cc62c6 VS |
8870 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5 |
8871 | echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6 | |
10f2d63a VZ |
8872 | no_cache=0 |
8873 | # Check whether --enable-tooltips or --disable-tooltips was given. | |
8874 | if test "${enable_tooltips+set}" = set; then | |
8875 | enableval="$enable_tooltips" | |
e6cc62c6 | 8876 | |
10f2d63a VZ |
8877 | if test "$enableval" = yes; then |
8878 | ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes' | |
8879 | else | |
8880 | ac_cv_use_tooltips='wxUSE_TOOLTIPS=no' | |
8881 | fi | |
e6cc62c6 | 8882 | |
10f2d63a | 8883 | else |
e6cc62c6 | 8884 | |
10f2d63a VZ |
8885 | LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}` |
8886 | if test "x$LINE" != x ; then | |
8887 | eval "DEFAULT_$LINE" | |
8888 | else | |
8889 | no_cache=1 | |
8890 | fi | |
8891 | ||
8892 | ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS | |
10f2d63a | 8893 | |
e6cc62c6 | 8894 | fi; |
10f2d63a VZ |
8895 | |
8896 | eval "$ac_cv_use_tooltips" | |
8897 | if test "$no_cache" != 1; then | |
8898 | echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp | |
8899 | fi | |
8900 | ||
8901 | if test "$wxUSE_TOOLTIPS" = yes; then | |
e6cc62c6 VS |
8902 | echo "$as_me:$LINENO: result: yes" >&5 |
8903 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8904 | else |
e6cc62c6 VS |
8905 | echo "$as_me:$LINENO: result: no" >&5 |
8906 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8907 | fi |
e6cc62c6 | 8908 | |
10f2d63a | 8909 | |
5005acfe | 8910 | enablestring= |
e6cc62c6 VS |
8911 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5 |
8912 | echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6 | |
10f2d63a VZ |
8913 | no_cache=0 |
8914 | # Check whether --enable-splines or --disable-splines was given. | |
8915 | if test "${enable_splines+set}" = set; then | |
8916 | enableval="$enable_splines" | |
e6cc62c6 | 8917 | |
10f2d63a VZ |
8918 | if test "$enableval" = yes; then |
8919 | ac_cv_use_splines='wxUSE_SPLINES=yes' | |
8920 | else | |
8921 | ac_cv_use_splines='wxUSE_SPLINES=no' | |
8922 | fi | |
e6cc62c6 | 8923 | |
10f2d63a | 8924 | else |
e6cc62c6 | 8925 | |
10f2d63a VZ |
8926 | LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}` |
8927 | if test "x$LINE" != x ; then | |
8928 | eval "DEFAULT_$LINE" | |
8929 | else | |
8930 | no_cache=1 | |
8931 | fi | |
8932 | ||
8933 | ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES | |
10f2d63a | 8934 | |
e6cc62c6 | 8935 | fi; |
10f2d63a VZ |
8936 | |
8937 | eval "$ac_cv_use_splines" | |
8938 | if test "$no_cache" != 1; then | |
8939 | echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp | |
8940 | fi | |
8941 | ||
8942 | if test "$wxUSE_SPLINES" = yes; then | |
e6cc62c6 VS |
8943 | echo "$as_me:$LINENO: result: yes" >&5 |
8944 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8945 | else |
e6cc62c6 VS |
8946 | echo "$as_me:$LINENO: result: no" >&5 |
8947 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8948 | fi |
e6cc62c6 | 8949 | |
10f2d63a | 8950 | |
5005acfe | 8951 | enablestring= |
e6cc62c6 VS |
8952 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5 |
8953 | echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6 | |
10f2d63a VZ |
8954 | no_cache=0 |
8955 | # Check whether --enable-validators or --disable-validators was given. | |
8956 | if test "${enable_validators+set}" = set; then | |
8957 | enableval="$enable_validators" | |
e6cc62c6 | 8958 | |
10f2d63a VZ |
8959 | if test "$enableval" = yes; then |
8960 | ac_cv_use_validators='wxUSE_VALIDATORS=yes' | |
8961 | else | |
8962 | ac_cv_use_validators='wxUSE_VALIDATORS=no' | |
8963 | fi | |
e6cc62c6 | 8964 | |
10f2d63a | 8965 | else |
e6cc62c6 | 8966 | |
10f2d63a VZ |
8967 | LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}` |
8968 | if test "x$LINE" != x ; then | |
8969 | eval "DEFAULT_$LINE" | |
8970 | else | |
8971 | no_cache=1 | |
8972 | fi | |
8973 | ||
8974 | ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS | |
10f2d63a | 8975 | |
e6cc62c6 | 8976 | fi; |
10f2d63a VZ |
8977 | |
8978 | eval "$ac_cv_use_validators" | |
8979 | if test "$no_cache" != 1; then | |
8980 | echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp | |
8981 | fi | |
8982 | ||
8983 | if test "$wxUSE_VALIDATORS" = yes; then | |
e6cc62c6 VS |
8984 | echo "$as_me:$LINENO: result: yes" >&5 |
8985 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 8986 | else |
e6cc62c6 VS |
8987 | echo "$as_me:$LINENO: result: no" >&5 |
8988 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 8989 | fi |
e6cc62c6 | 8990 | |
10f2d63a | 8991 | |
5005acfe | 8992 | enablestring= |
e6cc62c6 VS |
8993 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5 |
8994 | echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6 | |
10f2d63a VZ |
8995 | no_cache=0 |
8996 | # Check whether --enable-busyinfo or --disable-busyinfo was given. | |
8997 | if test "${enable_busyinfo+set}" = set; then | |
8998 | enableval="$enable_busyinfo" | |
e6cc62c6 | 8999 | |
10f2d63a VZ |
9000 | if test "$enableval" = yes; then |
9001 | ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes' | |
9002 | else | |
9003 | ac_cv_use_busyinfo='wxUSE_BUSYINFO=no' | |
9004 | fi | |
e6cc62c6 | 9005 | |
10f2d63a | 9006 | else |
e6cc62c6 | 9007 | |
10f2d63a VZ |
9008 | LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}` |
9009 | if test "x$LINE" != x ; then | |
9010 | eval "DEFAULT_$LINE" | |
9011 | else | |
9012 | no_cache=1 | |
9013 | fi | |
9014 | ||
9015 | ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO | |
10f2d63a | 9016 | |
e6cc62c6 | 9017 | fi; |
10f2d63a VZ |
9018 | |
9019 | eval "$ac_cv_use_busyinfo" | |
9020 | if test "$no_cache" != 1; then | |
9021 | echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp | |
9022 | fi | |
9023 | ||
9024 | if test "$wxUSE_BUSYINFO" = yes; then | |
e6cc62c6 VS |
9025 | echo "$as_me:$LINENO: result: yes" >&5 |
9026 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 9027 | else |
e6cc62c6 VS |
9028 | echo "$as_me:$LINENO: result: no" >&5 |
9029 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 9030 | fi |
e6cc62c6 | 9031 | |
10f2d63a | 9032 | |
5005acfe | 9033 | enablestring= |
e6cc62c6 VS |
9034 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5 |
9035 | echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6 | |
f6bcfd97 BP |
9036 | no_cache=0 |
9037 | # Check whether --enable-joystick or --disable-joystick was given. | |
9038 | if test "${enable_joystick+set}" = set; then | |
9039 | enableval="$enable_joystick" | |
e6cc62c6 | 9040 | |
f6bcfd97 BP |
9041 | if test "$enableval" = yes; then |
9042 | ac_cv_use_joystick='wxUSE_JOYSTICK=yes' | |
9043 | else | |
9044 | ac_cv_use_joystick='wxUSE_JOYSTICK=no' | |
9045 | fi | |
e6cc62c6 | 9046 | |
f6bcfd97 | 9047 | else |
e6cc62c6 | 9048 | |
f6bcfd97 BP |
9049 | LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}` |
9050 | if test "x$LINE" != x ; then | |
9051 | eval "DEFAULT_$LINE" | |
9052 | else | |
9053 | no_cache=1 | |
9054 | fi | |
9055 | ||
9056 | ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK | |
f6bcfd97 | 9057 | |
e6cc62c6 | 9058 | fi; |
f6bcfd97 BP |
9059 | |
9060 | eval "$ac_cv_use_joystick" | |
9061 | if test "$no_cache" != 1; then | |
9062 | echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp | |
9063 | fi | |
9064 | ||
9065 | if test "$wxUSE_JOYSTICK" = yes; then | |
e6cc62c6 VS |
9066 | echo "$as_me:$LINENO: result: yes" >&5 |
9067 | echo "${ECHO_T}yes" >&6 | |
f6bcfd97 | 9068 | else |
e6cc62c6 VS |
9069 | echo "$as_me:$LINENO: result: no" >&5 |
9070 | echo "${ECHO_T}no" >&6 | |
f6bcfd97 | 9071 | fi |
e6cc62c6 | 9072 | |
698dcdb6 | 9073 | |
5005acfe | 9074 | enablestring= |
e6cc62c6 VS |
9075 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5 |
9076 | echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6 | |
1e6feb95 VZ |
9077 | no_cache=0 |
9078 | # Check whether --enable-metafile or --disable-metafile was given. | |
9079 | if test "${enable_metafile+set}" = set; then | |
9080 | enableval="$enable_metafile" | |
e6cc62c6 | 9081 | |
1e6feb95 VZ |
9082 | if test "$enableval" = yes; then |
9083 | ac_cv_use_metafile='wxUSE_METAFILE=yes' | |
9084 | else | |
9085 | ac_cv_use_metafile='wxUSE_METAFILE=no' | |
9086 | fi | |
e6cc62c6 | 9087 | |
1e6feb95 | 9088 | else |
e6cc62c6 | 9089 | |
1e6feb95 VZ |
9090 | LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}` |
9091 | if test "x$LINE" != x ; then | |
9092 | eval "DEFAULT_$LINE" | |
9093 | else | |
9094 | no_cache=1 | |
9095 | fi | |
9096 | ||
9097 | ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE | |
1e6feb95 | 9098 | |
e6cc62c6 | 9099 | fi; |
1e6feb95 VZ |
9100 | |
9101 | eval "$ac_cv_use_metafile" | |
9102 | if test "$no_cache" != 1; then | |
9103 | echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp | |
9104 | fi | |
9105 | ||
9106 | if test "$wxUSE_METAFILE" = yes; then | |
e6cc62c6 VS |
9107 | echo "$as_me:$LINENO: result: yes" >&5 |
9108 | echo "${ECHO_T}yes" >&6 | |
1e6feb95 | 9109 | else |
e6cc62c6 VS |
9110 | echo "$as_me:$LINENO: result: no" >&5 |
9111 | echo "${ECHO_T}no" >&6 | |
1e6feb95 | 9112 | fi |
e6cc62c6 | 9113 | |
1e6feb95 | 9114 | |
5005acfe | 9115 | enablestring= |
e6cc62c6 VS |
9116 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5 |
9117 | echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6 | |
24fd6d87 VZ |
9118 | no_cache=0 |
9119 | # Check whether --enable-dragimage or --disable-dragimage was given. | |
9120 | if test "${enable_dragimage+set}" = set; then | |
9121 | enableval="$enable_dragimage" | |
e6cc62c6 | 9122 | |
24fd6d87 VZ |
9123 | if test "$enableval" = yes; then |
9124 | ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes' | |
9125 | else | |
9126 | ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no' | |
9127 | fi | |
e6cc62c6 | 9128 | |
24fd6d87 | 9129 | else |
e6cc62c6 | 9130 | |
24fd6d87 VZ |
9131 | LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}` |
9132 | if test "x$LINE" != x ; then | |
9133 | eval "DEFAULT_$LINE" | |
9134 | else | |
9135 | no_cache=1 | |
9136 | fi | |
9137 | ||
9138 | ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE | |
24fd6d87 | 9139 | |
e6cc62c6 | 9140 | fi; |
24fd6d87 VZ |
9141 | |
9142 | eval "$ac_cv_use_dragimage" | |
9143 | if test "$no_cache" != 1; then | |
9144 | echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp | |
9145 | fi | |
9146 | ||
9147 | if test "$wxUSE_DRAGIMAGE" = yes; then | |
e6cc62c6 VS |
9148 | echo "$as_me:$LINENO: result: yes" >&5 |
9149 | echo "${ECHO_T}yes" >&6 | |
24fd6d87 | 9150 | else |
e6cc62c6 VS |
9151 | echo "$as_me:$LINENO: result: no" >&5 |
9152 | echo "${ECHO_T}no" >&6 | |
24fd6d87 | 9153 | fi |
e6cc62c6 | 9154 | |
52127426 | 9155 | |
7bb2947d | 9156 | enablestring= |
e6cc62c6 VS |
9157 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5 |
9158 | echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6 | |
7bb2947d MB |
9159 | no_cache=0 |
9160 | # Check whether --enable-accessibility or --disable-accessibility was given. | |
9161 | if test "${enable_accessibility+set}" = set; then | |
9162 | enableval="$enable_accessibility" | |
e6cc62c6 | 9163 | |
7bb2947d MB |
9164 | if test "$enableval" = yes; then |
9165 | ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes' | |
9166 | else | |
9167 | ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no' | |
9168 | fi | |
e6cc62c6 | 9169 | |
7bb2947d | 9170 | else |
e6cc62c6 | 9171 | |
7bb2947d MB |
9172 | LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}` |
9173 | if test "x$LINE" != x ; then | |
9174 | eval "DEFAULT_$LINE" | |
9175 | else | |
9176 | no_cache=1 | |
9177 | fi | |
9178 | ||
9179 | ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY | |
7bb2947d | 9180 | |
e6cc62c6 | 9181 | fi; |
7bb2947d MB |
9182 | |
9183 | eval "$ac_cv_use_accessibility" | |
9184 | if test "$no_cache" != 1; then | |
9185 | echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp | |
9186 | fi | |
9187 | ||
9188 | if test "$wxUSE_ACCESSIBILITY" = yes; then | |
e6cc62c6 VS |
9189 | echo "$as_me:$LINENO: result: yes" >&5 |
9190 | echo "${ECHO_T}yes" >&6 | |
7bb2947d | 9191 | else |
e6cc62c6 VS |
9192 | echo "$as_me:$LINENO: result: no" >&5 |
9193 | echo "${ECHO_T}no" >&6 | |
7bb2947d | 9194 | fi |
e6cc62c6 | 9195 | |
7bb2947d | 9196 | |
8284b0c5 MB |
9197 | |
9198 | ||
5005acfe | 9199 | enablestring= |
e6cc62c6 VS |
9200 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5 |
9201 | echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6 | |
edae8572 VZ |
9202 | no_cache=0 |
9203 | # Check whether --enable-palette or --disable-palette was given. | |
9204 | if test "${enable_palette+set}" = set; then | |
9205 | enableval="$enable_palette" | |
e6cc62c6 | 9206 | |
edae8572 VZ |
9207 | if test "$enableval" = yes; then |
9208 | ac_cv_use_palette='wxUSE_PALETTE=yes' | |
9209 | else | |
9210 | ac_cv_use_palette='wxUSE_PALETTE=no' | |
9211 | fi | |
e6cc62c6 | 9212 | |
edae8572 | 9213 | else |
e6cc62c6 | 9214 | |
edae8572 VZ |
9215 | LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}` |
9216 | if test "x$LINE" != x ; then | |
9217 | eval "DEFAULT_$LINE" | |
9218 | else | |
9219 | no_cache=1 | |
9220 | fi | |
9221 | ||
9222 | ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE | |
edae8572 | 9223 | |
e6cc62c6 | 9224 | fi; |
edae8572 VZ |
9225 | |
9226 | eval "$ac_cv_use_palette" | |
9227 | if test "$no_cache" != 1; then | |
9228 | echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp | |
9229 | fi | |
9230 | ||
9231 | if test "$wxUSE_PALETTE" = yes; then | |
e6cc62c6 VS |
9232 | echo "$as_me:$LINENO: result: yes" >&5 |
9233 | echo "${ECHO_T}yes" >&6 | |
edae8572 | 9234 | else |
e6cc62c6 VS |
9235 | echo "$as_me:$LINENO: result: no" >&5 |
9236 | echo "${ECHO_T}no" >&6 | |
edae8572 | 9237 | fi |
e6cc62c6 | 9238 | |
edae8572 | 9239 | |
5005acfe | 9240 | enablestring= |
e6cc62c6 VS |
9241 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5 |
9242 | echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6 | |
0046ff7c VS |
9243 | no_cache=0 |
9244 | # Check whether --enable-image or --disable-image was given. | |
9245 | if test "${enable_image+set}" = set; then | |
9246 | enableval="$enable_image" | |
e6cc62c6 | 9247 | |
0046ff7c VS |
9248 | if test "$enableval" = yes; then |
9249 | ac_cv_use_image='wxUSE_IMAGE=yes' | |
9250 | else | |
9251 | ac_cv_use_image='wxUSE_IMAGE=no' | |
9252 | fi | |
e6cc62c6 | 9253 | |
0046ff7c | 9254 | else |
e6cc62c6 | 9255 | |
0046ff7c VS |
9256 | LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}` |
9257 | if test "x$LINE" != x ; then | |
9258 | eval "DEFAULT_$LINE" | |
9259 | else | |
9260 | no_cache=1 | |
9261 | fi | |
9262 | ||
9263 | ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE | |
0046ff7c | 9264 | |
e6cc62c6 | 9265 | fi; |
0046ff7c VS |
9266 | |
9267 | eval "$ac_cv_use_image" | |
9268 | if test "$no_cache" != 1; then | |
9269 | echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp | |
9270 | fi | |
9271 | ||
9272 | if test "$wxUSE_IMAGE" = yes; then | |
e6cc62c6 VS |
9273 | echo "$as_me:$LINENO: result: yes" >&5 |
9274 | echo "${ECHO_T}yes" >&6 | |
0046ff7c | 9275 | else |
e6cc62c6 VS |
9276 | echo "$as_me:$LINENO: result: no" >&5 |
9277 | echo "${ECHO_T}no" >&6 | |
0046ff7c | 9278 | fi |
e6cc62c6 | 9279 | |
0046ff7c | 9280 | |
5005acfe | 9281 | enablestring= |
e6cc62c6 VS |
9282 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5 |
9283 | echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6 | |
10f2d63a VZ |
9284 | no_cache=0 |
9285 | # Check whether --enable-gif or --disable-gif was given. | |
9286 | if test "${enable_gif+set}" = set; then | |
9287 | enableval="$enable_gif" | |
e6cc62c6 | 9288 | |
10f2d63a VZ |
9289 | if test "$enableval" = yes; then |
9290 | ac_cv_use_gif='wxUSE_GIF=yes' | |
9291 | else | |
9292 | ac_cv_use_gif='wxUSE_GIF=no' | |
9293 | fi | |
e6cc62c6 | 9294 | |
10f2d63a | 9295 | else |
e6cc62c6 | 9296 | |
10f2d63a VZ |
9297 | LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}` |
9298 | if test "x$LINE" != x ; then | |
9299 | eval "DEFAULT_$LINE" | |
9300 | else | |
9301 | no_cache=1 | |
9302 | fi | |
9303 | ||
9304 | ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF | |
10f2d63a | 9305 | |
e6cc62c6 | 9306 | fi; |
10f2d63a VZ |
9307 | |
9308 | eval "$ac_cv_use_gif" | |
9309 | if test "$no_cache" != 1; then | |
9310 | echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp | |
9311 | fi | |
9312 | ||
9313 | if test "$wxUSE_GIF" = yes; then | |
e6cc62c6 VS |
9314 | echo "$as_me:$LINENO: result: yes" >&5 |
9315 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 9316 | else |
e6cc62c6 VS |
9317 | echo "$as_me:$LINENO: result: no" >&5 |
9318 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 9319 | fi |
e6cc62c6 | 9320 | |
10f2d63a | 9321 | |
5005acfe | 9322 | enablestring= |
e6cc62c6 VS |
9323 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5 |
9324 | echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6 | |
10f2d63a VZ |
9325 | no_cache=0 |
9326 | # Check whether --enable-pcx or --disable-pcx was given. | |
9327 | if test "${enable_pcx+set}" = set; then | |
9328 | enableval="$enable_pcx" | |
e6cc62c6 | 9329 | |
10f2d63a VZ |
9330 | if test "$enableval" = yes; then |
9331 | ac_cv_use_pcx='wxUSE_PCX=yes' | |
9332 | else | |
9333 | ac_cv_use_pcx='wxUSE_PCX=no' | |
9334 | fi | |
e6cc62c6 | 9335 | |
10f2d63a | 9336 | else |
e6cc62c6 | 9337 | |
10f2d63a VZ |
9338 | LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}` |
9339 | if test "x$LINE" != x ; then | |
9340 | eval "DEFAULT_$LINE" | |
9341 | else | |
9342 | no_cache=1 | |
9343 | fi | |
9344 | ||
9345 | ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX | |
10f2d63a | 9346 | |
e6cc62c6 | 9347 | fi; |
10f2d63a VZ |
9348 | |
9349 | eval "$ac_cv_use_pcx" | |
9350 | if test "$no_cache" != 1; then | |
9351 | echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp | |
9352 | fi | |
9353 | ||
9354 | if test "$wxUSE_PCX" = yes; then | |
e6cc62c6 VS |
9355 | echo "$as_me:$LINENO: result: yes" >&5 |
9356 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 9357 | else |
e6cc62c6 VS |
9358 | echo "$as_me:$LINENO: result: no" >&5 |
9359 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 9360 | fi |
e6cc62c6 | 9361 | |
10f2d63a | 9362 | |
5005acfe | 9363 | enablestring= |
e6cc62c6 VS |
9364 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5 |
9365 | echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6 | |
4b6b4dfc RR |
9366 | no_cache=0 |
9367 | # Check whether --enable-iff or --disable-iff was given. | |
9368 | if test "${enable_iff+set}" = set; then | |
9369 | enableval="$enable_iff" | |
e6cc62c6 | 9370 | |
4b6b4dfc RR |
9371 | if test "$enableval" = yes; then |
9372 | ac_cv_use_iff='wxUSE_IFF=yes' | |
9373 | else | |
9374 | ac_cv_use_iff='wxUSE_IFF=no' | |
9375 | fi | |
e6cc62c6 | 9376 | |
4b6b4dfc | 9377 | else |
e6cc62c6 | 9378 | |
4b6b4dfc RR |
9379 | LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}` |
9380 | if test "x$LINE" != x ; then | |
9381 | eval "DEFAULT_$LINE" | |
9382 | else | |
9383 | no_cache=1 | |
9384 | fi | |
9385 | ||
9386 | ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF | |
4b6b4dfc | 9387 | |
e6cc62c6 | 9388 | fi; |
4b6b4dfc RR |
9389 | |
9390 | eval "$ac_cv_use_iff" | |
9391 | if test "$no_cache" != 1; then | |
9392 | echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp | |
9393 | fi | |
9394 | ||
9395 | if test "$wxUSE_IFF" = yes; then | |
e6cc62c6 VS |
9396 | echo "$as_me:$LINENO: result: yes" >&5 |
9397 | echo "${ECHO_T}yes" >&6 | |
4b6b4dfc | 9398 | else |
e6cc62c6 VS |
9399 | echo "$as_me:$LINENO: result: no" >&5 |
9400 | echo "${ECHO_T}no" >&6 | |
4b6b4dfc | 9401 | fi |
e6cc62c6 | 9402 | |
4b6b4dfc | 9403 | |
5005acfe | 9404 | enablestring= |
e6cc62c6 VS |
9405 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5 |
9406 | echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6 | |
10f2d63a VZ |
9407 | no_cache=0 |
9408 | # Check whether --enable-pnm or --disable-pnm was given. | |
9409 | if test "${enable_pnm+set}" = set; then | |
9410 | enableval="$enable_pnm" | |
e6cc62c6 | 9411 | |
10f2d63a VZ |
9412 | if test "$enableval" = yes; then |
9413 | ac_cv_use_pnm='wxUSE_PNM=yes' | |
9414 | else | |
9415 | ac_cv_use_pnm='wxUSE_PNM=no' | |
9416 | fi | |
e6cc62c6 | 9417 | |
10f2d63a | 9418 | else |
e6cc62c6 | 9419 | |
10f2d63a VZ |
9420 | LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}` |
9421 | if test "x$LINE" != x ; then | |
9422 | eval "DEFAULT_$LINE" | |
9423 | else | |
9424 | no_cache=1 | |
9425 | fi | |
9426 | ||
9427 | ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM | |
10f2d63a | 9428 | |
e6cc62c6 | 9429 | fi; |
10f2d63a VZ |
9430 | |
9431 | eval "$ac_cv_use_pnm" | |
9432 | if test "$no_cache" != 1; then | |
9433 | echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp | |
9434 | fi | |
9435 | ||
9436 | if test "$wxUSE_PNM" = yes; then | |
e6cc62c6 VS |
9437 | echo "$as_me:$LINENO: result: yes" >&5 |
9438 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 9439 | else |
e6cc62c6 VS |
9440 | echo "$as_me:$LINENO: result: no" >&5 |
9441 | echo "${ECHO_T}no" >&6 | |
10f2d63a | 9442 | fi |
e6cc62c6 | 9443 | |
10f2d63a | 9444 | |
5005acfe | 9445 | enablestring= |
e6cc62c6 VS |
9446 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5 |
9447 | echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6 | |
0046ff7c | 9448 | no_cache=0 |
69d27ff7 MB |
9449 | # Check whether --enable-xpm or --disable-xpm was given. |
9450 | if test "${enable_xpm+set}" = set; then | |
9451 | enableval="$enable_xpm" | |
e6cc62c6 | 9452 | |
0046ff7c | 9453 | if test "$enableval" = yes; then |
69d27ff7 | 9454 | ac_cv_use_xpm='wxUSE_XPM=yes' |
0046ff7c | 9455 | else |
69d27ff7 | 9456 | ac_cv_use_xpm='wxUSE_XPM=no' |
0046ff7c | 9457 | fi |
e6cc62c6 | 9458 | |
0046ff7c | 9459 | else |
e6cc62c6 | 9460 | |
0046ff7c VS |
9461 | LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}` |
9462 | if test "x$LINE" != x ; then | |
9463 | eval "DEFAULT_$LINE" | |
9464 | else | |
9465 | no_cache=1 | |
9466 | fi | |
9467 | ||
69d27ff7 | 9468 | ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM |
0046ff7c | 9469 | |
e6cc62c6 | 9470 | fi; |
0046ff7c | 9471 | |
69d27ff7 | 9472 | eval "$ac_cv_use_xpm" |
0046ff7c | 9473 | if test "$no_cache" != 1; then |
69d27ff7 | 9474 | echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp |
0046ff7c VS |
9475 | fi |
9476 | ||
9477 | if test "$wxUSE_XPM" = yes; then | |
e6cc62c6 VS |
9478 | echo "$as_me:$LINENO: result: yes" >&5 |
9479 | echo "${ECHO_T}yes" >&6 | |
0046ff7c | 9480 | else |
e6cc62c6 VS |
9481 | echo "$as_me:$LINENO: result: no" >&5 |
9482 | echo "${ECHO_T}no" >&6 | |
0046ff7c | 9483 | fi |
e6cc62c6 | 9484 | |
0046ff7c | 9485 | |
5005acfe | 9486 | enablestring= |
e6cc62c6 VS |
9487 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5 |
9488 | echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6 | |
658974ae | 9489 | no_cache=0 |
c7206e64 VS |
9490 | # Check whether --enable-ico_cur or --disable-ico_cur was given. |
9491 | if test "${enable_ico_cur+set}" = set; then | |
9492 | enableval="$enable_ico_cur" | |
e6cc62c6 | 9493 | |
658974ae | 9494 | if test "$enableval" = yes; then |
c7206e64 | 9495 | ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes' |
658974ae | 9496 | else |
c7206e64 | 9497 | ac_cv_use_ico_cur='wxUSE_ICO_CUR=no' |
658974ae | 9498 | fi |
e6cc62c6 | 9499 | |
658974ae | 9500 | else |
e6cc62c6 | 9501 | |
658974ae VS |
9502 | LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}` |
9503 | if test "x$LINE" != x ; then | |
9504 | eval "DEFAULT_$LINE" | |
9505 | else | |
9506 | no_cache=1 | |
9507 | fi | |
9508 | ||
c7206e64 | 9509 | ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR |
658974ae | 9510 | |
e6cc62c6 | 9511 | fi; |
658974ae | 9512 | |
c7206e64 | 9513 | eval "$ac_cv_use_ico_cur" |
658974ae | 9514 | if test "$no_cache" != 1; then |
c7206e64 | 9515 | echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp |
658974ae VS |
9516 | fi |
9517 | ||
9518 | if test "$wxUSE_ICO_CUR" = yes; then | |
e6cc62c6 VS |
9519 | echo "$as_me:$LINENO: result: yes" >&5 |
9520 | echo "${ECHO_T}yes" >&6 | |
658974ae | 9521 | else |
e6cc62c6 VS |
9522 | echo "$as_me:$LINENO: result: no" >&5 |
9523 | echo "${ECHO_T}no" >&6 | |
658974ae | 9524 | fi |
e6cc62c6 | 9525 | |
658974ae | 9526 | |
b12915c1 VZ |
9527 | fi |
9528 | ||
029b47ad VS |
9529 | |
9530 | ||
9531 | enablestring= | |
9532 | echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5 | |
9533 | echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6 | |
9534 | no_cache=0 | |
9535 | # Check whether --enable-official_build or --disable-official_build was given. | |
9536 | if test "${enable_official_build+set}" = set; then | |
9537 | enableval="$enable_official_build" | |
9538 | ||
9539 | if test "$enableval" = yes; then | |
9540 | ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes' | |
9541 | else | |
9542 | ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no' | |
9543 | fi | |
9544 | ||
9545 | else | |
9546 | ||
9547 | LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}` | |
9548 | if test "x$LINE" != x ; then | |
9549 | eval "DEFAULT_$LINE" | |
9550 | else | |
9551 | no_cache=1 | |
9552 | fi | |
9553 | ||
9554 | ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD | |
9555 | ||
9556 | fi; | |
9557 | ||
9558 | eval "$ac_cv_use_official_build" | |
9559 | if test "$no_cache" != 1; then | |
9560 | echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp | |
9561 | fi | |
9562 | ||
9563 | if test "$wxUSE_OFFICIAL_BUILD" = yes; then | |
9564 | echo "$as_me:$LINENO: result: yes" >&5 | |
9565 | echo "${ECHO_T}yes" >&6 | |
9566 | else | |
9567 | echo "$as_me:$LINENO: result: no" >&5 | |
9568 | echo "${ECHO_T}no" >&6 | |
9569 | fi | |
9570 | ||
9571 | # Check whether --enable-vendor or --disable-vendor was given. | |
9572 | if test "${enable_vendor+set}" = set; then | |
9573 | enableval="$enable_vendor" | |
9574 | VENDOR="$enableval" | |
9575 | fi; | |
9576 | if test "x$VENDOR" = "x"; then | |
9577 | VENDOR="custom" | |
9578 | fi | |
9579 | ||
d558c907 VS |
9580 | case "${host}" in |
9581 | *-pc-os2_emx | *-pc-os2-emx ) | |
6969f178 | 9582 | PATH_IFS=';' |
d558c907 VS |
9583 | ;; |
9584 | *) | |
9585 | PATH_IFS=':' | |
d558c907 VS |
9586 | ;; |
9587 | esac | |
9588 | ||
8284b0c5 MB |
9589 | |
9590 | ||
10f2d63a VZ |
9591 | echo "saving argument cache $wx_arg_cache_file" |
9592 | mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file} | |
52127426 | 9593 | |
8284b0c5 | 9594 | |
e6cc62c6 VS |
9595 | |
9596 | echo "$as_me:$LINENO: checking for toolkit" >&5 | |
9597 | echo $ECHO_N "checking for toolkit... $ECHO_C" >&6 | |
89e6bf6d VZ |
9598 | |
9599 | # In Wine, we need to default to MSW, not GTK or MOTIF | |
9600 | if test "$wxUSE_WINE" = "yes"; then | |
9601 | DEFAULT_DEFAULT_wxUSE_GTK=0 | |
9602 | DEFAULT_DEFAULT_wxUSE_MOTIF=0 | |
9603 | DEFAULT_DEFAULT_wxUSE_MSW=1 | |
9604 | fi | |
10f2d63a VZ |
9605 | |
9606 | if test "$wxUSE_GUI" = "yes"; then | |
9607 | ||
3a922bb4 | 9608 | if test "$USE_BEOS" = 1; then |
e6cc62c6 VS |
9609 | { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5 |
9610 | echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;} | |
9611 | { (exit 1); exit 1; }; } | |
3a922bb4 | 9612 | fi |
b12915c1 | 9613 | |
3a922bb4 RL |
9614 | if test "$TOOLKIT_GIVEN" = 1; then |
9615 | for toolkit in `echo $ALL_TOOLKITS`; do | |
9616 | var=wxUSE_$toolkit | |
9617 | eval "value=\$${var}" | |
9618 | eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`" | |
9619 | done | |
10f2d63a | 9620 | else |
3a922bb4 RL |
9621 | for toolkit in `echo $ALL_TOOLKITS`; do |
9622 | if test "$has_toolkit_in_cache" != 1; then | |
9623 | var=DEFAULT_DEFAULT_wxUSE_$toolkit | |
9624 | else | |
9625 | var=DEFAULT_wxUSE_$toolkit | |
9626 | fi | |
9627 | eval "wxUSE_$toolkit=\$${var}" | |
9628 | done | |
10f2d63a | 9629 | fi |
10f2d63a | 9630 | |
ac0c4cc3 DE |
9631 | NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \ |
9632 | + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \ | |
9633 | + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}` | |
10f2d63a | 9634 | |
d558c907 | 9635 | case "${host}" in |
6fa882bd | 9636 | *-pc-os2_emx | *-pc-os2-emx ) |
3a922bb4 | 9637 | NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}` |
3a922bb4 | 9638 | esac |
10f2d63a | 9639 | |
3a922bb4 RL |
9640 | case "$NUM_TOOLKITS" in |
9641 | 1) | |
9642 | ;; | |
9643 | 0) | |
e6cc62c6 VS |
9644 | { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5 |
9645 | echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;} | |
9646 | { (exit 1); exit 1; }; } | |
3a922bb4 RL |
9647 | ;; |
9648 | *) | |
e6cc62c6 VS |
9649 | { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5 |
9650 | echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;} | |
9651 | { (exit 1); exit 1; }; } | |
3a922bb4 | 9652 | esac |
10f2d63a | 9653 | |
3a922bb4 RL |
9654 | for toolkit in `echo $ALL_TOOLKITS`; do |
9655 | var=wxUSE_$toolkit | |
9656 | eval "value=\$${var}" | |
9657 | if test "x$value" != x; then | |
9658 | cache_var=CACHE_$toolkit | |
9659 | eval "cache=\$${cache_var}" | |
9660 | if test "$cache" = 1; then | |
9661 | echo "$var=$value" >> ${wx_arg_cache_file} | |
9662 | fi | |
9663 | if test "$value" = 1; then | |
9664 | toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]` | |
e6cc62c6 VS |
9665 | echo "$as_me:$LINENO: result: $toolkit_echo" >&5 |
9666 | echo "${ECHO_T}$toolkit_echo" >&6 | |
3a922bb4 RL |
9667 | fi |
9668 | fi | |
9669 | done | |
10f2d63a | 9670 | else |
9de9b8f0 VZ |
9671 | if test "x$host_alias" != "x"; then |
9672 | echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5 | |
e6cc62c6 | 9673 | echo "${ECHO_T}base ($host_alias hosted) only" >&6 |
9de9b8f0 VZ |
9674 | else |
9675 | echo "$as_me:$LINENO: result: base only" >&5 | |
9676 | echo "${ECHO_T}base only" >&6 | |
9677 | fi | |
10f2d63a VZ |
9678 | fi |
9679 | ||
43d99b6d VS |
9680 | wants_win32=0 |
9681 | doesnt_want_win32=0 | |
17234b26 MB |
9682 | case "${host}" in |
9683 | *-*-cygwin*) | |
9684 | if test "$wxUSE_MSW" = 1 ; then | |
43d99b6d VS |
9685 | wants_win32=1 |
9686 | else | |
9687 | doesnt_want_win32=1 | |
17234b26 MB |
9688 | fi |
9689 | ;; | |
9690 | *-*-mingw*) | |
43d99b6d | 9691 | wants_win32=1 |
17234b26 MB |
9692 | ;; |
9693 | esac | |
9694 | ||
89e6bf6d VZ |
9695 | if test "$wxUSE_WINE" = "yes"; then |
9696 | wants_win32=1 | |
9697 | CC=winegcc | |
9698 | CXX=wineg++ | |
9699 | RESCOMP=wrc | |
9700 | fi | |
9701 | ||
43d99b6d | 9702 | if test "$wants_win32" = 1 ; then |
17234b26 MB |
9703 | USE_UNIX=0 |
9704 | USE_WIN32=1 | |
e6cc62c6 | 9705 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9706 | #define __WIN32__ 1 |
e6cc62c6 | 9707 | _ACEOF |
17234b26 | 9708 | |
e6cc62c6 | 9709 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9710 | #define __WIN95__ 1 |
e6cc62c6 | 9711 | _ACEOF |
17234b26 | 9712 | |
e6cc62c6 | 9713 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9714 | #define __WINDOWS__ 1 |
e6cc62c6 | 9715 | _ACEOF |
17234b26 | 9716 | |
e6cc62c6 | 9717 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9718 | #define __GNUWIN32__ 1 |
e6cc62c6 | 9719 | _ACEOF |
17234b26 | 9720 | |
e6cc62c6 | 9721 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9722 | #define STRICT 1 |
e6cc62c6 | 9723 | _ACEOF |
17234b26 | 9724 | |
e6cc62c6 | 9725 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9726 | #define WINVER 0x0400 |
e6cc62c6 | 9727 | _ACEOF |
17234b26 | 9728 | |
43d99b6d VS |
9729 | fi |
9730 | if test "$doesnt_want_win32" = 1 ; then | |
17234b26 MB |
9731 | USE_UNIX=1 |
9732 | USE_WIN32=0 | |
9733 | fi | |
9734 | ||
9735 | if test "$USE_UNIX" = 1 ; then | |
9736 | wxUSE_UNIX=yes | |
e6cc62c6 | 9737 | cat >>confdefs.h <<\_ACEOF |
17234b26 | 9738 | #define __UNIX__ 1 |
e6cc62c6 | 9739 | _ACEOF |
17234b26 MB |
9740 | |
9741 | fi | |
9742 | ||
8284b0c5 | 9743 | |
e6cc62c6 | 9744 | cat >confcache <<\_ACEOF |
10f2d63a VZ |
9745 | # This file is a shell script that caches the results of configure |
9746 | # tests run on this system so they can be shared between configure | |
e6cc62c6 VS |
9747 | # scripts and configure runs, see configure's option --config-cache. |
9748 | # It is not useful on other systems. If it contains results you don't | |
9749 | # want to keep, you may remove or edit it. | |
10f2d63a | 9750 | # |
e6cc62c6 VS |
9751 | # config.status only pays attention to the cache file if you give it |
9752 | # the --recheck option to rerun configure. | |
10f2d63a | 9753 | # |
e6cc62c6 VS |
9754 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
9755 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
9756 | # following values. | |
9757 | ||
9758 | _ACEOF | |
9759 | ||
10f2d63a VZ |
9760 | # The following way of writing the cache mishandles newlines in values, |
9761 | # but we know of no workaround that is simple, portable, and efficient. | |
9762 | # So, don't put newlines in cache variables' values. | |
9763 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
9764 | # and sets the high bit in the cache file unless we assign to the vars. | |
e6cc62c6 VS |
9765 | { |
9766 | (set) 2>&1 | | |
9767 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
9768 | *ac_space=\ *) | |
9769 | # `set' does not quote correctly, so add quotes (double-quote | |
9770 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
9771 | sed -n \ | |
9772 | "s/'/'\\\\''/g; | |
9773 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
9774 | ;; | |
9775 | *) | |
9776 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
9777 | sed -n \ | |
9778 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
9779 | ;; | |
9780 | esac; | |
9781 | } | | |
9782 | sed ' | |
9783 | t clear | |
9784 | : clear | |
9785 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
9786 | t end | |
9787 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
9788 | : end' >>confcache | |
9789 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | |
10f2d63a | 9790 | if test -w $cache_file; then |
e6cc62c6 VS |
9791 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
9792 | cat confcache >$cache_file | |
10f2d63a VZ |
9793 | else |
9794 | echo "not updating unwritable cache $cache_file" | |
9795 | fi | |
9796 | fi | |
9797 | rm -f confcache | |
9798 | ||
e59890c3 | 9799 | if test "$build" != "$host" ; then |
9d353d4a | 9800 | if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then |
3a922bb4 RL |
9801 | CC=$host_alias-gcc |
9802 | CXX=$host_alias-c++ | |
9803 | AR=$host_alias-ar | |
9804 | RANLIB=$host_alias-ranlib | |
9805 | DLLTOOL=$host_alias-dlltool | |
9806 | RESCOMP=$host_alias-windres | |
9807 | LD=$host_alias-ld | |
9808 | NM=$host_alias-nm | |
9809 | STRIP=$host_alias-strip | |
9810 | else | |
e6cc62c6 VS |
9811 | { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5 |
9812 | echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;} | |
9813 | { (exit 1); exit 1; }; } | |
3a922bb4 | 9814 | fi |
10f2d63a VZ |
9815 | fi |
9816 | ||
ec603395 | 9817 | CFLAGS=${CFLAGS:=} |
e6cc62c6 VS |
9818 | ac_ext=c |
9819 | ac_cpp='$CPP $CPPFLAGS' | |
9820 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
9821 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
9822 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
9823 | if test -n "$ac_tool_prefix"; then | |
9824 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
9825 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
9826 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
9827 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
9828 | if test "${ac_cv_prog_CC+set}" = set; then | |
9829 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9830 | else | |
9831 | if test -n "$CC"; then | |
9832 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
9833 | else | |
9834 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9835 | for as_dir in $PATH | |
9836 | do | |
9837 | IFS=$as_save_IFS | |
9838 | test -z "$as_dir" && as_dir=. | |
9839 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9840 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
9841 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
9842 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9843 | break 2 | |
9844 | fi | |
9845 | done | |
9846 | done | |
9847 | ||
9848 | fi | |
9849 | fi | |
9850 | CC=$ac_cv_prog_CC | |
9851 | if test -n "$CC"; then | |
9852 | echo "$as_me:$LINENO: result: $CC" >&5 | |
9853 | echo "${ECHO_T}$CC" >&6 | |
9854 | else | |
9855 | echo "$as_me:$LINENO: result: no" >&5 | |
9856 | echo "${ECHO_T}no" >&6 | |
9857 | fi | |
9858 | ||
9859 | fi | |
9860 | if test -z "$ac_cv_prog_CC"; then | |
9861 | ac_ct_CC=$CC | |
9862 | # Extract the first word of "gcc", so it can be a program name with args. | |
8284b0c5 | 9863 | set dummy gcc; ac_word=$2 |
e6cc62c6 VS |
9864 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9865 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
9866 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
9867 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9868 | else | |
9869 | if test -n "$ac_ct_CC"; then | |
9870 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
9871 | else | |
9872 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9873 | for as_dir in $PATH | |
9874 | do | |
9875 | IFS=$as_save_IFS | |
9876 | test -z "$as_dir" && as_dir=. | |
9877 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9878 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
9879 | ac_cv_prog_ac_ct_CC="gcc" | |
9880 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9881 | break 2 | |
9882 | fi | |
9883 | done | |
9884 | done | |
9885 | ||
9886 | fi | |
9887 | fi | |
9888 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
9889 | if test -n "$ac_ct_CC"; then | |
9890 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
9891 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
9892 | else | |
9893 | echo "$as_me:$LINENO: result: no" >&5 | |
9894 | echo "${ECHO_T}no" >&6 | |
9895 | fi | |
9896 | ||
9897 | CC=$ac_ct_CC | |
9898 | else | |
9899 | CC="$ac_cv_prog_CC" | |
9900 | fi | |
9901 | ||
9902 | if test -z "$CC"; then | |
9903 | if test -n "$ac_tool_prefix"; then | |
9904 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
9905 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
9906 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
9907 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
9908 | if test "${ac_cv_prog_CC+set}" = set; then | |
9909 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6232543b VS |
9910 | else |
9911 | if test -n "$CC"; then | |
9912 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
10f2d63a | 9913 | else |
e6cc62c6 VS |
9914 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9915 | for as_dir in $PATH | |
9916 | do | |
9917 | IFS=$as_save_IFS | |
9918 | test -z "$as_dir" && as_dir=. | |
9919 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9920 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
9921 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
9922 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9923 | break 2 | |
9924 | fi | |
9925 | done | |
9926 | done | |
9927 | ||
10f2d63a | 9928 | fi |
6232543b | 9929 | fi |
e6cc62c6 | 9930 | CC=$ac_cv_prog_CC |
6232543b | 9931 | if test -n "$CC"; then |
e6cc62c6 VS |
9932 | echo "$as_me:$LINENO: result: $CC" >&5 |
9933 | echo "${ECHO_T}$CC" >&6 | |
9934 | else | |
9935 | echo "$as_me:$LINENO: result: no" >&5 | |
9936 | echo "${ECHO_T}no" >&6 | |
9937 | fi | |
9938 | ||
9939 | fi | |
9940 | if test -z "$ac_cv_prog_CC"; then | |
9941 | ac_ct_CC=$CC | |
9942 | # Extract the first word of "cc", so it can be a program name with args. | |
9943 | set dummy cc; ac_word=$2 | |
9944 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
9945 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
9946 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
9947 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9948 | else | |
9949 | if test -n "$ac_ct_CC"; then | |
9950 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
9951 | else | |
9952 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9953 | for as_dir in $PATH | |
9954 | do | |
9955 | IFS=$as_save_IFS | |
9956 | test -z "$as_dir" && as_dir=. | |
9957 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9958 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
9959 | ac_cv_prog_ac_ct_CC="cc" | |
9960 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9961 | break 2 | |
9962 | fi | |
9963 | done | |
9964 | done | |
9965 | ||
9966 | fi | |
9967 | fi | |
9968 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
9969 | if test -n "$ac_ct_CC"; then | |
9970 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
9971 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
9972 | else | |
9973 | echo "$as_me:$LINENO: result: no" >&5 | |
9974 | echo "${ECHO_T}no" >&6 | |
9975 | fi | |
9976 | ||
9977 | CC=$ac_ct_CC | |
247f5006 | 9978 | else |
e6cc62c6 | 9979 | CC="$ac_cv_prog_CC" |
247f5006 VZ |
9980 | fi |
9981 | ||
e6cc62c6 | 9982 | fi |
5c6fa7d2 RR |
9983 | if test -z "$CC"; then |
9984 | # Extract the first word of "cc", so it can be a program name with args. | |
9985 | set dummy cc; ac_word=$2 | |
e6cc62c6 VS |
9986 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9987 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
9988 | if test "${ac_cv_prog_CC+set}" = set; then | |
9989 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5c6fa7d2 RR |
9990 | else |
9991 | if test -n "$CC"; then | |
9992 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
9993 | else | |
9994 | ac_prog_rejected=no | |
e6cc62c6 VS |
9995 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9996 | for as_dir in $PATH | |
9997 | do | |
9998 | IFS=$as_save_IFS | |
9999 | test -z "$as_dir" && as_dir=. | |
10000 | for ac_exec_ext in '' $ac_executable_extensions; do | |
10001 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
10002 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
10003 | ac_prog_rejected=yes | |
10004 | continue | |
10005 | fi | |
10006 | ac_cv_prog_CC="cc" | |
10007 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
10008 | break 2 | |
10009 | fi | |
10010 | done | |
10011 | done | |
10012 | ||
328a083c RR |
10013 | if test $ac_prog_rejected = yes; then |
10014 | # We found a bogon in the path, so make sure we never use it. | |
10015 | set dummy $ac_cv_prog_CC | |
10016 | shift | |
e6cc62c6 | 10017 | if test $# != 0; then |
328a083c | 10018 | # We chose a different compiler from the bogus one. |
1e487827 VS |
10019 | # However, it has the same basename, so the bogon will be chosen |
10020 | # first if we set CC to just the basename; use the full file name. | |
10021 | shift | |
e6cc62c6 | 10022 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
703e0a69 | 10023 | fi |
1e487827 VS |
10024 | fi |
10025 | fi | |
10026 | fi | |
e6cc62c6 | 10027 | CC=$ac_cv_prog_CC |
1e487827 | 10028 | if test -n "$CC"; then |
e6cc62c6 VS |
10029 | echo "$as_me:$LINENO: result: $CC" >&5 |
10030 | echo "${ECHO_T}$CC" >&6 | |
703e0a69 | 10031 | else |
e6cc62c6 VS |
10032 | echo "$as_me:$LINENO: result: no" >&5 |
10033 | echo "${ECHO_T}no" >&6 | |
703e0a69 | 10034 | fi |
1e487827 | 10035 | |
e6cc62c6 VS |
10036 | fi |
10037 | if test -z "$CC"; then | |
10038 | if test -n "$ac_tool_prefix"; then | |
10039 | for ac_prog in cl | |
10040 | do | |
10041 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
10042 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
10043 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
10044 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
10045 | if test "${ac_cv_prog_CC+set}" = set; then | |
10046 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f09359cf VS |
10047 | else |
10048 | if test -n "$CC"; then | |
10049 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
10050 | else | |
e6cc62c6 VS |
10051 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10052 | for as_dir in $PATH | |
10053 | do | |
10054 | IFS=$as_save_IFS | |
10055 | test -z "$as_dir" && as_dir=. | |
10056 | for ac_exec_ext in '' $ac_executable_extensions; do | |
10057 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
10058 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
10059 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
10060 | break 2 | |
10061 | fi | |
10062 | done | |
10063 | done | |
10064 | ||
f09359cf VS |
10065 | fi |
10066 | fi | |
e6cc62c6 | 10067 | CC=$ac_cv_prog_CC |
f09359cf | 10068 | if test -n "$CC"; then |
e6cc62c6 VS |
10069 | echo "$as_me:$LINENO: result: $CC" >&5 |
10070 | echo "${ECHO_T}$CC" >&6 | |
f09359cf | 10071 | else |
e6cc62c6 VS |
10072 | echo "$as_me:$LINENO: result: no" >&5 |
10073 | echo "${ECHO_T}no" >&6 | |
5c6fa7d2 | 10074 | fi |
1e487827 | 10075 | |
e6cc62c6 VS |
10076 | test -n "$CC" && break |
10077 | done | |
10078 | fi | |
10079 | if test -z "$CC"; then | |
10080 | ac_ct_CC=$CC | |
10081 | for ac_prog in cl | |
10082 | do | |
10083 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
10084 | set dummy $ac_prog; ac_word=$2 | |
10085 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
10086 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
10087 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
10088 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10089 | else | |
10090 | if test -n "$ac_ct_CC"; then | |
10091 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
10092 | else | |
10093 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
10094 | for as_dir in $PATH | |
10095 | do | |
10096 | IFS=$as_save_IFS | |
10097 | test -z "$as_dir" && as_dir=. | |
10098 | for ac_exec_ext in '' $ac_executable_extensions; do | |
10099 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
10100 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
10101 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
10102 | break 2 | |
10103 | fi | |
10104 | done | |
10105 | done | |
f09359cf | 10106 | |
e6cc62c6 VS |
10107 | fi |
10108 | fi | |
10109 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
10110 | if test -n "$ac_ct_CC"; then | |
10111 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
10112 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
10113 | else | |
10114 | echo "$as_me:$LINENO: result: no" >&5 | |
10115 | echo "${ECHO_T}no" >&6 | |
10116 | fi | |
f09359cf | 10117 | |
e6cc62c6 VS |
10118 | test -n "$ac_ct_CC" && break |
10119 | done | |
247f5006 | 10120 | |
e6cc62c6 VS |
10121 | CC=$ac_ct_CC |
10122 | fi | |
10123 | ||
10124 | fi | |
10125 | ||
10126 | ||
10127 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
10128 | See \`config.log' for more details." >&5 | |
10129 | echo "$as_me: error: no acceptable C compiler found in \$PATH | |
10130 | See \`config.log' for more details." >&2;} | |
10131 | { (exit 1); exit 1; }; } | |
10132 | ||
10133 | # Provide some information about the compiler. | |
10134 | echo "$as_me:$LINENO:" \ | |
10135 | "checking for C compiler version" >&5 | |
10136 | ac_compiler=`set X $ac_compile; echo $2` | |
10137 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
10138 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
10139 | ac_status=$? | |
10140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10141 | (exit $ac_status); } | |
10142 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
10143 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
10144 | ac_status=$? | |
10145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10146 | (exit $ac_status); } | |
10147 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
10148 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
10149 | ac_status=$? | |
10150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10151 | (exit $ac_status); } | |
10152 | ||
10153 | cat >conftest.$ac_ext <<_ACEOF | |
10154 | #line $LINENO "configure" | |
10155 | /* confdefs.h. */ | |
10156 | _ACEOF | |
10157 | cat confdefs.h >>conftest.$ac_ext | |
10158 | cat >>conftest.$ac_ext <<_ACEOF | |
10159 | /* end confdefs.h. */ | |
10160 | ||
10161 | int | |
10162 | main () | |
10163 | { | |
247f5006 | 10164 | |
e6cc62c6 VS |
10165 | ; |
10166 | return 0; | |
10167 | } | |
10168 | _ACEOF | |
10169 | ac_clean_files_save=$ac_clean_files | |
10170 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | |
10171 | # Try to create an executable without -o first, disregard a.out. | |
10172 | # It will help us diagnose broken compilers, and finding out an intuition | |
10173 | # of exeext. | |
10174 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 | |
10175 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | |
10176 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
10177 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | |
10178 | (eval $ac_link_default) 2>&5 | |
10179 | ac_status=$? | |
10180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10181 | (exit $ac_status); }; then | |
10182 | # Find the output, starting from the most likely. This scheme is | |
10183 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
10184 | # resort. | |
10185 | ||
10186 | # Be careful to initialize this variable, since it used to be cached. | |
10187 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
10188 | ac_cv_exeext= | |
10189 | # b.out is created by i960 compilers. | |
10190 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
10191 | do | |
10192 | test -f "$ac_file" || continue | |
10193 | case $ac_file in | |
10194 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | |
10195 | ;; | |
10196 | conftest.$ac_ext ) | |
10197 | # This is the source file. | |
10198 | ;; | |
10199 | [ab].out ) | |
10200 | # We found the default executable, but exeext='' is most | |
10201 | # certainly right. | |
10202 | break;; | |
10203 | *.* ) | |
10204 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
10205 | # FIXME: I believe we export ac_cv_exeext for Libtool, | |
10206 | # but it would be cool to find out if it's true. Does anybody | |
10207 | # maintain Libtool? --akim. | |
10208 | export ac_cv_exeext | |
10209 | break;; | |
10210 | * ) | |
10211 | break;; | |
10212 | esac | |
10213 | done | |
10214 | else | |
10215 | echo "$as_me: failed program was:" >&5 | |
10216 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10217 | ||
10218 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | |
10219 | See \`config.log' for more details." >&5 | |
10220 | echo "$as_me: error: C compiler cannot create executables | |
10221 | See \`config.log' for more details." >&2;} | |
10222 | { (exit 77); exit 77; }; } | |
10223 | fi | |
10224 | ||
10225 | ac_exeext=$ac_cv_exeext | |
10226 | echo "$as_me:$LINENO: result: $ac_file" >&5 | |
10227 | echo "${ECHO_T}$ac_file" >&6 | |
10228 | ||
10229 | # Check the compiler produces executables we can run. If not, either | |
10230 | # the compiler is broken, or we cross compile. | |
10231 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
10232 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | |
10233 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
10234 | # If not cross compiling, check that we can run a simple program. | |
10235 | if test "$cross_compiling" != yes; then | |
10236 | if { ac_try='./$ac_file' | |
10237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10238 | (eval $ac_try) 2>&5 | |
10239 | ac_status=$? | |
10240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10241 | (exit $ac_status); }; }; then | |
10242 | cross_compiling=no | |
698dcdb6 | 10243 | else |
e6cc62c6 VS |
10244 | if test "$cross_compiling" = maybe; then |
10245 | cross_compiling=yes | |
10246 | else | |
10247 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
10248 | If you meant to cross compile, use \`--host'. | |
10249 | See \`config.log' for more details." >&5 | |
10250 | echo "$as_me: error: cannot run C compiled programs. | |
10251 | If you meant to cross compile, use \`--host'. | |
10252 | See \`config.log' for more details." >&2;} | |
10253 | { (exit 1); exit 1; }; } | |
10254 | fi | |
698dcdb6 | 10255 | fi |
52127426 | 10256 | fi |
e6cc62c6 VS |
10257 | echo "$as_me:$LINENO: result: yes" >&5 |
10258 | echo "${ECHO_T}yes" >&6 | |
10259 | ||
10260 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
10261 | ac_clean_files=$ac_clean_files_save | |
10262 | # Check the compiler produces executables we can run. If not, either | |
10263 | # the compiler is broken, or we cross compile. | |
10264 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
10265 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | |
10266 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
10267 | echo "${ECHO_T}$cross_compiling" >&6 | |
10268 | ||
10269 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
10270 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | |
10271 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
10272 | (eval $ac_link) 2>&5 | |
10273 | ac_status=$? | |
10274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10275 | (exit $ac_status); }; then | |
10276 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
10277 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
10278 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
10279 | # `rm'. | |
10280 | for ac_file in conftest.exe conftest conftest.*; do | |
10281 | test -f "$ac_file" || continue | |
10282 | case $ac_file in | |
10283 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | |
10284 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
10285 | export ac_cv_exeext | |
10286 | break;; | |
10287 | * ) break;; | |
10288 | esac | |
10289 | done | |
5c6fa7d2 | 10290 | else |
e6cc62c6 VS |
10291 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
10292 | See \`config.log' for more details." >&5 | |
10293 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
10294 | See \`config.log' for more details." >&2;} | |
10295 | { (exit 1); exit 1; }; } | |
10296 | fi | |
10297 | ||
10298 | rm -f conftest$ac_cv_exeext | |
10299 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
10300 | echo "${ECHO_T}$ac_cv_exeext" >&6 | |
10301 | ||
10302 | rm -f conftest.$ac_ext | |
10303 | EXEEXT=$ac_cv_exeext | |
10304 | ac_exeext=$EXEEXT | |
10305 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
10306 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | |
10307 | if test "${ac_cv_objext+set}" = set; then | |
10308 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10309 | else | |
10310 | cat >conftest.$ac_ext <<_ACEOF | |
10311 | #line $LINENO "configure" | |
10312 | /* confdefs.h. */ | |
10313 | _ACEOF | |
10314 | cat confdefs.h >>conftest.$ac_ext | |
10315 | cat >>conftest.$ac_ext <<_ACEOF | |
10316 | /* end confdefs.h. */ | |
10317 | ||
10318 | int | |
10319 | main () | |
10320 | { | |
f09359cf | 10321 | |
e6cc62c6 VS |
10322 | ; |
10323 | return 0; | |
10324 | } | |
10325 | _ACEOF | |
10326 | rm -f conftest.o conftest.obj | |
10327 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10328 | (eval $ac_compile) 2>&5 | |
10329 | ac_status=$? | |
10330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10331 | (exit $ac_status); }; then | |
10332 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
10333 | case $ac_file in | |
10334 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | |
10335 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
10336 | break;; | |
10337 | esac | |
10338 | done | |
a0b9e27f | 10339 | else |
e6cc62c6 VS |
10340 | echo "$as_me: failed program was:" >&5 |
10341 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10342 | ||
10343 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
10344 | See \`config.log' for more details." >&5 | |
10345 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
10346 | See \`config.log' for more details." >&2;} | |
10347 | { (exit 1); exit 1; }; } | |
a0b9e27f | 10348 | fi |
247f5006 | 10349 | |
e6cc62c6 VS |
10350 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
10351 | fi | |
10352 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
10353 | echo "${ECHO_T}$ac_cv_objext" >&6 | |
10354 | OBJEXT=$ac_cv_objext | |
10355 | ac_objext=$OBJEXT | |
10356 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
10357 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | |
10358 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
10359 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 10360 | else |
e6cc62c6 VS |
10361 | cat >conftest.$ac_ext <<_ACEOF |
10362 | #line $LINENO "configure" | |
10363 | /* confdefs.h. */ | |
10364 | _ACEOF | |
10365 | cat confdefs.h >>conftest.$ac_ext | |
10366 | cat >>conftest.$ac_ext <<_ACEOF | |
10367 | /* end confdefs.h. */ | |
10368 | ||
10369 | int | |
10370 | main () | |
10371 | { | |
10372 | #ifndef __GNUC__ | |
10373 | choke me | |
10374 | #endif | |
10375 | ||
10376 | ; | |
10377 | return 0; | |
10378 | } | |
10379 | _ACEOF | |
10380 | rm -f conftest.$ac_objext | |
10381 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10382 | (eval $ac_compile) 2>&5 | |
10383 | ac_status=$? | |
10384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10385 | (exit $ac_status); } && | |
10386 | { ac_try='test -s conftest.$ac_objext' | |
10387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10388 | (eval $ac_try) 2>&5 | |
10389 | ac_status=$? | |
10390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10391 | (exit $ac_status); }; }; then | |
10392 | ac_compiler_gnu=yes | |
10393 | else | |
10394 | echo "$as_me: failed program was:" >&5 | |
10395 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10396 | ||
10397 | ac_compiler_gnu=no | |
10398 | fi | |
10399 | rm -f conftest.$ac_objext conftest.$ac_ext | |
10400 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
10401 | ||
10402 | fi | |
10403 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
10404 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | |
10405 | GCC=`test $ac_compiler_gnu = yes && echo yes` | |
10406 | ac_test_CFLAGS=${CFLAGS+set} | |
10407 | ac_save_CFLAGS=$CFLAGS | |
10408 | CFLAGS="-g" | |
10409 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
10410 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
10411 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
10412 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10413 | else | |
10414 | cat >conftest.$ac_ext <<_ACEOF | |
10415 | #line $LINENO "configure" | |
10416 | /* confdefs.h. */ | |
10417 | _ACEOF | |
10418 | cat confdefs.h >>conftest.$ac_ext | |
10419 | cat >>conftest.$ac_ext <<_ACEOF | |
10420 | /* end confdefs.h. */ | |
10421 | ||
10422 | int | |
10423 | main () | |
10424 | { | |
10425 | ||
10426 | ; | |
10427 | return 0; | |
10428 | } | |
10429 | _ACEOF | |
10430 | rm -f conftest.$ac_objext | |
10431 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10432 | (eval $ac_compile) 2>&5 | |
10433 | ac_status=$? | |
10434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10435 | (exit $ac_status); } && | |
10436 | { ac_try='test -s conftest.$ac_objext' | |
10437 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10438 | (eval $ac_try) 2>&5 | |
10439 | ac_status=$? | |
10440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10441 | (exit $ac_status); }; }; then | |
10f2d63a VZ |
10442 | ac_cv_prog_cc_g=yes |
10443 | else | |
e6cc62c6 VS |
10444 | echo "$as_me: failed program was:" >&5 |
10445 | sed 's/^/| /' conftest.$ac_ext >&5 | |
a0b9e27f | 10446 | |
e6cc62c6 | 10447 | ac_cv_prog_cc_g=no |
10f2d63a | 10448 | fi |
e6cc62c6 VS |
10449 | rm -f conftest.$ac_objext conftest.$ac_ext |
10450 | fi | |
10451 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
10452 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | |
f09359cf | 10453 | if test "$ac_test_CFLAGS" = set; then |
e6cc62c6 | 10454 | CFLAGS=$ac_save_CFLAGS |
f09359cf VS |
10455 | elif test $ac_cv_prog_cc_g = yes; then |
10456 | if test "$GCC" = yes; then | |
10f2d63a VZ |
10457 | CFLAGS="-g -O2" |
10458 | else | |
f09359cf | 10459 | CFLAGS="-g" |
10f2d63a | 10460 | fi |
5c0a20c3 | 10461 | else |
f09359cf VS |
10462 | if test "$GCC" = yes; then |
10463 | CFLAGS="-O2" | |
10464 | else | |
10465 | CFLAGS= | |
10466 | fi | |
10f2d63a | 10467 | fi |
e6cc62c6 VS |
10468 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
10469 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | |
10470 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
10471 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10472 | else | |
10473 | ac_cv_prog_cc_stdc=no | |
10474 | ac_save_CC=$CC | |
10475 | cat >conftest.$ac_ext <<_ACEOF | |
10476 | #line $LINENO "configure" | |
10477 | /* confdefs.h. */ | |
10478 | _ACEOF | |
10479 | cat confdefs.h >>conftest.$ac_ext | |
10480 | cat >>conftest.$ac_ext <<_ACEOF | |
10481 | /* end confdefs.h. */ | |
10482 | #include <stdarg.h> | |
10483 | #include <stdio.h> | |
10484 | #include <sys/types.h> | |
10485 | #include <sys/stat.h> | |
10486 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
10487 | struct buf { int x; }; | |
10488 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
10489 | static char *e (p, i) | |
10490 | char **p; | |
10491 | int i; | |
10492 | { | |
10493 | return p[i]; | |
10494 | } | |
10495 | static char *f (char * (*g) (char **, int), char **p, ...) | |
10496 | { | |
10497 | char *s; | |
10498 | va_list v; | |
10499 | va_start (v,p); | |
10500 | s = g (p, va_arg (v,int)); | |
10501 | va_end (v); | |
10502 | return s; | |
10503 | } | |
10504 | int test (int i, double x); | |
10505 | struct s1 {int (*f) (int a);}; | |
10506 | struct s2 {int (*f) (double a);}; | |
10507 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
10508 | int argc; | |
10509 | char **argv; | |
10510 | int | |
10511 | main () | |
10512 | { | |
10513 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
10514 | ; | |
10515 | return 0; | |
10516 | } | |
10517 | _ACEOF | |
10518 | # Don't try gcc -ansi; that turns off useful extensions and | |
10519 | # breaks some systems' header files. | |
10520 | # AIX -qlanglvl=ansi | |
10521 | # Ultrix and OSF/1 -std1 | |
10522 | # HP-UX 10.20 and later -Ae | |
10523 | # HP-UX older versions -Aa -D_HPUX_SOURCE | |
10524 | # SVR4 -Xc -D__EXTENSIONS__ | |
10525 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
10526 | do | |
10527 | CC="$ac_save_CC $ac_arg" | |
10528 | rm -f conftest.$ac_objext | |
10529 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10530 | (eval $ac_compile) 2>&5 | |
10531 | ac_status=$? | |
10532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10533 | (exit $ac_status); } && | |
10534 | { ac_try='test -s conftest.$ac_objext' | |
10535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10536 | (eval $ac_try) 2>&5 | |
10537 | ac_status=$? | |
10538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10539 | (exit $ac_status); }; }; then | |
10540 | ac_cv_prog_cc_stdc=$ac_arg | |
10541 | break | |
10542 | else | |
10543 | echo "$as_me: failed program was:" >&5 | |
10544 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10545 | ||
10546 | fi | |
10547 | rm -f conftest.$ac_objext | |
10548 | done | |
10549 | rm -f conftest.$ac_ext conftest.$ac_objext | |
10550 | CC=$ac_save_CC | |
10551 | ||
10552 | fi | |
10553 | ||
10554 | case "x$ac_cv_prog_cc_stdc" in | |
10555 | x|xno) | |
10556 | echo "$as_me:$LINENO: result: none needed" >&5 | |
10557 | echo "${ECHO_T}none needed" >&6 ;; | |
10558 | *) | |
10559 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
10560 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
10561 | CC="$CC $ac_cv_prog_cc_stdc" ;; | |
10562 | esac | |
10563 | ||
10564 | # Some people use a C++ compiler to compile C. Since we use `exit', | |
10565 | # in C++ we need to declare it. In case someone uses the same compiler | |
10566 | # for both compiling C and C++ we need to have the C++ compiler decide | |
10567 | # the declaration of exit, since it's the most demanding environment. | |
10568 | cat >conftest.$ac_ext <<_ACEOF | |
10569 | #ifndef __cplusplus | |
10570 | choke me | |
10571 | #endif | |
10572 | _ACEOF | |
10573 | rm -f conftest.$ac_objext | |
10574 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10575 | (eval $ac_compile) 2>&5 | |
10576 | ac_status=$? | |
10577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10578 | (exit $ac_status); } && | |
10579 | { ac_try='test -s conftest.$ac_objext' | |
10580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10581 | (eval $ac_try) 2>&5 | |
10582 | ac_status=$? | |
10583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10584 | (exit $ac_status); }; }; then | |
10585 | for ac_declaration in \ | |
57e7d4ac VS |
10586 | ''\ |
10587 | '#include <stdlib.h>' \ | |
e6cc62c6 VS |
10588 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
10589 | 'extern "C" void std::exit (int); using std::exit;' \ | |
10590 | 'extern "C" void exit (int) throw ();' \ | |
10591 | 'extern "C" void exit (int);' \ | |
10592 | 'void exit (int);' | |
10593 | do | |
10594 | cat >conftest.$ac_ext <<_ACEOF | |
10595 | #line $LINENO "configure" | |
10596 | /* confdefs.h. */ | |
10597 | _ACEOF | |
10598 | cat confdefs.h >>conftest.$ac_ext | |
10599 | cat >>conftest.$ac_ext <<_ACEOF | |
10600 | /* end confdefs.h. */ | |
7015ef3a | 10601 | #include <stdlib.h> |
57e7d4ac | 10602 | $ac_declaration |
e6cc62c6 VS |
10603 | int |
10604 | main () | |
10605 | { | |
10606 | exit (42); | |
10607 | ; | |
10608 | return 0; | |
10609 | } | |
10610 | _ACEOF | |
10611 | rm -f conftest.$ac_objext | |
10612 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10613 | (eval $ac_compile) 2>&5 | |
10614 | ac_status=$? | |
10615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10616 | (exit $ac_status); } && | |
10617 | { ac_try='test -s conftest.$ac_objext' | |
10618 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10619 | (eval $ac_try) 2>&5 | |
10620 | ac_status=$? | |
10621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10622 | (exit $ac_status); }; }; then | |
10623 | : | |
10624 | else | |
10625 | echo "$as_me: failed program was:" >&5 | |
10626 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10627 | ||
10628 | continue | |
10629 | fi | |
10630 | rm -f conftest.$ac_objext conftest.$ac_ext | |
10631 | cat >conftest.$ac_ext <<_ACEOF | |
10632 | #line $LINENO "configure" | |
10633 | /* confdefs.h. */ | |
10634 | _ACEOF | |
10635 | cat confdefs.h >>conftest.$ac_ext | |
10636 | cat >>conftest.$ac_ext <<_ACEOF | |
10637 | /* end confdefs.h. */ | |
10638 | $ac_declaration | |
10639 | int | |
10640 | main () | |
10641 | { | |
10642 | exit (42); | |
10643 | ; | |
10644 | return 0; | |
10645 | } | |
10646 | _ACEOF | |
10647 | rm -f conftest.$ac_objext | |
10648 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10649 | (eval $ac_compile) 2>&5 | |
10650 | ac_status=$? | |
10651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10652 | (exit $ac_status); } && | |
10653 | { ac_try='test -s conftest.$ac_objext' | |
10654 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10655 | (eval $ac_try) 2>&5 | |
10656 | ac_status=$? | |
10657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10658 | (exit $ac_status); }; }; then | |
10659 | break | |
10660 | else | |
10661 | echo "$as_me: failed program was:" >&5 | |
10662 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10663 | ||
10664 | fi | |
10665 | rm -f conftest.$ac_objext conftest.$ac_ext | |
10666 | done | |
10667 | rm -f conftest* | |
10668 | if test -n "$ac_declaration"; then | |
10669 | echo '#ifdef __cplusplus' >>confdefs.h | |
10670 | echo $ac_declaration >>confdefs.h | |
10671 | echo '#endif' >>confdefs.h | |
10672 | fi | |
10673 | ||
10674 | else | |
10675 | echo "$as_me: failed program was:" >&5 | |
10676 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10677 | ||
10678 | fi | |
10679 | rm -f conftest.$ac_objext conftest.$ac_ext | |
10680 | ac_ext=c | |
10681 | ac_cpp='$CPP $CPPFLAGS' | |
10682 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
10683 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
10684 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
10f2d63a VZ |
10685 | |
10686 | ||
e6cc62c6 VS |
10687 | |
10688 | ac_ext=c | |
10689 | ac_cpp='$CPP $CPPFLAGS' | |
10690 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
10691 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
10692 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
10693 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
10694 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | |
10f2d63a VZ |
10695 | # On Suns, sometimes $CPP names a directory. |
10696 | if test -n "$CPP" && test -d "$CPP"; then | |
10697 | CPP= | |
10698 | fi | |
10699 | if test -z "$CPP"; then | |
e6cc62c6 VS |
10700 | if test "${ac_cv_prog_CPP+set}" = set; then |
10701 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10702 | else | |
10703 | # Double quotes because CPP needs to be expanded | |
10704 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
10705 | do | |
10706 | ac_preproc_ok=false | |
10707 | for ac_c_preproc_warn_flag in '' yes | |
10708 | do | |
10709 | # Use a header file that comes with gcc, so configuring glibc | |
10710 | # with a fresh cross-compiler works. | |
10711 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10712 | # <limits.h> exists even on freestanding compilers. | |
10f2d63a | 10713 | # On the NeXT, cc -E runs the code through the compiler's parser, |
e6cc62c6 VS |
10714 | # not just through cpp. "Syntax error" is here to catch this case. |
10715 | cat >conftest.$ac_ext <<_ACEOF | |
10716 | #line $LINENO "configure" | |
10717 | /* confdefs.h. */ | |
10718 | _ACEOF | |
10719 | cat confdefs.h >>conftest.$ac_ext | |
10720 | cat >>conftest.$ac_ext <<_ACEOF | |
10721 | /* end confdefs.h. */ | |
10722 | #ifdef __STDC__ | |
10723 | # include <limits.h> | |
10724 | #else | |
10725 | # include <assert.h> | |
10726 | #endif | |
10727 | Syntax error | |
10728 | _ACEOF | |
10729 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10730 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
10731 | ac_status=$? | |
10732 | grep -v '^ *+' conftest.er1 >conftest.err | |
10733 | rm -f conftest.er1 | |
10734 | cat conftest.err >&5 | |
10735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10736 | (exit $ac_status); } >/dev/null; then | |
10737 | if test -s conftest.err; then | |
10738 | ac_cpp_err=$ac_c_preproc_warn_flag | |
10739 | else | |
10740 | ac_cpp_err= | |
10741 | fi | |
10f2d63a | 10742 | else |
e6cc62c6 VS |
10743 | ac_cpp_err=yes |
10744 | fi | |
10745 | if test -z "$ac_cpp_err"; then | |
a0b9e27f | 10746 | : |
247f5006 | 10747 | else |
e6cc62c6 VS |
10748 | echo "$as_me: failed program was:" >&5 |
10749 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10750 | ||
10751 | # Broken: fails on valid input. | |
10752 | continue | |
10753 | fi | |
10754 | rm -f conftest.err conftest.$ac_ext | |
10755 | ||
10756 | # OK, works on sane cases. Now check whether non-existent headers | |
10757 | # can be detected and how. | |
10758 | cat >conftest.$ac_ext <<_ACEOF | |
10759 | #line $LINENO "configure" | |
10760 | /* confdefs.h. */ | |
10761 | _ACEOF | |
10762 | cat confdefs.h >>conftest.$ac_ext | |
10763 | cat >>conftest.$ac_ext <<_ACEOF | |
10764 | /* end confdefs.h. */ | |
10765 | #include <ac_nonexistent.h> | |
10766 | _ACEOF | |
10767 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10768 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
10769 | ac_status=$? | |
10770 | grep -v '^ *+' conftest.er1 >conftest.err | |
10771 | rm -f conftest.er1 | |
10772 | cat conftest.err >&5 | |
10773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10774 | (exit $ac_status); } >/dev/null; then | |
10775 | if test -s conftest.err; then | |
10776 | ac_cpp_err=$ac_c_preproc_warn_flag | |
10777 | else | |
10778 | ac_cpp_err= | |
10779 | fi | |
10f2d63a | 10780 | else |
e6cc62c6 | 10781 | ac_cpp_err=yes |
579d8138 | 10782 | fi |
e6cc62c6 VS |
10783 | if test -z "$ac_cpp_err"; then |
10784 | # Broken: success on invalid input. | |
10785 | continue | |
10786 | else | |
10787 | echo "$as_me: failed program was:" >&5 | |
10788 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10789 | ||
10790 | # Passes both tests. | |
10791 | ac_preproc_ok=: | |
10792 | break | |
52127426 | 10793 | fi |
e6cc62c6 VS |
10794 | rm -f conftest.err conftest.$ac_ext |
10795 | ||
10796 | done | |
10797 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
10798 | rm -f conftest.err conftest.$ac_ext | |
10799 | if $ac_preproc_ok; then | |
10800 | break | |
8284b0c5 | 10801 | fi |
e6cc62c6 VS |
10802 | |
10803 | done | |
10804 | ac_cv_prog_CPP=$CPP | |
10805 | ||
10806 | fi | |
10807 | CPP=$ac_cv_prog_CPP | |
10808 | else | |
10809 | ac_cv_prog_CPP=$CPP | |
10810 | fi | |
10811 | echo "$as_me:$LINENO: result: $CPP" >&5 | |
10812 | echo "${ECHO_T}$CPP" >&6 | |
10813 | ac_preproc_ok=false | |
10814 | for ac_c_preproc_warn_flag in '' yes | |
10815 | do | |
10816 | # Use a header file that comes with gcc, so configuring glibc | |
10817 | # with a fresh cross-compiler works. | |
10818 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10819 | # <limits.h> exists even on freestanding compilers. | |
10820 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
10821 | # not just through cpp. "Syntax error" is here to catch this case. | |
10822 | cat >conftest.$ac_ext <<_ACEOF | |
10823 | #line $LINENO "configure" | |
10824 | /* confdefs.h. */ | |
10825 | _ACEOF | |
10826 | cat confdefs.h >>conftest.$ac_ext | |
10827 | cat >>conftest.$ac_ext <<_ACEOF | |
10828 | /* end confdefs.h. */ | |
10829 | #ifdef __STDC__ | |
10830 | # include <limits.h> | |
10831 | #else | |
10832 | # include <assert.h> | |
10833 | #endif | |
10834 | Syntax error | |
10835 | _ACEOF | |
10836 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10837 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
10838 | ac_status=$? | |
10839 | grep -v '^ *+' conftest.er1 >conftest.err | |
10840 | rm -f conftest.er1 | |
10841 | cat conftest.err >&5 | |
10842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10843 | (exit $ac_status); } >/dev/null; then | |
10844 | if test -s conftest.err; then | |
10845 | ac_cpp_err=$ac_c_preproc_warn_flag | |
10846 | else | |
10847 | ac_cpp_err= | |
10848 | fi | |
10849 | else | |
10850 | ac_cpp_err=yes | |
10851 | fi | |
10852 | if test -z "$ac_cpp_err"; then | |
10853 | : | |
10854 | else | |
10855 | echo "$as_me: failed program was:" >&5 | |
10856 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10857 | ||
10858 | # Broken: fails on valid input. | |
10859 | continue | |
10860 | fi | |
10861 | rm -f conftest.err conftest.$ac_ext | |
10862 | ||
10863 | # OK, works on sane cases. Now check whether non-existent headers | |
10864 | # can be detected and how. | |
10865 | cat >conftest.$ac_ext <<_ACEOF | |
10866 | #line $LINENO "configure" | |
10867 | /* confdefs.h. */ | |
10868 | _ACEOF | |
10869 | cat confdefs.h >>conftest.$ac_ext | |
10870 | cat >>conftest.$ac_ext <<_ACEOF | |
10871 | /* end confdefs.h. */ | |
10872 | #include <ac_nonexistent.h> | |
10873 | _ACEOF | |
10874 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10875 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
10876 | ac_status=$? | |
10877 | grep -v '^ *+' conftest.er1 >conftest.err | |
10878 | rm -f conftest.er1 | |
10879 | cat conftest.err >&5 | |
10880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10881 | (exit $ac_status); } >/dev/null; then | |
10882 | if test -s conftest.err; then | |
10883 | ac_cpp_err=$ac_c_preproc_warn_flag | |
10884 | else | |
10885 | ac_cpp_err= | |
10886 | fi | |
10887 | else | |
10888 | ac_cpp_err=yes | |
10889 | fi | |
10890 | if test -z "$ac_cpp_err"; then | |
10891 | # Broken: success on invalid input. | |
10892 | continue | |
10893 | else | |
10894 | echo "$as_me: failed program was:" >&5 | |
10895 | sed 's/^/| /' conftest.$ac_ext >&5 | |
10896 | ||
10897 | # Passes both tests. | |
10898 | ac_preproc_ok=: | |
10899 | break | |
a0b9e27f | 10900 | fi |
e6cc62c6 VS |
10901 | rm -f conftest.err conftest.$ac_ext |
10902 | ||
10903 | done | |
10904 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
10905 | rm -f conftest.err conftest.$ac_ext | |
10906 | if $ac_preproc_ok; then | |
10907 | : | |
10908 | else | |
10909 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
10910 | See \`config.log' for more details." >&5 | |
10911 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
10912 | See \`config.log' for more details." >&2;} | |
10913 | { (exit 1); exit 1; }; } | |
10914 | fi | |
10915 | ||
10916 | ac_ext=c | |
10917 | ac_cpp='$CPP $CPPFLAGS' | |
10918 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
10919 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
10920 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
10921 | ||
10922 | ||
10923 | echo "$as_me:$LINENO: checking for egrep" >&5 | |
10924 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
10925 | if test "${ac_cv_prog_egrep+set}" = set; then | |
10926 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 10927 | else |
e6cc62c6 VS |
10928 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
10929 | then ac_cv_prog_egrep='grep -E' | |
10930 | else ac_cv_prog_egrep='egrep' | |
10931 | fi | |
10f2d63a | 10932 | fi |
e6cc62c6 VS |
10933 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
10934 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | |
10935 | EGREP=$ac_cv_prog_egrep | |
10936 | ||
10f2d63a | 10937 | |
e6cc62c6 VS |
10938 | if test $ac_cv_c_compiler_gnu = yes; then |
10939 | echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | |
10940 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | |
10941 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then | |
10942 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a VZ |
10943 | else |
10944 | ac_pattern="Autoconf.*'x'" | |
e6cc62c6 VS |
10945 | cat >conftest.$ac_ext <<_ACEOF |
10946 | #line $LINENO "configure" | |
10947 | /* confdefs.h. */ | |
10948 | _ACEOF | |
10949 | cat confdefs.h >>conftest.$ac_ext | |
10950 | cat >>conftest.$ac_ext <<_ACEOF | |
10951 | /* end confdefs.h. */ | |
10f2d63a VZ |
10952 | #include <sgtty.h> |
10953 | Autoconf TIOCGETP | |
e6cc62c6 | 10954 | _ACEOF |
10f2d63a | 10955 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
e6cc62c6 | 10956 | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
10f2d63a VZ |
10957 | ac_cv_prog_gcc_traditional=yes |
10958 | else | |
10f2d63a VZ |
10959 | ac_cv_prog_gcc_traditional=no |
10960 | fi | |
10961 | rm -f conftest* | |
10962 | ||
8284b0c5 | 10963 | |
10f2d63a | 10964 | if test $ac_cv_prog_gcc_traditional = no; then |
e6cc62c6 VS |
10965 | cat >conftest.$ac_ext <<_ACEOF |
10966 | #line $LINENO "configure" | |
10967 | /* confdefs.h. */ | |
10968 | _ACEOF | |
10969 | cat confdefs.h >>conftest.$ac_ext | |
10970 | cat >>conftest.$ac_ext <<_ACEOF | |
10971 | /* end confdefs.h. */ | |
10f2d63a VZ |
10972 | #include <termio.h> |
10973 | Autoconf TCGETA | |
e6cc62c6 | 10974 | _ACEOF |
10f2d63a | 10975 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
e6cc62c6 | 10976 | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
10f2d63a VZ |
10977 | ac_cv_prog_gcc_traditional=yes |
10978 | fi | |
10979 | rm -f conftest* | |
10980 | ||
10981 | fi | |
10982 | fi | |
e6cc62c6 VS |
10983 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
10984 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | |
10f2d63a VZ |
10985 | if test $ac_cv_prog_gcc_traditional = yes; then |
10986 | CC="$CC -traditional" | |
10987 | fi | |
10988 | fi | |
10989 | ||
8284b0c5 MB |
10990 | |
10991 | ||
e6cc62c6 VS |
10992 | |
10993 | ac_ext=cc | |
1e487827 | 10994 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
10995 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
10996 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
10997 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
8284b0c5 | 10998 | |
698dcdb6 | 10999 | |
ec603395 | 11000 | CXXFLAGS=${CXXFLAGS:=} |
e6cc62c6 VS |
11001 | ac_ext=cc |
11002 | ac_cpp='$CXXCPP $CPPFLAGS' | |
11003 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
11004 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
11005 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
11006 | if test -n "$ac_tool_prefix"; then | |
11007 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | |
11008 | do | |
11009 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
11010 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
11011 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
11012 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
11013 | if test "${ac_cv_prog_CXX+set}" = set; then | |
11014 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a VZ |
11015 | else |
11016 | if test -n "$CXX"; then | |
11017 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
11018 | else | |
e6cc62c6 VS |
11019 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11020 | for as_dir in $PATH | |
11021 | do | |
11022 | IFS=$as_save_IFS | |
11023 | test -z "$as_dir" && as_dir=. | |
11024 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11025 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
11026 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
11027 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11028 | break 2 | |
11029 | fi | |
11030 | done | |
11031 | done | |
11032 | ||
10f2d63a VZ |
11033 | fi |
11034 | fi | |
e6cc62c6 | 11035 | CXX=$ac_cv_prog_CXX |
10f2d63a | 11036 | if test -n "$CXX"; then |
e6cc62c6 VS |
11037 | echo "$as_me:$LINENO: result: $CXX" >&5 |
11038 | echo "${ECHO_T}$CXX" >&6 | |
10f2d63a | 11039 | else |
e6cc62c6 VS |
11040 | echo "$as_me:$LINENO: result: no" >&5 |
11041 | echo "${ECHO_T}no" >&6 | |
10f2d63a VZ |
11042 | fi |
11043 | ||
e6cc62c6 VS |
11044 | test -n "$CXX" && break |
11045 | done | |
11046 | fi | |
11047 | if test -z "$CXX"; then | |
11048 | ac_ct_CXX=$CXX | |
11049 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | |
11050 | do | |
11051 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
11052 | set dummy $ac_prog; ac_word=$2 | |
11053 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
11054 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
11055 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | |
11056 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11057 | else | |
11058 | if test -n "$ac_ct_CXX"; then | |
11059 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
11060 | else | |
11061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
11062 | for as_dir in $PATH | |
11063 | do | |
11064 | IFS=$as_save_IFS | |
11065 | test -z "$as_dir" && as_dir=. | |
11066 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11067 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
11068 | ac_cv_prog_ac_ct_CXX="$ac_prog" | |
11069 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11070 | break 2 | |
11071 | fi | |
11072 | done | |
10f2d63a | 11073 | done |
a0b9e27f | 11074 | |
8284b0c5 | 11075 | fi |
a0b9e27f | 11076 | fi |
e6cc62c6 VS |
11077 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
11078 | if test -n "$ac_ct_CXX"; then | |
11079 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | |
11080 | echo "${ECHO_T}$ac_ct_CXX" >&6 | |
11081 | else | |
11082 | echo "$as_me:$LINENO: result: no" >&5 | |
11083 | echo "${ECHO_T}no" >&6 | |
a0b9e27f | 11084 | fi |
10f2d63a | 11085 | |
e6cc62c6 VS |
11086 | test -n "$ac_ct_CXX" && break |
11087 | done | |
11088 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | |
11089 | ||
11090 | CXX=$ac_ct_CXX | |
11091 | fi | |
11092 | ||
11093 | ||
11094 | # Provide some information about the compiler. | |
11095 | echo "$as_me:$LINENO:" \ | |
11096 | "checking for C++ compiler version" >&5 | |
11097 | ac_compiler=`set X $ac_compile; echo $2` | |
11098 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
11099 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
11100 | ac_status=$? | |
11101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11102 | (exit $ac_status); } | |
11103 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
11104 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
11105 | ac_status=$? | |
11106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11107 | (exit $ac_status); } | |
11108 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
11109 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
11110 | ac_status=$? | |
11111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11112 | (exit $ac_status); } | |
11113 | ||
11114 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
11115 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | |
11116 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
11117 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11118 | else | |
11119 | cat >conftest.$ac_ext <<_ACEOF | |
11120 | #line $LINENO "configure" | |
11121 | /* confdefs.h. */ | |
11122 | _ACEOF | |
11123 | cat confdefs.h >>conftest.$ac_ext | |
11124 | cat >>conftest.$ac_ext <<_ACEOF | |
11125 | /* end confdefs.h. */ | |
11126 | ||
11127 | int | |
11128 | main () | |
11129 | { | |
11130 | #ifndef __GNUC__ | |
11131 | choke me | |
11132 | #endif | |
10f2d63a | 11133 | |
e6cc62c6 VS |
11134 | ; |
11135 | return 0; | |
11136 | } | |
11137 | _ACEOF | |
11138 | rm -f conftest.$ac_objext | |
11139 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11140 | (eval $ac_compile) 2>&5 | |
11141 | ac_status=$? | |
11142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11143 | (exit $ac_status); } && | |
11144 | { ac_try='test -s conftest.$ac_objext' | |
11145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11146 | (eval $ac_try) 2>&5 | |
11147 | ac_status=$? | |
11148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11149 | (exit $ac_status); }; }; then | |
11150 | ac_compiler_gnu=yes | |
11151 | else | |
11152 | echo "$as_me: failed program was:" >&5 | |
11153 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11154 | ||
11155 | ac_compiler_gnu=no | |
11156 | fi | |
11157 | rm -f conftest.$ac_objext conftest.$ac_ext | |
11158 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
11159 | ||
11160 | fi | |
11161 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | |
11162 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | |
11163 | GXX=`test $ac_compiler_gnu = yes && echo yes` | |
11164 | ac_test_CXXFLAGS=${CXXFLAGS+set} | |
11165 | ac_save_CXXFLAGS=$CXXFLAGS | |
11166 | CXXFLAGS="-g" | |
11167 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | |
11168 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | |
11169 | if test "${ac_cv_prog_cxx_g+set}" = set; then | |
11170 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11171 | else | |
11172 | cat >conftest.$ac_ext <<_ACEOF | |
11173 | #line $LINENO "configure" | |
11174 | /* confdefs.h. */ | |
11175 | _ACEOF | |
11176 | cat confdefs.h >>conftest.$ac_ext | |
11177 | cat >>conftest.$ac_ext <<_ACEOF | |
11178 | /* end confdefs.h. */ | |
11179 | ||
11180 | int | |
11181 | main () | |
11182 | { | |
f09359cf | 11183 | |
e6cc62c6 VS |
11184 | ; |
11185 | return 0; | |
11186 | } | |
11187 | _ACEOF | |
11188 | rm -f conftest.$ac_objext | |
11189 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11190 | (eval $ac_compile) 2>&5 | |
11191 | ac_status=$? | |
11192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11193 | (exit $ac_status); } && | |
11194 | { ac_try='test -s conftest.$ac_objext' | |
11195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11196 | (eval $ac_try) 2>&5 | |
11197 | ac_status=$? | |
11198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11199 | (exit $ac_status); }; }; then | |
10f2d63a VZ |
11200 | ac_cv_prog_cxx_g=yes |
11201 | else | |
e6cc62c6 VS |
11202 | echo "$as_me: failed program was:" >&5 |
11203 | sed 's/^/| /' conftest.$ac_ext >&5 | |
a0b9e27f | 11204 | |
e6cc62c6 | 11205 | ac_cv_prog_cxx_g=no |
10f2d63a | 11206 | fi |
e6cc62c6 VS |
11207 | rm -f conftest.$ac_objext conftest.$ac_ext |
11208 | fi | |
11209 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | |
11210 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | |
f09359cf | 11211 | if test "$ac_test_CXXFLAGS" = set; then |
e6cc62c6 | 11212 | CXXFLAGS=$ac_save_CXXFLAGS |
f09359cf VS |
11213 | elif test $ac_cv_prog_cxx_g = yes; then |
11214 | if test "$GXX" = yes; then | |
10f2d63a VZ |
11215 | CXXFLAGS="-g -O2" |
11216 | else | |
f09359cf | 11217 | CXXFLAGS="-g" |
10f2d63a | 11218 | fi |
5c0a20c3 | 11219 | else |
f09359cf VS |
11220 | if test "$GXX" = yes; then |
11221 | CXXFLAGS="-O2" | |
11222 | else | |
11223 | CXXFLAGS= | |
11224 | fi | |
10f2d63a | 11225 | fi |
e6cc62c6 | 11226 | for ac_declaration in \ |
57e7d4ac VS |
11227 | ''\ |
11228 | '#include <stdlib.h>' \ | |
e6cc62c6 VS |
11229 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
11230 | 'extern "C" void std::exit (int); using std::exit;' \ | |
11231 | 'extern "C" void exit (int) throw ();' \ | |
11232 | 'extern "C" void exit (int);' \ | |
11233 | 'void exit (int);' | |
11234 | do | |
11235 | cat >conftest.$ac_ext <<_ACEOF | |
11236 | #line $LINENO "configure" | |
11237 | /* confdefs.h. */ | |
11238 | _ACEOF | |
11239 | cat confdefs.h >>conftest.$ac_ext | |
11240 | cat >>conftest.$ac_ext <<_ACEOF | |
11241 | /* end confdefs.h. */ | |
7015ef3a | 11242 | #include <stdlib.h> |
57e7d4ac | 11243 | $ac_declaration |
e6cc62c6 VS |
11244 | int |
11245 | main () | |
11246 | { | |
11247 | exit (42); | |
11248 | ; | |
11249 | return 0; | |
11250 | } | |
11251 | _ACEOF | |
11252 | rm -f conftest.$ac_objext | |
11253 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11254 | (eval $ac_compile) 2>&5 | |
11255 | ac_status=$? | |
11256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11257 | (exit $ac_status); } && | |
11258 | { ac_try='test -s conftest.$ac_objext' | |
11259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11260 | (eval $ac_try) 2>&5 | |
11261 | ac_status=$? | |
11262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11263 | (exit $ac_status); }; }; then | |
11264 | : | |
11265 | else | |
11266 | echo "$as_me: failed program was:" >&5 | |
11267 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11268 | ||
11269 | continue | |
11270 | fi | |
11271 | rm -f conftest.$ac_objext conftest.$ac_ext | |
11272 | cat >conftest.$ac_ext <<_ACEOF | |
11273 | #line $LINENO "configure" | |
11274 | /* confdefs.h. */ | |
11275 | _ACEOF | |
11276 | cat confdefs.h >>conftest.$ac_ext | |
11277 | cat >>conftest.$ac_ext <<_ACEOF | |
11278 | /* end confdefs.h. */ | |
11279 | $ac_declaration | |
11280 | int | |
11281 | main () | |
11282 | { | |
11283 | exit (42); | |
11284 | ; | |
11285 | return 0; | |
11286 | } | |
11287 | _ACEOF | |
11288 | rm -f conftest.$ac_objext | |
11289 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11290 | (eval $ac_compile) 2>&5 | |
11291 | ac_status=$? | |
11292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11293 | (exit $ac_status); } && | |
11294 | { ac_try='test -s conftest.$ac_objext' | |
11295 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11296 | (eval $ac_try) 2>&5 | |
11297 | ac_status=$? | |
11298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11299 | (exit $ac_status); }; }; then | |
11300 | break | |
11301 | else | |
11302 | echo "$as_me: failed program was:" >&5 | |
11303 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11304 | ||
11305 | fi | |
11306 | rm -f conftest.$ac_objext conftest.$ac_ext | |
11307 | done | |
11308 | rm -f conftest* | |
11309 | if test -n "$ac_declaration"; then | |
11310 | echo '#ifdef __cplusplus' >>confdefs.h | |
11311 | echo $ac_declaration >>confdefs.h | |
11312 | echo '#endif' >>confdefs.h | |
11313 | fi | |
11314 | ||
11315 | ac_ext=cc | |
11316 | ac_cpp='$CXXCPP $CPPFLAGS' | |
11317 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
11318 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
11319 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
10f2d63a VZ |
11320 | |
11321 | ||
10f2d63a | 11322 | ac_ext=c |
10f2d63a | 11323 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
11324 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11325 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
11326 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
8284b0c5 MB |
11327 | |
11328 | ||
e6cc62c6 VS |
11329 | if test -n "$ac_tool_prefix"; then |
11330 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
11331 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
11332 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
11333 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
11334 | if test "${ac_cv_prog_RANLIB+set}" = set; then | |
11335 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a VZ |
11336 | else |
11337 | if test -n "$RANLIB"; then | |
11338 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
11339 | else | |
e6cc62c6 VS |
11340 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11341 | for as_dir in $PATH | |
11342 | do | |
11343 | IFS=$as_save_IFS | |
11344 | test -z "$as_dir" && as_dir=. | |
11345 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11346 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
11347 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
11348 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11349 | break 2 | |
11350 | fi | |
11351 | done | |
11352 | done | |
11353 | ||
10f2d63a VZ |
11354 | fi |
11355 | fi | |
e6cc62c6 | 11356 | RANLIB=$ac_cv_prog_RANLIB |
10f2d63a | 11357 | if test -n "$RANLIB"; then |
e6cc62c6 VS |
11358 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
11359 | echo "${ECHO_T}$RANLIB" >&6 | |
11360 | else | |
11361 | echo "$as_me:$LINENO: result: no" >&5 | |
11362 | echo "${ECHO_T}no" >&6 | |
11363 | fi | |
11364 | ||
11365 | fi | |
11366 | if test -z "$ac_cv_prog_RANLIB"; then | |
11367 | ac_ct_RANLIB=$RANLIB | |
11368 | # Extract the first word of "ranlib", so it can be a program name with args. | |
11369 | set dummy ranlib; ac_word=$2 | |
11370 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
11371 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
11372 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | |
11373 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
328a083c | 11374 | else |
e6cc62c6 VS |
11375 | if test -n "$ac_ct_RANLIB"; then |
11376 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
11377 | else | |
11378 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
11379 | for as_dir in $PATH | |
11380 | do | |
11381 | IFS=$as_save_IFS | |
11382 | test -z "$as_dir" && as_dir=. | |
11383 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11384 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
11385 | ac_cv_prog_ac_ct_RANLIB="ranlib" | |
11386 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11387 | break 2 | |
11388 | fi | |
11389 | done | |
11390 | done | |
11391 | ||
11392 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | |
11393 | fi | |
11394 | fi | |
11395 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
11396 | if test -n "$ac_ct_RANLIB"; then | |
11397 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | |
11398 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | |
11399 | else | |
11400 | echo "$as_me:$LINENO: result: no" >&5 | |
11401 | echo "${ECHO_T}no" >&6 | |
11402 | fi | |
11403 | ||
11404 | RANLIB=$ac_ct_RANLIB | |
11405 | else | |
11406 | RANLIB="$ac_cv_prog_RANLIB" | |
328a083c RR |
11407 | fi |
11408 | ||
10f2d63a VZ |
11409 | |
11410 | # Extract the first word of "ar", so it can be a program name with args. | |
11411 | set dummy ar; ac_word=$2 | |
e6cc62c6 VS |
11412 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11413 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
11414 | if test "${ac_cv_prog_AR+set}" = set; then | |
11415 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a VZ |
11416 | else |
11417 | if test -n "$AR"; then | |
11418 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
11419 | else | |
e6cc62c6 VS |
11420 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11421 | for as_dir in $PATH | |
11422 | do | |
11423 | IFS=$as_save_IFS | |
11424 | test -z "$as_dir" && as_dir=. | |
11425 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11426 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
11427 | ac_cv_prog_AR="ar" | |
11428 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11429 | break 2 | |
11430 | fi | |
11431 | done | |
11432 | done | |
11433 | ||
10f2d63a VZ |
11434 | fi |
11435 | fi | |
e6cc62c6 | 11436 | AR=$ac_cv_prog_AR |
10f2d63a | 11437 | if test -n "$AR"; then |
e6cc62c6 VS |
11438 | echo "$as_me:$LINENO: result: $AR" >&5 |
11439 | echo "${ECHO_T}$AR" >&6 | |
10f2d63a | 11440 | else |
e6cc62c6 VS |
11441 | echo "$as_me:$LINENO: result: no" >&5 |
11442 | echo "${ECHO_T}no" >&6 | |
10f2d63a VZ |
11443 | fi |
11444 | ||
911740e7 VS |
11445 | if test "x$AR" = "x" ; then |
11446 | { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5 | |
11447 | echo "$as_me: error: ar is needed to build wxWindows" >&2;} | |
11448 | { (exit 1); exit 1; }; } | |
11449 | fi | |
8284b0c5 | 11450 | |
6054113a | 11451 | # Find a good install program. We prefer a C program (faster), |
10f2d63a VZ |
11452 | # so one script is as good as another. But avoid the broken or |
11453 | # incompatible versions: | |
11454 | # SysV /etc/install, /usr/sbin/install | |
11455 | # SunOS /usr/etc/install | |
11456 | # IRIX /sbin/install | |
11457 | # AIX /bin/install | |
e6cc62c6 | 11458 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
f09359cf | 11459 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
10f2d63a VZ |
11460 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
11461 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
11462 | # ./install, which can be erroneously created by make from ./install.sh. | |
e6cc62c6 VS |
11463 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
11464 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | |
10f2d63a | 11465 | if test -z "$INSTALL"; then |
e6cc62c6 VS |
11466 | if test "${ac_cv_path_install+set}" = set; then |
11467 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11468 | else | |
11469 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
11470 | for as_dir in $PATH | |
11471 | do | |
11472 | IFS=$as_save_IFS | |
11473 | test -z "$as_dir" && as_dir=. | |
11474 | # Account for people who put trailing slashes in PATH elements. | |
11475 | case $as_dir/ in | |
11476 | ./ | .// | /cC/* | \ | |
11477 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
11478 | /usr/ucb/* ) ;; | |
11479 | *) | |
11480 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
11481 | # Don't use installbsd from OSF since it installs stuff as root | |
11482 | # by default. | |
11483 | for ac_prog in ginstall scoinst install; do | |
11484 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11485 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
11486 | if test $ac_prog = install && | |
11487 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
11488 | # AIX install. It has an incompatible calling convention. | |
11489 | : | |
11490 | elif test $ac_prog = install && | |
11491 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
11492 | # program-specific install script used by HP pwplus--don't use. | |
11493 | : | |
11494 | else | |
11495 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
11496 | break 3 | |
11497 | fi | |
11498 | fi | |
10f2d63a | 11499 | done |
e6cc62c6 VS |
11500 | done |
11501 | ;; | |
11502 | esac | |
11503 | done | |
11504 | ||
10f2d63a VZ |
11505 | |
11506 | fi | |
11507 | if test "${ac_cv_path_install+set}" = set; then | |
e6cc62c6 | 11508 | INSTALL=$ac_cv_path_install |
10f2d63a VZ |
11509 | else |
11510 | # As a last resort, use the slow shell script. We don't cache a | |
11511 | # path for INSTALL within a source directory, because that will | |
11512 | # break other packages using the cache if that directory is | |
11513 | # removed, or if the path is relative. | |
e6cc62c6 | 11514 | INSTALL=$ac_install_sh |
10f2d63a VZ |
11515 | fi |
11516 | fi | |
e6cc62c6 VS |
11517 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
11518 | echo "${ECHO_T}$INSTALL" >&6 | |
10f2d63a VZ |
11519 | |
11520 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
11521 | # It thinks the first close brace ends the variable substitution. | |
11522 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
11523 | ||
e6cc62c6 | 11524 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
f09359cf | 11525 | |
10f2d63a VZ |
11526 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
11527 | ||
8284b0c5 | 11528 | |
1d1b75ac VZ |
11529 | case ${INSTALL} in |
11530 | /* ) # Absolute | |
11531 | ;; | |
4f5a7f74 VZ |
11532 | ?:* ) # Drive letter, considered as absolute. |
11533 | ;; | |
3bd8fb5f | 11534 | *) |
1d1b75ac VZ |
11535 | INSTALL=`pwd`/${INSTALL} ;; |
11536 | esac | |
11537 | ||
4f5a7f74 VZ |
11538 | case ${host} in |
11539 | *-hp-hpux* ) | |
11540 | INSTALL_DIR="mkdir" | |
11541 | ;; | |
11542 | ||
11543 | *) INSTALL_DIR="$INSTALL -d" | |
11544 | ;; | |
11545 | esac | |
11546 | ||
8284b0c5 | 11547 | |
6054113a GD |
11548 | case "${host}" in |
11549 | ||
b5853384 | 11550 | powerpc-*-darwin* ) |
eb99ae0b GD |
11551 | INSTALL_PROGRAM="cp -fp" |
11552 | INSTALL_DATA="cp -fp" | |
6054113a GD |
11553 | ;; |
11554 | *) | |
11555 | ;; | |
d6853540 | 11556 | esac |
698dcdb6 | 11557 | |
10f2d63a VZ |
11558 | # Extract the first word of "strip", so it can be a program name with args. |
11559 | set dummy strip; ac_word=$2 | |
e6cc62c6 VS |
11560 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11561 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
11562 | if test "${ac_cv_prog_STRIP+set}" = set; then | |
11563 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a VZ |
11564 | else |
11565 | if test -n "$STRIP"; then | |
11566 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
11567 | else | |
e6cc62c6 VS |
11568 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11569 | for as_dir in $PATH | |
11570 | do | |
11571 | IFS=$as_save_IFS | |
11572 | test -z "$as_dir" && as_dir=. | |
11573 | for ac_exec_ext in '' $ac_executable_extensions; do | |
11574 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
11575 | ac_cv_prog_STRIP="strip" | |
11576 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11577 | break 2 | |
11578 | fi | |
11579 | done | |
11580 | done | |
11581 | ||
10f2d63a VZ |
11582 | test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true" |
11583 | fi | |
11584 | fi | |
e6cc62c6 | 11585 | STRIP=$ac_cv_prog_STRIP |
10f2d63a | 11586 | if test -n "$STRIP"; then |
e6cc62c6 VS |
11587 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
11588 | echo "${ECHO_T}$STRIP" >&6 | |
10f2d63a | 11589 | else |
e6cc62c6 VS |
11590 | echo "$as_me:$LINENO: result: no" >&5 |
11591 | echo "${ECHO_T}no" >&6 | |
10f2d63a VZ |
11592 | fi |
11593 | ||
5c6fa7d2 | 11594 | |
e6cc62c6 VS |
11595 | echo "$as_me:$LINENO: checking if make is GNU make" >&5 |
11596 | echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6 | |
11597 | if test "${wx_cv_prog_makeisgnu+set}" = set; then | |
11598 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 11599 | else |
e6cc62c6 | 11600 | |
414eab6d | 11601 | if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | |
d558c907 | 11602 | egrep -s GNU > /dev/null); then |
414eab6d VZ |
11603 | wx_cv_prog_makeisgnu="yes" |
11604 | else | |
11605 | wx_cv_prog_makeisgnu="no" | |
11606 | fi | |
11607 | ||
11608 | fi | |
e6cc62c6 VS |
11609 | echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5 |
11610 | echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6 | |
414eab6d VZ |
11611 | |
11612 | if test "x$wx_cv_prog_makeisgnu" = "xyes"; then | |
11613 | IF_GNU_MAKE="" | |
11614 | else | |
11615 | IF_GNU_MAKE="#" | |
11616 | fi | |
11617 | ||
8284b0c5 MB |
11618 | |
11619 | ||
414eab6d | 11620 | if test "x$wx_cv_prog_makeisgnu" != "xyes"; then |
e6cc62c6 VS |
11621 | echo "$as_me:$LINENO: checking if make supports VPATH" >&5 |
11622 | echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6 | |
11623 | if test "${wx_cv_prog_makevpath+set}" = set; then | |
11624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
04e7a216 | 11625 | else |
e6cc62c6 | 11626 | |
10f2d63a VZ |
11627 | cat - << EOF > confMake |
11628 | check : file | |
11629 | cp \$? \$@ | |
11630 | cp \$? final_file | |
11631 | EOF | |
11632 | ||
11633 | if test ! -d sub ; then | |
11634 | mkdir sub | |
11635 | fi | |
11636 | echo dummy > sub/file | |
f6bcfd97 | 11637 | ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null |
10f2d63a VZ |
11638 | RESULT=$? |
11639 | rm -f sub/file check final_file confMake | |
11640 | rmdir sub | |
11641 | if test "$RESULT" = 0; then | |
04e7a216 | 11642 | wx_cv_prog_makevpath="yes" |
10f2d63a | 11643 | else |
04e7a216 VZ |
11644 | wx_cv_prog_makevpath="no" |
11645 | fi | |
11646 | ||
11647 | fi | |
e6cc62c6 VS |
11648 | echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5 |
11649 | echo "${ECHO_T}$wx_cv_prog_makevpath" >&6 | |
04e7a216 VZ |
11650 | |
11651 | if test "x$wx_cv_prog_makevpath" != "xyes"; then | |
e6cc62c6 | 11652 | { { echo "$as_me:$LINENO: error: |
5c6fa7d2 RR |
11653 | You need a make-utility that is able to use the variable |
11654 | VPATH correctly. | |
11655 | If your version of make does not support VPATH correctly, | |
11656 | please install GNU-make (possibly as gmake), and start | |
11657 | configure with the following command: | |
11658 | export MAKE=gmake; ./configure for sh-type shells | |
11659 | setenv MAKE gmake; ./configure for csh-type shells | |
11660 | Also please do remember to use gmake in this case every time | |
11661 | you are trying to compile. | |
e6cc62c6 VS |
11662 | " >&5 |
11663 | echo "$as_me: error: | |
11664 | You need a make-utility that is able to use the variable | |
11665 | VPATH correctly. | |
11666 | If your version of make does not support VPATH correctly, | |
11667 | please install GNU-make (possibly as gmake), and start | |
11668 | configure with the following command: | |
11669 | export MAKE=gmake; ./configure for sh-type shells | |
11670 | setenv MAKE gmake; ./configure for csh-type shells | |
11671 | Also please do remember to use gmake in this case every time | |
11672 | you are trying to compile. | |
11673 | " >&2;} | |
11674 | { (exit 1); exit 1; }; } | |
11675 | fi fi | |
e6cc62c6 VS |
11676 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
11677 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | |
11678 | LN_S=$as_ln_s | |
11679 | if test "$LN_S" = "ln -s"; then | |
11680 | echo "$as_me:$LINENO: result: yes" >&5 | |
11681 | echo "${ECHO_T}yes" >&6 | |
10f2d63a | 11682 | else |
e6cc62c6 VS |
11683 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
11684 | echo "${ECHO_T}no, using $LN_S" >&6 | |
5c6fa7d2 | 11685 | fi |
5c6fa7d2 | 11686 | |
247f5006 | 11687 | |
2b5f62a0 VZ |
11688 | case "${host}" in |
11689 | *-pc-os2_emx | *-pc-os2-emx ) | |
2b5f62a0 | 11690 | if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then |
e6cc62c6 VS |
11691 | echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5 |
11692 | echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6 | |
11693 | if test "${ac_cv_lib_cExt_drand48+set}" = set; then | |
11694 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2b5f62a0 | 11695 | else |
e6cc62c6 | 11696 | ac_check_lib_save_LIBS=$LIBS |
2b5f62a0 | 11697 | LIBS="-lcExt $LIBS" |
e6cc62c6 VS |
11698 | cat >conftest.$ac_ext <<_ACEOF |
11699 | #line $LINENO "configure" | |
11700 | /* confdefs.h. */ | |
11701 | _ACEOF | |
11702 | cat confdefs.h >>conftest.$ac_ext | |
11703 | cat >>conftest.$ac_ext <<_ACEOF | |
11704 | /* end confdefs.h. */ | |
11705 | ||
2b5f62a0 | 11706 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
11707 | #ifdef __cplusplus |
11708 | extern "C" | |
11709 | #endif | |
2b5f62a0 | 11710 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
11711 | builtin and then its argument prototype would still apply. */ |
11712 | char drand48 (); | |
11713 | int | |
11714 | main () | |
11715 | { | |
11716 | drand48 (); | |
11717 | ; | |
11718 | return 0; | |
11719 | } | |
11720 | _ACEOF | |
11721 | rm -f conftest.$ac_objext conftest$ac_exeext | |
11722 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11723 | (eval $ac_link) 2>&5 | |
11724 | ac_status=$? | |
11725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11726 | (exit $ac_status); } && | |
11727 | { ac_try='test -s conftest$ac_exeext' | |
11728 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11729 | (eval $ac_try) 2>&5 | |
11730 | ac_status=$? | |
11731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11732 | (exit $ac_status); }; }; then | |
11733 | ac_cv_lib_cExt_drand48=yes | |
11734 | else | |
11735 | echo "$as_me: failed program was:" >&5 | |
11736 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11737 | ||
11738 | ac_cv_lib_cExt_drand48=no | |
11739 | fi | |
11740 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11741 | LIBS=$ac_check_lib_save_LIBS | |
11742 | fi | |
11743 | echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5 | |
11744 | echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6 | |
11745 | if test $ac_cv_lib_cExt_drand48 = yes; then | |
2b5f62a0 | 11746 | LIBS="$LIBS -lcExt" |
2b5f62a0 VZ |
11747 | fi |
11748 | ||
11749 | else | |
11750 | RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res" | |
11751 | fi | |
73d617c9 MB |
11752 | echo "$as_me:$LINENO: checking for gcc 3 or later" >&5 |
11753 | echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6 | |
11754 | if test "${wx_cv_gcc3+set}" = set; then | |
11755 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11756 | else | |
11757 | ||
11758 | cat >conftest.$ac_ext <<_ACEOF | |
11759 | #line $LINENO "configure" | |
11760 | /* confdefs.h. */ | |
11761 | _ACEOF | |
11762 | cat confdefs.h >>conftest.$ac_ext | |
11763 | cat >>conftest.$ac_ext <<_ACEOF | |
11764 | /* end confdefs.h. */ | |
11765 | #include <features.h> | |
11766 | int | |
11767 | main () | |
11768 | { | |
11769 | ||
11770 | #if (__GNUC__ < 3) | |
11771 | #error old gcc | |
11772 | #endif | |
11773 | ||
11774 | ; | |
11775 | return 0; | |
11776 | } | |
11777 | _ACEOF | |
11778 | rm -f conftest.$ac_objext | |
11779 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11780 | (eval $ac_compile) 2>&5 | |
11781 | ac_status=$? | |
11782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11783 | (exit $ac_status); } && | |
11784 | { ac_try='test -s conftest.$ac_objext' | |
11785 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11786 | (eval $ac_try) 2>&5 | |
11787 | ac_status=$? | |
11788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11789 | (exit $ac_status); }; }; then | |
11790 | ||
11791 | wx_cv_gcc3=yes | |
11792 | ||
11793 | else | |
11794 | echo "$as_me: failed program was:" >&5 | |
11795 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11796 | ||
11797 | ||
11798 | wx_cv_gcc3=no | |
11799 | ||
11800 | ||
11801 | fi | |
11802 | rm -f conftest.$ac_objext conftest.$ac_ext | |
11803 | ||
11804 | fi | |
11805 | echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5 | |
11806 | echo "${ECHO_T}$wx_cv_gcc3" >&6 | |
11807 | if test "$wx_cv_gcc3" = "no"; then | |
11808 | LIBS="$LIBS -lstdcpp" | |
11809 | else | |
11810 | LIBS="$LIBS -lstdcxx" | |
11811 | fi | |
2b5f62a0 VZ |
11812 | ;; |
11813 | esac | |
11814 | ||
a0b9e27f | 11815 | |
01aa5863 VS |
11816 | if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then |
11817 | echo "$as_me:$LINENO: checking for strings.h" >&5 | |
11818 | echo $ECHO_N "checking for strings.h... $ECHO_C" >&6 | |
11819 | if test "${ac_cv_header_strings_h+set}" = set; then | |
11820 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11821 | else | |
11822 | ac_cv_header_strings_h=no | |
11823 | fi | |
11824 | echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5 | |
11825 | echo "${ECHO_T}$ac_cv_header_strings_h" >&6 | |
11826 | if test "$ac_cv_header_strings_h" = "no"; then | |
11827 | echo "$as_me:$LINENO: result: forced no into cache" >&5 | |
11828 | echo "${ECHO_T}forced no into cache" >&6 | |
11829 | else | |
11830 | { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5 | |
11831 | echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;} | |
11832 | fi | |
11833 | fi | |
11834 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
e6cc62c6 VS |
11835 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
11836 | if test "${ac_cv_header_stdc+set}" = set; then | |
11837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11838 | else | |
11839 | cat >conftest.$ac_ext <<_ACEOF | |
11840 | #line $LINENO "configure" | |
11841 | /* confdefs.h. */ | |
11842 | _ACEOF | |
11843 | cat confdefs.h >>conftest.$ac_ext | |
11844 | cat >>conftest.$ac_ext <<_ACEOF | |
11845 | /* end confdefs.h. */ | |
11846 | #include <stdlib.h> | |
11847 | #include <stdarg.h> | |
11848 | #include <string.h> | |
11849 | #include <float.h> | |
247f5006 | 11850 | |
e6cc62c6 VS |
11851 | int |
11852 | main () | |
11853 | { | |
90dd450c | 11854 | |
e6cc62c6 VS |
11855 | ; |
11856 | return 0; | |
11857 | } | |
11858 | _ACEOF | |
11859 | rm -f conftest.$ac_objext | |
11860 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11861 | (eval $ac_compile) 2>&5 | |
11862 | ac_status=$? | |
11863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11864 | (exit $ac_status); } && | |
11865 | { ac_try='test -s conftest.$ac_objext' | |
11866 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11867 | (eval $ac_try) 2>&5 | |
11868 | ac_status=$? | |
11869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11870 | (exit $ac_status); }; }; then | |
11871 | ac_cv_header_stdc=yes | |
8284b0c5 | 11872 | else |
e6cc62c6 VS |
11873 | echo "$as_me: failed program was:" >&5 |
11874 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11875 | ||
11876 | ac_cv_header_stdc=no | |
21d1c967 | 11877 | fi |
e6cc62c6 | 11878 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 11879 | |
e6cc62c6 VS |
11880 | if test $ac_cv_header_stdc = yes; then |
11881 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
11882 | cat >conftest.$ac_ext <<_ACEOF | |
11883 | #line $LINENO "configure" | |
11884 | /* confdefs.h. */ | |
11885 | _ACEOF | |
11886 | cat confdefs.h >>conftest.$ac_ext | |
11887 | cat >>conftest.$ac_ext <<_ACEOF | |
11888 | /* end confdefs.h. */ | |
11889 | #include <string.h> | |
11890 | ||
11891 | _ACEOF | |
11892 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
11893 | $EGREP "memchr" >/dev/null 2>&1; then | |
11894 | : | |
11895 | else | |
11896 | ac_cv_header_stdc=no | |
3a922bb4 | 11897 | fi |
a0b9e27f | 11898 | rm -f conftest* |
e6cc62c6 | 11899 | |
90dd450c | 11900 | fi |
e6cc62c6 VS |
11901 | |
11902 | if test $ac_cv_header_stdc = yes; then | |
11903 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
11904 | cat >conftest.$ac_ext <<_ACEOF | |
11905 | #line $LINENO "configure" | |
11906 | /* confdefs.h. */ | |
11907 | _ACEOF | |
11908 | cat confdefs.h >>conftest.$ac_ext | |
11909 | cat >>conftest.$ac_ext <<_ACEOF | |
11910 | /* end confdefs.h. */ | |
11911 | #include <stdlib.h> | |
11912 | ||
11913 | _ACEOF | |
11914 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
11915 | $EGREP "free" >/dev/null 2>&1; then | |
11916 | : | |
a0b9e27f | 11917 | else |
e6cc62c6 | 11918 | ac_cv_header_stdc=no |
21d1c967 | 11919 | fi |
e6cc62c6 | 11920 | rm -f conftest* |
247f5006 VZ |
11921 | |
11922 | fi | |
e6cc62c6 VS |
11923 | |
11924 | if test $ac_cv_header_stdc = yes; then | |
11925 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
11926 | if test "$cross_compiling" = yes; then | |
11927 | : | |
11928 | else | |
11929 | cat >conftest.$ac_ext <<_ACEOF | |
11930 | #line $LINENO "configure" | |
11931 | /* confdefs.h. */ | |
11932 | _ACEOF | |
11933 | cat confdefs.h >>conftest.$ac_ext | |
11934 | cat >>conftest.$ac_ext <<_ACEOF | |
11935 | /* end confdefs.h. */ | |
11936 | #include <ctype.h> | |
11937 | #if ((' ' & 0x0FF) == 0x020) | |
11938 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
11939 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
11940 | #else | |
11941 | # define ISLOWER(c) \ | |
11942 | (('a' <= (c) && (c) <= 'i') \ | |
11943 | || ('j' <= (c) && (c) <= 'r') \ | |
11944 | || ('s' <= (c) && (c) <= 'z')) | |
11945 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
11946 | #endif | |
11947 | ||
11948 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
11949 | int | |
11950 | main () | |
11951 | { | |
11952 | int i; | |
11953 | for (i = 0; i < 256; i++) | |
11954 | if (XOR (islower (i), ISLOWER (i)) | |
11955 | || toupper (i) != TOUPPER (i)) | |
11956 | exit(2); | |
11957 | exit (0); | |
11958 | } | |
11959 | _ACEOF | |
11960 | rm -f conftest$ac_exeext | |
11961 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11962 | (eval $ac_link) 2>&5 | |
11963 | ac_status=$? | |
11964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11965 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
11966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11967 | (eval $ac_try) 2>&5 | |
11968 | ac_status=$? | |
11969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11970 | (exit $ac_status); }; }; then | |
11971 | : | |
a0b9e27f | 11972 | else |
e6cc62c6 VS |
11973 | echo "$as_me: program exited with status $ac_status" >&5 |
11974 | echo "$as_me: failed program was:" >&5 | |
11975 | sed 's/^/| /' conftest.$ac_ext >&5 | |
11976 | ||
11977 | ( exit $ac_status ) | |
11978 | ac_cv_header_stdc=no | |
11979 | fi | |
11980 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
11981 | fi | |
11982 | fi | |
11983 | fi | |
11984 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
11985 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | |
11986 | if test $ac_cv_header_stdc = yes; then | |
11987 | ||
11988 | cat >>confdefs.h <<\_ACEOF | |
11989 | #define STDC_HEADERS 1 | |
11990 | _ACEOF | |
11991 | ||
a0b9e27f | 11992 | fi |
e6cc62c6 VS |
11993 | |
11994 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
11995 | ||
11996 | ||
11997 | ||
11998 | ||
11999 | ||
12000 | ||
12001 | ||
12002 | ||
12003 | ||
12004 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
12005 | inttypes.h stdint.h unistd.h | |
12006 | do | |
12007 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
12008 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12009 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12010 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12011 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12012 | else | |
12013 | cat >conftest.$ac_ext <<_ACEOF | |
12014 | #line $LINENO "configure" | |
12015 | /* confdefs.h. */ | |
12016 | _ACEOF | |
12017 | cat confdefs.h >>conftest.$ac_ext | |
12018 | cat >>conftest.$ac_ext <<_ACEOF | |
12019 | /* end confdefs.h. */ | |
12020 | $ac_includes_default | |
12021 | ||
12022 | #include <$ac_header> | |
12023 | _ACEOF | |
12024 | rm -f conftest.$ac_objext | |
12025 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12026 | (eval $ac_compile) 2>&5 | |
12027 | ac_status=$? | |
12028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12029 | (exit $ac_status); } && | |
12030 | { ac_try='test -s conftest.$ac_objext' | |
12031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12032 | (eval $ac_try) 2>&5 | |
12033 | ac_status=$? | |
12034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12035 | (exit $ac_status); }; }; then | |
12036 | eval "$as_ac_Header=yes" | |
12037 | else | |
12038 | echo "$as_me: failed program was:" >&5 | |
12039 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12040 | ||
12041 | eval "$as_ac_Header=no" | |
12042 | fi | |
12043 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12044 | fi | |
12045 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12046 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12047 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
12048 | cat >>confdefs.h <<_ACEOF | |
12049 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12050 | _ACEOF | |
12051 | ||
12052 | fi | |
12053 | ||
a0b9e27f | 12054 | done |
90dd450c | 12055 | |
e6cc62c6 VS |
12056 | |
12057 | ||
12058 | for ac_header in strings.h | |
21d1c967 | 12059 | do |
e6cc62c6 VS |
12060 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12061 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12062 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12063 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12064 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12065 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12066 | fi | |
12067 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12068 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12069 | else | |
12070 | # Is the header compilable? | |
12071 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12072 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12073 | cat >conftest.$ac_ext <<_ACEOF | |
12074 | #line $LINENO "configure" | |
12075 | /* confdefs.h. */ | |
12076 | _ACEOF | |
12077 | cat confdefs.h >>conftest.$ac_ext | |
12078 | cat >>conftest.$ac_ext <<_ACEOF | |
12079 | /* end confdefs.h. */ | |
12080 | $ac_includes_default | |
12081 | #include <$ac_header> | |
12082 | _ACEOF | |
12083 | rm -f conftest.$ac_objext | |
12084 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12085 | (eval $ac_compile) 2>&5 | |
12086 | ac_status=$? | |
12087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12088 | (exit $ac_status); } && | |
12089 | { ac_try='test -s conftest.$ac_objext' | |
12090 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12091 | (eval $ac_try) 2>&5 | |
12092 | ac_status=$? | |
12093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12094 | (exit $ac_status); }; }; then | |
12095 | ac_header_compiler=yes | |
12096 | else | |
12097 | echo "$as_me: failed program was:" >&5 | |
12098 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12099 | ||
12100 | ac_header_compiler=no | |
12101 | fi | |
12102 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12103 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12104 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12105 | ||
12106 | # Is the header present? | |
12107 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12108 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12109 | cat >conftest.$ac_ext <<_ACEOF | |
12110 | #line $LINENO "configure" | |
12111 | /* confdefs.h. */ | |
12112 | _ACEOF | |
12113 | cat confdefs.h >>conftest.$ac_ext | |
12114 | cat >>conftest.$ac_ext <<_ACEOF | |
12115 | /* end confdefs.h. */ | |
12116 | #include <$ac_header> | |
12117 | _ACEOF | |
12118 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12119 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12120 | ac_status=$? | |
12121 | grep -v '^ *+' conftest.er1 >conftest.err | |
12122 | rm -f conftest.er1 | |
12123 | cat conftest.err >&5 | |
12124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12125 | (exit $ac_status); } >/dev/null; then | |
12126 | if test -s conftest.err; then | |
12127 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12128 | else | |
12129 | ac_cpp_err= | |
12130 | fi | |
12131 | else | |
12132 | ac_cpp_err=yes | |
12133 | fi | |
12134 | if test -z "$ac_cpp_err"; then | |
12135 | ac_header_preproc=yes | |
12136 | else | |
12137 | echo "$as_me: failed program was:" >&5 | |
12138 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12139 | ||
12140 | ac_header_preproc=no | |
12141 | fi | |
12142 | rm -f conftest.err conftest.$ac_ext | |
12143 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12144 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
12145 | ||
12146 | # So? What about this header? | |
12147 | case $ac_header_compiler:$ac_header_preproc in | |
12148 | yes:no ) | |
12149 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12150 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12151 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12152 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12153 | ( | |
12154 | cat <<\_ASBOX | |
12155 | ## ------------------------------------ ## | |
12156 | ## Report this to bug-autoconf@gnu.org. ## | |
12157 | ## ------------------------------------ ## | |
12158 | _ASBOX | |
12159 | ) | | |
12160 | sed "s/^/$as_me: WARNING: /" >&2 | |
12161 | ;; | |
12162 | no:yes ) | |
12163 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12164 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12165 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12166 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12167 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12168 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12169 | ( | |
12170 | cat <<\_ASBOX | |
12171 | ## ------------------------------------ ## | |
12172 | ## Report this to bug-autoconf@gnu.org. ## | |
12173 | ## ------------------------------------ ## | |
12174 | _ASBOX | |
12175 | ) | | |
12176 | sed "s/^/$as_me: WARNING: /" >&2 | |
12177 | ;; | |
12178 | esac | |
12179 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12180 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12181 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12182 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12183 | else | |
12184 | eval "$as_ac_Header=$ac_header_preproc" | |
a0b9e27f | 12185 | fi |
e6cc62c6 VS |
12186 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12187 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12188 | ||
a0b9e27f | 12189 | fi |
e6cc62c6 VS |
12190 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12191 | cat >>confdefs.h <<_ACEOF | |
12192 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12193 | _ACEOF | |
12194 | ||
12195 | fi | |
12196 | ||
12197 | done | |
12198 | ||
e6cc62c6 VS |
12199 | |
12200 | ||
12201 | for ac_header in stdlib.h | |
12202 | do | |
12203 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
12204 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12205 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12206 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12207 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12209 | fi | |
12210 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12211 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12212 | else | |
12213 | # Is the header compilable? | |
12214 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12215 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12216 | cat >conftest.$ac_ext <<_ACEOF | |
12217 | #line $LINENO "configure" | |
12218 | /* confdefs.h. */ | |
12219 | _ACEOF | |
12220 | cat confdefs.h >>conftest.$ac_ext | |
12221 | cat >>conftest.$ac_ext <<_ACEOF | |
12222 | /* end confdefs.h. */ | |
12223 | $ac_includes_default | |
12224 | #include <$ac_header> | |
12225 | _ACEOF | |
12226 | rm -f conftest.$ac_objext | |
12227 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12228 | (eval $ac_compile) 2>&5 | |
12229 | ac_status=$? | |
12230 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12231 | (exit $ac_status); } && | |
12232 | { ac_try='test -s conftest.$ac_objext' | |
12233 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12234 | (eval $ac_try) 2>&5 | |
12235 | ac_status=$? | |
12236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12237 | (exit $ac_status); }; }; then | |
12238 | ac_header_compiler=yes | |
12239 | else | |
12240 | echo "$as_me: failed program was:" >&5 | |
12241 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12242 | ||
12243 | ac_header_compiler=no | |
12244 | fi | |
12245 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12246 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12247 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12248 | ||
12249 | # Is the header present? | |
12250 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12251 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12252 | cat >conftest.$ac_ext <<_ACEOF | |
12253 | #line $LINENO "configure" | |
12254 | /* confdefs.h. */ | |
12255 | _ACEOF | |
12256 | cat confdefs.h >>conftest.$ac_ext | |
12257 | cat >>conftest.$ac_ext <<_ACEOF | |
12258 | /* end confdefs.h. */ | |
12259 | #include <$ac_header> | |
12260 | _ACEOF | |
12261 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12262 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12263 | ac_status=$? | |
12264 | grep -v '^ *+' conftest.er1 >conftest.err | |
12265 | rm -f conftest.er1 | |
12266 | cat conftest.err >&5 | |
12267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12268 | (exit $ac_status); } >/dev/null; then | |
12269 | if test -s conftest.err; then | |
12270 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12271 | else | |
12272 | ac_cpp_err= | |
12273 | fi | |
12274 | else | |
12275 | ac_cpp_err=yes | |
12276 | fi | |
12277 | if test -z "$ac_cpp_err"; then | |
12278 | ac_header_preproc=yes | |
12279 | else | |
12280 | echo "$as_me: failed program was:" >&5 | |
12281 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12282 | ||
12283 | ac_header_preproc=no | |
12284 | fi | |
12285 | rm -f conftest.err conftest.$ac_ext | |
12286 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12287 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
12288 | ||
12289 | # So? What about this header? | |
12290 | case $ac_header_compiler:$ac_header_preproc in | |
12291 | yes:no ) | |
12292 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12293 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12294 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12295 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12296 | ( | |
12297 | cat <<\_ASBOX | |
12298 | ## ------------------------------------ ## | |
12299 | ## Report this to bug-autoconf@gnu.org. ## | |
12300 | ## ------------------------------------ ## | |
12301 | _ASBOX | |
12302 | ) | | |
12303 | sed "s/^/$as_me: WARNING: /" >&2 | |
12304 | ;; | |
12305 | no:yes ) | |
12306 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12307 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12308 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12309 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12310 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12311 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12312 | ( | |
12313 | cat <<\_ASBOX | |
12314 | ## ------------------------------------ ## | |
12315 | ## Report this to bug-autoconf@gnu.org. ## | |
12316 | ## ------------------------------------ ## | |
12317 | _ASBOX | |
12318 | ) | | |
12319 | sed "s/^/$as_me: WARNING: /" >&2 | |
12320 | ;; | |
12321 | esac | |
12322 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12323 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12324 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12325 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 12326 | else |
e6cc62c6 VS |
12327 | eval "$as_ac_Header=$ac_header_preproc" |
12328 | fi | |
12329 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12330 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12331 | ||
21d1c967 | 12332 | fi |
e6cc62c6 VS |
12333 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12334 | cat >>confdefs.h <<_ACEOF | |
12335 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12336 | _ACEOF | |
12337 | ||
12338 | fi | |
12339 | ||
21d1c967 | 12340 | done |
4f14bcd8 | 12341 | |
5c6fa7d2 | 12342 | |
e6cc62c6 | 12343 | for ac_header in malloc.h |
21d1c967 | 12344 | do |
e6cc62c6 VS |
12345 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12346 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12347 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12348 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12349 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12351 | fi | |
12352 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12353 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12354 | else | |
12355 | # Is the header compilable? | |
12356 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12357 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12358 | cat >conftest.$ac_ext <<_ACEOF | |
12359 | #line $LINENO "configure" | |
12360 | /* confdefs.h. */ | |
12361 | _ACEOF | |
12362 | cat confdefs.h >>conftest.$ac_ext | |
12363 | cat >>conftest.$ac_ext <<_ACEOF | |
12364 | /* end confdefs.h. */ | |
12365 | $ac_includes_default | |
12366 | #include <$ac_header> | |
12367 | _ACEOF | |
12368 | rm -f conftest.$ac_objext | |
12369 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12370 | (eval $ac_compile) 2>&5 | |
12371 | ac_status=$? | |
12372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12373 | (exit $ac_status); } && | |
12374 | { ac_try='test -s conftest.$ac_objext' | |
12375 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12376 | (eval $ac_try) 2>&5 | |
12377 | ac_status=$? | |
12378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12379 | (exit $ac_status); }; }; then | |
12380 | ac_header_compiler=yes | |
12381 | else | |
12382 | echo "$as_me: failed program was:" >&5 | |
12383 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12384 | ||
12385 | ac_header_compiler=no | |
12386 | fi | |
12387 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12388 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12389 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12390 | ||
12391 | # Is the header present? | |
12392 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12393 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12394 | cat >conftest.$ac_ext <<_ACEOF | |
12395 | #line $LINENO "configure" | |
12396 | /* confdefs.h. */ | |
12397 | _ACEOF | |
12398 | cat confdefs.h >>conftest.$ac_ext | |
12399 | cat >>conftest.$ac_ext <<_ACEOF | |
12400 | /* end confdefs.h. */ | |
12401 | #include <$ac_header> | |
12402 | _ACEOF | |
12403 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12404 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12405 | ac_status=$? | |
12406 | grep -v '^ *+' conftest.er1 >conftest.err | |
12407 | rm -f conftest.er1 | |
12408 | cat conftest.err >&5 | |
12409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12410 | (exit $ac_status); } >/dev/null; then | |
12411 | if test -s conftest.err; then | |
12412 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12413 | else | |
12414 | ac_cpp_err= | |
12415 | fi | |
12416 | else | |
12417 | ac_cpp_err=yes | |
12418 | fi | |
12419 | if test -z "$ac_cpp_err"; then | |
12420 | ac_header_preproc=yes | |
12421 | else | |
12422 | echo "$as_me: failed program was:" >&5 | |
12423 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12424 | ||
12425 | ac_header_preproc=no | |
12426 | fi | |
12427 | rm -f conftest.err conftest.$ac_ext | |
12428 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12429 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
12430 | ||
12431 | # So? What about this header? | |
12432 | case $ac_header_compiler:$ac_header_preproc in | |
12433 | yes:no ) | |
12434 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12435 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12436 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12437 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12438 | ( | |
12439 | cat <<\_ASBOX | |
12440 | ## ------------------------------------ ## | |
12441 | ## Report this to bug-autoconf@gnu.org. ## | |
12442 | ## ------------------------------------ ## | |
12443 | _ASBOX | |
12444 | ) | | |
12445 | sed "s/^/$as_me: WARNING: /" >&2 | |
12446 | ;; | |
12447 | no:yes ) | |
12448 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12449 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12450 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12451 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12452 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12453 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12454 | ( | |
12455 | cat <<\_ASBOX | |
12456 | ## ------------------------------------ ## | |
12457 | ## Report this to bug-autoconf@gnu.org. ## | |
12458 | ## ------------------------------------ ## | |
12459 | _ASBOX | |
12460 | ) | | |
12461 | sed "s/^/$as_me: WARNING: /" >&2 | |
12462 | ;; | |
12463 | esac | |
12464 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12465 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12466 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12467 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12468 | else | |
12469 | eval "$as_ac_Header=$ac_header_preproc" | |
d4158b5d | 12470 | fi |
e6cc62c6 VS |
12471 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12472 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12473 | ||
21d1c967 | 12474 | fi |
e6cc62c6 VS |
12475 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12476 | cat >>confdefs.h <<_ACEOF | |
12477 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12478 | _ACEOF | |
12479 | ||
12480 | fi | |
12481 | ||
12482 | done | |
12483 | ||
12484 | ||
12485 | for ac_header in unistd.h | |
12486 | do | |
12487 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
12488 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12489 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12490 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12491 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12492 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12493 | fi | |
12494 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12495 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12496 | else | |
12497 | # Is the header compilable? | |
12498 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12499 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12500 | cat >conftest.$ac_ext <<_ACEOF | |
12501 | #line $LINENO "configure" | |
12502 | /* confdefs.h. */ | |
12503 | _ACEOF | |
12504 | cat confdefs.h >>conftest.$ac_ext | |
12505 | cat >>conftest.$ac_ext <<_ACEOF | |
12506 | /* end confdefs.h. */ | |
12507 | $ac_includes_default | |
12508 | #include <$ac_header> | |
12509 | _ACEOF | |
12510 | rm -f conftest.$ac_objext | |
12511 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12512 | (eval $ac_compile) 2>&5 | |
12513 | ac_status=$? | |
12514 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12515 | (exit $ac_status); } && | |
12516 | { ac_try='test -s conftest.$ac_objext' | |
12517 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12518 | (eval $ac_try) 2>&5 | |
12519 | ac_status=$? | |
12520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12521 | (exit $ac_status); }; }; then | |
12522 | ac_header_compiler=yes | |
12523 | else | |
12524 | echo "$as_me: failed program was:" >&5 | |
12525 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12526 | ||
12527 | ac_header_compiler=no | |
12528 | fi | |
12529 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12530 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12531 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12532 | ||
12533 | # Is the header present? | |
12534 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12535 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12536 | cat >conftest.$ac_ext <<_ACEOF | |
12537 | #line $LINENO "configure" | |
12538 | /* confdefs.h. */ | |
12539 | _ACEOF | |
12540 | cat confdefs.h >>conftest.$ac_ext | |
12541 | cat >>conftest.$ac_ext <<_ACEOF | |
12542 | /* end confdefs.h. */ | |
12543 | #include <$ac_header> | |
12544 | _ACEOF | |
12545 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12546 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12547 | ac_status=$? | |
12548 | grep -v '^ *+' conftest.er1 >conftest.err | |
12549 | rm -f conftest.er1 | |
12550 | cat conftest.err >&5 | |
12551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12552 | (exit $ac_status); } >/dev/null; then | |
12553 | if test -s conftest.err; then | |
12554 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12555 | else | |
12556 | ac_cpp_err= | |
12557 | fi | |
a0b9e27f | 12558 | else |
e6cc62c6 VS |
12559 | ac_cpp_err=yes |
12560 | fi | |
12561 | if test -z "$ac_cpp_err"; then | |
12562 | ac_header_preproc=yes | |
12563 | else | |
12564 | echo "$as_me: failed program was:" >&5 | |
12565 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12566 | ||
12567 | ac_header_preproc=no | |
12568 | fi | |
12569 | rm -f conftest.err conftest.$ac_ext | |
12570 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12571 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
12572 | ||
12573 | # So? What about this header? | |
12574 | case $ac_header_compiler:$ac_header_preproc in | |
12575 | yes:no ) | |
12576 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12577 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12578 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12579 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12580 | ( | |
12581 | cat <<\_ASBOX | |
12582 | ## ------------------------------------ ## | |
12583 | ## Report this to bug-autoconf@gnu.org. ## | |
12584 | ## ------------------------------------ ## | |
12585 | _ASBOX | |
12586 | ) | | |
12587 | sed "s/^/$as_me: WARNING: /" >&2 | |
12588 | ;; | |
12589 | no:yes ) | |
12590 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12591 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12592 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12593 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12594 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12595 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12596 | ( | |
12597 | cat <<\_ASBOX | |
12598 | ## ------------------------------------ ## | |
12599 | ## Report this to bug-autoconf@gnu.org. ## | |
12600 | ## ------------------------------------ ## | |
12601 | _ASBOX | |
12602 | ) | | |
12603 | sed "s/^/$as_me: WARNING: /" >&2 | |
12604 | ;; | |
12605 | esac | |
12606 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12607 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12608 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12609 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12610 | else | |
12611 | eval "$as_ac_Header=$ac_header_preproc" | |
12612 | fi | |
12613 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12614 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12615 | ||
12616 | fi | |
12617 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
12618 | cat >>confdefs.h <<_ACEOF | |
12619 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12620 | _ACEOF | |
12621 | ||
d4158b5d | 12622 | fi |
e6cc62c6 | 12623 | |
21d1c967 | 12624 | done |
f6bcfd97 | 12625 | |
e6cc62c6 VS |
12626 | |
12627 | for ac_header in wchar.h | |
12628 | do | |
12629 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
12630 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12631 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12632 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12633 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12634 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12635 | fi | |
12636 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12637 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12638 | else | |
12639 | # Is the header compilable? | |
12640 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12641 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12642 | cat >conftest.$ac_ext <<_ACEOF | |
12643 | #line $LINENO "configure" | |
12644 | /* confdefs.h. */ | |
12645 | _ACEOF | |
12646 | cat confdefs.h >>conftest.$ac_ext | |
12647 | cat >>conftest.$ac_ext <<_ACEOF | |
12648 | /* end confdefs.h. */ | |
12649 | $ac_includes_default | |
12650 | #include <$ac_header> | |
12651 | _ACEOF | |
12652 | rm -f conftest.$ac_objext | |
12653 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12654 | (eval $ac_compile) 2>&5 | |
12655 | ac_status=$? | |
12656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12657 | (exit $ac_status); } && | |
12658 | { ac_try='test -s conftest.$ac_objext' | |
12659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12660 | (eval $ac_try) 2>&5 | |
12661 | ac_status=$? | |
12662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12663 | (exit $ac_status); }; }; then | |
12664 | ac_header_compiler=yes | |
12665 | else | |
12666 | echo "$as_me: failed program was:" >&5 | |
12667 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12668 | ||
12669 | ac_header_compiler=no | |
12670 | fi | |
12671 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12672 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12673 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12674 | ||
12675 | # Is the header present? | |
12676 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12677 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12678 | cat >conftest.$ac_ext <<_ACEOF | |
12679 | #line $LINENO "configure" | |
12680 | /* confdefs.h. */ | |
12681 | _ACEOF | |
12682 | cat confdefs.h >>conftest.$ac_ext | |
12683 | cat >>conftest.$ac_ext <<_ACEOF | |
12684 | /* end confdefs.h. */ | |
12685 | #include <$ac_header> | |
12686 | _ACEOF | |
12687 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12688 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12689 | ac_status=$? | |
12690 | grep -v '^ *+' conftest.er1 >conftest.err | |
12691 | rm -f conftest.er1 | |
12692 | cat conftest.err >&5 | |
12693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12694 | (exit $ac_status); } >/dev/null; then | |
12695 | if test -s conftest.err; then | |
12696 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12697 | else | |
12698 | ac_cpp_err= | |
12699 | fi | |
12700 | else | |
12701 | ac_cpp_err=yes | |
12702 | fi | |
12703 | if test -z "$ac_cpp_err"; then | |
12704 | ac_header_preproc=yes | |
12705 | else | |
12706 | echo "$as_me: failed program was:" >&5 | |
12707 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12708 | ||
12709 | ac_header_preproc=no | |
12710 | fi | |
12711 | rm -f conftest.err conftest.$ac_ext | |
12712 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12713 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
12714 | ||
12715 | # So? What about this header? | |
12716 | case $ac_header_compiler:$ac_header_preproc in | |
12717 | yes:no ) | |
12718 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12719 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12720 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12721 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12722 | ( | |
12723 | cat <<\_ASBOX | |
12724 | ## ------------------------------------ ## | |
12725 | ## Report this to bug-autoconf@gnu.org. ## | |
12726 | ## ------------------------------------ ## | |
12727 | _ASBOX | |
12728 | ) | | |
12729 | sed "s/^/$as_me: WARNING: /" >&2 | |
12730 | ;; | |
12731 | no:yes ) | |
12732 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12733 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12734 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12735 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12736 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12737 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12738 | ( | |
12739 | cat <<\_ASBOX | |
12740 | ## ------------------------------------ ## | |
12741 | ## Report this to bug-autoconf@gnu.org. ## | |
12742 | ## ------------------------------------ ## | |
12743 | _ASBOX | |
12744 | ) | | |
12745 | sed "s/^/$as_me: WARNING: /" >&2 | |
12746 | ;; | |
12747 | esac | |
12748 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12749 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12750 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12751 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12752 | else | |
12753 | eval "$as_ac_Header=$ac_header_preproc" | |
12754 | fi | |
12755 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12756 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12757 | ||
90dd450c | 12758 | fi |
e6cc62c6 VS |
12759 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12760 | cat >>confdefs.h <<_ACEOF | |
12761 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12762 | _ACEOF | |
12763 | ||
12764 | fi | |
12765 | ||
12766 | done | |
90dd450c | 12767 | |
e6cc62c6 VS |
12768 | |
12769 | if test "$ac_cv_header_wchar_h" != "yes"; then | |
12770 | ||
12771 | for ac_header in wcstr.h | |
21d1c967 | 12772 | do |
e6cc62c6 VS |
12773 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12774 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12775 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12776 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12777 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12778 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12779 | fi | |
12780 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12781 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12782 | else | |
12783 | # Is the header compilable? | |
12784 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12785 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12786 | cat >conftest.$ac_ext <<_ACEOF | |
12787 | #line $LINENO "configure" | |
12788 | /* confdefs.h. */ | |
12789 | _ACEOF | |
12790 | cat confdefs.h >>conftest.$ac_ext | |
12791 | cat >>conftest.$ac_ext <<_ACEOF | |
12792 | /* end confdefs.h. */ | |
12793 | $ac_includes_default | |
12794 | #include <$ac_header> | |
12795 | _ACEOF | |
12796 | rm -f conftest.$ac_objext | |
12797 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12798 | (eval $ac_compile) 2>&5 | |
12799 | ac_status=$? | |
12800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12801 | (exit $ac_status); } && | |
12802 | { ac_try='test -s conftest.$ac_objext' | |
12803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12804 | (eval $ac_try) 2>&5 | |
12805 | ac_status=$? | |
12806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12807 | (exit $ac_status); }; }; then | |
12808 | ac_header_compiler=yes | |
12809 | else | |
12810 | echo "$as_me: failed program was:" >&5 | |
12811 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12812 | ||
12813 | ac_header_compiler=no | |
12814 | fi | |
12815 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12816 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12817 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12818 | ||
12819 | # Is the header present? | |
12820 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12821 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12822 | cat >conftest.$ac_ext <<_ACEOF | |
12823 | #line $LINENO "configure" | |
12824 | /* confdefs.h. */ | |
12825 | _ACEOF | |
12826 | cat confdefs.h >>conftest.$ac_ext | |
12827 | cat >>conftest.$ac_ext <<_ACEOF | |
12828 | /* end confdefs.h. */ | |
12829 | #include <$ac_header> | |
12830 | _ACEOF | |
12831 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12832 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12833 | ac_status=$? | |
12834 | grep -v '^ *+' conftest.er1 >conftest.err | |
12835 | rm -f conftest.er1 | |
12836 | cat conftest.err >&5 | |
12837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12838 | (exit $ac_status); } >/dev/null; then | |
12839 | if test -s conftest.err; then | |
12840 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12841 | else | |
12842 | ac_cpp_err= | |
12843 | fi | |
12844 | else | |
12845 | ac_cpp_err=yes | |
12846 | fi | |
12847 | if test -z "$ac_cpp_err"; then | |
12848 | ac_header_preproc=yes | |
12849 | else | |
12850 | echo "$as_me: failed program was:" >&5 | |
12851 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12852 | ||
12853 | ac_header_preproc=no | |
12854 | fi | |
12855 | rm -f conftest.err conftest.$ac_ext | |
12856 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12857 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
12858 | ||
12859 | # So? What about this header? | |
12860 | case $ac_header_compiler:$ac_header_preproc in | |
12861 | yes:no ) | |
12862 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12863 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12864 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12865 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12866 | ( | |
12867 | cat <<\_ASBOX | |
12868 | ## ------------------------------------ ## | |
12869 | ## Report this to bug-autoconf@gnu.org. ## | |
12870 | ## ------------------------------------ ## | |
12871 | _ASBOX | |
12872 | ) | | |
12873 | sed "s/^/$as_me: WARNING: /" >&2 | |
12874 | ;; | |
12875 | no:yes ) | |
12876 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12877 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12878 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12879 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12880 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12881 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12882 | ( | |
12883 | cat <<\_ASBOX | |
12884 | ## ------------------------------------ ## | |
12885 | ## Report this to bug-autoconf@gnu.org. ## | |
12886 | ## ------------------------------------ ## | |
12887 | _ASBOX | |
12888 | ) | | |
12889 | sed "s/^/$as_me: WARNING: /" >&2 | |
12890 | ;; | |
12891 | esac | |
12892 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12893 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12894 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12895 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12896 | else | |
12897 | eval "$as_ac_Header=$ac_header_preproc" | |
3a922bb4 | 12898 | fi |
e6cc62c6 VS |
12899 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12900 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12901 | ||
4f14bcd8 | 12902 | fi |
e6cc62c6 VS |
12903 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12904 | cat >>confdefs.h <<_ACEOF | |
12905 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
12906 | _ACEOF | |
12907 | ||
12908 | fi | |
12909 | ||
12910 | done | |
12911 | ||
12912 | fi | |
12913 | ||
12914 | ||
12915 | for ac_header in fnmatch.h | |
12916 | do | |
12917 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
12918 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12919 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12920 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12921 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12922 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12923 | fi | |
12924 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12925 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
12926 | else | |
12927 | # Is the header compilable? | |
12928 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12929 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12930 | cat >conftest.$ac_ext <<_ACEOF | |
12931 | #line $LINENO "configure" | |
12932 | /* confdefs.h. */ | |
12933 | _ACEOF | |
12934 | cat confdefs.h >>conftest.$ac_ext | |
12935 | cat >>conftest.$ac_ext <<_ACEOF | |
12936 | /* end confdefs.h. */ | |
12937 | $ac_includes_default | |
12938 | #include <$ac_header> | |
12939 | _ACEOF | |
12940 | rm -f conftest.$ac_objext | |
12941 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12942 | (eval $ac_compile) 2>&5 | |
12943 | ac_status=$? | |
12944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12945 | (exit $ac_status); } && | |
12946 | { ac_try='test -s conftest.$ac_objext' | |
12947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12948 | (eval $ac_try) 2>&5 | |
12949 | ac_status=$? | |
12950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12951 | (exit $ac_status); }; }; then | |
12952 | ac_header_compiler=yes | |
12953 | else | |
12954 | echo "$as_me: failed program was:" >&5 | |
12955 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12956 | ||
12957 | ac_header_compiler=no | |
12958 | fi | |
12959 | rm -f conftest.$ac_objext conftest.$ac_ext | |
12960 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12961 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
12962 | ||
12963 | # Is the header present? | |
12964 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12965 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12966 | cat >conftest.$ac_ext <<_ACEOF | |
12967 | #line $LINENO "configure" | |
12968 | /* confdefs.h. */ | |
12969 | _ACEOF | |
12970 | cat confdefs.h >>conftest.$ac_ext | |
12971 | cat >>conftest.$ac_ext <<_ACEOF | |
12972 | /* end confdefs.h. */ | |
12973 | #include <$ac_header> | |
12974 | _ACEOF | |
12975 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12976 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
12977 | ac_status=$? | |
12978 | grep -v '^ *+' conftest.er1 >conftest.err | |
12979 | rm -f conftest.er1 | |
12980 | cat conftest.err >&5 | |
12981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12982 | (exit $ac_status); } >/dev/null; then | |
12983 | if test -s conftest.err; then | |
12984 | ac_cpp_err=$ac_c_preproc_warn_flag | |
12985 | else | |
12986 | ac_cpp_err= | |
12987 | fi | |
12988 | else | |
12989 | ac_cpp_err=yes | |
12990 | fi | |
12991 | if test -z "$ac_cpp_err"; then | |
12992 | ac_header_preproc=yes | |
12993 | else | |
12994 | echo "$as_me: failed program was:" >&5 | |
12995 | sed 's/^/| /' conftest.$ac_ext >&5 | |
12996 | ||
12997 | ac_header_preproc=no | |
12998 | fi | |
12999 | rm -f conftest.err conftest.$ac_ext | |
13000 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
13001 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
13002 | ||
13003 | # So? What about this header? | |
13004 | case $ac_header_compiler:$ac_header_preproc in | |
13005 | yes:no ) | |
13006 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13007 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13008 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13009 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
13010 | ( | |
13011 | cat <<\_ASBOX | |
13012 | ## ------------------------------------ ## | |
13013 | ## Report this to bug-autoconf@gnu.org. ## | |
13014 | ## ------------------------------------ ## | |
13015 | _ASBOX | |
13016 | ) | | |
13017 | sed "s/^/$as_me: WARNING: /" >&2 | |
13018 | ;; | |
13019 | no:yes ) | |
13020 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
13021 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
13022 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
13023 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
13024 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13025 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
13026 | ( | |
13027 | cat <<\_ASBOX | |
13028 | ## ------------------------------------ ## | |
13029 | ## Report this to bug-autoconf@gnu.org. ## | |
13030 | ## ------------------------------------ ## | |
13031 | _ASBOX | |
13032 | ) | | |
13033 | sed "s/^/$as_me: WARNING: /" >&2 | |
13034 | ;; | |
13035 | esac | |
13036 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13037 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13038 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13039 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 13040 | else |
e6cc62c6 VS |
13041 | eval "$as_ac_Header=$ac_header_preproc" |
13042 | fi | |
13043 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13044 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
13045 | ||
21d1c967 | 13046 | fi |
e6cc62c6 VS |
13047 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13048 | cat >>confdefs.h <<_ACEOF | |
13049 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
13050 | _ACEOF | |
13051 | ||
13052 | fi | |
13053 | ||
21d1c967 | 13054 | done |
90dd450c | 13055 | |
5c6fa7d2 | 13056 | |
a0b9e27f | 13057 | if test "x$ac_cv_header_fnmatch_h" = "xyes"; then |
e6cc62c6 VS |
13058 | |
13059 | for ac_func in fnmatch | |
21d1c967 | 13060 | do |
e6cc62c6 VS |
13061 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13062 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
13063 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
13064 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
13065 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13066 | else | |
13067 | cat >conftest.$ac_ext <<_ACEOF | |
13068 | #line $LINENO "configure" | |
13069 | /* confdefs.h. */ | |
13070 | _ACEOF | |
13071 | cat confdefs.h >>conftest.$ac_ext | |
13072 | cat >>conftest.$ac_ext <<_ACEOF | |
13073 | /* end confdefs.h. */ | |
a0b9e27f | 13074 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
13075 | which can conflict with char $ac_func (); below. |
13076 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
13077 | <limits.h> exists even on freestanding compilers. */ | |
13078 | #ifdef __STDC__ | |
13079 | # include <limits.h> | |
13080 | #else | |
13081 | # include <assert.h> | |
13082 | #endif | |
a0b9e27f | 13083 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
13084 | #ifdef __cplusplus |
13085 | extern "C" | |
13086 | { | |
13087 | #endif | |
a0b9e27f | 13088 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
13089 | builtin and then its argument prototype would still apply. */ |
13090 | char $ac_func (); | |
a0b9e27f MB |
13091 | /* The GNU C library defines this for functions which it implements |
13092 | to always fail with ENOSYS. Some functions are actually named | |
13093 | something starting with __ and the normal name is an alias. */ | |
13094 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
13095 | choke me | |
13096 | #else | |
e6cc62c6 VS |
13097 | char (*f) () = $ac_func; |
13098 | #endif | |
13099 | #ifdef __cplusplus | |
13100 | } | |
a0b9e27f MB |
13101 | #endif |
13102 | ||
e6cc62c6 VS |
13103 | int |
13104 | main () | |
13105 | { | |
13106 | return f != $ac_func; | |
13107 | ; | |
13108 | return 0; | |
13109 | } | |
13110 | _ACEOF | |
13111 | rm -f conftest.$ac_objext conftest$ac_exeext | |
13112 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
13113 | (eval $ac_link) 2>&5 | |
13114 | ac_status=$? | |
13115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13116 | (exit $ac_status); } && | |
13117 | { ac_try='test -s conftest$ac_exeext' | |
13118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13119 | (eval $ac_try) 2>&5 | |
13120 | ac_status=$? | |
13121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13122 | (exit $ac_status); }; }; then | |
13123 | eval "$as_ac_var=yes" | |
13124 | else | |
13125 | echo "$as_me: failed program was:" >&5 | |
13126 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13127 | ||
13128 | eval "$as_ac_var=no" | |
13129 | fi | |
13130 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
13131 | fi | |
13132 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
13133 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
13134 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
13135 | cat >>confdefs.h <<_ACEOF | |
13136 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
13137 | _ACEOF | |
32832908 | 13138 | |
21d1c967 GD |
13139 | fi |
13140 | done | |
90dd450c | 13141 | |
a0b9e27f | 13142 | fi |
90dd450c | 13143 | |
e6cc62c6 VS |
13144 | |
13145 | for ac_header in langinfo.h | |
21d1c967 | 13146 | do |
e6cc62c6 VS |
13147 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13148 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13149 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13150 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13151 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13152 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13153 | fi | |
13154 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13155 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
13156 | else | |
13157 | # Is the header compilable? | |
13158 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
13159 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
13160 | cat >conftest.$ac_ext <<_ACEOF | |
13161 | #line $LINENO "configure" | |
13162 | /* confdefs.h. */ | |
13163 | _ACEOF | |
13164 | cat confdefs.h >>conftest.$ac_ext | |
13165 | cat >>conftest.$ac_ext <<_ACEOF | |
13166 | /* end confdefs.h. */ | |
13167 | $ac_includes_default | |
13168 | #include <$ac_header> | |
13169 | _ACEOF | |
13170 | rm -f conftest.$ac_objext | |
13171 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13172 | (eval $ac_compile) 2>&5 | |
13173 | ac_status=$? | |
13174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13175 | (exit $ac_status); } && | |
13176 | { ac_try='test -s conftest.$ac_objext' | |
13177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13178 | (eval $ac_try) 2>&5 | |
13179 | ac_status=$? | |
13180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13181 | (exit $ac_status); }; }; then | |
13182 | ac_header_compiler=yes | |
13183 | else | |
13184 | echo "$as_me: failed program was:" >&5 | |
13185 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13186 | ||
13187 | ac_header_compiler=no | |
13188 | fi | |
13189 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13190 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
13191 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
13192 | ||
13193 | # Is the header present? | |
13194 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
13195 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
13196 | cat >conftest.$ac_ext <<_ACEOF | |
13197 | #line $LINENO "configure" | |
13198 | /* confdefs.h. */ | |
13199 | _ACEOF | |
13200 | cat confdefs.h >>conftest.$ac_ext | |
13201 | cat >>conftest.$ac_ext <<_ACEOF | |
13202 | /* end confdefs.h. */ | |
13203 | #include <$ac_header> | |
13204 | _ACEOF | |
13205 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
13206 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
13207 | ac_status=$? | |
13208 | grep -v '^ *+' conftest.er1 >conftest.err | |
13209 | rm -f conftest.er1 | |
13210 | cat conftest.err >&5 | |
13211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13212 | (exit $ac_status); } >/dev/null; then | |
13213 | if test -s conftest.err; then | |
13214 | ac_cpp_err=$ac_c_preproc_warn_flag | |
13215 | else | |
13216 | ac_cpp_err= | |
13217 | fi | |
13218 | else | |
13219 | ac_cpp_err=yes | |
13220 | fi | |
13221 | if test -z "$ac_cpp_err"; then | |
13222 | ac_header_preproc=yes | |
13223 | else | |
13224 | echo "$as_me: failed program was:" >&5 | |
13225 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13226 | ||
13227 | ac_header_preproc=no | |
13228 | fi | |
13229 | rm -f conftest.err conftest.$ac_ext | |
13230 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
13231 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
13232 | ||
13233 | # So? What about this header? | |
13234 | case $ac_header_compiler:$ac_header_preproc in | |
13235 | yes:no ) | |
13236 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13237 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13238 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13239 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
13240 | ( | |
13241 | cat <<\_ASBOX | |
13242 | ## ------------------------------------ ## | |
13243 | ## Report this to bug-autoconf@gnu.org. ## | |
13244 | ## ------------------------------------ ## | |
13245 | _ASBOX | |
13246 | ) | | |
13247 | sed "s/^/$as_me: WARNING: /" >&2 | |
13248 | ;; | |
13249 | no:yes ) | |
13250 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
13251 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
13252 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
13253 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
13254 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13255 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
13256 | ( | |
13257 | cat <<\_ASBOX | |
13258 | ## ------------------------------------ ## | |
13259 | ## Report this to bug-autoconf@gnu.org. ## | |
13260 | ## ------------------------------------ ## | |
13261 | _ASBOX | |
13262 | ) | | |
13263 | sed "s/^/$as_me: WARNING: /" >&2 | |
13264 | ;; | |
13265 | esac | |
13266 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13267 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13268 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13269 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13270 | else | |
13271 | eval "$as_ac_Header=$ac_header_preproc" | |
90dd450c | 13272 | fi |
e6cc62c6 VS |
13273 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13274 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
13275 | ||
4f14bcd8 | 13276 | fi |
e6cc62c6 VS |
13277 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13278 | cat >>confdefs.h <<_ACEOF | |
13279 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
13280 | _ACEOF | |
13281 | ||
21d1c967 | 13282 | fi |
e6cc62c6 | 13283 | |
21d1c967 | 13284 | done |
3a922bb4 | 13285 | |
8284b0c5 | 13286 | |
4f5a7f74 VZ |
13287 | case "${host}" in |
13288 | *-pc-os2_emx | *-pc-os2-emx ) | |
13289 | if test $ac_cv_header_langinfo_h = "yes"; then | |
13290 | LIBS="$LIBS -lintl" | |
13291 | fi | |
13292 | ;; | |
13293 | esac | |
1542ea39 | 13294 | |
a0b9e27f | 13295 | if test "$wxUSE_GUI" = "yes"; then |
73d617c9 | 13296 | if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then |
e6cc62c6 | 13297 | |
eb69fda5 | 13298 | for ac_header in X11/Xlib.h |
21d1c967 | 13299 | do |
e6cc62c6 VS |
13300 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13301 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13302 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13303 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13304 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13306 | fi | |
13307 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13308 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
13309 | else | |
13310 | # Is the header compilable? | |
13311 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
13312 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
13313 | cat >conftest.$ac_ext <<_ACEOF | |
13314 | #line $LINENO "configure" | |
13315 | /* confdefs.h. */ | |
13316 | _ACEOF | |
13317 | cat confdefs.h >>conftest.$ac_ext | |
13318 | cat >>conftest.$ac_ext <<_ACEOF | |
13319 | /* end confdefs.h. */ | |
13320 | $ac_includes_default | |
13321 | #include <$ac_header> | |
13322 | _ACEOF | |
13323 | rm -f conftest.$ac_objext | |
13324 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13325 | (eval $ac_compile) 2>&5 | |
13326 | ac_status=$? | |
13327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13328 | (exit $ac_status); } && | |
13329 | { ac_try='test -s conftest.$ac_objext' | |
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); }; }; then | |
13335 | ac_header_compiler=yes | |
13336 | else | |
13337 | echo "$as_me: failed program was:" >&5 | |
13338 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13339 | ||
13340 | ac_header_compiler=no | |
13341 | fi | |
13342 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13343 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
13344 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
13345 | ||
13346 | # Is the header present? | |
13347 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
13348 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
13349 | cat >conftest.$ac_ext <<_ACEOF | |
13350 | #line $LINENO "configure" | |
13351 | /* confdefs.h. */ | |
13352 | _ACEOF | |
13353 | cat confdefs.h >>conftest.$ac_ext | |
13354 | cat >>conftest.$ac_ext <<_ACEOF | |
13355 | /* end confdefs.h. */ | |
13356 | #include <$ac_header> | |
13357 | _ACEOF | |
13358 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
13359 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
13360 | ac_status=$? | |
13361 | grep -v '^ *+' conftest.er1 >conftest.err | |
13362 | rm -f conftest.er1 | |
13363 | cat conftest.err >&5 | |
13364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13365 | (exit $ac_status); } >/dev/null; then | |
13366 | if test -s conftest.err; then | |
13367 | ac_cpp_err=$ac_c_preproc_warn_flag | |
13368 | else | |
13369 | ac_cpp_err= | |
13370 | fi | |
13371 | else | |
13372 | ac_cpp_err=yes | |
13373 | fi | |
13374 | if test -z "$ac_cpp_err"; then | |
13375 | ac_header_preproc=yes | |
13376 | else | |
13377 | echo "$as_me: failed program was:" >&5 | |
13378 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13379 | ||
13380 | ac_header_preproc=no | |
13381 | fi | |
13382 | rm -f conftest.err conftest.$ac_ext | |
13383 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
13384 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
13385 | ||
13386 | # So? What about this header? | |
13387 | case $ac_header_compiler:$ac_header_preproc in | |
13388 | yes:no ) | |
13389 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13390 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13391 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13392 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
13393 | ( | |
13394 | cat <<\_ASBOX | |
13395 | ## ------------------------------------ ## | |
13396 | ## Report this to bug-autoconf@gnu.org. ## | |
13397 | ## ------------------------------------ ## | |
13398 | _ASBOX | |
13399 | ) | | |
13400 | sed "s/^/$as_me: WARNING: /" >&2 | |
13401 | ;; | |
13402 | no:yes ) | |
13403 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
13404 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
13405 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
13406 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
13407 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13408 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
13409 | ( | |
13410 | cat <<\_ASBOX | |
13411 | ## ------------------------------------ ## | |
13412 | ## Report this to bug-autoconf@gnu.org. ## | |
13413 | ## ------------------------------------ ## | |
13414 | _ASBOX | |
13415 | ) | | |
13416 | sed "s/^/$as_me: WARNING: /" >&2 | |
13417 | ;; | |
13418 | esac | |
13419 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13420 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13421 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13422 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13423 | else | |
13424 | eval "$as_ac_Header=$ac_header_preproc" | |
3a922bb4 | 13425 | fi |
e6cc62c6 VS |
13426 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13427 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
13428 | ||
90dd450c | 13429 | fi |
e6cc62c6 VS |
13430 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13431 | cat >>confdefs.h <<_ACEOF | |
13432 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
13433 | _ACEOF | |
13434 | ||
247f5006 | 13435 | fi |
e6cc62c6 | 13436 | |
eb69fda5 VS |
13437 | done |
13438 | ||
13439 | ||
13440 | for ac_header in X11/XKBlib.h | |
13441 | do | |
13442 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
13443 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13444 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13445 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13446 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13447 | else | |
13448 | cat >conftest.$ac_ext <<_ACEOF | |
13449 | #line $LINENO "configure" | |
13450 | /* confdefs.h. */ | |
13451 | _ACEOF | |
13452 | cat confdefs.h >>conftest.$ac_ext | |
13453 | cat >>conftest.$ac_ext <<_ACEOF | |
13454 | /* end confdefs.h. */ | |
13455 | ||
13456 | #if HAVE_X11_XLIB_H | |
13457 | #include <X11/Xlib.h> | |
13458 | #endif | |
13459 | ||
13460 | ||
13461 | #include <$ac_header> | |
13462 | _ACEOF | |
13463 | rm -f conftest.$ac_objext | |
13464 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13465 | (eval $ac_compile) 2>&5 | |
13466 | ac_status=$? | |
13467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13468 | (exit $ac_status); } && | |
13469 | { ac_try='test -s conftest.$ac_objext' | |
13470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13471 | (eval $ac_try) 2>&5 | |
13472 | ac_status=$? | |
13473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13474 | (exit $ac_status); }; }; then | |
13475 | eval "$as_ac_Header=yes" | |
13476 | else | |
13477 | echo "$as_me: failed program was:" >&5 | |
13478 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13479 | ||
13480 | eval "$as_ac_Header=no" | |
13481 | fi | |
13482 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13483 | fi | |
13484 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13485 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
13486 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
13487 | cat >>confdefs.h <<_ACEOF | |
13488 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
13489 | _ACEOF | |
13490 | ||
13491 | fi | |
13492 | ||
247f5006 VZ |
13493 | done |
13494 | ||
a0b9e27f MB |
13495 | fi |
13496 | fi | |
247f5006 | 13497 | |
247f5006 | 13498 | |
e6cc62c6 VS |
13499 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
13500 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | |
13501 | if test "${ac_cv_c_const+set}" = set; then | |
13502 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13503 | else | |
13504 | cat >conftest.$ac_ext <<_ACEOF | |
13505 | #line $LINENO "configure" | |
13506 | /* confdefs.h. */ | |
13507 | _ACEOF | |
13508 | cat confdefs.h >>conftest.$ac_ext | |
13509 | cat >>conftest.$ac_ext <<_ACEOF | |
13510 | /* end confdefs.h. */ | |
13511 | ||
13512 | int | |
13513 | main () | |
13514 | { | |
13515 | /* FIXME: Include the comments suggested by Paul. */ | |
13516 | #ifndef __cplusplus | |
13517 | /* Ultrix mips cc rejects this. */ | |
13518 | typedef int charset[2]; | |
13519 | const charset x; | |
13520 | /* SunOS 4.1.1 cc rejects this. */ | |
13521 | char const *const *ccp; | |
13522 | char **p; | |
13523 | /* NEC SVR4.0.2 mips cc rejects this. */ | |
13524 | struct point {int x, y;}; | |
13525 | static struct point const zero = {0,0}; | |
13526 | /* AIX XL C 1.02.0.0 rejects this. | |
13527 | It does not let you subtract one const X* pointer from another in | |
13528 | an arm of an if-expression whose if-part is not a constant | |
13529 | expression */ | |
13530 | const char *g = "string"; | |
13531 | ccp = &g + (g ? g-g : 0); | |
13532 | /* HPUX 7.0 cc rejects these. */ | |
13533 | ++ccp; | |
13534 | p = (char**) ccp; | |
13535 | ccp = (char const *const *) p; | |
13536 | { /* SCO 3.2v4 cc rejects this. */ | |
13537 | char *t; | |
13538 | char const *s = 0 ? (char *) 0 : (char const *) 0; | |
13539 | ||
13540 | *t++ = 0; | |
13541 | } | |
13542 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
13543 | int x[] = {25, 17}; | |
13544 | const int *foo = &x[0]; | |
13545 | ++foo; | |
13546 | } | |
13547 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
13548 | typedef const int *iptr; | |
13549 | iptr p = 0; | |
13550 | ++p; | |
13551 | } | |
13552 | { /* AIX XL C 1.02.0.0 rejects this saying | |
13553 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
13554 | struct s { int j; const int *ap[3]; }; | |
13555 | struct s *b; b->j = 5; | |
13556 | } | |
13557 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
13558 | const int foo = 10; | |
13559 | } | |
13560 | #endif | |
13561 | ||
13562 | ; | |
13563 | return 0; | |
13564 | } | |
13565 | _ACEOF | |
13566 | rm -f conftest.$ac_objext | |
13567 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13568 | (eval $ac_compile) 2>&5 | |
13569 | ac_status=$? | |
13570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13571 | (exit $ac_status); } && | |
13572 | { ac_try='test -s conftest.$ac_objext' | |
13573 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13574 | (eval $ac_try) 2>&5 | |
13575 | ac_status=$? | |
13576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13577 | (exit $ac_status); }; }; then | |
a0b9e27f | 13578 | ac_cv_c_const=yes |
247f5006 | 13579 | else |
e6cc62c6 VS |
13580 | echo "$as_me: failed program was:" >&5 |
13581 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13582 | ||
13583 | ac_cv_c_const=no | |
247f5006 | 13584 | fi |
e6cc62c6 | 13585 | rm -f conftest.$ac_objext conftest.$ac_ext |
21d1c967 | 13586 | fi |
e6cc62c6 VS |
13587 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
13588 | echo "${ECHO_T}$ac_cv_c_const" >&6 | |
a0b9e27f | 13589 | if test $ac_cv_c_const = no; then |
e6cc62c6 VS |
13590 | |
13591 | cat >>confdefs.h <<\_ACEOF | |
13592 | #define const | |
13593 | _ACEOF | |
10f2d63a | 13594 | |
90dd450c | 13595 | fi |
81809c07 | 13596 | |
e6cc62c6 VS |
13597 | echo "$as_me:$LINENO: checking for inline" >&5 |
13598 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | |
13599 | if test "${ac_cv_c_inline+set}" = set; then | |
13600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8168de4c | 13601 | else |
a0b9e27f MB |
13602 | ac_cv_c_inline=no |
13603 | for ac_kw in inline __inline__ __inline; do | |
e6cc62c6 VS |
13604 | cat >conftest.$ac_ext <<_ACEOF |
13605 | #line $LINENO "configure" | |
13606 | /* confdefs.h. */ | |
13607 | _ACEOF | |
13608 | cat confdefs.h >>conftest.$ac_ext | |
13609 | cat >>conftest.$ac_ext <<_ACEOF | |
13610 | /* end confdefs.h. */ | |
13611 | #ifndef __cplusplus | |
13612 | typedef int foo_t; | |
13613 | static $ac_kw foo_t static_foo () {return 0; } | |
13614 | $ac_kw foo_t foo () {return 0; } | |
13615 | #endif | |
a0b9e27f | 13616 | |
e6cc62c6 VS |
13617 | _ACEOF |
13618 | rm -f conftest.$ac_objext | |
13619 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13620 | (eval $ac_compile) 2>&5 | |
13621 | ac_status=$? | |
13622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13623 | (exit $ac_status); } && | |
13624 | { ac_try='test -s conftest.$ac_objext' | |
13625 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13626 | (eval $ac_try) 2>&5 | |
13627 | ac_status=$? | |
13628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13629 | (exit $ac_status); }; }; then | |
a0b9e27f | 13630 | ac_cv_c_inline=$ac_kw; break |
247f5006 | 13631 | else |
e6cc62c6 VS |
13632 | echo "$as_me: failed program was:" >&5 |
13633 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13634 | ||
247f5006 | 13635 | fi |
e6cc62c6 | 13636 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 13637 | done |
247f5006 VZ |
13638 | |
13639 | fi | |
e6cc62c6 VS |
13640 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
13641 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | |
13642 | case $ac_cv_c_inline in | |
a0b9e27f | 13643 | inline | yes) ;; |
e6cc62c6 VS |
13644 | no) |
13645 | cat >>confdefs.h <<\_ACEOF | |
13646 | #define inline | |
13647 | _ACEOF | |
a0b9e27f | 13648 | ;; |
e6cc62c6 | 13649 | *) cat >>confdefs.h <<_ACEOF |
a0b9e27f | 13650 | #define inline $ac_cv_c_inline |
e6cc62c6 | 13651 | _ACEOF |
a0b9e27f MB |
13652 | ;; |
13653 | esac | |
247f5006 | 13654 | |
247f5006 | 13655 | |
e6cc62c6 VS |
13656 | echo "$as_me:$LINENO: checking for char" >&5 |
13657 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | |
13658 | if test "${ac_cv_type_char+set}" = set; then | |
13659 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13660 | else | |
13661 | cat >conftest.$ac_ext <<_ACEOF | |
13662 | #line $LINENO "configure" | |
13663 | /* confdefs.h. */ | |
13664 | _ACEOF | |
13665 | cat confdefs.h >>conftest.$ac_ext | |
13666 | cat >>conftest.$ac_ext <<_ACEOF | |
13667 | /* end confdefs.h. */ | |
13668 | $ac_includes_default | |
13669 | int | |
13670 | main () | |
13671 | { | |
13672 | if ((char *) 0) | |
13673 | return 0; | |
13674 | if (sizeof (char)) | |
13675 | return 0; | |
13676 | ; | |
13677 | return 0; | |
13678 | } | |
13679 | _ACEOF | |
13680 | rm -f conftest.$ac_objext | |
13681 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13682 | (eval $ac_compile) 2>&5 | |
13683 | ac_status=$? | |
13684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13685 | (exit $ac_status); } && | |
13686 | { ac_try='test -s conftest.$ac_objext' | |
13687 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13688 | (eval $ac_try) 2>&5 | |
13689 | ac_status=$? | |
13690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13691 | (exit $ac_status); }; }; then | |
13692 | ac_cv_type_char=yes | |
13693 | else | |
13694 | echo "$as_me: failed program was:" >&5 | |
13695 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13696 | ||
13697 | ac_cv_type_char=no | |
13698 | fi | |
13699 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13700 | fi | |
13701 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | |
13702 | echo "${ECHO_T}$ac_cv_type_char" >&6 | |
13703 | ||
13704 | echo "$as_me:$LINENO: checking size of char" >&5 | |
13705 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | |
13706 | if test "${ac_cv_sizeof_char+set}" = set; then | |
13707 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13708 | else | |
13709 | if test "$ac_cv_type_char" = yes; then | |
13710 | # The cast to unsigned long works around a bug in the HP C Compiler | |
13711 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
13712 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
13713 | # This bug is HP SR number 8606223364. | |
a0b9e27f | 13714 | if test "$cross_compiling" = yes; then |
e6cc62c6 VS |
13715 | # Depending upon the size, compute the lo and hi bounds. |
13716 | cat >conftest.$ac_ext <<_ACEOF | |
13717 | #line $LINENO "configure" | |
13718 | /* confdefs.h. */ | |
13719 | _ACEOF | |
13720 | cat confdefs.h >>conftest.$ac_ext | |
13721 | cat >>conftest.$ac_ext <<_ACEOF | |
13722 | /* end confdefs.h. */ | |
13723 | $ac_includes_default | |
13724 | int | |
13725 | main () | |
13726 | { | |
13727 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; | |
13728 | test_array [0] = 0 | |
13729 | ||
13730 | ; | |
13731 | return 0; | |
13732 | } | |
13733 | _ACEOF | |
13734 | rm -f conftest.$ac_objext | |
13735 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13736 | (eval $ac_compile) 2>&5 | |
13737 | ac_status=$? | |
13738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13739 | (exit $ac_status); } && | |
13740 | { ac_try='test -s conftest.$ac_objext' | |
13741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13742 | (eval $ac_try) 2>&5 | |
13743 | ac_status=$? | |
13744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13745 | (exit $ac_status); }; }; then | |
13746 | ac_lo=0 ac_mid=0 | |
13747 | while :; do | |
13748 | cat >conftest.$ac_ext <<_ACEOF | |
13749 | #line $LINENO "configure" | |
13750 | /* confdefs.h. */ | |
13751 | _ACEOF | |
13752 | cat confdefs.h >>conftest.$ac_ext | |
13753 | cat >>conftest.$ac_ext <<_ACEOF | |
13754 | /* end confdefs.h. */ | |
13755 | $ac_includes_default | |
13756 | int | |
13757 | main () | |
13758 | { | |
13759 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; | |
13760 | test_array [0] = 0 | |
13761 | ||
13762 | ; | |
13763 | return 0; | |
13764 | } | |
13765 | _ACEOF | |
13766 | rm -f conftest.$ac_objext | |
13767 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13768 | (eval $ac_compile) 2>&5 | |
13769 | ac_status=$? | |
13770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13771 | (exit $ac_status); } && | |
13772 | { ac_try='test -s conftest.$ac_objext' | |
13773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13774 | (eval $ac_try) 2>&5 | |
13775 | ac_status=$? | |
13776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13777 | (exit $ac_status); }; }; then | |
13778 | ac_hi=$ac_mid; break | |
13779 | else | |
13780 | echo "$as_me: failed program was:" >&5 | |
13781 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13782 | ||
13783 | ac_lo=`expr $ac_mid + 1` | |
13784 | if test $ac_lo -le $ac_mid; then | |
13785 | ac_lo= ac_hi= | |
13786 | break | |
13787 | fi | |
13788 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
13789 | fi | |
13790 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13791 | done | |
a0b9e27f | 13792 | else |
e6cc62c6 VS |
13793 | echo "$as_me: failed program was:" >&5 |
13794 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13795 | ||
13796 | cat >conftest.$ac_ext <<_ACEOF | |
13797 | #line $LINENO "configure" | |
13798 | /* confdefs.h. */ | |
13799 | _ACEOF | |
13800 | cat confdefs.h >>conftest.$ac_ext | |
13801 | cat >>conftest.$ac_ext <<_ACEOF | |
13802 | /* end confdefs.h. */ | |
13803 | $ac_includes_default | |
13804 | int | |
13805 | main () | |
13806 | { | |
13807 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; | |
13808 | test_array [0] = 0 | |
13809 | ||
13810 | ; | |
13811 | return 0; | |
13812 | } | |
13813 | _ACEOF | |
13814 | rm -f conftest.$ac_objext | |
13815 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13816 | (eval $ac_compile) 2>&5 | |
13817 | ac_status=$? | |
13818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13819 | (exit $ac_status); } && | |
13820 | { ac_try='test -s conftest.$ac_objext' | |
13821 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13822 | (eval $ac_try) 2>&5 | |
13823 | ac_status=$? | |
13824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13825 | (exit $ac_status); }; }; then | |
13826 | ac_hi=-1 ac_mid=-1 | |
13827 | while :; do | |
13828 | cat >conftest.$ac_ext <<_ACEOF | |
13829 | #line $LINENO "configure" | |
13830 | /* confdefs.h. */ | |
13831 | _ACEOF | |
13832 | cat confdefs.h >>conftest.$ac_ext | |
13833 | cat >>conftest.$ac_ext <<_ACEOF | |
13834 | /* end confdefs.h. */ | |
13835 | $ac_includes_default | |
13836 | int | |
13837 | main () | |
13838 | { | |
13839 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; | |
13840 | test_array [0] = 0 | |
13841 | ||
13842 | ; | |
13843 | return 0; | |
13844 | } | |
13845 | _ACEOF | |
13846 | rm -f conftest.$ac_objext | |
13847 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13848 | (eval $ac_compile) 2>&5 | |
13849 | ac_status=$? | |
13850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13851 | (exit $ac_status); } && | |
13852 | { ac_try='test -s conftest.$ac_objext' | |
13853 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13854 | (eval $ac_try) 2>&5 | |
13855 | ac_status=$? | |
13856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13857 | (exit $ac_status); }; }; then | |
13858 | ac_lo=$ac_mid; break | |
13859 | else | |
13860 | echo "$as_me: failed program was:" >&5 | |
13861 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13862 | ||
13863 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
13864 | if test $ac_mid -le $ac_hi; then | |
13865 | ac_lo= ac_hi= | |
13866 | break | |
13867 | fi | |
13868 | ac_mid=`expr 2 '*' $ac_mid` | |
13869 | fi | |
13870 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13871 | done | |
13872 | else | |
13873 | echo "$as_me: failed program was:" >&5 | |
13874 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13875 | ||
13876 | ac_lo= ac_hi= | |
13877 | fi | |
13878 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13879 | fi | |
13880 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13881 | # Binary search between lo and hi bounds. | |
13882 | while test "x$ac_lo" != "x$ac_hi"; do | |
13883 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
13884 | cat >conftest.$ac_ext <<_ACEOF | |
13885 | #line $LINENO "configure" | |
13886 | /* confdefs.h. */ | |
13887 | _ACEOF | |
13888 | cat confdefs.h >>conftest.$ac_ext | |
13889 | cat >>conftest.$ac_ext <<_ACEOF | |
13890 | /* end confdefs.h. */ | |
13891 | $ac_includes_default | |
13892 | int | |
13893 | main () | |
13894 | { | |
13895 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; | |
13896 | test_array [0] = 0 | |
13897 | ||
13898 | ; | |
13899 | return 0; | |
13900 | } | |
13901 | _ACEOF | |
13902 | rm -f conftest.$ac_objext | |
13903 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13904 | (eval $ac_compile) 2>&5 | |
13905 | ac_status=$? | |
13906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13907 | (exit $ac_status); } && | |
13908 | { ac_try='test -s conftest.$ac_objext' | |
13909 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13910 | (eval $ac_try) 2>&5 | |
13911 | ac_status=$? | |
13912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13913 | (exit $ac_status); }; }; then | |
13914 | ac_hi=$ac_mid | |
13915 | else | |
13916 | echo "$as_me: failed program was:" >&5 | |
13917 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13918 | ||
13919 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
13920 | fi | |
13921 | rm -f conftest.$ac_objext conftest.$ac_ext | |
13922 | done | |
13923 | case $ac_lo in | |
13924 | ?*) ac_cv_sizeof_char=$ac_lo;; | |
13925 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 | |
13926 | See \`config.log' for more details." >&5 | |
13927 | echo "$as_me: error: cannot compute sizeof (char), 77 | |
13928 | See \`config.log' for more details." >&2;} | |
13929 | { (exit 1); exit 1; }; } ;; | |
13930 | esac | |
13931 | else | |
13932 | if test "$cross_compiling" = yes; then | |
13933 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
13934 | See \`config.log' for more details." >&5 | |
13935 | echo "$as_me: error: cannot run test program while cross compiling | |
13936 | See \`config.log' for more details." >&2;} | |
13937 | { (exit 1); exit 1; }; } | |
13938 | else | |
13939 | cat >conftest.$ac_ext <<_ACEOF | |
13940 | #line $LINENO "configure" | |
13941 | /* confdefs.h. */ | |
13942 | _ACEOF | |
13943 | cat confdefs.h >>conftest.$ac_ext | |
13944 | cat >>conftest.$ac_ext <<_ACEOF | |
13945 | /* end confdefs.h. */ | |
13946 | $ac_includes_default | |
13947 | long longval () { return (long) (sizeof (char)); } | |
13948 | unsigned long ulongval () { return (long) (sizeof (char)); } | |
a0b9e27f | 13949 | #include <stdio.h> |
e6cc62c6 VS |
13950 | #include <stdlib.h> |
13951 | int | |
13952 | main () | |
247f5006 | 13953 | { |
e6cc62c6 VS |
13954 | |
13955 | FILE *f = fopen ("conftest.val", "w"); | |
13956 | if (! f) | |
13957 | exit (1); | |
13958 | if (((long) (sizeof (char))) < 0) | |
13959 | { | |
13960 | long i = longval (); | |
13961 | if (i != ((long) (sizeof (char)))) | |
13962 | exit (1); | |
13963 | fprintf (f, "%ld\n", i); | |
13964 | } | |
13965 | else | |
13966 | { | |
13967 | unsigned long i = ulongval (); | |
13968 | if (i != ((long) (sizeof (char)))) | |
13969 | exit (1); | |
13970 | fprintf (f, "%lu\n", i); | |
13971 | } | |
13972 | exit (ferror (f) || fclose (f) != 0); | |
13973 | ||
13974 | ; | |
13975 | return 0; | |
52127426 | 13976 | } |
e6cc62c6 VS |
13977 | _ACEOF |
13978 | rm -f conftest$ac_exeext | |
13979 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
13980 | (eval $ac_link) 2>&5 | |
13981 | ac_status=$? | |
13982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13983 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
13984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13985 | (eval $ac_try) 2>&5 | |
13986 | ac_status=$? | |
13987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13988 | (exit $ac_status); }; }; then | |
13989 | ac_cv_sizeof_char=`cat conftest.val` | |
13990 | else | |
13991 | echo "$as_me: program exited with status $ac_status" >&5 | |
13992 | echo "$as_me: failed program was:" >&5 | |
13993 | sed 's/^/| /' conftest.$ac_ext >&5 | |
13994 | ||
13995 | ( exit $ac_status ) | |
13996 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 | |
13997 | See \`config.log' for more details." >&5 | |
13998 | echo "$as_me: error: cannot compute sizeof (char), 77 | |
13999 | See \`config.log' for more details." >&2;} | |
14000 | { (exit 1); exit 1; }; } | |
14001 | fi | |
14002 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
14003 | fi | |
14004 | fi | |
14005 | rm -f conftest.val | |
247f5006 | 14006 | else |
a0b9e27f | 14007 | ac_cv_sizeof_char=0 |
247f5006 | 14008 | fi |
247f5006 | 14009 | fi |
e6cc62c6 VS |
14010 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
14011 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | |
14012 | cat >>confdefs.h <<_ACEOF | |
14013 | #define SIZEOF_CHAR $ac_cv_sizeof_char | |
14014 | _ACEOF | |
14015 | ||
14016 | ||
14017 | echo "$as_me:$LINENO: checking for short" >&5 | |
14018 | echo $ECHO_N "checking for short... $ECHO_C" >&6 | |
14019 | if test "${ac_cv_type_short+set}" = set; then | |
14020 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14021 | else | |
14022 | cat >conftest.$ac_ext <<_ACEOF | |
14023 | #line $LINENO "configure" | |
14024 | /* confdefs.h. */ | |
14025 | _ACEOF | |
14026 | cat confdefs.h >>conftest.$ac_ext | |
14027 | cat >>conftest.$ac_ext <<_ACEOF | |
14028 | /* end confdefs.h. */ | |
14029 | $ac_includes_default | |
14030 | int | |
14031 | main () | |
14032 | { | |
14033 | if ((short *) 0) | |
14034 | return 0; | |
14035 | if (sizeof (short)) | |
14036 | return 0; | |
14037 | ; | |
14038 | return 0; | |
14039 | } | |
14040 | _ACEOF | |
14041 | rm -f conftest.$ac_objext | |
14042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14043 | (eval $ac_compile) 2>&5 | |
14044 | ac_status=$? | |
14045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14046 | (exit $ac_status); } && | |
14047 | { ac_try='test -s conftest.$ac_objext' | |
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); }; }; then | |
14053 | ac_cv_type_short=yes | |
14054 | else | |
14055 | echo "$as_me: failed program was:" >&5 | |
14056 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14057 | ||
14058 | ac_cv_type_short=no | |
14059 | fi | |
14060 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14061 | fi | |
14062 | echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 | |
14063 | echo "${ECHO_T}$ac_cv_type_short" >&6 | |
14064 | ||
14065 | echo "$as_me:$LINENO: checking size of short" >&5 | |
14066 | echo $ECHO_N "checking size of short... $ECHO_C" >&6 | |
14067 | if test "${ac_cv_sizeof_short+set}" = set; then | |
14068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14069 | else | |
14070 | if test "$ac_cv_type_short" = yes; then | |
14071 | # The cast to unsigned long works around a bug in the HP C Compiler | |
14072 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
14073 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
14074 | # This bug is HP SR number 8606223364. | |
14075 | if test "$cross_compiling" = yes; then | |
14076 | # Depending upon the size, compute the lo and hi bounds. | |
14077 | cat >conftest.$ac_ext <<_ACEOF | |
14078 | #line $LINENO "configure" | |
14079 | /* confdefs.h. */ | |
14080 | _ACEOF | |
14081 | cat confdefs.h >>conftest.$ac_ext | |
14082 | cat >>conftest.$ac_ext <<_ACEOF | |
14083 | /* end confdefs.h. */ | |
14084 | $ac_includes_default | |
14085 | int | |
14086 | main () | |
14087 | { | |
14088 | static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; | |
14089 | test_array [0] = 0 | |
247f5006 | 14090 | |
e6cc62c6 VS |
14091 | ; |
14092 | return 0; | |
14093 | } | |
14094 | _ACEOF | |
14095 | rm -f conftest.$ac_objext | |
14096 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14097 | (eval $ac_compile) 2>&5 | |
14098 | ac_status=$? | |
14099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14100 | (exit $ac_status); } && | |
14101 | { ac_try='test -s conftest.$ac_objext' | |
14102 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14103 | (eval $ac_try) 2>&5 | |
14104 | ac_status=$? | |
14105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14106 | (exit $ac_status); }; }; then | |
14107 | ac_lo=0 ac_mid=0 | |
14108 | while :; do | |
14109 | cat >conftest.$ac_ext <<_ACEOF | |
14110 | #line $LINENO "configure" | |
14111 | /* confdefs.h. */ | |
14112 | _ACEOF | |
14113 | cat confdefs.h >>conftest.$ac_ext | |
14114 | cat >>conftest.$ac_ext <<_ACEOF | |
14115 | /* end confdefs.h. */ | |
14116 | $ac_includes_default | |
14117 | int | |
14118 | main () | |
14119 | { | |
14120 | static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; | |
14121 | test_array [0] = 0 | |
14122 | ||
14123 | ; | |
14124 | return 0; | |
14125 | } | |
14126 | _ACEOF | |
14127 | rm -f conftest.$ac_objext | |
14128 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14129 | (eval $ac_compile) 2>&5 | |
14130 | ac_status=$? | |
14131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14132 | (exit $ac_status); } && | |
14133 | { ac_try='test -s conftest.$ac_objext' | |
14134 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14135 | (eval $ac_try) 2>&5 | |
14136 | ac_status=$? | |
14137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14138 | (exit $ac_status); }; }; then | |
14139 | ac_hi=$ac_mid; break | |
14140 | else | |
14141 | echo "$as_me: failed program was:" >&5 | |
14142 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14143 | ||
14144 | ac_lo=`expr $ac_mid + 1` | |
14145 | if test $ac_lo -le $ac_mid; then | |
14146 | ac_lo= ac_hi= | |
14147 | break | |
14148 | fi | |
14149 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
247f5006 | 14150 | fi |
e6cc62c6 VS |
14151 | rm -f conftest.$ac_objext conftest.$ac_ext |
14152 | done | |
14153 | else | |
14154 | echo "$as_me: failed program was:" >&5 | |
14155 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14156 | ||
14157 | cat >conftest.$ac_ext <<_ACEOF | |
14158 | #line $LINENO "configure" | |
14159 | /* confdefs.h. */ | |
14160 | _ACEOF | |
14161 | cat confdefs.h >>conftest.$ac_ext | |
14162 | cat >>conftest.$ac_ext <<_ACEOF | |
14163 | /* end confdefs.h. */ | |
14164 | $ac_includes_default | |
14165 | int | |
14166 | main () | |
14167 | { | |
14168 | static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; | |
14169 | test_array [0] = 0 | |
247f5006 | 14170 | |
e6cc62c6 VS |
14171 | ; |
14172 | return 0; | |
14173 | } | |
14174 | _ACEOF | |
14175 | rm -f conftest.$ac_objext | |
14176 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14177 | (eval $ac_compile) 2>&5 | |
14178 | ac_status=$? | |
14179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14180 | (exit $ac_status); } && | |
14181 | { ac_try='test -s conftest.$ac_objext' | |
14182 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14183 | (eval $ac_try) 2>&5 | |
14184 | ac_status=$? | |
14185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14186 | (exit $ac_status); }; }; then | |
14187 | ac_hi=-1 ac_mid=-1 | |
14188 | while :; do | |
14189 | cat >conftest.$ac_ext <<_ACEOF | |
14190 | #line $LINENO "configure" | |
14191 | /* confdefs.h. */ | |
14192 | _ACEOF | |
14193 | cat confdefs.h >>conftest.$ac_ext | |
14194 | cat >>conftest.$ac_ext <<_ACEOF | |
14195 | /* end confdefs.h. */ | |
14196 | $ac_includes_default | |
14197 | int | |
14198 | main () | |
14199 | { | |
14200 | static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; | |
14201 | test_array [0] = 0 | |
247f5006 | 14202 | |
e6cc62c6 VS |
14203 | ; |
14204 | return 0; | |
14205 | } | |
14206 | _ACEOF | |
14207 | rm -f conftest.$ac_objext | |
14208 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14209 | (eval $ac_compile) 2>&5 | |
14210 | ac_status=$? | |
14211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14212 | (exit $ac_status); } && | |
14213 | { ac_try='test -s conftest.$ac_objext' | |
14214 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14215 | (eval $ac_try) 2>&5 | |
14216 | ac_status=$? | |
14217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14218 | (exit $ac_status); }; }; then | |
14219 | ac_lo=$ac_mid; break | |
14220 | else | |
14221 | echo "$as_me: failed program was:" >&5 | |
14222 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14223 | ||
14224 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
14225 | if test $ac_mid -le $ac_hi; then | |
14226 | ac_lo= ac_hi= | |
14227 | break | |
14228 | fi | |
14229 | ac_mid=`expr 2 '*' $ac_mid` | |
14230 | fi | |
14231 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14232 | done | |
247f5006 | 14233 | else |
e6cc62c6 VS |
14234 | echo "$as_me: failed program was:" >&5 |
14235 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14236 | ||
14237 | ac_lo= ac_hi= | |
14238 | fi | |
14239 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14240 | fi | |
14241 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14242 | # Binary search between lo and hi bounds. | |
14243 | while test "x$ac_lo" != "x$ac_hi"; do | |
14244 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
14245 | cat >conftest.$ac_ext <<_ACEOF | |
14246 | #line $LINENO "configure" | |
14247 | /* confdefs.h. */ | |
14248 | _ACEOF | |
14249 | cat confdefs.h >>conftest.$ac_ext | |
14250 | cat >>conftest.$ac_ext <<_ACEOF | |
14251 | /* end confdefs.h. */ | |
14252 | $ac_includes_default | |
14253 | int | |
14254 | main () | |
14255 | { | |
14256 | static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; | |
14257 | test_array [0] = 0 | |
14258 | ||
14259 | ; | |
14260 | return 0; | |
14261 | } | |
14262 | _ACEOF | |
14263 | rm -f conftest.$ac_objext | |
14264 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14265 | (eval $ac_compile) 2>&5 | |
14266 | ac_status=$? | |
14267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14268 | (exit $ac_status); } && | |
14269 | { ac_try='test -s conftest.$ac_objext' | |
14270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14271 | (eval $ac_try) 2>&5 | |
14272 | ac_status=$? | |
14273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14274 | (exit $ac_status); }; }; then | |
14275 | ac_hi=$ac_mid | |
14276 | else | |
14277 | echo "$as_me: failed program was:" >&5 | |
14278 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14279 | ||
14280 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
14281 | fi | |
14282 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14283 | done | |
14284 | case $ac_lo in | |
14285 | ?*) ac_cv_sizeof_short=$ac_lo;; | |
14286 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 | |
14287 | See \`config.log' for more details." >&5 | |
14288 | echo "$as_me: error: cannot compute sizeof (short), 77 | |
14289 | See \`config.log' for more details." >&2;} | |
14290 | { (exit 1); exit 1; }; } ;; | |
14291 | esac | |
247f5006 | 14292 | else |
e6cc62c6 VS |
14293 | if test "$cross_compiling" = yes; then |
14294 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
14295 | See \`config.log' for more details." >&5 | |
14296 | echo "$as_me: error: cannot run test program while cross compiling | |
14297 | See \`config.log' for more details." >&2;} | |
14298 | { (exit 1); exit 1; }; } | |
14299 | else | |
14300 | cat >conftest.$ac_ext <<_ACEOF | |
14301 | #line $LINENO "configure" | |
14302 | /* confdefs.h. */ | |
14303 | _ACEOF | |
14304 | cat confdefs.h >>conftest.$ac_ext | |
14305 | cat >>conftest.$ac_ext <<_ACEOF | |
14306 | /* end confdefs.h. */ | |
14307 | $ac_includes_default | |
14308 | long longval () { return (long) (sizeof (short)); } | |
14309 | unsigned long ulongval () { return (long) (sizeof (short)); } | |
a0b9e27f | 14310 | #include <stdio.h> |
e6cc62c6 VS |
14311 | #include <stdlib.h> |
14312 | int | |
14313 | main () | |
a0b9e27f | 14314 | { |
e6cc62c6 VS |
14315 | |
14316 | FILE *f = fopen ("conftest.val", "w"); | |
14317 | if (! f) | |
14318 | exit (1); | |
14319 | if (((long) (sizeof (short))) < 0) | |
14320 | { | |
14321 | long i = longval (); | |
14322 | if (i != ((long) (sizeof (short)))) | |
14323 | exit (1); | |
14324 | fprintf (f, "%ld\n", i); | |
14325 | } | |
14326 | else | |
14327 | { | |
14328 | unsigned long i = ulongval (); | |
14329 | if (i != ((long) (sizeof (short)))) | |
14330 | exit (1); | |
14331 | fprintf (f, "%lu\n", i); | |
14332 | } | |
14333 | exit (ferror (f) || fclose (f) != 0); | |
14334 | ||
14335 | ; | |
14336 | return 0; | |
a0b9e27f | 14337 | } |
e6cc62c6 VS |
14338 | _ACEOF |
14339 | rm -f conftest$ac_exeext | |
14340 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
14341 | (eval $ac_link) 2>&5 | |
14342 | ac_status=$? | |
14343 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14344 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
14345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14346 | (eval $ac_try) 2>&5 | |
14347 | ac_status=$? | |
14348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14349 | (exit $ac_status); }; }; then | |
14350 | ac_cv_sizeof_short=`cat conftest.val` | |
14351 | else | |
14352 | echo "$as_me: program exited with status $ac_status" >&5 | |
14353 | echo "$as_me: failed program was:" >&5 | |
14354 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14355 | ||
14356 | ( exit $ac_status ) | |
14357 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 | |
14358 | See \`config.log' for more details." >&5 | |
14359 | echo "$as_me: error: cannot compute sizeof (short), 77 | |
14360 | See \`config.log' for more details." >&2;} | |
14361 | { (exit 1); exit 1; }; } | |
14362 | fi | |
14363 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
14364 | fi | |
14365 | fi | |
14366 | rm -f conftest.val | |
247f5006 | 14367 | else |
a0b9e27f | 14368 | ac_cv_sizeof_short=0 |
247f5006 | 14369 | fi |
247f5006 | 14370 | fi |
e6cc62c6 VS |
14371 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
14372 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6 | |
14373 | cat >>confdefs.h <<_ACEOF | |
14374 | #define SIZEOF_SHORT $ac_cv_sizeof_short | |
14375 | _ACEOF | |
14376 | ||
14377 | ||
14378 | echo "$as_me:$LINENO: checking for void *" >&5 | |
14379 | echo $ECHO_N "checking for void *... $ECHO_C" >&6 | |
14380 | if test "${ac_cv_type_void_p+set}" = set; then | |
14381 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14382 | else | |
14383 | cat >conftest.$ac_ext <<_ACEOF | |
14384 | #line $LINENO "configure" | |
14385 | /* confdefs.h. */ | |
14386 | _ACEOF | |
14387 | cat confdefs.h >>conftest.$ac_ext | |
14388 | cat >>conftest.$ac_ext <<_ACEOF | |
14389 | /* end confdefs.h. */ | |
14390 | $ac_includes_default | |
14391 | int | |
14392 | main () | |
14393 | { | |
14394 | if ((void * *) 0) | |
14395 | return 0; | |
14396 | if (sizeof (void *)) | |
14397 | return 0; | |
14398 | ; | |
14399 | return 0; | |
14400 | } | |
14401 | _ACEOF | |
14402 | rm -f conftest.$ac_objext | |
14403 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14404 | (eval $ac_compile) 2>&5 | |
14405 | ac_status=$? | |
14406 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14407 | (exit $ac_status); } && | |
14408 | { ac_try='test -s conftest.$ac_objext' | |
14409 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14410 | (eval $ac_try) 2>&5 | |
14411 | ac_status=$? | |
14412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14413 | (exit $ac_status); }; }; then | |
14414 | ac_cv_type_void_p=yes | |
14415 | else | |
14416 | echo "$as_me: failed program was:" >&5 | |
14417 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14418 | ||
14419 | ac_cv_type_void_p=no | |
14420 | fi | |
14421 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14422 | fi | |
14423 | echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 | |
14424 | echo "${ECHO_T}$ac_cv_type_void_p" >&6 | |
14425 | ||
14426 | echo "$as_me:$LINENO: checking size of void *" >&5 | |
14427 | echo $ECHO_N "checking size of void *... $ECHO_C" >&6 | |
14428 | if test "${ac_cv_sizeof_void_p+set}" = set; then | |
14429 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14430 | else | |
14431 | if test "$ac_cv_type_void_p" = yes; then | |
14432 | # The cast to unsigned long works around a bug in the HP C Compiler | |
14433 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
14434 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
14435 | # This bug is HP SR number 8606223364. | |
14436 | if test "$cross_compiling" = yes; then | |
14437 | # Depending upon the size, compute the lo and hi bounds. | |
14438 | cat >conftest.$ac_ext <<_ACEOF | |
14439 | #line $LINENO "configure" | |
14440 | /* confdefs.h. */ | |
14441 | _ACEOF | |
14442 | cat confdefs.h >>conftest.$ac_ext | |
14443 | cat >>conftest.$ac_ext <<_ACEOF | |
14444 | /* end confdefs.h. */ | |
14445 | $ac_includes_default | |
14446 | int | |
14447 | main () | |
14448 | { | |
14449 | static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; | |
14450 | test_array [0] = 0 | |
14451 | ||
14452 | ; | |
14453 | return 0; | |
14454 | } | |
14455 | _ACEOF | |
14456 | rm -f conftest.$ac_objext | |
14457 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14458 | (eval $ac_compile) 2>&5 | |
14459 | ac_status=$? | |
14460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14461 | (exit $ac_status); } && | |
14462 | { ac_try='test -s conftest.$ac_objext' | |
14463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14464 | (eval $ac_try) 2>&5 | |
14465 | ac_status=$? | |
14466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14467 | (exit $ac_status); }; }; then | |
14468 | ac_lo=0 ac_mid=0 | |
14469 | while :; do | |
14470 | cat >conftest.$ac_ext <<_ACEOF | |
14471 | #line $LINENO "configure" | |
14472 | /* confdefs.h. */ | |
14473 | _ACEOF | |
14474 | cat confdefs.h >>conftest.$ac_ext | |
14475 | cat >>conftest.$ac_ext <<_ACEOF | |
14476 | /* end confdefs.h. */ | |
14477 | $ac_includes_default | |
14478 | int | |
14479 | main () | |
14480 | { | |
14481 | static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; | |
14482 | test_array [0] = 0 | |
247f5006 | 14483 | |
e6cc62c6 VS |
14484 | ; |
14485 | return 0; | |
14486 | } | |
14487 | _ACEOF | |
14488 | rm -f conftest.$ac_objext | |
14489 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14490 | (eval $ac_compile) 2>&5 | |
14491 | ac_status=$? | |
14492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14493 | (exit $ac_status); } && | |
14494 | { ac_try='test -s conftest.$ac_objext' | |
14495 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14496 | (eval $ac_try) 2>&5 | |
14497 | ac_status=$? | |
14498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14499 | (exit $ac_status); }; }; then | |
14500 | ac_hi=$ac_mid; break | |
14501 | else | |
14502 | echo "$as_me: failed program was:" >&5 | |
14503 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14504 | ||
14505 | ac_lo=`expr $ac_mid + 1` | |
14506 | if test $ac_lo -le $ac_mid; then | |
14507 | ac_lo= ac_hi= | |
14508 | break | |
14509 | fi | |
14510 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
247f5006 | 14511 | fi |
e6cc62c6 VS |
14512 | rm -f conftest.$ac_objext conftest.$ac_ext |
14513 | done | |
14514 | else | |
14515 | echo "$as_me: failed program was:" >&5 | |
14516 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14517 | ||
14518 | cat >conftest.$ac_ext <<_ACEOF | |
14519 | #line $LINENO "configure" | |
14520 | /* confdefs.h. */ | |
14521 | _ACEOF | |
14522 | cat confdefs.h >>conftest.$ac_ext | |
14523 | cat >>conftest.$ac_ext <<_ACEOF | |
14524 | /* end confdefs.h. */ | |
14525 | $ac_includes_default | |
14526 | int | |
14527 | main () | |
14528 | { | |
14529 | static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; | |
14530 | test_array [0] = 0 | |
247f5006 | 14531 | |
e6cc62c6 VS |
14532 | ; |
14533 | return 0; | |
14534 | } | |
14535 | _ACEOF | |
14536 | rm -f conftest.$ac_objext | |
14537 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14538 | (eval $ac_compile) 2>&5 | |
14539 | ac_status=$? | |
14540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14541 | (exit $ac_status); } && | |
14542 | { ac_try='test -s conftest.$ac_objext' | |
14543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14544 | (eval $ac_try) 2>&5 | |
14545 | ac_status=$? | |
14546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14547 | (exit $ac_status); }; }; then | |
14548 | ac_hi=-1 ac_mid=-1 | |
14549 | while :; do | |
14550 | cat >conftest.$ac_ext <<_ACEOF | |
14551 | #line $LINENO "configure" | |
14552 | /* confdefs.h. */ | |
14553 | _ACEOF | |
14554 | cat confdefs.h >>conftest.$ac_ext | |
14555 | cat >>conftest.$ac_ext <<_ACEOF | |
14556 | /* end confdefs.h. */ | |
14557 | $ac_includes_default | |
14558 | int | |
14559 | main () | |
14560 | { | |
14561 | static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; | |
14562 | test_array [0] = 0 | |
247f5006 | 14563 | |
e6cc62c6 VS |
14564 | ; |
14565 | return 0; | |
14566 | } | |
14567 | _ACEOF | |
14568 | rm -f conftest.$ac_objext | |
14569 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14570 | (eval $ac_compile) 2>&5 | |
14571 | ac_status=$? | |
14572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14573 | (exit $ac_status); } && | |
14574 | { ac_try='test -s conftest.$ac_objext' | |
14575 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14576 | (eval $ac_try) 2>&5 | |
14577 | ac_status=$? | |
14578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14579 | (exit $ac_status); }; }; then | |
14580 | ac_lo=$ac_mid; break | |
14581 | else | |
14582 | echo "$as_me: failed program was:" >&5 | |
14583 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14584 | ||
14585 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
14586 | if test $ac_mid -le $ac_hi; then | |
14587 | ac_lo= ac_hi= | |
14588 | break | |
14589 | fi | |
14590 | ac_mid=`expr 2 '*' $ac_mid` | |
14591 | fi | |
14592 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14593 | done | |
a0b9e27f | 14594 | else |
e6cc62c6 VS |
14595 | echo "$as_me: failed program was:" >&5 |
14596 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14597 | ||
14598 | ac_lo= ac_hi= | |
14599 | fi | |
14600 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14601 | fi | |
14602 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14603 | # Binary search between lo and hi bounds. | |
14604 | while test "x$ac_lo" != "x$ac_hi"; do | |
14605 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
14606 | cat >conftest.$ac_ext <<_ACEOF | |
14607 | #line $LINENO "configure" | |
14608 | /* confdefs.h. */ | |
14609 | _ACEOF | |
14610 | cat confdefs.h >>conftest.$ac_ext | |
14611 | cat >>conftest.$ac_ext <<_ACEOF | |
14612 | /* end confdefs.h. */ | |
14613 | $ac_includes_default | |
14614 | int | |
14615 | main () | |
14616 | { | |
14617 | static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; | |
14618 | test_array [0] = 0 | |
14619 | ||
14620 | ; | |
14621 | return 0; | |
14622 | } | |
14623 | _ACEOF | |
14624 | rm -f conftest.$ac_objext | |
14625 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14626 | (eval $ac_compile) 2>&5 | |
14627 | ac_status=$? | |
14628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14629 | (exit $ac_status); } && | |
14630 | { ac_try='test -s conftest.$ac_objext' | |
14631 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14632 | (eval $ac_try) 2>&5 | |
14633 | ac_status=$? | |
14634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14635 | (exit $ac_status); }; }; then | |
14636 | ac_hi=$ac_mid | |
14637 | else | |
14638 | echo "$as_me: failed program was:" >&5 | |
14639 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14640 | ||
14641 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
14642 | fi | |
14643 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14644 | done | |
14645 | case $ac_lo in | |
14646 | ?*) ac_cv_sizeof_void_p=$ac_lo;; | |
14647 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 | |
14648 | See \`config.log' for more details." >&5 | |
14649 | echo "$as_me: error: cannot compute sizeof (void *), 77 | |
14650 | See \`config.log' for more details." >&2;} | |
14651 | { (exit 1); exit 1; }; } ;; | |
14652 | esac | |
247f5006 | 14653 | else |
e6cc62c6 VS |
14654 | if test "$cross_compiling" = yes; then |
14655 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
14656 | See \`config.log' for more details." >&5 | |
14657 | echo "$as_me: error: cannot run test program while cross compiling | |
14658 | See \`config.log' for more details." >&2;} | |
14659 | { (exit 1); exit 1; }; } | |
14660 | else | |
14661 | cat >conftest.$ac_ext <<_ACEOF | |
14662 | #line $LINENO "configure" | |
14663 | /* confdefs.h. */ | |
14664 | _ACEOF | |
14665 | cat confdefs.h >>conftest.$ac_ext | |
14666 | cat >>conftest.$ac_ext <<_ACEOF | |
14667 | /* end confdefs.h. */ | |
14668 | $ac_includes_default | |
14669 | long longval () { return (long) (sizeof (void *)); } | |
14670 | unsigned long ulongval () { return (long) (sizeof (void *)); } | |
247f5006 | 14671 | #include <stdio.h> |
e6cc62c6 VS |
14672 | #include <stdlib.h> |
14673 | int | |
14674 | main () | |
247f5006 | 14675 | { |
e6cc62c6 VS |
14676 | |
14677 | FILE *f = fopen ("conftest.val", "w"); | |
14678 | if (! f) | |
14679 | exit (1); | |
14680 | if (((long) (sizeof (void *))) < 0) | |
14681 | { | |
14682 | long i = longval (); | |
14683 | if (i != ((long) (sizeof (void *)))) | |
14684 | exit (1); | |
14685 | fprintf (f, "%ld\n", i); | |
14686 | } | |
14687 | else | |
14688 | { | |
14689 | unsigned long i = ulongval (); | |
14690 | if (i != ((long) (sizeof (void *)))) | |
14691 | exit (1); | |
14692 | fprintf (f, "%lu\n", i); | |
14693 | } | |
14694 | exit (ferror (f) || fclose (f) != 0); | |
14695 | ||
14696 | ; | |
14697 | return 0; | |
5c6fa7d2 | 14698 | } |
e6cc62c6 VS |
14699 | _ACEOF |
14700 | rm -f conftest$ac_exeext | |
14701 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
14702 | (eval $ac_link) 2>&5 | |
14703 | ac_status=$? | |
14704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14705 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
14706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14707 | (eval $ac_try) 2>&5 | |
14708 | ac_status=$? | |
14709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14710 | (exit $ac_status); }; }; then | |
14711 | ac_cv_sizeof_void_p=`cat conftest.val` | |
14712 | else | |
14713 | echo "$as_me: program exited with status $ac_status" >&5 | |
14714 | echo "$as_me: failed program was:" >&5 | |
14715 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14716 | ||
14717 | ( exit $ac_status ) | |
14718 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 | |
14719 | See \`config.log' for more details." >&5 | |
14720 | echo "$as_me: error: cannot compute sizeof (void *), 77 | |
14721 | See \`config.log' for more details." >&2;} | |
14722 | { (exit 1); exit 1; }; } | |
14723 | fi | |
14724 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
14725 | fi | |
14726 | fi | |
14727 | rm -f conftest.val | |
a0b9e27f | 14728 | else |
a0b9e27f MB |
14729 | ac_cv_sizeof_void_p=0 |
14730 | fi | |
a0b9e27f | 14731 | fi |
e6cc62c6 VS |
14732 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 |
14733 | echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 | |
14734 | cat >>confdefs.h <<_ACEOF | |
14735 | #define SIZEOF_VOID_P $ac_cv_sizeof_void_p | |
14736 | _ACEOF | |
14737 | ||
14738 | ||
14739 | echo "$as_me:$LINENO: checking for int" >&5 | |
14740 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | |
14741 | if test "${ac_cv_type_int+set}" = set; then | |
14742 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14743 | else | |
14744 | cat >conftest.$ac_ext <<_ACEOF | |
14745 | #line $LINENO "configure" | |
14746 | /* confdefs.h. */ | |
14747 | _ACEOF | |
14748 | cat confdefs.h >>conftest.$ac_ext | |
14749 | cat >>conftest.$ac_ext <<_ACEOF | |
14750 | /* end confdefs.h. */ | |
14751 | $ac_includes_default | |
14752 | int | |
14753 | main () | |
14754 | { | |
14755 | if ((int *) 0) | |
14756 | return 0; | |
14757 | if (sizeof (int)) | |
14758 | return 0; | |
14759 | ; | |
14760 | return 0; | |
14761 | } | |
14762 | _ACEOF | |
14763 | rm -f conftest.$ac_objext | |
14764 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14765 | (eval $ac_compile) 2>&5 | |
14766 | ac_status=$? | |
14767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14768 | (exit $ac_status); } && | |
14769 | { ac_try='test -s conftest.$ac_objext' | |
14770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14771 | (eval $ac_try) 2>&5 | |
14772 | ac_status=$? | |
14773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14774 | (exit $ac_status); }; }; then | |
14775 | ac_cv_type_int=yes | |
14776 | else | |
14777 | echo "$as_me: failed program was:" >&5 | |
14778 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14779 | ||
14780 | ac_cv_type_int=no | |
14781 | fi | |
14782 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14783 | fi | |
14784 | echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | |
14785 | echo "${ECHO_T}$ac_cv_type_int" >&6 | |
14786 | ||
14787 | echo "$as_me:$LINENO: checking size of int" >&5 | |
14788 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | |
14789 | if test "${ac_cv_sizeof_int+set}" = set; then | |
14790 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14791 | else | |
14792 | if test "$ac_cv_type_int" = yes; then | |
14793 | # The cast to unsigned long works around a bug in the HP C Compiler | |
14794 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
14795 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
14796 | # This bug is HP SR number 8606223364. | |
14797 | if test "$cross_compiling" = yes; then | |
14798 | # Depending upon the size, compute the lo and hi bounds. | |
14799 | cat >conftest.$ac_ext <<_ACEOF | |
14800 | #line $LINENO "configure" | |
14801 | /* confdefs.h. */ | |
14802 | _ACEOF | |
14803 | cat confdefs.h >>conftest.$ac_ext | |
14804 | cat >>conftest.$ac_ext <<_ACEOF | |
14805 | /* end confdefs.h. */ | |
14806 | $ac_includes_default | |
14807 | int | |
14808 | main () | |
14809 | { | |
14810 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; | |
14811 | test_array [0] = 0 | |
8284b0c5 | 14812 | |
e6cc62c6 VS |
14813 | ; |
14814 | return 0; | |
14815 | } | |
14816 | _ACEOF | |
14817 | rm -f conftest.$ac_objext | |
14818 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14819 | (eval $ac_compile) 2>&5 | |
14820 | ac_status=$? | |
14821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14822 | (exit $ac_status); } && | |
14823 | { ac_try='test -s conftest.$ac_objext' | |
14824 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14825 | (eval $ac_try) 2>&5 | |
14826 | ac_status=$? | |
14827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14828 | (exit $ac_status); }; }; then | |
14829 | ac_lo=0 ac_mid=0 | |
14830 | while :; do | |
14831 | cat >conftest.$ac_ext <<_ACEOF | |
14832 | #line $LINENO "configure" | |
14833 | /* confdefs.h. */ | |
14834 | _ACEOF | |
14835 | cat confdefs.h >>conftest.$ac_ext | |
14836 | cat >>conftest.$ac_ext <<_ACEOF | |
14837 | /* end confdefs.h. */ | |
14838 | $ac_includes_default | |
14839 | int | |
14840 | main () | |
14841 | { | |
14842 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; | |
14843 | test_array [0] = 0 | |
14844 | ||
14845 | ; | |
14846 | return 0; | |
14847 | } | |
14848 | _ACEOF | |
14849 | rm -f conftest.$ac_objext | |
14850 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14851 | (eval $ac_compile) 2>&5 | |
14852 | ac_status=$? | |
14853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14854 | (exit $ac_status); } && | |
14855 | { ac_try='test -s conftest.$ac_objext' | |
14856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14857 | (eval $ac_try) 2>&5 | |
14858 | ac_status=$? | |
14859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14860 | (exit $ac_status); }; }; then | |
14861 | ac_hi=$ac_mid; break | |
14862 | else | |
14863 | echo "$as_me: failed program was:" >&5 | |
14864 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14865 | ||
14866 | ac_lo=`expr $ac_mid + 1` | |
14867 | if test $ac_lo -le $ac_mid; then | |
14868 | ac_lo= ac_hi= | |
14869 | break | |
14870 | fi | |
14871 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
247f5006 | 14872 | fi |
e6cc62c6 VS |
14873 | rm -f conftest.$ac_objext conftest.$ac_ext |
14874 | done | |
14875 | else | |
14876 | echo "$as_me: failed program was:" >&5 | |
14877 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14878 | ||
14879 | cat >conftest.$ac_ext <<_ACEOF | |
14880 | #line $LINENO "configure" | |
14881 | /* confdefs.h. */ | |
14882 | _ACEOF | |
14883 | cat confdefs.h >>conftest.$ac_ext | |
14884 | cat >>conftest.$ac_ext <<_ACEOF | |
14885 | /* end confdefs.h. */ | |
14886 | $ac_includes_default | |
14887 | int | |
14888 | main () | |
14889 | { | |
14890 | static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; | |
14891 | test_array [0] = 0 | |
247f5006 | 14892 | |
e6cc62c6 VS |
14893 | ; |
14894 | return 0; | |
14895 | } | |
14896 | _ACEOF | |
14897 | rm -f conftest.$ac_objext | |
14898 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14899 | (eval $ac_compile) 2>&5 | |
14900 | ac_status=$? | |
14901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14902 | (exit $ac_status); } && | |
14903 | { ac_try='test -s conftest.$ac_objext' | |
14904 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14905 | (eval $ac_try) 2>&5 | |
14906 | ac_status=$? | |
14907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14908 | (exit $ac_status); }; }; then | |
14909 | ac_hi=-1 ac_mid=-1 | |
14910 | while :; do | |
14911 | cat >conftest.$ac_ext <<_ACEOF | |
14912 | #line $LINENO "configure" | |
14913 | /* confdefs.h. */ | |
14914 | _ACEOF | |
14915 | cat confdefs.h >>conftest.$ac_ext | |
14916 | cat >>conftest.$ac_ext <<_ACEOF | |
14917 | /* end confdefs.h. */ | |
14918 | $ac_includes_default | |
14919 | int | |
14920 | main () | |
14921 | { | |
14922 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; | |
14923 | test_array [0] = 0 | |
247f5006 | 14924 | |
e6cc62c6 VS |
14925 | ; |
14926 | return 0; | |
14927 | } | |
14928 | _ACEOF | |
14929 | rm -f conftest.$ac_objext | |
14930 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14931 | (eval $ac_compile) 2>&5 | |
14932 | ac_status=$? | |
14933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14934 | (exit $ac_status); } && | |
14935 | { ac_try='test -s conftest.$ac_objext' | |
14936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14937 | (eval $ac_try) 2>&5 | |
14938 | ac_status=$? | |
14939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14940 | (exit $ac_status); }; }; then | |
14941 | ac_lo=$ac_mid; break | |
14942 | else | |
14943 | echo "$as_me: failed program was:" >&5 | |
14944 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14945 | ||
14946 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
14947 | if test $ac_mid -le $ac_hi; then | |
14948 | ac_lo= ac_hi= | |
14949 | break | |
14950 | fi | |
14951 | ac_mid=`expr 2 '*' $ac_mid` | |
14952 | fi | |
14953 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14954 | done | |
247f5006 | 14955 | else |
e6cc62c6 VS |
14956 | echo "$as_me: failed program was:" >&5 |
14957 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14958 | ||
14959 | ac_lo= ac_hi= | |
14960 | fi | |
14961 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14962 | fi | |
14963 | rm -f conftest.$ac_objext conftest.$ac_ext | |
14964 | # Binary search between lo and hi bounds. | |
14965 | while test "x$ac_lo" != "x$ac_hi"; do | |
14966 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
14967 | cat >conftest.$ac_ext <<_ACEOF | |
14968 | #line $LINENO "configure" | |
14969 | /* confdefs.h. */ | |
14970 | _ACEOF | |
14971 | cat confdefs.h >>conftest.$ac_ext | |
14972 | cat >>conftest.$ac_ext <<_ACEOF | |
14973 | /* end confdefs.h. */ | |
14974 | $ac_includes_default | |
14975 | int | |
14976 | main () | |
14977 | { | |
14978 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; | |
14979 | test_array [0] = 0 | |
14980 | ||
14981 | ; | |
14982 | return 0; | |
14983 | } | |
14984 | _ACEOF | |
14985 | rm -f conftest.$ac_objext | |
14986 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14987 | (eval $ac_compile) 2>&5 | |
14988 | ac_status=$? | |
14989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14990 | (exit $ac_status); } && | |
14991 | { ac_try='test -s conftest.$ac_objext' | |
14992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14993 | (eval $ac_try) 2>&5 | |
14994 | ac_status=$? | |
14995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14996 | (exit $ac_status); }; }; then | |
14997 | ac_hi=$ac_mid | |
14998 | else | |
14999 | echo "$as_me: failed program was:" >&5 | |
15000 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15001 | ||
15002 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
15003 | fi | |
15004 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15005 | done | |
15006 | case $ac_lo in | |
15007 | ?*) ac_cv_sizeof_int=$ac_lo;; | |
15008 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 | |
15009 | See \`config.log' for more details." >&5 | |
15010 | echo "$as_me: error: cannot compute sizeof (int), 77 | |
15011 | See \`config.log' for more details." >&2;} | |
15012 | { (exit 1); exit 1; }; } ;; | |
15013 | esac | |
a0b9e27f | 15014 | else |
e6cc62c6 VS |
15015 | if test "$cross_compiling" = yes; then |
15016 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
15017 | See \`config.log' for more details." >&5 | |
15018 | echo "$as_me: error: cannot run test program while cross compiling | |
15019 | See \`config.log' for more details." >&2;} | |
15020 | { (exit 1); exit 1; }; } | |
15021 | else | |
15022 | cat >conftest.$ac_ext <<_ACEOF | |
15023 | #line $LINENO "configure" | |
15024 | /* confdefs.h. */ | |
15025 | _ACEOF | |
15026 | cat confdefs.h >>conftest.$ac_ext | |
15027 | cat >>conftest.$ac_ext <<_ACEOF | |
15028 | /* end confdefs.h. */ | |
15029 | $ac_includes_default | |
15030 | long longval () { return (long) (sizeof (int)); } | |
15031 | unsigned long ulongval () { return (long) (sizeof (int)); } | |
a0b9e27f | 15032 | #include <stdio.h> |
e6cc62c6 VS |
15033 | #include <stdlib.h> |
15034 | int | |
15035 | main () | |
247f5006 | 15036 | { |
e6cc62c6 VS |
15037 | |
15038 | FILE *f = fopen ("conftest.val", "w"); | |
15039 | if (! f) | |
15040 | exit (1); | |
15041 | if (((long) (sizeof (int))) < 0) | |
15042 | { | |
15043 | long i = longval (); | |
15044 | if (i != ((long) (sizeof (int)))) | |
15045 | exit (1); | |
15046 | fprintf (f, "%ld\n", i); | |
15047 | } | |
15048 | else | |
15049 | { | |
15050 | unsigned long i = ulongval (); | |
15051 | if (i != ((long) (sizeof (int)))) | |
15052 | exit (1); | |
15053 | fprintf (f, "%lu\n", i); | |
15054 | } | |
15055 | exit (ferror (f) || fclose (f) != 0); | |
15056 | ||
15057 | ; | |
15058 | return 0; | |
247f5006 | 15059 | } |
e6cc62c6 VS |
15060 | _ACEOF |
15061 | rm -f conftest$ac_exeext | |
15062 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
15063 | (eval $ac_link) 2>&5 | |
15064 | ac_status=$? | |
15065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15066 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
15067 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15068 | (eval $ac_try) 2>&5 | |
15069 | ac_status=$? | |
15070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15071 | (exit $ac_status); }; }; then | |
15072 | ac_cv_sizeof_int=`cat conftest.val` | |
15073 | else | |
15074 | echo "$as_me: program exited with status $ac_status" >&5 | |
15075 | echo "$as_me: failed program was:" >&5 | |
15076 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15077 | ||
15078 | ( exit $ac_status ) | |
15079 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 | |
15080 | See \`config.log' for more details." >&5 | |
15081 | echo "$as_me: error: cannot compute sizeof (int), 77 | |
15082 | See \`config.log' for more details." >&2;} | |
15083 | { (exit 1); exit 1; }; } | |
15084 | fi | |
15085 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
15086 | fi | |
15087 | fi | |
15088 | rm -f conftest.val | |
6f72b082 | 15089 | else |
a0b9e27f | 15090 | ac_cv_sizeof_int=0 |
21d1c967 | 15091 | fi |
698dcdb6 | 15092 | fi |
e6cc62c6 VS |
15093 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
15094 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | |
15095 | cat >>confdefs.h <<_ACEOF | |
15096 | #define SIZEOF_INT $ac_cv_sizeof_int | |
15097 | _ACEOF | |
15098 | ||
15099 | ||
15100 | echo "$as_me:$LINENO: checking for long" >&5 | |
15101 | echo $ECHO_N "checking for long... $ECHO_C" >&6 | |
15102 | if test "${ac_cv_type_long+set}" = set; then | |
15103 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15104 | else | |
15105 | cat >conftest.$ac_ext <<_ACEOF | |
15106 | #line $LINENO "configure" | |
15107 | /* confdefs.h. */ | |
15108 | _ACEOF | |
15109 | cat confdefs.h >>conftest.$ac_ext | |
15110 | cat >>conftest.$ac_ext <<_ACEOF | |
15111 | /* end confdefs.h. */ | |
15112 | $ac_includes_default | |
15113 | int | |
15114 | main () | |
15115 | { | |
15116 | if ((long *) 0) | |
15117 | return 0; | |
15118 | if (sizeof (long)) | |
15119 | return 0; | |
15120 | ; | |
15121 | return 0; | |
15122 | } | |
15123 | _ACEOF | |
15124 | rm -f conftest.$ac_objext | |
15125 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15126 | (eval $ac_compile) 2>&5 | |
15127 | ac_status=$? | |
15128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15129 | (exit $ac_status); } && | |
15130 | { ac_try='test -s conftest.$ac_objext' | |
15131 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15132 | (eval $ac_try) 2>&5 | |
15133 | ac_status=$? | |
15134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15135 | (exit $ac_status); }; }; then | |
15136 | ac_cv_type_long=yes | |
15137 | else | |
15138 | echo "$as_me: failed program was:" >&5 | |
15139 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15140 | ||
15141 | ac_cv_type_long=no | |
15142 | fi | |
15143 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15144 | fi | |
15145 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 | |
15146 | echo "${ECHO_T}$ac_cv_type_long" >&6 | |
15147 | ||
15148 | echo "$as_me:$LINENO: checking size of long" >&5 | |
15149 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 | |
15150 | if test "${ac_cv_sizeof_long+set}" = set; then | |
15151 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15152 | else | |
15153 | if test "$ac_cv_type_long" = yes; then | |
15154 | # The cast to unsigned long works around a bug in the HP C Compiler | |
15155 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
15156 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
15157 | # This bug is HP SR number 8606223364. | |
15158 | if test "$cross_compiling" = yes; then | |
15159 | # Depending upon the size, compute the lo and hi bounds. | |
15160 | cat >conftest.$ac_ext <<_ACEOF | |
15161 | #line $LINENO "configure" | |
15162 | /* confdefs.h. */ | |
15163 | _ACEOF | |
15164 | cat confdefs.h >>conftest.$ac_ext | |
15165 | cat >>conftest.$ac_ext <<_ACEOF | |
15166 | /* end confdefs.h. */ | |
15167 | $ac_includes_default | |
15168 | int | |
15169 | main () | |
15170 | { | |
15171 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; | |
15172 | test_array [0] = 0 | |
15173 | ||
15174 | ; | |
15175 | return 0; | |
15176 | } | |
15177 | _ACEOF | |
15178 | rm -f conftest.$ac_objext | |
15179 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15180 | (eval $ac_compile) 2>&5 | |
15181 | ac_status=$? | |
15182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15183 | (exit $ac_status); } && | |
15184 | { ac_try='test -s conftest.$ac_objext' | |
15185 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15186 | (eval $ac_try) 2>&5 | |
15187 | ac_status=$? | |
15188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15189 | (exit $ac_status); }; }; then | |
15190 | ac_lo=0 ac_mid=0 | |
15191 | while :; do | |
15192 | cat >conftest.$ac_ext <<_ACEOF | |
15193 | #line $LINENO "configure" | |
15194 | /* confdefs.h. */ | |
15195 | _ACEOF | |
15196 | cat confdefs.h >>conftest.$ac_ext | |
15197 | cat >>conftest.$ac_ext <<_ACEOF | |
15198 | /* end confdefs.h. */ | |
15199 | $ac_includes_default | |
15200 | int | |
15201 | main () | |
15202 | { | |
15203 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; | |
15204 | test_array [0] = 0 | |
4f14bcd8 | 15205 | |
e6cc62c6 VS |
15206 | ; |
15207 | return 0; | |
15208 | } | |
15209 | _ACEOF | |
15210 | rm -f conftest.$ac_objext | |
15211 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15212 | (eval $ac_compile) 2>&5 | |
15213 | ac_status=$? | |
15214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15215 | (exit $ac_status); } && | |
15216 | { ac_try='test -s conftest.$ac_objext' | |
15217 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15218 | (eval $ac_try) 2>&5 | |
15219 | ac_status=$? | |
15220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15221 | (exit $ac_status); }; }; then | |
15222 | ac_hi=$ac_mid; break | |
15223 | else | |
15224 | echo "$as_me: failed program was:" >&5 | |
15225 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15226 | ||
15227 | ac_lo=`expr $ac_mid + 1` | |
15228 | if test $ac_lo -le $ac_mid; then | |
15229 | ac_lo= ac_hi= | |
15230 | break | |
15231 | fi | |
15232 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
21d1c967 | 15233 | fi |
e6cc62c6 VS |
15234 | rm -f conftest.$ac_objext conftest.$ac_ext |
15235 | done | |
15236 | else | |
15237 | echo "$as_me: failed program was:" >&5 | |
15238 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15239 | ||
15240 | cat >conftest.$ac_ext <<_ACEOF | |
15241 | #line $LINENO "configure" | |
15242 | /* confdefs.h. */ | |
15243 | _ACEOF | |
15244 | cat confdefs.h >>conftest.$ac_ext | |
15245 | cat >>conftest.$ac_ext <<_ACEOF | |
15246 | /* end confdefs.h. */ | |
15247 | $ac_includes_default | |
15248 | int | |
15249 | main () | |
15250 | { | |
15251 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; | |
15252 | test_array [0] = 0 | |
4f14bcd8 | 15253 | |
e6cc62c6 VS |
15254 | ; |
15255 | return 0; | |
15256 | } | |
15257 | _ACEOF | |
15258 | rm -f conftest.$ac_objext | |
15259 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15260 | (eval $ac_compile) 2>&5 | |
15261 | ac_status=$? | |
15262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15263 | (exit $ac_status); } && | |
15264 | { ac_try='test -s conftest.$ac_objext' | |
15265 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15266 | (eval $ac_try) 2>&5 | |
15267 | ac_status=$? | |
15268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15269 | (exit $ac_status); }; }; then | |
15270 | ac_hi=-1 ac_mid=-1 | |
15271 | while :; do | |
15272 | cat >conftest.$ac_ext <<_ACEOF | |
15273 | #line $LINENO "configure" | |
15274 | /* confdefs.h. */ | |
15275 | _ACEOF | |
15276 | cat confdefs.h >>conftest.$ac_ext | |
15277 | cat >>conftest.$ac_ext <<_ACEOF | |
15278 | /* end confdefs.h. */ | |
15279 | $ac_includes_default | |
15280 | int | |
15281 | main () | |
15282 | { | |
15283 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; | |
15284 | test_array [0] = 0 | |
5c6fa7d2 | 15285 | |
e6cc62c6 VS |
15286 | ; |
15287 | return 0; | |
15288 | } | |
15289 | _ACEOF | |
15290 | rm -f conftest.$ac_objext | |
15291 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15292 | (eval $ac_compile) 2>&5 | |
15293 | ac_status=$? | |
15294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15295 | (exit $ac_status); } && | |
15296 | { ac_try='test -s conftest.$ac_objext' | |
15297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15298 | (eval $ac_try) 2>&5 | |
15299 | ac_status=$? | |
15300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15301 | (exit $ac_status); }; }; then | |
15302 | ac_lo=$ac_mid; break | |
15303 | else | |
15304 | echo "$as_me: failed program was:" >&5 | |
15305 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15306 | ||
15307 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
15308 | if test $ac_mid -le $ac_hi; then | |
15309 | ac_lo= ac_hi= | |
15310 | break | |
15311 | fi | |
15312 | ac_mid=`expr 2 '*' $ac_mid` | |
15313 | fi | |
15314 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15315 | done | |
247f5006 | 15316 | else |
e6cc62c6 VS |
15317 | echo "$as_me: failed program was:" >&5 |
15318 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15319 | ||
15320 | ac_lo= ac_hi= | |
15321 | fi | |
15322 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15323 | fi | |
15324 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15325 | # Binary search between lo and hi bounds. | |
15326 | while test "x$ac_lo" != "x$ac_hi"; do | |
15327 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
15328 | cat >conftest.$ac_ext <<_ACEOF | |
15329 | #line $LINENO "configure" | |
15330 | /* confdefs.h. */ | |
15331 | _ACEOF | |
15332 | cat confdefs.h >>conftest.$ac_ext | |
15333 | cat >>conftest.$ac_ext <<_ACEOF | |
15334 | /* end confdefs.h. */ | |
15335 | $ac_includes_default | |
15336 | int | |
15337 | main () | |
15338 | { | |
15339 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; | |
15340 | test_array [0] = 0 | |
15341 | ||
15342 | ; | |
15343 | return 0; | |
15344 | } | |
15345 | _ACEOF | |
15346 | rm -f conftest.$ac_objext | |
15347 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15348 | (eval $ac_compile) 2>&5 | |
15349 | ac_status=$? | |
15350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15351 | (exit $ac_status); } && | |
15352 | { ac_try='test -s conftest.$ac_objext' | |
15353 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15354 | (eval $ac_try) 2>&5 | |
15355 | ac_status=$? | |
15356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15357 | (exit $ac_status); }; }; then | |
15358 | ac_hi=$ac_mid | |
15359 | else | |
15360 | echo "$as_me: failed program was:" >&5 | |
15361 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15362 | ||
15363 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
15364 | fi | |
15365 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15366 | done | |
15367 | case $ac_lo in | |
15368 | ?*) ac_cv_sizeof_long=$ac_lo;; | |
15369 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 | |
15370 | See \`config.log' for more details." >&5 | |
15371 | echo "$as_me: error: cannot compute sizeof (long), 77 | |
15372 | See \`config.log' for more details." >&2;} | |
15373 | { (exit 1); exit 1; }; } ;; | |
15374 | esac | |
247f5006 | 15375 | else |
e6cc62c6 VS |
15376 | if test "$cross_compiling" = yes; then |
15377 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
15378 | See \`config.log' for more details." >&5 | |
15379 | echo "$as_me: error: cannot run test program while cross compiling | |
15380 | See \`config.log' for more details." >&2;} | |
15381 | { (exit 1); exit 1; }; } | |
15382 | else | |
15383 | cat >conftest.$ac_ext <<_ACEOF | |
15384 | #line $LINENO "configure" | |
15385 | /* confdefs.h. */ | |
15386 | _ACEOF | |
15387 | cat confdefs.h >>conftest.$ac_ext | |
15388 | cat >>conftest.$ac_ext <<_ACEOF | |
15389 | /* end confdefs.h. */ | |
15390 | $ac_includes_default | |
15391 | long longval () { return (long) (sizeof (long)); } | |
15392 | unsigned long ulongval () { return (long) (sizeof (long)); } | |
a0b9e27f | 15393 | #include <stdio.h> |
e6cc62c6 VS |
15394 | #include <stdlib.h> |
15395 | int | |
15396 | main () | |
247f5006 | 15397 | { |
e6cc62c6 VS |
15398 | |
15399 | FILE *f = fopen ("conftest.val", "w"); | |
15400 | if (! f) | |
15401 | exit (1); | |
15402 | if (((long) (sizeof (long))) < 0) | |
15403 | { | |
15404 | long i = longval (); | |
15405 | if (i != ((long) (sizeof (long)))) | |
15406 | exit (1); | |
15407 | fprintf (f, "%ld\n", i); | |
15408 | } | |
15409 | else | |
15410 | { | |
15411 | unsigned long i = ulongval (); | |
15412 | if (i != ((long) (sizeof (long)))) | |
15413 | exit (1); | |
15414 | fprintf (f, "%lu\n", i); | |
15415 | } | |
15416 | exit (ferror (f) || fclose (f) != 0); | |
15417 | ||
15418 | ; | |
15419 | return 0; | |
247f5006 | 15420 | } |
e6cc62c6 VS |
15421 | _ACEOF |
15422 | rm -f conftest$ac_exeext | |
15423 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
15424 | (eval $ac_link) 2>&5 | |
15425 | ac_status=$? | |
15426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15427 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
15428 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15429 | (eval $ac_try) 2>&5 | |
15430 | ac_status=$? | |
15431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15432 | (exit $ac_status); }; }; then | |
15433 | ac_cv_sizeof_long=`cat conftest.val` | |
15434 | else | |
15435 | echo "$as_me: program exited with status $ac_status" >&5 | |
15436 | echo "$as_me: failed program was:" >&5 | |
15437 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15438 | ||
15439 | ( exit $ac_status ) | |
15440 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 | |
15441 | See \`config.log' for more details." >&5 | |
15442 | echo "$as_me: error: cannot compute sizeof (long), 77 | |
15443 | See \`config.log' for more details." >&2;} | |
15444 | { (exit 1); exit 1; }; } | |
15445 | fi | |
15446 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
15447 | fi | |
15448 | fi | |
15449 | rm -f conftest.val | |
247f5006 | 15450 | else |
a0b9e27f | 15451 | ac_cv_sizeof_long=0 |
247f5006 | 15452 | fi |
247f5006 | 15453 | fi |
e6cc62c6 VS |
15454 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
15455 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 | |
15456 | cat >>confdefs.h <<_ACEOF | |
a0b9e27f | 15457 | #define SIZEOF_LONG $ac_cv_sizeof_long |
e6cc62c6 | 15458 | _ACEOF |
247f5006 | 15459 | |
a0b9e27f MB |
15460 | |
15461 | ||
15462 | case "${host}" in | |
15463 | arm-*-linux* ) | |
e6cc62c6 VS |
15464 | echo "$as_me:$LINENO: checking for long long" >&5 |
15465 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 | |
15466 | if test "${ac_cv_type_long_long+set}" = set; then | |
15467 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15468 | else | |
15469 | cat >conftest.$ac_ext <<_ACEOF | |
15470 | #line $LINENO "configure" | |
15471 | /* confdefs.h. */ | |
15472 | _ACEOF | |
15473 | cat confdefs.h >>conftest.$ac_ext | |
15474 | cat >>conftest.$ac_ext <<_ACEOF | |
15475 | /* end confdefs.h. */ | |
15476 | $ac_includes_default | |
15477 | int | |
15478 | main () | |
15479 | { | |
15480 | if ((long long *) 0) | |
15481 | return 0; | |
15482 | if (sizeof (long long)) | |
15483 | return 0; | |
15484 | ; | |
15485 | return 0; | |
15486 | } | |
15487 | _ACEOF | |
15488 | rm -f conftest.$ac_objext | |
15489 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15490 | (eval $ac_compile) 2>&5 | |
15491 | ac_status=$? | |
15492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15493 | (exit $ac_status); } && | |
15494 | { ac_try='test -s conftest.$ac_objext' | |
15495 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15496 | (eval $ac_try) 2>&5 | |
15497 | ac_status=$? | |
15498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15499 | (exit $ac_status); }; }; then | |
15500 | ac_cv_type_long_long=yes | |
15501 | else | |
15502 | echo "$as_me: failed program was:" >&5 | |
15503 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15504 | ||
15505 | ac_cv_type_long_long=no | |
15506 | fi | |
15507 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15508 | fi | |
15509 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | |
15510 | echo "${ECHO_T}$ac_cv_type_long_long" >&6 | |
15511 | ||
15512 | echo "$as_me:$LINENO: checking size of long long" >&5 | |
15513 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6 | |
15514 | if test "${ac_cv_sizeof_long_long+set}" = set; then | |
15515 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15516 | else | |
15517 | if test "$ac_cv_type_long_long" = yes; then | |
15518 | # The cast to unsigned long works around a bug in the HP C Compiler | |
15519 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
15520 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
15521 | # This bug is HP SR number 8606223364. | |
a0b9e27f | 15522 | if test "$cross_compiling" = yes; then |
e6cc62c6 VS |
15523 | # Depending upon the size, compute the lo and hi bounds. |
15524 | cat >conftest.$ac_ext <<_ACEOF | |
15525 | #line $LINENO "configure" | |
15526 | /* confdefs.h. */ | |
15527 | _ACEOF | |
15528 | cat confdefs.h >>conftest.$ac_ext | |
15529 | cat >>conftest.$ac_ext <<_ACEOF | |
15530 | /* end confdefs.h. */ | |
15531 | $ac_includes_default | |
15532 | int | |
15533 | main () | |
15534 | { | |
15535 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; | |
15536 | test_array [0] = 0 | |
15537 | ||
15538 | ; | |
15539 | return 0; | |
15540 | } | |
15541 | _ACEOF | |
15542 | rm -f conftest.$ac_objext | |
15543 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15544 | (eval $ac_compile) 2>&5 | |
15545 | ac_status=$? | |
15546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15547 | (exit $ac_status); } && | |
15548 | { ac_try='test -s conftest.$ac_objext' | |
15549 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15550 | (eval $ac_try) 2>&5 | |
15551 | ac_status=$? | |
15552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15553 | (exit $ac_status); }; }; then | |
15554 | ac_lo=0 ac_mid=0 | |
15555 | while :; do | |
15556 | cat >conftest.$ac_ext <<_ACEOF | |
15557 | #line $LINENO "configure" | |
15558 | /* confdefs.h. */ | |
15559 | _ACEOF | |
15560 | cat confdefs.h >>conftest.$ac_ext | |
15561 | cat >>conftest.$ac_ext <<_ACEOF | |
15562 | /* end confdefs.h. */ | |
15563 | $ac_includes_default | |
15564 | int | |
15565 | main () | |
15566 | { | |
15567 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; | |
15568 | test_array [0] = 0 | |
15569 | ||
15570 | ; | |
15571 | return 0; | |
15572 | } | |
15573 | _ACEOF | |
15574 | rm -f conftest.$ac_objext | |
15575 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15576 | (eval $ac_compile) 2>&5 | |
15577 | ac_status=$? | |
15578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15579 | (exit $ac_status); } && | |
15580 | { ac_try='test -s conftest.$ac_objext' | |
15581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15582 | (eval $ac_try) 2>&5 | |
15583 | ac_status=$? | |
15584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15585 | (exit $ac_status); }; }; then | |
15586 | ac_hi=$ac_mid; break | |
15587 | else | |
15588 | echo "$as_me: failed program was:" >&5 | |
15589 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15590 | ||
15591 | ac_lo=`expr $ac_mid + 1` | |
15592 | if test $ac_lo -le $ac_mid; then | |
15593 | ac_lo= ac_hi= | |
15594 | break | |
15595 | fi | |
15596 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
15597 | fi | |
15598 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15599 | done | |
15600 | else | |
15601 | echo "$as_me: failed program was:" >&5 | |
15602 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15603 | ||
15604 | cat >conftest.$ac_ext <<_ACEOF | |
15605 | #line $LINENO "configure" | |
15606 | /* confdefs.h. */ | |
15607 | _ACEOF | |
15608 | cat confdefs.h >>conftest.$ac_ext | |
15609 | cat >>conftest.$ac_ext <<_ACEOF | |
15610 | /* end confdefs.h. */ | |
15611 | $ac_includes_default | |
15612 | int | |
15613 | main () | |
15614 | { | |
15615 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; | |
15616 | test_array [0] = 0 | |
15617 | ||
15618 | ; | |
15619 | return 0; | |
15620 | } | |
15621 | _ACEOF | |
15622 | rm -f conftest.$ac_objext | |
15623 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15624 | (eval $ac_compile) 2>&5 | |
15625 | ac_status=$? | |
15626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15627 | (exit $ac_status); } && | |
15628 | { ac_try='test -s conftest.$ac_objext' | |
15629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15630 | (eval $ac_try) 2>&5 | |
15631 | ac_status=$? | |
15632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15633 | (exit $ac_status); }; }; then | |
15634 | ac_hi=-1 ac_mid=-1 | |
15635 | while :; do | |
15636 | cat >conftest.$ac_ext <<_ACEOF | |
15637 | #line $LINENO "configure" | |
15638 | /* confdefs.h. */ | |
15639 | _ACEOF | |
15640 | cat confdefs.h >>conftest.$ac_ext | |
15641 | cat >>conftest.$ac_ext <<_ACEOF | |
15642 | /* end confdefs.h. */ | |
15643 | $ac_includes_default | |
15644 | int | |
15645 | main () | |
15646 | { | |
15647 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; | |
15648 | test_array [0] = 0 | |
15649 | ||
15650 | ; | |
15651 | return 0; | |
15652 | } | |
15653 | _ACEOF | |
15654 | rm -f conftest.$ac_objext | |
15655 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15656 | (eval $ac_compile) 2>&5 | |
15657 | ac_status=$? | |
15658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15659 | (exit $ac_status); } && | |
15660 | { ac_try='test -s conftest.$ac_objext' | |
15661 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15662 | (eval $ac_try) 2>&5 | |
15663 | ac_status=$? | |
15664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15665 | (exit $ac_status); }; }; then | |
15666 | ac_lo=$ac_mid; break | |
15667 | else | |
15668 | echo "$as_me: failed program was:" >&5 | |
15669 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15670 | ||
15671 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
15672 | if test $ac_mid -le $ac_hi; then | |
15673 | ac_lo= ac_hi= | |
15674 | break | |
15675 | fi | |
15676 | ac_mid=`expr 2 '*' $ac_mid` | |
15677 | fi | |
15678 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15679 | done | |
15680 | else | |
15681 | echo "$as_me: failed program was:" >&5 | |
15682 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15683 | ||
15684 | ac_lo= ac_hi= | |
15685 | fi | |
15686 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15687 | fi | |
15688 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15689 | # Binary search between lo and hi bounds. | |
15690 | while test "x$ac_lo" != "x$ac_hi"; do | |
15691 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
15692 | cat >conftest.$ac_ext <<_ACEOF | |
15693 | #line $LINENO "configure" | |
15694 | /* confdefs.h. */ | |
15695 | _ACEOF | |
15696 | cat confdefs.h >>conftest.$ac_ext | |
15697 | cat >>conftest.$ac_ext <<_ACEOF | |
15698 | /* end confdefs.h. */ | |
15699 | $ac_includes_default | |
15700 | int | |
15701 | main () | |
15702 | { | |
15703 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; | |
15704 | test_array [0] = 0 | |
15705 | ||
15706 | ; | |
15707 | return 0; | |
15708 | } | |
15709 | _ACEOF | |
15710 | rm -f conftest.$ac_objext | |
15711 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15712 | (eval $ac_compile) 2>&5 | |
15713 | ac_status=$? | |
15714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15715 | (exit $ac_status); } && | |
15716 | { ac_try='test -s conftest.$ac_objext' | |
15717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15718 | (eval $ac_try) 2>&5 | |
15719 | ac_status=$? | |
15720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15721 | (exit $ac_status); }; }; then | |
15722 | ac_hi=$ac_mid | |
15723 | else | |
15724 | echo "$as_me: failed program was:" >&5 | |
15725 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15726 | ||
15727 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
15728 | fi | |
15729 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15730 | done | |
15731 | case $ac_lo in | |
15732 | ?*) ac_cv_sizeof_long_long=$ac_lo;; | |
15733 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 | |
15734 | See \`config.log' for more details." >&5 | |
15735 | echo "$as_me: error: cannot compute sizeof (long long), 77 | |
15736 | See \`config.log' for more details." >&2;} | |
15737 | { (exit 1); exit 1; }; } ;; | |
15738 | esac | |
a0b9e27f | 15739 | else |
e6cc62c6 VS |
15740 | if test "$cross_compiling" = yes; then |
15741 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
15742 | See \`config.log' for more details." >&5 | |
15743 | echo "$as_me: error: cannot run test program while cross compiling | |
15744 | See \`config.log' for more details." >&2;} | |
15745 | { (exit 1); exit 1; }; } | |
15746 | else | |
15747 | cat >conftest.$ac_ext <<_ACEOF | |
15748 | #line $LINENO "configure" | |
15749 | /* confdefs.h. */ | |
15750 | _ACEOF | |
15751 | cat confdefs.h >>conftest.$ac_ext | |
15752 | cat >>conftest.$ac_ext <<_ACEOF | |
15753 | /* end confdefs.h. */ | |
15754 | $ac_includes_default | |
15755 | long longval () { return (long) (sizeof (long long)); } | |
15756 | unsigned long ulongval () { return (long) (sizeof (long long)); } | |
a0b9e27f | 15757 | #include <stdio.h> |
e6cc62c6 VS |
15758 | #include <stdlib.h> |
15759 | int | |
15760 | main () | |
247f5006 | 15761 | { |
e6cc62c6 VS |
15762 | |
15763 | FILE *f = fopen ("conftest.val", "w"); | |
15764 | if (! f) | |
15765 | exit (1); | |
15766 | if (((long) (sizeof (long long))) < 0) | |
15767 | { | |
15768 | long i = longval (); | |
15769 | if (i != ((long) (sizeof (long long)))) | |
15770 | exit (1); | |
15771 | fprintf (f, "%ld\n", i); | |
15772 | } | |
15773 | else | |
15774 | { | |
15775 | unsigned long i = ulongval (); | |
15776 | if (i != ((long) (sizeof (long long)))) | |
15777 | exit (1); | |
15778 | fprintf (f, "%lu\n", i); | |
15779 | } | |
15780 | exit (ferror (f) || fclose (f) != 0); | |
15781 | ||
15782 | ; | |
15783 | return 0; | |
247f5006 | 15784 | } |
e6cc62c6 VS |
15785 | _ACEOF |
15786 | rm -f conftest$ac_exeext | |
15787 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
15788 | (eval $ac_link) 2>&5 | |
15789 | ac_status=$? | |
15790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15791 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
15792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15793 | (eval $ac_try) 2>&5 | |
15794 | ac_status=$? | |
15795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15796 | (exit $ac_status); }; }; then | |
15797 | ac_cv_sizeof_long_long=`cat conftest.val` | |
15798 | else | |
15799 | echo "$as_me: program exited with status $ac_status" >&5 | |
15800 | echo "$as_me: failed program was:" >&5 | |
15801 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15802 | ||
15803 | ( exit $ac_status ) | |
15804 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 | |
15805 | See \`config.log' for more details." >&5 | |
15806 | echo "$as_me: error: cannot compute sizeof (long long), 77 | |
15807 | See \`config.log' for more details." >&2;} | |
15808 | { (exit 1); exit 1; }; } | |
15809 | fi | |
15810 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
15811 | fi | |
15812 | fi | |
15813 | rm -f conftest.val | |
7b4a847f | 15814 | else |
a0b9e27f | 15815 | ac_cv_sizeof_long_long=0 |
5c6fa7d2 RR |
15816 | fi |
15817 | fi | |
e6cc62c6 VS |
15818 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
15819 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 | |
15820 | cat >>confdefs.h <<_ACEOF | |
15821 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long | |
15822 | _ACEOF | |
15823 | ||
15824 | ||
15825 | ;; | |
15826 | *-hp-hpux* ) | |
15827 | echo "$as_me:$LINENO: checking for long long" >&5 | |
15828 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 | |
15829 | if test "${ac_cv_type_long_long+set}" = set; then | |
15830 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15831 | else | |
15832 | cat >conftest.$ac_ext <<_ACEOF | |
15833 | #line $LINENO "configure" | |
15834 | /* confdefs.h. */ | |
15835 | _ACEOF | |
15836 | cat confdefs.h >>conftest.$ac_ext | |
15837 | cat >>conftest.$ac_ext <<_ACEOF | |
15838 | /* end confdefs.h. */ | |
15839 | $ac_includes_default | |
15840 | int | |
15841 | main () | |
15842 | { | |
15843 | if ((long long *) 0) | |
15844 | return 0; | |
15845 | if (sizeof (long long)) | |
15846 | return 0; | |
15847 | ; | |
15848 | return 0; | |
15849 | } | |
15850 | _ACEOF | |
15851 | rm -f conftest.$ac_objext | |
15852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15853 | (eval $ac_compile) 2>&5 | |
15854 | ac_status=$? | |
15855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15856 | (exit $ac_status); } && | |
15857 | { ac_try='test -s conftest.$ac_objext' | |
15858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15859 | (eval $ac_try) 2>&5 | |
15860 | ac_status=$? | |
15861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15862 | (exit $ac_status); }; }; then | |
15863 | ac_cv_type_long_long=yes | |
15864 | else | |
15865 | echo "$as_me: failed program was:" >&5 | |
15866 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15867 | ||
15868 | ac_cv_type_long_long=no | |
15869 | fi | |
15870 | rm -f conftest.$ac_objext conftest.$ac_ext | |
15871 | fi | |
15872 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | |
15873 | echo "${ECHO_T}$ac_cv_type_long_long" >&6 | |
15874 | ||
15875 | echo "$as_me:$LINENO: checking size of long long" >&5 | |
15876 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6 | |
15877 | if test "${ac_cv_sizeof_long_long+set}" = set; then | |
15878 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15879 | else | |
15880 | if test "$ac_cv_type_long_long" = yes; then | |
15881 | # The cast to unsigned long works around a bug in the HP C Compiler | |
15882 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
15883 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
15884 | # This bug is HP SR number 8606223364. | |
15885 | if test "$cross_compiling" = yes; then | |
15886 | # Depending upon the size, compute the lo and hi bounds. | |
15887 | cat >conftest.$ac_ext <<_ACEOF | |
15888 | #line $LINENO "configure" | |
15889 | /* confdefs.h. */ | |
15890 | _ACEOF | |
15891 | cat confdefs.h >>conftest.$ac_ext | |
15892 | cat >>conftest.$ac_ext <<_ACEOF | |
15893 | /* end confdefs.h. */ | |
15894 | $ac_includes_default | |
15895 | int | |
15896 | main () | |
15897 | { | |
15898 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; | |
15899 | test_array [0] = 0 | |
15900 | ||
15901 | ; | |
15902 | return 0; | |
15903 | } | |
15904 | _ACEOF | |
15905 | rm -f conftest.$ac_objext | |
15906 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15907 | (eval $ac_compile) 2>&5 | |
15908 | ac_status=$? | |
15909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15910 | (exit $ac_status); } && | |
15911 | { ac_try='test -s conftest.$ac_objext' | |
15912 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15913 | (eval $ac_try) 2>&5 | |
15914 | ac_status=$? | |
15915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15916 | (exit $ac_status); }; }; then | |
15917 | ac_lo=0 ac_mid=0 | |
15918 | while :; do | |
15919 | cat >conftest.$ac_ext <<_ACEOF | |
15920 | #line $LINENO "configure" | |
15921 | /* confdefs.h. */ | |
15922 | _ACEOF | |
15923 | cat confdefs.h >>conftest.$ac_ext | |
15924 | cat >>conftest.$ac_ext <<_ACEOF | |
15925 | /* end confdefs.h. */ | |
15926 | $ac_includes_default | |
15927 | int | |
15928 | main () | |
15929 | { | |
15930 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; | |
15931 | test_array [0] = 0 | |
8284b0c5 | 15932 | |
e6cc62c6 VS |
15933 | ; |
15934 | return 0; | |
15935 | } | |
15936 | _ACEOF | |
15937 | rm -f conftest.$ac_objext | |
15938 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15939 | (eval $ac_compile) 2>&5 | |
15940 | ac_status=$? | |
15941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15942 | (exit $ac_status); } && | |
15943 | { ac_try='test -s conftest.$ac_objext' | |
15944 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15945 | (eval $ac_try) 2>&5 | |
15946 | ac_status=$? | |
15947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15948 | (exit $ac_status); }; }; then | |
15949 | ac_hi=$ac_mid; break | |
15950 | else | |
15951 | echo "$as_me: failed program was:" >&5 | |
15952 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15953 | ||
15954 | ac_lo=`expr $ac_mid + 1` | |
15955 | if test $ac_lo -le $ac_mid; then | |
15956 | ac_lo= ac_hi= | |
15957 | break | |
15958 | fi | |
15959 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
a0b9e27f | 15960 | fi |
e6cc62c6 VS |
15961 | rm -f conftest.$ac_objext conftest.$ac_ext |
15962 | done | |
15963 | else | |
15964 | echo "$as_me: failed program was:" >&5 | |
15965 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15966 | ||
15967 | cat >conftest.$ac_ext <<_ACEOF | |
15968 | #line $LINENO "configure" | |
15969 | /* confdefs.h. */ | |
15970 | _ACEOF | |
15971 | cat confdefs.h >>conftest.$ac_ext | |
15972 | cat >>conftest.$ac_ext <<_ACEOF | |
15973 | /* end confdefs.h. */ | |
15974 | $ac_includes_default | |
15975 | int | |
15976 | main () | |
15977 | { | |
15978 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; | |
15979 | test_array [0] = 0 | |
a0b9e27f | 15980 | |
e6cc62c6 VS |
15981 | ; |
15982 | return 0; | |
15983 | } | |
15984 | _ACEOF | |
15985 | rm -f conftest.$ac_objext | |
15986 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15987 | (eval $ac_compile) 2>&5 | |
15988 | ac_status=$? | |
15989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15990 | (exit $ac_status); } && | |
15991 | { ac_try='test -s conftest.$ac_objext' | |
15992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15993 | (eval $ac_try) 2>&5 | |
15994 | ac_status=$? | |
15995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15996 | (exit $ac_status); }; }; then | |
15997 | ac_hi=-1 ac_mid=-1 | |
15998 | while :; do | |
15999 | cat >conftest.$ac_ext <<_ACEOF | |
16000 | #line $LINENO "configure" | |
16001 | /* confdefs.h. */ | |
16002 | _ACEOF | |
16003 | cat confdefs.h >>conftest.$ac_ext | |
16004 | cat >>conftest.$ac_ext <<_ACEOF | |
16005 | /* end confdefs.h. */ | |
16006 | $ac_includes_default | |
16007 | int | |
16008 | main () | |
16009 | { | |
16010 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; | |
16011 | test_array [0] = 0 | |
a0b9e27f | 16012 | |
e6cc62c6 VS |
16013 | ; |
16014 | return 0; | |
16015 | } | |
16016 | _ACEOF | |
16017 | rm -f conftest.$ac_objext | |
16018 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16019 | (eval $ac_compile) 2>&5 | |
16020 | ac_status=$? | |
16021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16022 | (exit $ac_status); } && | |
16023 | { ac_try='test -s conftest.$ac_objext' | |
16024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16025 | (eval $ac_try) 2>&5 | |
16026 | ac_status=$? | |
16027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16028 | (exit $ac_status); }; }; then | |
16029 | ac_lo=$ac_mid; break | |
16030 | else | |
16031 | echo "$as_me: failed program was:" >&5 | |
16032 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16033 | ||
16034 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
16035 | if test $ac_mid -le $ac_hi; then | |
16036 | ac_lo= ac_hi= | |
16037 | break | |
16038 | fi | |
16039 | ac_mid=`expr 2 '*' $ac_mid` | |
16040 | fi | |
16041 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16042 | done | |
8284b0c5 | 16043 | else |
e6cc62c6 VS |
16044 | echo "$as_me: failed program was:" >&5 |
16045 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16046 | ||
16047 | ac_lo= ac_hi= | |
16048 | fi | |
16049 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16050 | fi | |
16051 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16052 | # Binary search between lo and hi bounds. | |
16053 | while test "x$ac_lo" != "x$ac_hi"; do | |
16054 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
16055 | cat >conftest.$ac_ext <<_ACEOF | |
16056 | #line $LINENO "configure" | |
16057 | /* confdefs.h. */ | |
16058 | _ACEOF | |
16059 | cat confdefs.h >>conftest.$ac_ext | |
16060 | cat >>conftest.$ac_ext <<_ACEOF | |
16061 | /* end confdefs.h. */ | |
16062 | $ac_includes_default | |
16063 | int | |
16064 | main () | |
16065 | { | |
16066 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; | |
16067 | test_array [0] = 0 | |
16068 | ||
16069 | ; | |
16070 | return 0; | |
16071 | } | |
16072 | _ACEOF | |
16073 | rm -f conftest.$ac_objext | |
16074 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16075 | (eval $ac_compile) 2>&5 | |
16076 | ac_status=$? | |
16077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16078 | (exit $ac_status); } && | |
16079 | { ac_try='test -s conftest.$ac_objext' | |
16080 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16081 | (eval $ac_try) 2>&5 | |
16082 | ac_status=$? | |
16083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16084 | (exit $ac_status); }; }; then | |
16085 | ac_hi=$ac_mid | |
16086 | else | |
16087 | echo "$as_me: failed program was:" >&5 | |
16088 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16089 | ||
16090 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
16091 | fi | |
16092 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16093 | done | |
16094 | case $ac_lo in | |
16095 | ?*) ac_cv_sizeof_long_long=$ac_lo;; | |
16096 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 | |
16097 | See \`config.log' for more details." >&5 | |
16098 | echo "$as_me: error: cannot compute sizeof (long long), 77 | |
16099 | See \`config.log' for more details." >&2;} | |
16100 | { (exit 1); exit 1; }; } ;; | |
16101 | esac | |
8284b0c5 | 16102 | else |
e6cc62c6 VS |
16103 | if test "$cross_compiling" = yes; then |
16104 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
16105 | See \`config.log' for more details." >&5 | |
16106 | echo "$as_me: error: cannot run test program while cross compiling | |
16107 | See \`config.log' for more details." >&2;} | |
16108 | { (exit 1); exit 1; }; } | |
16109 | else | |
16110 | cat >conftest.$ac_ext <<_ACEOF | |
16111 | #line $LINENO "configure" | |
16112 | /* confdefs.h. */ | |
16113 | _ACEOF | |
16114 | cat confdefs.h >>conftest.$ac_ext | |
16115 | cat >>conftest.$ac_ext <<_ACEOF | |
16116 | /* end confdefs.h. */ | |
16117 | $ac_includes_default | |
16118 | long longval () { return (long) (sizeof (long long)); } | |
16119 | unsigned long ulongval () { return (long) (sizeof (long long)); } | |
8284b0c5 | 16120 | #include <stdio.h> |
e6cc62c6 VS |
16121 | #include <stdlib.h> |
16122 | int | |
16123 | main () | |
8284b0c5 | 16124 | { |
e6cc62c6 VS |
16125 | |
16126 | FILE *f = fopen ("conftest.val", "w"); | |
16127 | if (! f) | |
16128 | exit (1); | |
16129 | if (((long) (sizeof (long long))) < 0) | |
16130 | { | |
16131 | long i = longval (); | |
16132 | if (i != ((long) (sizeof (long long)))) | |
16133 | exit (1); | |
16134 | fprintf (f, "%ld\n", i); | |
16135 | } | |
16136 | else | |
16137 | { | |
16138 | unsigned long i = ulongval (); | |
16139 | if (i != ((long) (sizeof (long long)))) | |
16140 | exit (1); | |
16141 | fprintf (f, "%lu\n", i); | |
16142 | } | |
16143 | exit (ferror (f) || fclose (f) != 0); | |
16144 | ||
16145 | ; | |
16146 | return 0; | |
8284b0c5 | 16147 | } |
e6cc62c6 VS |
16148 | _ACEOF |
16149 | rm -f conftest$ac_exeext | |
16150 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16151 | (eval $ac_link) 2>&5 | |
16152 | ac_status=$? | |
16153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16154 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
16155 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16156 | (eval $ac_try) 2>&5 | |
16157 | ac_status=$? | |
16158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16159 | (exit $ac_status); }; }; then | |
16160 | ac_cv_sizeof_long_long=`cat conftest.val` | |
16161 | else | |
16162 | echo "$as_me: program exited with status $ac_status" >&5 | |
16163 | echo "$as_me: failed program was:" >&5 | |
16164 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16165 | ||
16166 | ( exit $ac_status ) | |
16167 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 | |
16168 | See \`config.log' for more details." >&5 | |
16169 | echo "$as_me: error: cannot compute sizeof (long long), 77 | |
16170 | See \`config.log' for more details." >&2;} | |
16171 | { (exit 1); exit 1; }; } | |
16172 | fi | |
16173 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
16174 | fi | |
16175 | fi | |
16176 | rm -f conftest.val | |
5c6fa7d2 RR |
16177 | else |
16178 | ac_cv_sizeof_long_long=0 | |
52127426 | 16179 | fi |
4f57cf11 | 16180 | fi |
e6cc62c6 VS |
16181 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
16182 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 | |
16183 | cat >>confdefs.h <<_ACEOF | |
4f57cf11 | 16184 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
e6cc62c6 | 16185 | _ACEOF |
4f57cf11 GD |
16186 | |
16187 | ||
16188 | if test "$ac_cv_sizeof_long_long" != "0"; then | |
16189 | CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG" | |
16190 | fi | |
16191 | ;; | |
16192 | * ) | |
e6cc62c6 VS |
16193 | echo "$as_me:$LINENO: checking for long long" >&5 |
16194 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 | |
16195 | if test "${ac_cv_type_long_long+set}" = set; then | |
16196 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16197 | else | |
16198 | cat >conftest.$ac_ext <<_ACEOF | |
16199 | #line $LINENO "configure" | |
16200 | /* confdefs.h. */ | |
16201 | _ACEOF | |
16202 | cat confdefs.h >>conftest.$ac_ext | |
16203 | cat >>conftest.$ac_ext <<_ACEOF | |
16204 | /* end confdefs.h. */ | |
16205 | $ac_includes_default | |
16206 | int | |
16207 | main () | |
16208 | { | |
16209 | if ((long long *) 0) | |
16210 | return 0; | |
16211 | if (sizeof (long long)) | |
16212 | return 0; | |
16213 | ; | |
16214 | return 0; | |
16215 | } | |
16216 | _ACEOF | |
16217 | rm -f conftest.$ac_objext | |
16218 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16219 | (eval $ac_compile) 2>&5 | |
16220 | ac_status=$? | |
16221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16222 | (exit $ac_status); } && | |
16223 | { ac_try='test -s conftest.$ac_objext' | |
16224 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16225 | (eval $ac_try) 2>&5 | |
16226 | ac_status=$? | |
16227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16228 | (exit $ac_status); }; }; then | |
16229 | ac_cv_type_long_long=yes | |
16230 | else | |
16231 | echo "$as_me: failed program was:" >&5 | |
16232 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16233 | ||
16234 | ac_cv_type_long_long=no | |
16235 | fi | |
16236 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16237 | fi | |
16238 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | |
16239 | echo "${ECHO_T}$ac_cv_type_long_long" >&6 | |
16240 | ||
16241 | echo "$as_me:$LINENO: checking size of long long" >&5 | |
16242 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6 | |
16243 | if test "${ac_cv_sizeof_long_long+set}" = set; then | |
16244 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16245 | else | |
16246 | if test "$ac_cv_type_long_long" = yes; then | |
16247 | # The cast to unsigned long works around a bug in the HP C Compiler | |
16248 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
16249 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
16250 | # This bug is HP SR number 8606223364. | |
4f57cf11 | 16251 | if test "$cross_compiling" = yes; then |
e6cc62c6 VS |
16252 | # Depending upon the size, compute the lo and hi bounds. |
16253 | cat >conftest.$ac_ext <<_ACEOF | |
16254 | #line $LINENO "configure" | |
16255 | /* confdefs.h. */ | |
16256 | _ACEOF | |
16257 | cat confdefs.h >>conftest.$ac_ext | |
16258 | cat >>conftest.$ac_ext <<_ACEOF | |
16259 | /* end confdefs.h. */ | |
16260 | $ac_includes_default | |
16261 | int | |
16262 | main () | |
16263 | { | |
16264 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; | |
16265 | test_array [0] = 0 | |
16266 | ||
16267 | ; | |
16268 | return 0; | |
16269 | } | |
16270 | _ACEOF | |
16271 | rm -f conftest.$ac_objext | |
16272 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16273 | (eval $ac_compile) 2>&5 | |
16274 | ac_status=$? | |
16275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16276 | (exit $ac_status); } && | |
16277 | { ac_try='test -s conftest.$ac_objext' | |
16278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16279 | (eval $ac_try) 2>&5 | |
16280 | ac_status=$? | |
16281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16282 | (exit $ac_status); }; }; then | |
16283 | ac_lo=0 ac_mid=0 | |
16284 | while :; do | |
16285 | cat >conftest.$ac_ext <<_ACEOF | |
16286 | #line $LINENO "configure" | |
16287 | /* confdefs.h. */ | |
16288 | _ACEOF | |
16289 | cat confdefs.h >>conftest.$ac_ext | |
16290 | cat >>conftest.$ac_ext <<_ACEOF | |
16291 | /* end confdefs.h. */ | |
16292 | $ac_includes_default | |
16293 | int | |
16294 | main () | |
16295 | { | |
16296 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; | |
16297 | test_array [0] = 0 | |
16298 | ||
16299 | ; | |
16300 | return 0; | |
16301 | } | |
16302 | _ACEOF | |
16303 | rm -f conftest.$ac_objext | |
16304 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16305 | (eval $ac_compile) 2>&5 | |
16306 | ac_status=$? | |
16307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16308 | (exit $ac_status); } && | |
16309 | { ac_try='test -s conftest.$ac_objext' | |
16310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16311 | (eval $ac_try) 2>&5 | |
16312 | ac_status=$? | |
16313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16314 | (exit $ac_status); }; }; then | |
16315 | ac_hi=$ac_mid; break | |
16316 | else | |
16317 | echo "$as_me: failed program was:" >&5 | |
16318 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16319 | ||
16320 | ac_lo=`expr $ac_mid + 1` | |
16321 | if test $ac_lo -le $ac_mid; then | |
16322 | ac_lo= ac_hi= | |
16323 | break | |
16324 | fi | |
16325 | ac_mid=`expr 2 '*' $ac_mid + 1` | |
16326 | fi | |
16327 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16328 | done | |
16329 | else | |
16330 | echo "$as_me: failed program was:" >&5 | |
16331 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16332 | ||
16333 | cat >conftest.$ac_ext <<_ACEOF | |
16334 | #line $LINENO "configure" | |
16335 | /* confdefs.h. */ | |
16336 | _ACEOF | |
16337 | cat confdefs.h >>conftest.$ac_ext | |
16338 | cat >>conftest.$ac_ext <<_ACEOF | |
16339 | /* end confdefs.h. */ | |
16340 | $ac_includes_default | |
16341 | int | |
16342 | main () | |
16343 | { | |
16344 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; | |
16345 | test_array [0] = 0 | |
16346 | ||
16347 | ; | |
16348 | return 0; | |
16349 | } | |
16350 | _ACEOF | |
16351 | rm -f conftest.$ac_objext | |
16352 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16353 | (eval $ac_compile) 2>&5 | |
16354 | ac_status=$? | |
16355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16356 | (exit $ac_status); } && | |
16357 | { ac_try='test -s conftest.$ac_objext' | |
16358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16359 | (eval $ac_try) 2>&5 | |
16360 | ac_status=$? | |
16361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16362 | (exit $ac_status); }; }; then | |
16363 | ac_hi=-1 ac_mid=-1 | |
16364 | while :; do | |
16365 | cat >conftest.$ac_ext <<_ACEOF | |
16366 | #line $LINENO "configure" | |
16367 | /* confdefs.h. */ | |
16368 | _ACEOF | |
16369 | cat confdefs.h >>conftest.$ac_ext | |
16370 | cat >>conftest.$ac_ext <<_ACEOF | |
16371 | /* end confdefs.h. */ | |
16372 | $ac_includes_default | |
16373 | int | |
16374 | main () | |
16375 | { | |
16376 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; | |
16377 | test_array [0] = 0 | |
16378 | ||
16379 | ; | |
16380 | return 0; | |
16381 | } | |
16382 | _ACEOF | |
16383 | rm -f conftest.$ac_objext | |
16384 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16385 | (eval $ac_compile) 2>&5 | |
16386 | ac_status=$? | |
16387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16388 | (exit $ac_status); } && | |
16389 | { ac_try='test -s conftest.$ac_objext' | |
16390 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16391 | (eval $ac_try) 2>&5 | |
16392 | ac_status=$? | |
16393 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16394 | (exit $ac_status); }; }; then | |
16395 | ac_lo=$ac_mid; break | |
16396 | else | |
16397 | echo "$as_me: failed program was:" >&5 | |
16398 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16399 | ||
16400 | ac_hi=`expr '(' $ac_mid ')' - 1` | |
16401 | if test $ac_mid -le $ac_hi; then | |
16402 | ac_lo= ac_hi= | |
16403 | break | |
16404 | fi | |
16405 | ac_mid=`expr 2 '*' $ac_mid` | |
16406 | fi | |
16407 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16408 | done | |
4f57cf11 | 16409 | else |
e6cc62c6 VS |
16410 | echo "$as_me: failed program was:" >&5 |
16411 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16412 | ||
16413 | ac_lo= ac_hi= | |
16414 | fi | |
16415 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16416 | fi | |
16417 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16418 | # Binary search between lo and hi bounds. | |
16419 | while test "x$ac_lo" != "x$ac_hi"; do | |
16420 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
16421 | cat >conftest.$ac_ext <<_ACEOF | |
16422 | #line $LINENO "configure" | |
16423 | /* confdefs.h. */ | |
16424 | _ACEOF | |
16425 | cat confdefs.h >>conftest.$ac_ext | |
16426 | cat >>conftest.$ac_ext <<_ACEOF | |
16427 | /* end confdefs.h. */ | |
16428 | $ac_includes_default | |
16429 | int | |
16430 | main () | |
16431 | { | |
16432 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; | |
16433 | test_array [0] = 0 | |
16434 | ||
16435 | ; | |
16436 | return 0; | |
16437 | } | |
16438 | _ACEOF | |
16439 | rm -f conftest.$ac_objext | |
16440 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16441 | (eval $ac_compile) 2>&5 | |
16442 | ac_status=$? | |
16443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16444 | (exit $ac_status); } && | |
16445 | { ac_try='test -s conftest.$ac_objext' | |
16446 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16447 | (eval $ac_try) 2>&5 | |
16448 | ac_status=$? | |
16449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16450 | (exit $ac_status); }; }; then | |
16451 | ac_hi=$ac_mid | |
16452 | else | |
16453 | echo "$as_me: failed program was:" >&5 | |
16454 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16455 | ||
16456 | ac_lo=`expr '(' $ac_mid ')' + 1` | |
16457 | fi | |
16458 | rm -f conftest.$ac_objext conftest.$ac_ext | |
16459 | done | |
16460 | case $ac_lo in | |
16461 | ?*) ac_cv_sizeof_long_long=$ac_lo;; | |
16462 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 | |
16463 | See \`config.log' for more details." >&5 | |
16464 | echo "$as_me: error: cannot compute sizeof (long long), 77 | |
16465 | See \`config.log' for more details." >&2;} | |
16466 | { (exit 1); exit 1; }; } ;; | |
16467 | esac | |
16468 | else | |
16469 | if test "$cross_compiling" = yes; then | |
16470 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
16471 | See \`config.log' for more details." >&5 | |
16472 | echo "$as_me: error: cannot run test program while cross compiling | |
16473 | See \`config.log' for more details." >&2;} | |
16474 | { (exit 1); exit 1; }; } | |
16475 | else | |
16476 | cat >conftest.$ac_ext <<_ACEOF | |
16477 | #line $LINENO "configure" | |
16478 | /* confdefs.h. */ | |
16479 | _ACEOF | |
16480 | cat confdefs.h >>conftest.$ac_ext | |
16481 | cat >>conftest.$ac_ext <<_ACEOF | |
16482 | /* end confdefs.h. */ | |
16483 | $ac_includes_default | |
16484 | long longval () { return (long) (sizeof (long long)); } | |
16485 | unsigned long ulongval () { return (long) (sizeof (long long)); } | |
4f57cf11 | 16486 | #include <stdio.h> |
e6cc62c6 VS |
16487 | #include <stdlib.h> |
16488 | int | |
16489 | main () | |
4f57cf11 | 16490 | { |
e6cc62c6 VS |
16491 | |
16492 | FILE *f = fopen ("conftest.val", "w"); | |
16493 | if (! f) | |
16494 | exit (1); | |
16495 | if (((long) (sizeof (long long))) < 0) | |
16496 | { | |
16497 | long i = longval (); | |
16498 | if (i != ((long) (sizeof (long long)))) | |
16499 | exit (1); | |
16500 | fprintf (f, "%ld\n", i); | |
16501 | } | |
16502 | else | |
16503 | { | |
16504 | unsigned long i = ulongval (); | |
16505 | if (i != ((long) (sizeof (long long)))) | |
16506 | exit (1); | |
16507 | fprintf (f, "%lu\n", i); | |
16508 | } | |
16509 | exit (ferror (f) || fclose (f) != 0); | |
16510 | ||
16511 | ; | |
16512 | return 0; | |
4f57cf11 | 16513 | } |
e6cc62c6 VS |
16514 | _ACEOF |
16515 | rm -f conftest$ac_exeext | |
16516 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16517 | (eval $ac_link) 2>&5 | |
16518 | ac_status=$? | |
16519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16520 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
16521 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16522 | (eval $ac_try) 2>&5 | |
16523 | ac_status=$? | |
16524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16525 | (exit $ac_status); }; }; then | |
16526 | ac_cv_sizeof_long_long=`cat conftest.val` | |
16527 | else | |
16528 | echo "$as_me: program exited with status $ac_status" >&5 | |
16529 | echo "$as_me: failed program was:" >&5 | |
16530 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16531 | ||
16532 | ( exit $ac_status ) | |
16533 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 | |
16534 | See \`config.log' for more details." >&5 | |
16535 | echo "$as_me: error: cannot compute sizeof (long long), 77 | |
16536 | See \`config.log' for more details." >&2;} | |
16537 | { (exit 1); exit 1; }; } | |
16538 | fi | |
16539 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
16540 | fi | |
16541 | fi | |
16542 | rm -f conftest.val | |
4f57cf11 | 16543 | else |
4f57cf11 GD |
16544 | ac_cv_sizeof_long_long=0 |
16545 | fi | |
7b4a847f | 16546 | fi |
e6cc62c6 VS |
16547 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
16548 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 | |
16549 | cat >>confdefs.h <<_ACEOF | |
21d1c967 | 16550 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
e6cc62c6 | 16551 | _ACEOF |
9e691f46 | 16552 | |
8284b0c5 | 16553 | |
21d1c967 GD |
16554 | esac |
16555 | ||
e6cc62c6 VS |
16556 | echo "$as_me:$LINENO: checking size of wchar_t" >&5 |
16557 | echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6 | |
16558 | if test "${wx_cv_sizeof_wchar_t+set}" = set; then | |
16559 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 16560 | else |
e6cc62c6 | 16561 | |
21d1c967 | 16562 | if test "$cross_compiling" = yes; then |
e6cc62c6 | 16563 | |
2b5f62a0 VZ |
16564 | case "${host}" in |
16565 | *-pc-msdosdjgpp ) | |
16566 | wx_cv_sizeof_wchar_t=0 | |
16567 | ;; | |
16568 | * ) | |
16569 | wx_cv_sizeof_wchar_t=4 | |
16570 | ;; | |
16571 | esac | |
e6cc62c6 VS |
16572 | |
16573 | ||
6f72b082 | 16574 | else |
e6cc62c6 VS |
16575 | cat >conftest.$ac_ext <<_ACEOF |
16576 | #line $LINENO "configure" | |
16577 | /* confdefs.h. */ | |
16578 | _ACEOF | |
16579 | cat confdefs.h >>conftest.$ac_ext | |
16580 | cat >>conftest.$ac_ext <<_ACEOF | |
16581 | /* end confdefs.h. */ | |
21d1c967 | 16582 | |
2b5f62a0 VZ |
16583 | /* DJGPP only has fake wchar_t: */ |
16584 | #ifdef __DJGPP__ | |
16585 | # error "fake wchar_t" | |
16586 | #endif | |
21d1c967 GD |
16587 | #ifdef HAVE_WCHAR_H |
16588 | # ifdef __CYGWIN__ | |
16589 | # include <stddef.h> | |
16590 | # endif | |
16591 | # include <wchar.h> | |
16592 | #endif | |
16593 | #ifdef HAVE_STDLIB_H | |
16594 | # include <stdlib.h> | |
16595 | #endif | |
16596 | #include <stdio.h> | |
16597 | int main() | |
16598 | { | |
16599 | FILE *f=fopen("conftestval", "w"); | |
16600 | if (!f) exit(1); | |
16601 | fprintf(f, "%i", sizeof(wchar_t)); | |
16602 | exit(0); | |
16603 | } | |
e6cc62c6 VS |
16604 | |
16605 | _ACEOF | |
16606 | rm -f conftest$ac_exeext | |
16607 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16608 | (eval $ac_link) 2>&5 | |
16609 | ac_status=$? | |
16610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16611 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
16612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16613 | (eval $ac_try) 2>&5 | |
16614 | ac_status=$? | |
16615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16616 | (exit $ac_status); }; }; then | |
21d1c967 | 16617 | wx_cv_sizeof_wchar_t=`cat conftestval` |
6f72b082 | 16618 | else |
e6cc62c6 VS |
16619 | echo "$as_me: program exited with status $ac_status" >&5 |
16620 | echo "$as_me: failed program was:" >&5 | |
16621 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16622 | ||
16623 | ( exit $ac_status ) | |
16624 | wx_cv_sizeof_wchar_t=0 | |
6f72b082 | 16625 | fi |
e6cc62c6 | 16626 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6f72b082 | 16627 | fi |
6f72b082 | 16628 | |
3f345b47 | 16629 | fi |
e6cc62c6 VS |
16630 | echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5 |
16631 | echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6 | |
3f345b47 | 16632 | |
e6cc62c6 | 16633 | cat >>confdefs.h <<_ACEOF |
21d1c967 | 16634 | #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t |
e6cc62c6 | 16635 | _ACEOF |
90dd450c | 16636 | |
8284b0c5 | 16637 | |
21d1c967 GD |
16638 | # Check whether --enable-largefile or --disable-largefile was given. |
16639 | if test "${enable_largefile+set}" = set; then | |
16640 | enableval="$enable_largefile" | |
3f345b47 | 16641 | |
e6cc62c6 | 16642 | fi; |
21d1c967 GD |
16643 | if test "$enable_largefile" != no; then |
16644 | wx_largefile=no | |
e6cc62c6 VS |
16645 | |
16646 | echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | |
16647 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | |
16648 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | |
16649 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16650 | else | |
16651 | ||
16652 | cat >conftest.$ac_ext <<_ACEOF | |
16653 | #line $LINENO "configure" | |
16654 | /* confdefs.h. */ | |
16655 | _ACEOF | |
16656 | cat confdefs.h >>conftest.$ac_ext | |
16657 | cat >>conftest.$ac_ext <<_ACEOF | |
16658 | /* end confdefs.h. */ | |
21d1c967 GD |
16659 | #define _FILE_OFFSET_BITS 64 |
16660 | #include <sys/types.h> | |
e6cc62c6 VS |
16661 | int |
16662 | main () | |
16663 | { | |
21d1c967 GD |
16664 | typedef struct { |
16665 | unsigned int field: sizeof(off_t) == 8; | |
16666 | } wxlf; | |
16667 | ||
e6cc62c6 VS |
16668 | ; |
16669 | return 0; | |
16670 | } | |
16671 | _ACEOF | |
16672 | rm -f conftest.$ac_objext | |
16673 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16674 | (eval $ac_compile) 2>&5 | |
16675 | ac_status=$? | |
16676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16677 | (exit $ac_status); } && | |
16678 | { ac_try='test -s conftest.$ac_objext' | |
16679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16680 | (eval $ac_try) 2>&5 | |
16681 | ac_status=$? | |
16682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16683 | (exit $ac_status); }; }; then | |
21d1c967 | 16684 | ac_cv_sys_file_offset_bits=64 |
f6bcfd97 | 16685 | else |
e6cc62c6 VS |
16686 | echo "$as_me: failed program was:" >&5 |
16687 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16688 | ||
16689 | ac_cv_sys_file_offset_bits=no | |
247f5006 | 16690 | fi |
e6cc62c6 VS |
16691 | rm -f conftest.$ac_objext conftest.$ac_ext |
16692 | ||
a0b9e27f | 16693 | |
e6cc62c6 VS |
16694 | fi |
16695 | echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | |
16696 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | |
21d1c967 GD |
16697 | |
16698 | if test "$ac_cv_sys_file_offset_bits" != no; then | |
16699 | wx_largefile=yes | |
e6cc62c6 | 16700 | cat >>confdefs.h <<_ACEOF |
21d1c967 | 16701 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
e6cc62c6 | 16702 | _ACEOF |
21d1c967 GD |
16703 | |
16704 | fi | |
16705 | ||
16706 | if test "x$wx_largefile" != "xyes"; then | |
e6cc62c6 VS |
16707 | |
16708 | echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | |
16709 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | |
16710 | if test "${ac_cv_sys_large_files+set}" = set; then | |
16711 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16712 | else | |
16713 | ||
16714 | cat >conftest.$ac_ext <<_ACEOF | |
16715 | #line $LINENO "configure" | |
16716 | /* confdefs.h. */ | |
16717 | _ACEOF | |
16718 | cat confdefs.h >>conftest.$ac_ext | |
16719 | cat >>conftest.$ac_ext <<_ACEOF | |
16720 | /* end confdefs.h. */ | |
21d1c967 GD |
16721 | #define _LARGE_FILES 1 |
16722 | #include <sys/types.h> | |
e6cc62c6 VS |
16723 | int |
16724 | main () | |
16725 | { | |
21d1c967 GD |
16726 | typedef struct { |
16727 | unsigned int field: sizeof(off_t) == 8; | |
16728 | } wxlf; | |
16729 | ||
e6cc62c6 VS |
16730 | ; |
16731 | return 0; | |
16732 | } | |
16733 | _ACEOF | |
16734 | rm -f conftest.$ac_objext | |
16735 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16736 | (eval $ac_compile) 2>&5 | |
16737 | ac_status=$? | |
16738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16739 | (exit $ac_status); } && | |
16740 | { ac_try='test -s conftest.$ac_objext' | |
16741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16742 | (eval $ac_try) 2>&5 | |
16743 | ac_status=$? | |
16744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16745 | (exit $ac_status); }; }; then | |
21d1c967 | 16746 | ac_cv_sys_large_files=1 |
f6bcfd97 | 16747 | else |
e6cc62c6 VS |
16748 | echo "$as_me: failed program was:" >&5 |
16749 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16750 | ||
16751 | ac_cv_sys_large_files=no | |
247f5006 | 16752 | fi |
e6cc62c6 | 16753 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 16754 | |
e6cc62c6 VS |
16755 | |
16756 | fi | |
16757 | echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | |
16758 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | |
3f345b47 | 16759 | |
21d1c967 GD |
16760 | if test "$ac_cv_sys_large_files" != no; then |
16761 | wx_largefile=yes | |
e6cc62c6 | 16762 | cat >>confdefs.h <<_ACEOF |
21d1c967 | 16763 | #define _LARGE_FILES $ac_cv_sys_large_files |
e6cc62c6 | 16764 | _ACEOF |
90dd450c | 16765 | |
90dd450c VZ |
16766 | fi |
16767 | ||
90dd450c | 16768 | fi |
90dd450c | 16769 | |
e6cc62c6 VS |
16770 | echo "$as_me:$LINENO: checking if large file support is available" >&5 |
16771 | echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6 | |
21d1c967 | 16772 | if test "x$wx_largefile" = "xyes"; then |
e6cc62c6 | 16773 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 16774 | #define HAVE_LARGEFILE_SUPPORT 1 |
e6cc62c6 | 16775 | _ACEOF |
90dd450c | 16776 | |
90dd450c | 16777 | fi |
e6cc62c6 VS |
16778 | echo "$as_me:$LINENO: result: $wx_largefile" >&5 |
16779 | echo "${ECHO_T}$wx_largefile" >&6 | |
21d1c967 | 16780 | fi |
90dd450c | 16781 | |
8284b0c5 | 16782 | |
f02444d0 | 16783 | if test "x$wx_largefile" = "xyes"; then |
e26c13cf RD |
16784 | if test "x$ac_cv_sys_file_offset_bits" = "x64"; then |
16785 | WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES" | |
f02444d0 | 16786 | else |
e26c13cf | 16787 | WX_LARGEFILE_FLAGS="-D_LARGE_FILES" |
f02444d0 | 16788 | fi |
e26c13cf | 16789 | CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS" |
f02444d0 VZ |
16790 | fi |
16791 | ||
e6cc62c6 VS |
16792 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
16793 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | |
16794 | if test "${ac_cv_c_bigendian+set}" = set; then | |
16795 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 16796 | else |
21d1c967 GD |
16797 | ac_cv_c_bigendian=unknown |
16798 | # See if sys/param.h defines the BYTE_ORDER macro. | |
e6cc62c6 VS |
16799 | cat >conftest.$ac_ext <<_ACEOF |
16800 | #line $LINENO "configure" | |
16801 | /* confdefs.h. */ | |
16802 | _ACEOF | |
16803 | cat confdefs.h >>conftest.$ac_ext | |
16804 | cat >>conftest.$ac_ext <<_ACEOF | |
16805 | /* end confdefs.h. */ | |
21d1c967 GD |
16806 | #include <sys/types.h> |
16807 | #include <sys/param.h> | |
e6cc62c6 VS |
16808 | int |
16809 | main () | |
16810 | { | |
21d1c967 GD |
16811 | |
16812 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | |
16813 | bogus endian macros | |
16814 | #endif | |
e6cc62c6 VS |
16815 | ; |
16816 | return 0; | |
16817 | } | |
16818 | _ACEOF | |
16819 | rm -f conftest.$ac_objext | |
16820 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16821 | (eval $ac_compile) 2>&5 | |
16822 | ac_status=$? | |
16823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16824 | (exit $ac_status); } && | |
16825 | { ac_try='test -s conftest.$ac_objext' | |
16826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16827 | (eval $ac_try) 2>&5 | |
16828 | ac_status=$? | |
16829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16830 | (exit $ac_status); }; }; then | |
21d1c967 | 16831 | # It does; now see whether it defined to BIG_ENDIAN or not. |
e6cc62c6 VS |
16832 | cat >conftest.$ac_ext <<_ACEOF |
16833 | #line $LINENO "configure" | |
16834 | /* confdefs.h. */ | |
16835 | _ACEOF | |
16836 | cat confdefs.h >>conftest.$ac_ext | |
16837 | cat >>conftest.$ac_ext <<_ACEOF | |
16838 | /* end confdefs.h. */ | |
21d1c967 GD |
16839 | #include <sys/types.h> |
16840 | #include <sys/param.h> | |
e6cc62c6 VS |
16841 | int |
16842 | main () | |
16843 | { | |
21d1c967 GD |
16844 | |
16845 | #if BYTE_ORDER != BIG_ENDIAN | |
16846 | not big endian | |
16847 | #endif | |
e6cc62c6 VS |
16848 | ; |
16849 | return 0; | |
16850 | } | |
16851 | _ACEOF | |
16852 | rm -f conftest.$ac_objext | |
16853 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
16854 | (eval $ac_compile) 2>&5 | |
16855 | ac_status=$? | |
16856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16857 | (exit $ac_status); } && | |
16858 | { ac_try='test -s conftest.$ac_objext' | |
16859 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16860 | (eval $ac_try) 2>&5 | |
16861 | ac_status=$? | |
16862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16863 | (exit $ac_status); }; }; then | |
21d1c967 | 16864 | ac_cv_c_bigendian=yes |
3f345b47 | 16865 | else |
e6cc62c6 VS |
16866 | echo "$as_me: failed program was:" >&5 |
16867 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16868 | ||
16869 | ac_cv_c_bigendian=no | |
3f345b47 | 16870 | fi |
e6cc62c6 | 16871 | rm -f conftest.$ac_objext conftest.$ac_ext |
3f345b47 | 16872 | else |
e6cc62c6 VS |
16873 | echo "$as_me: failed program was:" >&5 |
16874 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16875 | ||
3f345b47 | 16876 | fi |
e6cc62c6 | 16877 | rm -f conftest.$ac_objext conftest.$ac_ext |
21d1c967 GD |
16878 | if test $ac_cv_c_bigendian = unknown; then |
16879 | if test "$cross_compiling" = yes; then | |
16880 | ac_cv_c_bigendian=unknown | |
10f2d63a | 16881 | else |
e6cc62c6 VS |
16882 | cat >conftest.$ac_ext <<_ACEOF |
16883 | #line $LINENO "configure" | |
16884 | /* confdefs.h. */ | |
16885 | _ACEOF | |
16886 | cat confdefs.h >>conftest.$ac_ext | |
16887 | cat >>conftest.$ac_ext <<_ACEOF | |
16888 | /* end confdefs.h. */ | |
21d1c967 GD |
16889 | main () { |
16890 | /* Are we little or big endian? From Harbison&Steele. */ | |
16891 | union | |
16892 | { | |
16893 | long l; | |
16894 | char c[sizeof (long)]; | |
16895 | } u; | |
16896 | u.l = 1; | |
16897 | exit (u.c[sizeof (long) - 1] == 1); | |
16898 | } | |
e6cc62c6 VS |
16899 | _ACEOF |
16900 | rm -f conftest$ac_exeext | |
16901 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16902 | (eval $ac_link) 2>&5 | |
16903 | ac_status=$? | |
16904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16905 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
16906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16907 | (eval $ac_try) 2>&5 | |
16908 | ac_status=$? | |
16909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16910 | (exit $ac_status); }; }; then | |
21d1c967 | 16911 | ac_cv_c_bigendian=no |
3f345b47 | 16912 | else |
e6cc62c6 VS |
16913 | echo "$as_me: program exited with status $ac_status" >&5 |
16914 | echo "$as_me: failed program was:" >&5 | |
16915 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16916 | ||
16917 | ( exit $ac_status ) | |
16918 | ac_cv_c_bigendian=yes | |
247f5006 | 16919 | fi |
e6cc62c6 | 16920 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
247f5006 | 16921 | fi |
3f345b47 | 16922 | fi |
8168de4c | 16923 | fi |
e6cc62c6 VS |
16924 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
16925 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | |
247f5006 | 16926 | if test $ac_cv_c_bigendian = unknown; then |
e6cc62c6 VS |
16927 | { 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 |
16928 | 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;} | |
247f5006 VZ |
16929 | fi |
16930 | if test $ac_cv_c_bigendian = yes; then | |
e6cc62c6 | 16931 | cat >>confdefs.h <<\_ACEOF |
247f5006 | 16932 | #define WORDS_BIGENDIAN 1 |
e6cc62c6 | 16933 | _ACEOF |
247f5006 VZ |
16934 | |
16935 | fi | |
16936 | ||
16937 | ||
e6cc62c6 VS |
16938 | |
16939 | ac_ext=cc | |
16940 | ac_cpp='$CXXCPP $CPPFLAGS' | |
16941 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
16942 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
16943 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
16944 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | |
16945 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | |
247f5006 | 16946 | if test -z "$CXXCPP"; then |
e6cc62c6 VS |
16947 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
16948 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16949 | else | |
16950 | # Double quotes because CXXCPP needs to be expanded | |
16951 | for CXXCPP in "$CXX -E" "/lib/cpp" | |
16952 | do | |
16953 | ac_preproc_ok=false | |
16954 | for ac_cxx_preproc_warn_flag in '' yes | |
16955 | do | |
16956 | # Use a header file that comes with gcc, so configuring glibc | |
16957 | # with a fresh cross-compiler works. | |
16958 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
16959 | # <limits.h> exists even on freestanding compilers. | |
16960 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
16961 | # not just through cpp. "Syntax error" is here to catch this case. | |
16962 | cat >conftest.$ac_ext <<_ACEOF | |
16963 | #line $LINENO "configure" | |
16964 | /* confdefs.h. */ | |
16965 | _ACEOF | |
16966 | cat confdefs.h >>conftest.$ac_ext | |
16967 | cat >>conftest.$ac_ext <<_ACEOF | |
16968 | /* end confdefs.h. */ | |
16969 | #ifdef __STDC__ | |
16970 | # include <limits.h> | |
16971 | #else | |
16972 | # include <assert.h> | |
16973 | #endif | |
16974 | Syntax error | |
16975 | _ACEOF | |
16976 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
16977 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
16978 | ac_status=$? | |
16979 | grep -v '^ *+' conftest.er1 >conftest.err | |
16980 | rm -f conftest.er1 | |
16981 | cat conftest.err >&5 | |
16982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16983 | (exit $ac_status); } >/dev/null; then | |
16984 | if test -s conftest.err; then | |
16985 | ac_cpp_err=$ac_cxx_preproc_warn_flag | |
16986 | else | |
16987 | ac_cpp_err= | |
16988 | fi | |
247f5006 | 16989 | else |
e6cc62c6 VS |
16990 | ac_cpp_err=yes |
16991 | fi | |
16992 | if test -z "$ac_cpp_err"; then | |
16993 | : | |
16994 | else | |
16995 | echo "$as_me: failed program was:" >&5 | |
16996 | sed 's/^/| /' conftest.$ac_ext >&5 | |
16997 | ||
16998 | # Broken: fails on valid input. | |
16999 | continue | |
17000 | fi | |
17001 | rm -f conftest.err conftest.$ac_ext | |
17002 | ||
17003 | # OK, works on sane cases. Now check whether non-existent headers | |
17004 | # can be detected and how. | |
17005 | cat >conftest.$ac_ext <<_ACEOF | |
17006 | #line $LINENO "configure" | |
17007 | /* confdefs.h. */ | |
17008 | _ACEOF | |
17009 | cat confdefs.h >>conftest.$ac_ext | |
17010 | cat >>conftest.$ac_ext <<_ACEOF | |
17011 | /* end confdefs.h. */ | |
17012 | #include <ac_nonexistent.h> | |
17013 | _ACEOF | |
17014 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
17015 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
17016 | ac_status=$? | |
17017 | grep -v '^ *+' conftest.er1 >conftest.err | |
17018 | rm -f conftest.er1 | |
17019 | cat conftest.err >&5 | |
17020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17021 | (exit $ac_status); } >/dev/null; then | |
17022 | if test -s conftest.err; then | |
17023 | ac_cpp_err=$ac_cxx_preproc_warn_flag | |
17024 | else | |
17025 | ac_cpp_err= | |
17026 | fi | |
17027 | else | |
17028 | ac_cpp_err=yes | |
17029 | fi | |
17030 | if test -z "$ac_cpp_err"; then | |
17031 | # Broken: success on invalid input. | |
17032 | continue | |
17033 | else | |
17034 | echo "$as_me: failed program was:" >&5 | |
17035 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17036 | ||
17037 | # Passes both tests. | |
17038 | ac_preproc_ok=: | |
17039 | break | |
17040 | fi | |
17041 | rm -f conftest.err conftest.$ac_ext | |
17042 | ||
17043 | done | |
17044 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
17045 | rm -f conftest.err conftest.$ac_ext | |
17046 | if $ac_preproc_ok; then | |
17047 | break | |
17048 | fi | |
17049 | ||
17050 | done | |
17051 | ac_cv_prog_CXXCPP=$CXXCPP | |
17052 | ||
17053 | fi | |
17054 | CXXCPP=$ac_cv_prog_CXXCPP | |
17055 | else | |
17056 | ac_cv_prog_CXXCPP=$CXXCPP | |
17057 | fi | |
17058 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | |
17059 | echo "${ECHO_T}$CXXCPP" >&6 | |
17060 | ac_preproc_ok=false | |
17061 | for ac_cxx_preproc_warn_flag in '' yes | |
17062 | do | |
17063 | # Use a header file that comes with gcc, so configuring glibc | |
17064 | # with a fresh cross-compiler works. | |
17065 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17066 | # <limits.h> exists even on freestanding compilers. | |
17067 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
17068 | # not just through cpp. "Syntax error" is here to catch this case. | |
17069 | cat >conftest.$ac_ext <<_ACEOF | |
17070 | #line $LINENO "configure" | |
17071 | /* confdefs.h. */ | |
17072 | _ACEOF | |
17073 | cat confdefs.h >>conftest.$ac_ext | |
17074 | cat >>conftest.$ac_ext <<_ACEOF | |
17075 | /* end confdefs.h. */ | |
17076 | #ifdef __STDC__ | |
17077 | # include <limits.h> | |
17078 | #else | |
17079 | # include <assert.h> | |
17080 | #endif | |
17081 | Syntax error | |
17082 | _ACEOF | |
17083 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
17084 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
17085 | ac_status=$? | |
17086 | grep -v '^ *+' conftest.er1 >conftest.err | |
17087 | rm -f conftest.er1 | |
17088 | cat conftest.err >&5 | |
17089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17090 | (exit $ac_status); } >/dev/null; then | |
17091 | if test -s conftest.err; then | |
17092 | ac_cpp_err=$ac_cxx_preproc_warn_flag | |
17093 | else | |
17094 | ac_cpp_err= | |
17095 | fi | |
17096 | else | |
17097 | ac_cpp_err=yes | |
17098 | fi | |
17099 | if test -z "$ac_cpp_err"; then | |
21d1c967 | 17100 | : |
698dcdb6 | 17101 | else |
e6cc62c6 VS |
17102 | echo "$as_me: failed program was:" >&5 |
17103 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17104 | ||
17105 | # Broken: fails on valid input. | |
17106 | continue | |
17107 | fi | |
17108 | rm -f conftest.err conftest.$ac_ext | |
17109 | ||
17110 | # OK, works on sane cases. Now check whether non-existent headers | |
17111 | # can be detected and how. | |
17112 | cat >conftest.$ac_ext <<_ACEOF | |
17113 | #line $LINENO "configure" | |
17114 | /* confdefs.h. */ | |
17115 | _ACEOF | |
17116 | cat confdefs.h >>conftest.$ac_ext | |
17117 | cat >>conftest.$ac_ext <<_ACEOF | |
17118 | /* end confdefs.h. */ | |
17119 | #include <ac_nonexistent.h> | |
17120 | _ACEOF | |
17121 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
17122 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
17123 | ac_status=$? | |
17124 | grep -v '^ *+' conftest.er1 >conftest.err | |
17125 | rm -f conftest.er1 | |
17126 | cat conftest.err >&5 | |
17127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17128 | (exit $ac_status); } >/dev/null; then | |
17129 | if test -s conftest.err; then | |
17130 | ac_cpp_err=$ac_cxx_preproc_warn_flag | |
17131 | else | |
17132 | ac_cpp_err= | |
17133 | fi | |
17134 | else | |
17135 | ac_cpp_err=yes | |
247f5006 | 17136 | fi |
e6cc62c6 VS |
17137 | if test -z "$ac_cpp_err"; then |
17138 | # Broken: success on invalid input. | |
17139 | continue | |
17140 | else | |
17141 | echo "$as_me: failed program was:" >&5 | |
17142 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17143 | ||
17144 | # Passes both tests. | |
17145 | ac_preproc_ok=: | |
17146 | break | |
328a083c | 17147 | fi |
e6cc62c6 VS |
17148 | rm -f conftest.err conftest.$ac_ext |
17149 | ||
17150 | done | |
17151 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
17152 | rm -f conftest.err conftest.$ac_ext | |
17153 | if $ac_preproc_ok; then | |
17154 | : | |
17155 | else | |
17156 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | |
17157 | See \`config.log' for more details." >&5 | |
17158 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | |
17159 | See \`config.log' for more details." >&2;} | |
17160 | { (exit 1); exit 1; }; } | |
90dd450c | 17161 | fi |
e6cc62c6 VS |
17162 | |
17163 | ac_ext=cc | |
17164 | ac_cpp='$CXXCPP $CPPFLAGS' | |
17165 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
17166 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17167 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
17168 | ||
1e6feb95 | 17169 | |
1725144d | 17170 | |
21d1c967 | 17171 | if test "$cross_compiling" = "yes"; then |
e6cc62c6 | 17172 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 17173 | #define wxUSE_IOSTREAMH 1 |
e6cc62c6 | 17174 | _ACEOF |
ab9b9eab | 17175 | |
21d1c967 | 17176 | else |
e6cc62c6 VS |
17177 | |
17178 | ||
17179 | ac_ext=cc | |
5c6fa7d2 | 17180 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
17181 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17182 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17183 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
17184 | ||
52127426 | 17185 | |
247f5006 | 17186 | |
e6cc62c6 | 17187 | for ac_header in iostream |
21d1c967 | 17188 | do |
e6cc62c6 VS |
17189 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17190 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
17191 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17192 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
17193 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
17194 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
17195 | fi | |
17196 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
17197 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
17198 | else | |
17199 | # Is the header compilable? | |
17200 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17201 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
17202 | cat >conftest.$ac_ext <<_ACEOF | |
17203 | #line $LINENO "configure" | |
17204 | /* confdefs.h. */ | |
17205 | _ACEOF | |
17206 | cat confdefs.h >>conftest.$ac_ext | |
17207 | cat >>conftest.$ac_ext <<_ACEOF | |
17208 | /* end confdefs.h. */ | |
17209 | $ac_includes_default | |
17210 | #include <$ac_header> | |
17211 | _ACEOF | |
17212 | rm -f conftest.$ac_objext | |
17213 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17214 | (eval $ac_compile) 2>&5 | |
17215 | ac_status=$? | |
17216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17217 | (exit $ac_status); } && | |
17218 | { ac_try='test -s conftest.$ac_objext' | |
17219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17220 | (eval $ac_try) 2>&5 | |
17221 | ac_status=$? | |
17222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17223 | (exit $ac_status); }; }; then | |
17224 | ac_header_compiler=yes | |
17225 | else | |
17226 | echo "$as_me: failed program was:" >&5 | |
17227 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17228 | ||
17229 | ac_header_compiler=no | |
17230 | fi | |
17231 | rm -f conftest.$ac_objext conftest.$ac_ext | |
17232 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
17233 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
17234 | ||
17235 | # Is the header present? | |
17236 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
17237 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
17238 | cat >conftest.$ac_ext <<_ACEOF | |
17239 | #line $LINENO "configure" | |
17240 | /* confdefs.h. */ | |
17241 | _ACEOF | |
17242 | cat confdefs.h >>conftest.$ac_ext | |
17243 | cat >>conftest.$ac_ext <<_ACEOF | |
17244 | /* end confdefs.h. */ | |
17245 | #include <$ac_header> | |
17246 | _ACEOF | |
17247 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
17248 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
17249 | ac_status=$? | |
17250 | grep -v '^ *+' conftest.er1 >conftest.err | |
17251 | rm -f conftest.er1 | |
17252 | cat conftest.err >&5 | |
17253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17254 | (exit $ac_status); } >/dev/null; then | |
17255 | if test -s conftest.err; then | |
17256 | ac_cpp_err=$ac_cxx_preproc_warn_flag | |
17257 | else | |
17258 | ac_cpp_err= | |
17259 | fi | |
17260 | else | |
17261 | ac_cpp_err=yes | |
17262 | fi | |
17263 | if test -z "$ac_cpp_err"; then | |
17264 | ac_header_preproc=yes | |
17265 | else | |
17266 | echo "$as_me: failed program was:" >&5 | |
17267 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17268 | ||
17269 | ac_header_preproc=no | |
17270 | fi | |
17271 | rm -f conftest.err conftest.$ac_ext | |
17272 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
17273 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
17274 | ||
17275 | # So? What about this header? | |
17276 | case $ac_header_compiler:$ac_header_preproc in | |
17277 | yes:no ) | |
17278 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
17279 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
17280 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17281 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17282 | ( | |
17283 | cat <<\_ASBOX | |
17284 | ## ------------------------------------ ## | |
17285 | ## Report this to bug-autoconf@gnu.org. ## | |
17286 | ## ------------------------------------ ## | |
17287 | _ASBOX | |
17288 | ) | | |
17289 | sed "s/^/$as_me: WARNING: /" >&2 | |
17290 | ;; | |
17291 | no:yes ) | |
17292 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
17293 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
17294 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
17295 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
17296 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17297 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17298 | ( | |
17299 | cat <<\_ASBOX | |
17300 | ## ------------------------------------ ## | |
17301 | ## Report this to bug-autoconf@gnu.org. ## | |
17302 | ## ------------------------------------ ## | |
17303 | _ASBOX | |
17304 | ) | | |
17305 | sed "s/^/$as_me: WARNING: /" >&2 | |
17306 | ;; | |
17307 | esac | |
17308 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17309 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
17310 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
17311 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
17312 | else | |
17313 | eval "$as_ac_Header=$ac_header_preproc" | |
ab9b9eab | 17314 | fi |
e6cc62c6 VS |
17315 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
17316 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
17317 | ||
90dd450c | 17318 | fi |
e6cc62c6 VS |
17319 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17320 | cat >>confdefs.h <<_ACEOF | |
17321 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
17322 | _ACEOF | |
17323 | ||
90dd450c | 17324 | fi |
e6cc62c6 | 17325 | |
21d1c967 | 17326 | done |
10f2d63a | 17327 | |
8284b0c5 | 17328 | |
21d1c967 GD |
17329 | if test "$ac_cv_header_iostream" = "yes" ; then |
17330 | : | |
17331 | else | |
e6cc62c6 | 17332 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 17333 | #define wxUSE_IOSTREAMH 1 |
e6cc62c6 | 17334 | _ACEOF |
788deba1 | 17335 | |
90dd450c | 17336 | fi |
ab9b9eab | 17337 | |
21d1c967 | 17338 | ac_ext=c |
21d1c967 | 17339 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
17340 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17341 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17342 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
ab9b9eab | 17343 | |
21d1c967 | 17344 | fi |
ab9b9eab | 17345 | |
52127426 | 17346 | |
8284b0c5 | 17347 | |
e6cc62c6 VS |
17348 | echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5 |
17349 | echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6 | |
17350 | if test "${wx_cv_cpp_bool+set}" = set; then | |
17351 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 17352 | else |
e6cc62c6 VS |
17353 | |
17354 | ||
17355 | ||
17356 | ac_ext=cc | |
5c6fa7d2 | 17357 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
17358 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17359 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17360 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
21d1c967 | 17361 | |
8284b0c5 | 17362 | |
e6cc62c6 VS |
17363 | cat >conftest.$ac_ext <<_ACEOF |
17364 | #line $LINENO "configure" | |
17365 | /* confdefs.h. */ | |
17366 | _ACEOF | |
17367 | cat confdefs.h >>conftest.$ac_ext | |
17368 | cat >>conftest.$ac_ext <<_ACEOF | |
17369 | /* end confdefs.h. */ | |
21d1c967 | 17370 | |
e6cc62c6 VS |
17371 | |
17372 | int | |
17373 | main () | |
17374 | { | |
21d1c967 GD |
17375 | |
17376 | bool b = true; | |
17377 | ||
17378 | return 0; | |
e6cc62c6 VS |
17379 | |
17380 | ; | |
17381 | return 0; | |
17382 | } | |
17383 | _ACEOF | |
17384 | rm -f conftest.$ac_objext | |
17385 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17386 | (eval $ac_compile) 2>&5 | |
17387 | ac_status=$? | |
17388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17389 | (exit $ac_status); } && | |
17390 | { ac_try='test -s conftest.$ac_objext' | |
17391 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17392 | (eval $ac_try) 2>&5 | |
17393 | ac_status=$? | |
17394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17395 | (exit $ac_status); }; }; then | |
17396 | ||
21d1c967 | 17397 | wx_cv_cpp_bool=yes |
e6cc62c6 | 17398 | |
698dcdb6 | 17399 | else |
e6cc62c6 VS |
17400 | echo "$as_me: failed program was:" >&5 |
17401 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17402 | ||
17403 | ||
21d1c967 | 17404 | wx_cv_cpp_bool=no |
e6cc62c6 VS |
17405 | |
17406 | ||
698dcdb6 | 17407 | fi |
e6cc62c6 | 17408 | rm -f conftest.$ac_objext conftest.$ac_ext |
21d1c967 GD |
17409 | |
17410 | ac_ext=c | |
21d1c967 | 17411 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
17412 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17413 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17414 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
8284b0c5 | 17415 | |
a0b9e27f | 17416 | |
e6cc62c6 VS |
17417 | fi |
17418 | echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5 | |
17419 | echo "${ECHO_T}$wx_cv_cpp_bool" >&6 | |
21d1c967 GD |
17420 | |
17421 | if test "$wx_cv_cpp_bool" = "yes"; then | |
e6cc62c6 | 17422 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 17423 | #define HAVE_BOOL 1 |
e6cc62c6 | 17424 | _ACEOF |
ab9b9eab | 17425 | |
21d1c967 GD |
17426 | fi |
17427 | ||
52127426 | 17428 | |
8284b0c5 | 17429 | |
e6cc62c6 VS |
17430 | echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5 |
17431 | echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6 | |
17432 | if test "${wx_cv_explicit+set}" = set; then | |
17433 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 17434 | else |
e6cc62c6 VS |
17435 | |
17436 | ||
17437 | ||
17438 | ac_ext=cc | |
5c6fa7d2 | 17439 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
17440 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17441 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17442 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
986ecc86 | 17443 | |
8284b0c5 | 17444 | |
e6cc62c6 VS |
17445 | cat >conftest.$ac_ext <<_ACEOF |
17446 | #line $LINENO "configure" | |
17447 | /* confdefs.h. */ | |
17448 | _ACEOF | |
17449 | cat confdefs.h >>conftest.$ac_ext | |
17450 | cat >>conftest.$ac_ext <<_ACEOF | |
17451 | /* end confdefs.h. */ | |
986ecc86 VZ |
17452 | |
17453 | class Foo { public: explicit Foo(int) {} }; | |
e6cc62c6 VS |
17454 | |
17455 | int | |
17456 | main () | |
17457 | { | |
986ecc86 VZ |
17458 | |
17459 | return 0; | |
e6cc62c6 VS |
17460 | |
17461 | ; | |
17462 | return 0; | |
17463 | } | |
17464 | _ACEOF | |
17465 | rm -f conftest.$ac_objext | |
17466 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17467 | (eval $ac_compile) 2>&5 | |
17468 | ac_status=$? | |
17469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17470 | (exit $ac_status); } && | |
17471 | { ac_try='test -s conftest.$ac_objext' | |
17472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17473 | (eval $ac_try) 2>&5 | |
17474 | ac_status=$? | |
17475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17476 | (exit $ac_status); }; }; then | |
17477 | ||
17478 | cat >conftest.$ac_ext <<_ACEOF | |
17479 | #line $LINENO "configure" | |
17480 | /* confdefs.h. */ | |
17481 | _ACEOF | |
17482 | cat confdefs.h >>conftest.$ac_ext | |
17483 | cat >>conftest.$ac_ext <<_ACEOF | |
17484 | /* end confdefs.h. */ | |
986ecc86 VZ |
17485 | |
17486 | class Foo { public: explicit Foo(int) {} }; | |
17487 | static void TakeFoo(const Foo& foo) { } | |
e6cc62c6 VS |
17488 | |
17489 | int | |
17490 | main () | |
17491 | { | |
986ecc86 VZ |
17492 | |
17493 | TakeFoo(17); | |
17494 | return 0; | |
e6cc62c6 VS |
17495 | |
17496 | ; | |
17497 | return 0; | |
17498 | } | |
17499 | _ACEOF | |
17500 | rm -f conftest.$ac_objext | |
17501 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17502 | (eval $ac_compile) 2>&5 | |
17503 | ac_status=$? | |
17504 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17505 | (exit $ac_status); } && | |
17506 | { ac_try='test -s conftest.$ac_objext' | |
17507 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17508 | (eval $ac_try) 2>&5 | |
17509 | ac_status=$? | |
17510 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17511 | (exit $ac_status); }; }; then | |
986ecc86 VZ |
17512 | wx_cv_explicit=no |
17513 | else | |
e6cc62c6 VS |
17514 | echo "$as_me: failed program was:" >&5 |
17515 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17516 | ||
17517 | wx_cv_explicit=yes | |
17518 | ||
986ecc86 | 17519 | fi |
e6cc62c6 VS |
17520 | rm -f conftest.$ac_objext conftest.$ac_ext |
17521 | ||
986ecc86 | 17522 | else |
e6cc62c6 VS |
17523 | echo "$as_me: failed program was:" >&5 |
17524 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17525 | ||
17526 | wx_cv_explicit=no | |
17527 | ||
986ecc86 | 17528 | fi |
e6cc62c6 | 17529 | rm -f conftest.$ac_objext conftest.$ac_ext |
986ecc86 VZ |
17530 | |
17531 | ac_ext=c | |
986ecc86 | 17532 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
17533 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17534 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17535 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
8284b0c5 | 17536 | |
a0b9e27f | 17537 | |
e6cc62c6 VS |
17538 | fi |
17539 | echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5 | |
17540 | echo "${ECHO_T}$wx_cv_explicit" >&6 | |
986ecc86 VZ |
17541 | |
17542 | if test "$wx_cv_explicit" = "yes"; then | |
e6cc62c6 | 17543 | cat >>confdefs.h <<\_ACEOF |
986ecc86 | 17544 | #define HAVE_EXPLICIT 1 |
e6cc62c6 | 17545 | _ACEOF |
986ecc86 VZ |
17546 | |
17547 | fi | |
17548 | ||
8284b0c5 | 17549 | |
e6cc62c6 VS |
17550 | echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5 |
17551 | echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6 | |
17552 | if test "${ac_cv_cxx_const_cast+set}" = set; then | |
17553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
521196a2 | 17554 | else |
521196a2 | 17555 | |
521196a2 | 17556 | |
e6cc62c6 VS |
17557 | ac_ext=cc |
17558 | ac_cpp='$CXXCPP $CPPFLAGS' | |
17559 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
17560 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17561 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
17562 | ||
17563 | cat >conftest.$ac_ext <<_ACEOF | |
17564 | #line $LINENO "configure" | |
17565 | /* confdefs.h. */ | |
17566 | _ACEOF | |
17567 | cat confdefs.h >>conftest.$ac_ext | |
17568 | cat >>conftest.$ac_ext <<_ACEOF | |
17569 | /* end confdefs.h. */ | |
17570 | ||
17571 | int | |
17572 | main () | |
17573 | { | |
521196a2 | 17574 | int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z; |
e6cc62c6 VS |
17575 | ; |
17576 | return 0; | |
17577 | } | |
17578 | _ACEOF | |
17579 | rm -f conftest.$ac_objext | |
17580 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17581 | (eval $ac_compile) 2>&5 | |
17582 | ac_status=$? | |
17583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17584 | (exit $ac_status); } && | |
17585 | { ac_try='test -s conftest.$ac_objext' | |
17586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17587 | (eval $ac_try) 2>&5 | |
17588 | ac_status=$? | |
17589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17590 | (exit $ac_status); }; }; then | |
521196a2 MB |
17591 | ac_cv_cxx_const_cast=yes |
17592 | else | |
e6cc62c6 VS |
17593 | echo "$as_me: failed program was:" >&5 |
17594 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17595 | ||
17596 | ac_cv_cxx_const_cast=no | |
521196a2 | 17597 | fi |
e6cc62c6 | 17598 | rm -f conftest.$ac_objext conftest.$ac_ext |
521196a2 | 17599 | ac_ext=c |
521196a2 | 17600 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
17601 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
17602 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17603 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
521196a2 MB |
17604 | |
17605 | ||
17606 | fi | |
e6cc62c6 VS |
17607 | echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5 |
17608 | echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6 | |
521196a2 | 17609 | if test "$ac_cv_cxx_const_cast" = yes; then |
e6cc62c6 VS |
17610 | |
17611 | cat >>confdefs.h <<\_ACEOF | |
17612 | #define HAVE_CONST_CAST | |
17613 | _ACEOF | |
521196a2 MB |
17614 | |
17615 | fi | |
17616 | ||
17617 | ||
e87b7833 MB |
17618 | if test "$wxUSE_STL" = "yes"; then |
17619 | ac_ext=cc | |
17620 | ac_cpp='$CXXCPP $CPPFLAGS' | |
17621 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
17622 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17623 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
17624 | ||
17625 | ||
17626 | echo "$as_me:$LINENO: checking for basic STL functionality" >&5 | |
17627 | echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6 | |
17628 | cat >conftest.$ac_ext <<_ACEOF | |
17629 | #line $LINENO "configure" | |
17630 | /* confdefs.h. */ | |
17631 | _ACEOF | |
17632 | cat confdefs.h >>conftest.$ac_ext | |
17633 | cat >>conftest.$ac_ext <<_ACEOF | |
17634 | /* end confdefs.h. */ | |
17635 | #include <string> | |
17636 | #include <functional> | |
17637 | #include <algorithm> | |
17638 | #include <vector> | |
17639 | #include <list> | |
17640 | int | |
17641 | main () | |
17642 | { | |
17643 | std::vector<int> moo; | |
17644 | std::list<int> foo; | |
17645 | std::vector<int>::iterator it = | |
17646 | std::find_if(moo.begin(), moo.end(), | |
17647 | std::bind2nd(std::less<int>(), 3)); | |
17648 | ; | |
17649 | return 0; | |
17650 | } | |
17651 | _ACEOF | |
17652 | rm -f conftest.$ac_objext | |
17653 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17654 | (eval $ac_compile) 2>&5 | |
17655 | ac_status=$? | |
17656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17657 | (exit $ac_status); } && | |
17658 | { ac_try='test -s conftest.$ac_objext' | |
17659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17660 | (eval $ac_try) 2>&5 | |
17661 | ac_status=$? | |
17662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17663 | (exit $ac_status); }; }; then | |
17664 | echo "$as_me:$LINENO: result: yes" >&5 | |
17665 | echo "${ECHO_T}yes" >&6 | |
17666 | else | |
17667 | echo "$as_me: failed program was:" >&5 | |
17668 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17669 | ||
17670 | echo "$as_me:$LINENO: result: no" >&5 | |
17671 | echo "${ECHO_T}no" >&6 | |
17672 | { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5 | |
17673 | echo "$as_me: error: Basic STL functionality missing" >&2;} | |
17674 | { (exit 1); exit 1; }; } | |
17675 | fi | |
17676 | rm -f conftest.$ac_objext conftest.$ac_ext | |
17677 | ||
17678 | echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5 | |
17679 | echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6 | |
17680 | cat >conftest.$ac_ext <<_ACEOF | |
17681 | #line $LINENO "configure" | |
17682 | /* confdefs.h. */ | |
17683 | _ACEOF | |
17684 | cat confdefs.h >>conftest.$ac_ext | |
17685 | cat >>conftest.$ac_ext <<_ACEOF | |
17686 | /* end confdefs.h. */ | |
17687 | #include <string> | |
17688 | int | |
17689 | main () | |
17690 | { | |
17691 | std::wstring foo; | |
17692 | ; | |
17693 | return 0; | |
17694 | } | |
17695 | _ACEOF | |
17696 | rm -f conftest.$ac_objext | |
17697 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17698 | (eval $ac_compile) 2>&5 | |
17699 | ac_status=$? | |
17700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17701 | (exit $ac_status); } && | |
17702 | { ac_try='test -s conftest.$ac_objext' | |
17703 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17704 | (eval $ac_try) 2>&5 | |
17705 | ac_status=$? | |
17706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17707 | (exit $ac_status); }; }; then | |
17708 | echo "$as_me:$LINENO: result: yes" >&5 | |
17709 | echo "${ECHO_T}yes" >&6 | |
17710 | cat >>confdefs.h <<\_ACEOF | |
17711 | #define HAVE_STD_WSTRING 1 | |
17712 | _ACEOF | |
17713 | ||
17714 | else | |
17715 | echo "$as_me: failed program was:" >&5 | |
17716 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17717 | ||
17718 | echo "$as_me:$LINENO: result: no" >&5 | |
17719 | echo "${ECHO_T}no" >&6 | |
17720 | fi | |
17721 | rm -f conftest.$ac_objext conftest.$ac_ext | |
17722 | ||
17723 | echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5 | |
17724 | echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6 | |
17725 | cat >conftest.$ac_ext <<_ACEOF | |
17726 | #line $LINENO "configure" | |
17727 | /* confdefs.h. */ | |
17728 | _ACEOF | |
17729 | cat confdefs.h >>conftest.$ac_ext | |
17730 | cat >>conftest.$ac_ext <<_ACEOF | |
17731 | /* end confdefs.h. */ | |
17732 | #include <string> | |
17733 | int | |
17734 | main () | |
17735 | { | |
17736 | std::string foo, bar; | |
17737 | foo.compare(bar); | |
17738 | foo.compare(1, 1, bar); | |
17739 | foo.compare(1, 1, bar, 1, 1); | |
17740 | foo.compare(""); | |
17741 | foo.compare(1, 1, ""); | |
17742 | foo.compare(1, 1, "", 2); | |
17743 | ; | |
17744 | return 0; | |
17745 | } | |
17746 | _ACEOF | |
17747 | rm -f conftest.$ac_objext | |
17748 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17749 | (eval $ac_compile) 2>&5 | |
17750 | ac_status=$? | |
17751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17752 | (exit $ac_status); } && | |
17753 | { ac_try='test -s conftest.$ac_objext' | |
17754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17755 | (eval $ac_try) 2>&5 | |
17756 | ac_status=$? | |
17757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17758 | (exit $ac_status); }; }; then | |
17759 | echo "$as_me:$LINENO: result: yes" >&5 | |
17760 | echo "${ECHO_T}yes" >&6 | |
17761 | cat >>confdefs.h <<\_ACEOF | |
17762 | #define HAVE_STD_STRING_COMPARE 1 | |
17763 | _ACEOF | |
17764 | ||
17765 | else | |
17766 | echo "$as_me: failed program was:" >&5 | |
17767 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17768 | ||
17769 | echo "$as_me:$LINENO: result: no" >&5 | |
17770 | echo "${ECHO_T}no" >&6 | |
17771 | fi | |
17772 | rm -f conftest.$ac_objext conftest.$ac_ext | |
17773 | ||
17774 | ac_ext=c | |
17775 | ac_cpp='$CPP $CPPFLAGS' | |
17776 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
17777 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17778 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
17779 | ||
17780 | fi | |
17781 | ||
8284b0c5 | 17782 | |
21d1c967 GD |
17783 | SEARCH_INCLUDE="\ |
17784 | /usr/local/include \ | |
17785 | \ | |
17786 | /usr/Motif-1.2/include \ | |
17787 | /usr/Motif-2.1/include \ | |
17788 | \ | |
17789 | /usr/include/Motif1.2 \ | |
17790 | /opt/xpm/include/X11 \ | |
17791 | /opt/GBxpm/include/ \ | |
17792 | /opt/GBxpm/X11/include/ \ | |
17793 | \ | |
17794 | /usr/Motif1.2/include \ | |
17795 | /usr/dt/include \ | |
17796 | /usr/openwin/include \ | |
17797 | \ | |
17798 | /usr/include/Xm \ | |
17799 | \ | |
17800 | /usr/X11R6/include \ | |
17801 | /usr/X11R6.4/include \ | |
17802 | /usr/X11R5/include \ | |
17803 | /usr/X11R4/include \ | |
17804 | \ | |
17805 | /usr/include/X11R6 \ | |
17806 | /usr/include/X11R5 \ | |
17807 | /usr/include/X11R4 \ | |
17808 | \ | |
17809 | /usr/local/X11R6/include \ | |
17810 | /usr/local/X11R5/include \ | |
17811 | /usr/local/X11R4/include \ | |
17812 | \ | |
17813 | /usr/local/include/X11R6 \ | |
17814 | /usr/local/include/X11R5 \ | |
17815 | /usr/local/include/X11R4 \ | |
17816 | \ | |
17817 | /usr/X11/include \ | |
17818 | /usr/include/X11 \ | |
17819 | /usr/local/X11/include \ | |
17820 | /usr/local/include/X11 \ | |
17821 | \ | |
17822 | /usr/X386/include \ | |
17823 | /usr/x386/include \ | |
17824 | /usr/XFree86/include/X11 \ | |
17825 | \ | |
17826 | X:/XFree86/include \ | |
17827 | X:/XFree86/include/X11 \ | |
17828 | \ | |
17829 | /usr/include/gtk \ | |
17830 | /usr/local/include/gtk \ | |
17831 | /usr/include/glib \ | |
17832 | /usr/local/include/glib \ | |
17833 | \ | |
17834 | /usr/include/qt \ | |
17835 | /usr/local/include/qt \ | |
17836 | \ | |
17837 | /usr/include/windows \ | |
17838 | /usr/include/wine \ | |
17839 | /usr/local/include/wine \ | |
17840 | \ | |
17841 | /usr/unsupported/include \ | |
17842 | /usr/athena/include \ | |
17843 | /usr/local/x11r5/include \ | |
17844 | /usr/lpp/Xamples/include \ | |
17845 | \ | |
2b5f62a0 | 17846 | /usr/openwin/share/include" |
21d1c967 GD |
17847 | |
17848 | SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " | |
17849 | ||
8284b0c5 | 17850 | |
e6cc62c6 | 17851 | cat >confcache <<\_ACEOF |
21d1c967 GD |
17852 | # This file is a shell script that caches the results of configure |
17853 | # tests run on this system so they can be shared between configure | |
e6cc62c6 VS |
17854 | # scripts and configure runs, see configure's option --config-cache. |
17855 | # It is not useful on other systems. If it contains results you don't | |
17856 | # want to keep, you may remove or edit it. | |
21d1c967 | 17857 | # |
e6cc62c6 VS |
17858 | # config.status only pays attention to the cache file if you give it |
17859 | # the --recheck option to rerun configure. | |
21d1c967 | 17860 | # |
e6cc62c6 VS |
17861 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
17862 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
17863 | # following values. | |
17864 | ||
17865 | _ACEOF | |
17866 | ||
21d1c967 GD |
17867 | # The following way of writing the cache mishandles newlines in values, |
17868 | # but we know of no workaround that is simple, portable, and efficient. | |
17869 | # So, don't put newlines in cache variables' values. | |
17870 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
17871 | # and sets the high bit in the cache file unless we assign to the vars. | |
e6cc62c6 VS |
17872 | { |
17873 | (set) 2>&1 | | |
17874 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
17875 | *ac_space=\ *) | |
17876 | # `set' does not quote correctly, so add quotes (double-quote | |
17877 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
17878 | sed -n \ | |
17879 | "s/'/'\\\\''/g; | |
17880 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
17881 | ;; | |
17882 | *) | |
17883 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
17884 | sed -n \ | |
17885 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
17886 | ;; | |
17887 | esac; | |
17888 | } | | |
17889 | sed ' | |
17890 | t clear | |
17891 | : clear | |
17892 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
17893 | t end | |
17894 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
17895 | : end' >>confcache | |
17896 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | |
21d1c967 | 17897 | if test -w $cache_file; then |
e6cc62c6 VS |
17898 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
17899 | cat confcache >$cache_file | |
21d1c967 GD |
17900 | else |
17901 | echo "not updating unwritable cache $cache_file" | |
17902 | fi | |
ab9b9eab | 17903 | fi |
21d1c967 | 17904 | rm -f confcache |
ab9b9eab | 17905 | |
fe0895cf | 17906 | if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then |
e6cc62c6 VS |
17907 | echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5 |
17908 | echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6 | |
17909 | if test "${wx_cv_lib_glibc21+set}" = set; then | |
17910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
17911 | else | |
17912 | ||
17913 | cat >conftest.$ac_ext <<_ACEOF | |
17914 | #line $LINENO "configure" | |
17915 | /* confdefs.h. */ | |
17916 | _ACEOF | |
17917 | cat confdefs.h >>conftest.$ac_ext | |
17918 | cat >>conftest.$ac_ext <<_ACEOF | |
17919 | /* end confdefs.h. */ | |
21d1c967 | 17920 | #include <features.h> |
e6cc62c6 VS |
17921 | int |
17922 | main () | |
17923 | { | |
ab9b9eab | 17924 | |
21d1c967 GD |
17925 | #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1) |
17926 | #error not glibc2.1 | |
17927 | #endif | |
e6cc62c6 VS |
17928 | |
17929 | ; | |
17930 | return 0; | |
17931 | } | |
17932 | _ACEOF | |
17933 | rm -f conftest.$ac_objext | |
17934 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
17935 | (eval $ac_compile) 2>&5 | |
17936 | ac_status=$? | |
17937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17938 | (exit $ac_status); } && | |
17939 | { ac_try='test -s conftest.$ac_objext' | |
17940 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
17941 | (eval $ac_try) 2>&5 | |
17942 | ac_status=$? | |
17943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17944 | (exit $ac_status); }; }; then | |
17945 | ||
21d1c967 | 17946 | wx_cv_lib_glibc21=yes |
e6cc62c6 | 17947 | |
698dcdb6 | 17948 | else |
e6cc62c6 VS |
17949 | echo "$as_me: failed program was:" >&5 |
17950 | sed 's/^/| /' conftest.$ac_ext >&5 | |
17951 | ||
17952 | ||
21d1c967 | 17953 | wx_cv_lib_glibc21=no |
e6cc62c6 VS |
17954 | |
17955 | ||
247f5006 | 17956 | fi |
e6cc62c6 | 17957 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 17958 | |
e6cc62c6 VS |
17959 | fi |
17960 | echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5 | |
17961 | echo "${ECHO_T}$wx_cv_lib_glibc21" >&6 | |
21d1c967 | 17962 | if test "$wx_cv_lib_glibc21" = "yes"; then |
e6cc62c6 | 17963 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 17964 | #define wxHAVE_GLIBC2 1 |
e6cc62c6 | 17965 | _ACEOF |
1e487827 | 17966 | |
90dd450c | 17967 | fi |
ab9b9eab VZ |
17968 | fi |
17969 | ||
5c0a20c3 VZ |
17970 | if test "x$wx_cv_lib_glibc21" = "xyes"; then |
17971 | if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then | |
e6cc62c6 | 17972 | cat >>confdefs.h <<\_ACEOF |
5c0a20c3 | 17973 | #define _GNU_SOURCE 1 |
e6cc62c6 | 17974 | _ACEOF |
5c0a20c3 VZ |
17975 | |
17976 | fi | |
17977 | fi | |
17978 | ||
8284b0c5 MB |
17979 | |
17980 | ||
21d1c967 GD |
17981 | REGEX_INCLUDE= |
17982 | if test "$wxUSE_REGEX" != "no"; then | |
e6cc62c6 | 17983 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 17984 | #define wxUSE_REGEX 1 |
e6cc62c6 | 17985 | _ACEOF |
698dcdb6 | 17986 | |
8284b0c5 | 17987 | |
21d1c967 | 17988 | if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then |
e6cc62c6 VS |
17989 | if test "${ac_cv_header_regex_h+set}" = set; then |
17990 | echo "$as_me:$LINENO: checking for regex.h" >&5 | |
17991 | echo $ECHO_N "checking for regex.h... $ECHO_C" >&6 | |
17992 | if test "${ac_cv_header_regex_h+set}" = set; then | |
17993 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
17994 | fi | |
17995 | echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5 | |
17996 | echo "${ECHO_T}$ac_cv_header_regex_h" >&6 | |
17997 | else | |
17998 | # Is the header compilable? | |
17999 | echo "$as_me:$LINENO: checking regex.h usability" >&5 | |
18000 | echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6 | |
18001 | cat >conftest.$ac_ext <<_ACEOF | |
18002 | #line $LINENO "configure" | |
18003 | /* confdefs.h. */ | |
18004 | _ACEOF | |
18005 | cat confdefs.h >>conftest.$ac_ext | |
18006 | cat >>conftest.$ac_ext <<_ACEOF | |
18007 | /* end confdefs.h. */ | |
18008 | $ac_includes_default | |
247f5006 | 18009 | #include <regex.h> |
e6cc62c6 VS |
18010 | _ACEOF |
18011 | rm -f conftest.$ac_objext | |
18012 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
18013 | (eval $ac_compile) 2>&5 | |
18014 | ac_status=$? | |
18015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18016 | (exit $ac_status); } && | |
18017 | { ac_try='test -s conftest.$ac_objext' | |
18018 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18019 | (eval $ac_try) 2>&5 | |
18020 | ac_status=$? | |
18021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18022 | (exit $ac_status); }; }; then | |
18023 | ac_header_compiler=yes | |
18024 | else | |
18025 | echo "$as_me: failed program was:" >&5 | |
18026 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18027 | ||
18028 | ac_header_compiler=no | |
18029 | fi | |
18030 | rm -f conftest.$ac_objext conftest.$ac_ext | |
18031 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
18032 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
18033 | ||
18034 | # Is the header present? | |
18035 | echo "$as_me:$LINENO: checking regex.h presence" >&5 | |
18036 | echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6 | |
18037 | cat >conftest.$ac_ext <<_ACEOF | |
18038 | #line $LINENO "configure" | |
18039 | /* confdefs.h. */ | |
18040 | _ACEOF | |
18041 | cat confdefs.h >>conftest.$ac_ext | |
18042 | cat >>conftest.$ac_ext <<_ACEOF | |
18043 | /* end confdefs.h. */ | |
18044 | #include <regex.h> | |
18045 | _ACEOF | |
18046 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
18047 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
18048 | ac_status=$? | |
18049 | grep -v '^ *+' conftest.er1 >conftest.err | |
18050 | rm -f conftest.er1 | |
18051 | cat conftest.err >&5 | |
18052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18053 | (exit $ac_status); } >/dev/null; then | |
18054 | if test -s conftest.err; then | |
18055 | ac_cpp_err=$ac_c_preproc_warn_flag | |
18056 | else | |
18057 | ac_cpp_err= | |
18058 | fi | |
18059 | else | |
18060 | ac_cpp_err=yes | |
18061 | fi | |
18062 | if test -z "$ac_cpp_err"; then | |
18063 | ac_header_preproc=yes | |
18064 | else | |
18065 | echo "$as_me: failed program was:" >&5 | |
18066 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18067 | ||
18068 | ac_header_preproc=no | |
18069 | fi | |
18070 | rm -f conftest.err conftest.$ac_ext | |
18071 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
18072 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
18073 | ||
18074 | # So? What about this header? | |
18075 | case $ac_header_compiler:$ac_header_preproc in | |
18076 | yes:no ) | |
18077 | { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
18078 | echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
18079 | { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5 | |
18080 | echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;} | |
18081 | ( | |
18082 | cat <<\_ASBOX | |
18083 | ## ------------------------------------ ## | |
18084 | ## Report this to bug-autoconf@gnu.org. ## | |
18085 | ## ------------------------------------ ## | |
18086 | _ASBOX | |
18087 | ) | | |
18088 | sed "s/^/$as_me: WARNING: /" >&2 | |
18089 | ;; | |
18090 | no:yes ) | |
18091 | { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5 | |
18092 | echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;} | |
18093 | { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5 | |
18094 | echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;} | |
18095 | { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5 | |
18096 | echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;} | |
18097 | ( | |
18098 | cat <<\_ASBOX | |
18099 | ## ------------------------------------ ## | |
18100 | ## Report this to bug-autoconf@gnu.org. ## | |
18101 | ## ------------------------------------ ## | |
18102 | _ASBOX | |
18103 | ) | | |
18104 | sed "s/^/$as_me: WARNING: /" >&2 | |
18105 | ;; | |
18106 | esac | |
18107 | echo "$as_me:$LINENO: checking for regex.h" >&5 | |
18108 | echo $ECHO_N "checking for regex.h... $ECHO_C" >&6 | |
18109 | if test "${ac_cv_header_regex_h+set}" = set; then | |
18110 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18111 | else | |
18112 | ac_cv_header_regex_h=$ac_header_preproc | |
21d1c967 | 18113 | fi |
e6cc62c6 VS |
18114 | echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5 |
18115 | echo "${ECHO_T}$ac_cv_header_regex_h" >&6 | |
18116 | ||
698dcdb6 | 18117 | fi |
e6cc62c6 VS |
18118 | if test $ac_cv_header_regex_h = yes; then |
18119 | ||
18120 | for ac_func in regcomp | |
21d1c967 | 18121 | do |
e6cc62c6 VS |
18122 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18123 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
18124 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
18125 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
18126 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18127 | else | |
18128 | cat >conftest.$ac_ext <<_ACEOF | |
18129 | #line $LINENO "configure" | |
18130 | /* confdefs.h. */ | |
18131 | _ACEOF | |
18132 | cat confdefs.h >>conftest.$ac_ext | |
18133 | cat >>conftest.$ac_ext <<_ACEOF | |
18134 | /* end confdefs.h. */ | |
a0b9e27f | 18135 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
18136 | which can conflict with char $ac_func (); below. |
18137 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18138 | <limits.h> exists even on freestanding compilers. */ | |
18139 | #ifdef __STDC__ | |
18140 | # include <limits.h> | |
18141 | #else | |
18142 | # include <assert.h> | |
18143 | #endif | |
21d1c967 | 18144 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
18145 | #ifdef __cplusplus |
18146 | extern "C" | |
18147 | { | |
18148 | #endif | |
21d1c967 | 18149 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
18150 | builtin and then its argument prototype would still apply. */ |
18151 | char $ac_func (); | |
21d1c967 GD |
18152 | /* The GNU C library defines this for functions which it implements |
18153 | to always fail with ENOSYS. Some functions are actually named | |
18154 | something starting with __ and the normal name is an alias. */ | |
18155 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
18156 | choke me | |
18157 | #else | |
e6cc62c6 VS |
18158 | char (*f) () = $ac_func; |
18159 | #endif | |
18160 | #ifdef __cplusplus | |
18161 | } | |
21d1c967 | 18162 | #endif |
90dd450c | 18163 | |
e6cc62c6 VS |
18164 | int |
18165 | main () | |
18166 | { | |
18167 | return f != $ac_func; | |
18168 | ; | |
18169 | return 0; | |
18170 | } | |
18171 | _ACEOF | |
18172 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18173 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18174 | (eval $ac_link) 2>&5 | |
18175 | ac_status=$? | |
18176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18177 | (exit $ac_status); } && | |
18178 | { ac_try='test -s conftest$ac_exeext' | |
18179 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18180 | (eval $ac_try) 2>&5 | |
18181 | ac_status=$? | |
18182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18183 | (exit $ac_status); }; }; then | |
18184 | eval "$as_ac_var=yes" | |
18185 | else | |
18186 | echo "$as_me: failed program was:" >&5 | |
18187 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18188 | ||
18189 | eval "$as_ac_var=no" | |
18190 | fi | |
18191 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
18192 | fi | |
18193 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
18194 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
18195 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
18196 | cat >>confdefs.h <<_ACEOF | |
18197 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
18198 | _ACEOF | |
5c6fa7d2 | 18199 | |
698dcdb6 | 18200 | fi |
21d1c967 GD |
18201 | done |
18202 | ||
ab9b9eab VZ |
18203 | fi |
18204 | ||
8284b0c5 | 18205 | |
e6cc62c6 | 18206 | |
21d1c967 GD |
18207 | if test "x$ac_cv_func_regcomp" != "xyes"; then |
18208 | if test "$wxUSE_REGEX" = "sys" ; then | |
e6cc62c6 VS |
18209 | { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5 |
18210 | echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;} | |
18211 | { (exit 1); exit 1; }; } | |
21d1c967 | 18212 | else |
e6cc62c6 VS |
18213 | { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5 |
18214 | echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;} | |
21d1c967 GD |
18215 | wxUSE_REGEX=builtin |
18216 | fi | |
18217 | else | |
18218 | wxUSE_REGEX=sys | |
18219 | fi | |
ab9b9eab | 18220 | fi |
90dd450c | 18221 | |
21d1c967 GD |
18222 | if test "$wxUSE_REGEX" = "builtin" ; then |
18223 | REGEX_INCLUDE="-I\${top_srcdir}/src/regex" | |
90dd450c | 18224 | fi |
21d1c967 | 18225 | fi |
90dd450c | 18226 | |
8284b0c5 | 18227 | |
21d1c967 GD |
18228 | ZLIB_INCLUDE= |
18229 | ZLIB_LINK= | |
18230 | if test "$wxUSE_ZLIB" != "no" ; then | |
e6cc62c6 | 18231 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 18232 | #define wxUSE_ZLIB 1 |
e6cc62c6 | 18233 | _ACEOF |
21d1c967 | 18234 | |
8284b0c5 | 18235 | |
21d1c967 | 18236 | if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then |
d775acfa VZ |
18237 | if test "$USE_DARWIN" = 1; then |
18238 | system_zlib_h_ok="yes" | |
18239 | else | |
e6cc62c6 VS |
18240 | echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5 |
18241 | echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6 | |
18242 | if test "${ac_cv_header_zlib_h+set}" = set; then | |
18243 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
d643b80e VZ |
18244 | else |
18245 | if test "$cross_compiling" = yes; then | |
89e6bf6d | 18246 | unset ac_cv_header_zlib_h |
e6cc62c6 | 18247 | |
d643b80e | 18248 | else |
e6cc62c6 VS |
18249 | cat >conftest.$ac_ext <<_ACEOF |
18250 | #line $LINENO "configure" | |
18251 | /* confdefs.h. */ | |
18252 | _ACEOF | |
18253 | cat confdefs.h >>conftest.$ac_ext | |
18254 | cat >>conftest.$ac_ext <<_ACEOF | |
18255 | /* end confdefs.h. */ | |
18256 | ||
ef33c576 | 18257 | #include <zlib.h> |
d775acfa | 18258 | #include <stdio.h> |
d643b80e | 18259 | |
d775acfa VZ |
18260 | int main() |
18261 | { | |
18262 | FILE *f=fopen("conftestval", "w"); | |
18263 | if (!f) exit(1); | |
18264 | fprintf(f, "%s", | |
18265 | ZLIB_VERSION[0] == '1' && | |
18266 | (ZLIB_VERSION[2] > '1' || | |
18267 | (ZLIB_VERSION[2] == '1' && | |
18268 | ZLIB_VERSION[4] >= '4')) ? "yes" : "no"); | |
18269 | exit(0); | |
18270 | } | |
e6cc62c6 VS |
18271 | |
18272 | _ACEOF | |
18273 | rm -f conftest$ac_exeext | |
18274 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18275 | (eval $ac_link) 2>&5 | |
18276 | ac_status=$? | |
18277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18278 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
18279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18280 | (eval $ac_try) 2>&5 | |
18281 | ac_status=$? | |
18282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18283 | (exit $ac_status); }; }; then | |
d643b80e VZ |
18284 | ac_cv_header_zlib_h=`cat conftestval` |
18285 | else | |
e6cc62c6 VS |
18286 | echo "$as_me: program exited with status $ac_status" >&5 |
18287 | echo "$as_me: failed program was:" >&5 | |
18288 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18289 | ||
18290 | ( exit $ac_status ) | |
18291 | ac_cv_header_zlib_h=no | |
d643b80e | 18292 | fi |
e6cc62c6 | 18293 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
d643b80e VZ |
18294 | fi |
18295 | ||
d643b80e | 18296 | fi |
e6cc62c6 VS |
18297 | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
18298 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | |
18299 | if test "${ac_cv_header_zlib_h+set}" = set; then | |
18300 | echo "$as_me:$LINENO: checking for zlib.h" >&5 | |
18301 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | |
18302 | if test "${ac_cv_header_zlib_h+set}" = set; then | |
18303 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18304 | fi | |
18305 | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | |
18306 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | |
89e6bf6d | 18307 | else |
e6cc62c6 VS |
18308 | # Is the header compilable? |
18309 | echo "$as_me:$LINENO: checking zlib.h usability" >&5 | |
18310 | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 | |
18311 | cat >conftest.$ac_ext <<_ACEOF | |
18312 | #line $LINENO "configure" | |
18313 | /* confdefs.h. */ | |
18314 | _ACEOF | |
18315 | cat confdefs.h >>conftest.$ac_ext | |
18316 | cat >>conftest.$ac_ext <<_ACEOF | |
18317 | /* end confdefs.h. */ | |
18318 | $ac_includes_default | |
89e6bf6d | 18319 | #include <zlib.h> |
e6cc62c6 VS |
18320 | _ACEOF |
18321 | rm -f conftest.$ac_objext | |
18322 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
18323 | (eval $ac_compile) 2>&5 | |
18324 | ac_status=$? | |
18325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18326 | (exit $ac_status); } && | |
18327 | { ac_try='test -s conftest.$ac_objext' | |
18328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18329 | (eval $ac_try) 2>&5 | |
18330 | ac_status=$? | |
18331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18332 | (exit $ac_status); }; }; then | |
18333 | ac_header_compiler=yes | |
18334 | else | |
18335 | echo "$as_me: failed program was:" >&5 | |
18336 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18337 | ||
18338 | ac_header_compiler=no | |
18339 | fi | |
18340 | rm -f conftest.$ac_objext conftest.$ac_ext | |
18341 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
18342 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
18343 | ||
18344 | # Is the header present? | |
18345 | echo "$as_me:$LINENO: checking zlib.h presence" >&5 | |
18346 | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 | |
18347 | cat >conftest.$ac_ext <<_ACEOF | |
18348 | #line $LINENO "configure" | |
18349 | /* confdefs.h. */ | |
18350 | _ACEOF | |
18351 | cat confdefs.h >>conftest.$ac_ext | |
18352 | cat >>conftest.$ac_ext <<_ACEOF | |
18353 | /* end confdefs.h. */ | |
18354 | #include <zlib.h> | |
18355 | _ACEOF | |
18356 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
18357 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
18358 | ac_status=$? | |
18359 | grep -v '^ *+' conftest.er1 >conftest.err | |
18360 | rm -f conftest.er1 | |
18361 | cat conftest.err >&5 | |
18362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18363 | (exit $ac_status); } >/dev/null; then | |
18364 | if test -s conftest.err; then | |
18365 | ac_cpp_err=$ac_c_preproc_warn_flag | |
18366 | else | |
18367 | ac_cpp_err= | |
18368 | fi | |
18369 | else | |
18370 | ac_cpp_err=yes | |
18371 | fi | |
18372 | if test -z "$ac_cpp_err"; then | |
18373 | ac_header_preproc=yes | |
18374 | else | |
18375 | echo "$as_me: failed program was:" >&5 | |
18376 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18377 | ||
18378 | ac_header_preproc=no | |
18379 | fi | |
18380 | rm -f conftest.err conftest.$ac_ext | |
18381 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
18382 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
18383 | ||
18384 | # So? What about this header? | |
18385 | case $ac_header_compiler:$ac_header_preproc in | |
18386 | yes:no ) | |
18387 | { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
18388 | echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
18389 | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 | |
18390 | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | |
18391 | ( | |
18392 | cat <<\_ASBOX | |
18393 | ## ------------------------------------ ## | |
18394 | ## Report this to bug-autoconf@gnu.org. ## | |
18395 | ## ------------------------------------ ## | |
18396 | _ASBOX | |
18397 | ) | | |
18398 | sed "s/^/$as_me: WARNING: /" >&2 | |
18399 | ;; | |
18400 | no:yes ) | |
18401 | { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 | |
18402 | echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} | |
18403 | { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 | |
18404 | echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} | |
18405 | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 | |
18406 | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | |
18407 | ( | |
18408 | cat <<\_ASBOX | |
18409 | ## ------------------------------------ ## | |
18410 | ## Report this to bug-autoconf@gnu.org. ## | |
18411 | ## ------------------------------------ ## | |
18412 | _ASBOX | |
18413 | ) | | |
18414 | sed "s/^/$as_me: WARNING: /" >&2 | |
18415 | ;; | |
18416 | esac | |
18417 | echo "$as_me:$LINENO: checking for zlib.h" >&5 | |
18418 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | |
18419 | if test "${ac_cv_header_zlib_h+set}" = set; then | |
18420 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
89e6bf6d | 18421 | else |
e6cc62c6 VS |
18422 | ac_cv_header_zlib_h=$ac_header_preproc |
18423 | fi | |
18424 | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | |
18425 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | |
18426 | ||
89e6bf6d VZ |
18427 | fi |
18428 | ||
d643b80e | 18429 | |
e6cc62c6 | 18430 | |
d775acfa VZ |
18431 | system_zlib_h_ok=$ac_cv_header_zlib_h |
18432 | fi | |
18433 | ||
18434 | if test "$system_zlib_h_ok" = "yes"; then | |
e6cc62c6 VS |
18435 | echo "$as_me:$LINENO: checking for deflate in -lz" >&5 |
18436 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 | |
18437 | if test "${ac_cv_lib_z_deflate+set}" = set; then | |
18438 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 18439 | else |
e6cc62c6 | 18440 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 18441 | LIBS="-lz $LIBS" |
e6cc62c6 VS |
18442 | cat >conftest.$ac_ext <<_ACEOF |
18443 | #line $LINENO "configure" | |
18444 | /* confdefs.h. */ | |
18445 | _ACEOF | |
18446 | cat confdefs.h >>conftest.$ac_ext | |
18447 | cat >>conftest.$ac_ext <<_ACEOF | |
18448 | /* end confdefs.h. */ | |
18449 | ||
21d1c967 | 18450 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
18451 | #ifdef __cplusplus |
18452 | extern "C" | |
18453 | #endif | |
21d1c967 | 18454 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
18455 | builtin and then its argument prototype would still apply. */ |
18456 | char deflate (); | |
18457 | int | |
18458 | main () | |
18459 | { | |
18460 | deflate (); | |
18461 | ; | |
18462 | return 0; | |
18463 | } | |
18464 | _ACEOF | |
18465 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18466 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18467 | (eval $ac_link) 2>&5 | |
18468 | ac_status=$? | |
18469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18470 | (exit $ac_status); } && | |
18471 | { ac_try='test -s conftest$ac_exeext' | |
18472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18473 | (eval $ac_try) 2>&5 | |
18474 | ac_status=$? | |
18475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18476 | (exit $ac_status); }; }; then | |
18477 | ac_cv_lib_z_deflate=yes | |
18478 | else | |
18479 | echo "$as_me: failed program was:" >&5 | |
18480 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18481 | ||
18482 | ac_cv_lib_z_deflate=no | |
18483 | fi | |
18484 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
18485 | LIBS=$ac_check_lib_save_LIBS | |
18486 | fi | |
18487 | echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 | |
18488 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 | |
18489 | if test $ac_cv_lib_z_deflate = yes; then | |
a0b9e27f | 18490 | ZLIB_LINK=" -lz" |
a0b9e27f | 18491 | fi |
698dcdb6 | 18492 | |
d643b80e | 18493 | fi |
247f5006 | 18494 | |
21d1c967 GD |
18495 | if test "x$ZLIB_LINK" = "x" ; then |
18496 | if test "$wxUSE_ZLIB" = "sys" ; then | |
e6cc62c6 VS |
18497 | { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5 |
18498 | echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;} | |
18499 | { (exit 1); exit 1; }; } | |
21d1c967 | 18500 | else |
e6cc62c6 VS |
18501 | { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5 |
18502 | echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;} | |
21d1c967 GD |
18503 | wxUSE_ZLIB=builtin |
18504 | fi | |
18505 | else | |
18506 | wxUSE_ZLIB=sys | |
18507 | fi | |
18508 | fi | |
18509 | ||
18510 | if test "$wxUSE_ZLIB" = "builtin" ; then | |
18511 | ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib" | |
18512 | fi | |
ab9b9eab VZ |
18513 | fi |
18514 | ||
8284b0c5 | 18515 | |
21d1c967 GD |
18516 | PNG_INCLUDE= |
18517 | PNG_LINK= | |
18518 | if test "$wxUSE_LIBPNG" != "no" ; then | |
e6cc62c6 | 18519 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 18520 | #define wxUSE_LIBPNG 1 |
e6cc62c6 | 18521 | _ACEOF |
90dd450c | 18522 | |
8284b0c5 | 18523 | |
21d1c967 | 18524 | if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then |
e6cc62c6 VS |
18525 | { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5 |
18526 | echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;} | |
21d1c967 GD |
18527 | wxUSE_LIBPNG=sys |
18528 | fi | |
90dd450c | 18529 | |
21d1c967 | 18530 | if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then |
e6cc62c6 VS |
18531 | { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5 |
18532 | echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;} | |
21d1c967 GD |
18533 | wxUSE_LIBPNG=builtin |
18534 | fi | |
18535 | ||
18536 | if test "$wxUSE_MGL" != 1 ; then | |
18537 | if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then | |
e6cc62c6 VS |
18538 | echo "$as_me:$LINENO: checking for png.h > 0.90" >&5 |
18539 | echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6 | |
18540 | if test "${ac_cv_header_png_h+set}" = set; then | |
18541 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5d3f766d VZ |
18542 | else |
18543 | if test "$cross_compiling" = yes; then | |
89e6bf6d | 18544 | unset ac_cv_header_png_h |
e6cc62c6 | 18545 | |
5d3f766d | 18546 | else |
e6cc62c6 VS |
18547 | cat >conftest.$ac_ext <<_ACEOF |
18548 | #line $LINENO "configure" | |
18549 | /* confdefs.h. */ | |
18550 | _ACEOF | |
18551 | cat confdefs.h >>conftest.$ac_ext | |
18552 | cat >>conftest.$ac_ext <<_ACEOF | |
18553 | /* end confdefs.h. */ | |
18554 | ||
ef33c576 | 18555 | #include <png.h> |
5d3f766d VZ |
18556 | #include <stdio.h> |
18557 | ||
18558 | int main() | |
18559 | { | |
18560 | FILE *f=fopen("conftestval", "w"); | |
18561 | if (!f) exit(1); | |
18562 | fprintf(f, "%s", | |
18563 | PNG_LIBPNG_VER > 90 ? "yes" : "no"); | |
18564 | exit(0); | |
18565 | } | |
e6cc62c6 VS |
18566 | |
18567 | _ACEOF | |
18568 | rm -f conftest$ac_exeext | |
18569 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18570 | (eval $ac_link) 2>&5 | |
18571 | ac_status=$? | |
18572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18573 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
18574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18575 | (eval $ac_try) 2>&5 | |
18576 | ac_status=$? | |
18577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18578 | (exit $ac_status); }; }; then | |
5d3f766d VZ |
18579 | ac_cv_header_png_h=`cat conftestval` |
18580 | else | |
e6cc62c6 VS |
18581 | echo "$as_me: program exited with status $ac_status" >&5 |
18582 | echo "$as_me: failed program was:" >&5 | |
18583 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18584 | ||
18585 | ( exit $ac_status ) | |
18586 | ac_cv_header_png_h=no | |
5d3f766d | 18587 | fi |
e6cc62c6 | 18588 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5d3f766d VZ |
18589 | fi |
18590 | ||
5d3f766d | 18591 | fi |
e6cc62c6 VS |
18592 | echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 |
18593 | echo "${ECHO_T}$ac_cv_header_png_h" >&6 | |
18594 | if test "${ac_cv_header_png_h+set}" = set; then | |
18595 | echo "$as_me:$LINENO: checking for png.h" >&5 | |
18596 | echo $ECHO_N "checking for png.h... $ECHO_C" >&6 | |
18597 | if test "${ac_cv_header_png_h+set}" = set; then | |
18598 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18599 | fi | |
18600 | echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 | |
18601 | echo "${ECHO_T}$ac_cv_header_png_h" >&6 | |
89e6bf6d | 18602 | else |
e6cc62c6 VS |
18603 | # Is the header compilable? |
18604 | echo "$as_me:$LINENO: checking png.h usability" >&5 | |
18605 | echo $ECHO_N "checking png.h usability... $ECHO_C" >&6 | |
18606 | cat >conftest.$ac_ext <<_ACEOF | |
18607 | #line $LINENO "configure" | |
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 | |
89e6bf6d | 18614 | #include <png.h> |
e6cc62c6 VS |
18615 | _ACEOF |
18616 | rm -f conftest.$ac_objext | |
18617 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
18618 | (eval $ac_compile) 2>&5 | |
18619 | ac_status=$? | |
18620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18621 | (exit $ac_status); } && | |
18622 | { ac_try='test -s conftest.$ac_objext' | |
18623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18624 | (eval $ac_try) 2>&5 | |
18625 | ac_status=$? | |
18626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18627 | (exit $ac_status); }; }; then | |
18628 | ac_header_compiler=yes | |
18629 | else | |
18630 | echo "$as_me: failed program was:" >&5 | |
18631 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18632 | ||
18633 | ac_header_compiler=no | |
18634 | fi | |
18635 | rm -f conftest.$ac_objext conftest.$ac_ext | |
18636 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
18637 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
18638 | ||
18639 | # Is the header present? | |
18640 | echo "$as_me:$LINENO: checking png.h presence" >&5 | |
18641 | echo $ECHO_N "checking png.h presence... $ECHO_C" >&6 | |
18642 | cat >conftest.$ac_ext <<_ACEOF | |
18643 | #line $LINENO "configure" | |
18644 | /* confdefs.h. */ | |
18645 | _ACEOF | |
18646 | cat confdefs.h >>conftest.$ac_ext | |
18647 | cat >>conftest.$ac_ext <<_ACEOF | |
18648 | /* end confdefs.h. */ | |
18649 | #include <png.h> | |
18650 | _ACEOF | |
18651 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
18652 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
18653 | ac_status=$? | |
18654 | grep -v '^ *+' conftest.er1 >conftest.err | |
18655 | rm -f conftest.er1 | |
18656 | cat conftest.err >&5 | |
18657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18658 | (exit $ac_status); } >/dev/null; then | |
18659 | if test -s conftest.err; then | |
18660 | ac_cpp_err=$ac_c_preproc_warn_flag | |
18661 | else | |
18662 | ac_cpp_err= | |
18663 | fi | |
18664 | else | |
18665 | ac_cpp_err=yes | |
18666 | fi | |
18667 | if test -z "$ac_cpp_err"; then | |
18668 | ac_header_preproc=yes | |
18669 | else | |
18670 | echo "$as_me: failed program was:" >&5 | |
18671 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18672 | ||
18673 | ac_header_preproc=no | |
18674 | fi | |
18675 | rm -f conftest.err conftest.$ac_ext | |
18676 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
18677 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
18678 | ||
18679 | # So? What about this header? | |
18680 | case $ac_header_compiler:$ac_header_preproc in | |
18681 | yes:no ) | |
18682 | { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
18683 | echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
18684 | { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5 | |
18685 | echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;} | |
18686 | ( | |
18687 | cat <<\_ASBOX | |
18688 | ## ------------------------------------ ## | |
18689 | ## Report this to bug-autoconf@gnu.org. ## | |
18690 | ## ------------------------------------ ## | |
18691 | _ASBOX | |
18692 | ) | | |
18693 | sed "s/^/$as_me: WARNING: /" >&2 | |
18694 | ;; | |
18695 | no:yes ) | |
18696 | { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5 | |
18697 | echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;} | |
18698 | { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5 | |
18699 | echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;} | |
18700 | { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5 | |
18701 | echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;} | |
18702 | ( | |
18703 | cat <<\_ASBOX | |
18704 | ## ------------------------------------ ## | |
18705 | ## Report this to bug-autoconf@gnu.org. ## | |
18706 | ## ------------------------------------ ## | |
18707 | _ASBOX | |
18708 | ) | | |
18709 | sed "s/^/$as_me: WARNING: /" >&2 | |
18710 | ;; | |
18711 | esac | |
18712 | echo "$as_me:$LINENO: checking for png.h" >&5 | |
18713 | echo $ECHO_N "checking for png.h... $ECHO_C" >&6 | |
18714 | if test "${ac_cv_header_png_h+set}" = set; then | |
18715 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
89e6bf6d | 18716 | else |
e6cc62c6 VS |
18717 | ac_cv_header_png_h=$ac_header_preproc |
18718 | fi | |
18719 | echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 | |
18720 | echo "${ECHO_T}$ac_cv_header_png_h" >&6 | |
18721 | ||
89e6bf6d VZ |
18722 | fi |
18723 | ||
5d3f766d | 18724 | |
e6cc62c6 | 18725 | |
5d3f766d | 18726 | if test "$ac_cv_header_png_h" = "yes"; then |
e6cc62c6 VS |
18727 | echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5 |
18728 | echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6 | |
18729 | if test "${ac_cv_lib_png_png_check_sig+set}" = set; then | |
18730 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 18731 | else |
e6cc62c6 | 18732 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 18733 | LIBS="-lpng -lz -lm $LIBS" |
e6cc62c6 VS |
18734 | cat >conftest.$ac_ext <<_ACEOF |
18735 | #line $LINENO "configure" | |
18736 | /* confdefs.h. */ | |
18737 | _ACEOF | |
18738 | cat confdefs.h >>conftest.$ac_ext | |
18739 | cat >>conftest.$ac_ext <<_ACEOF | |
18740 | /* end confdefs.h. */ | |
18741 | ||
21d1c967 | 18742 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
18743 | #ifdef __cplusplus |
18744 | extern "C" | |
18745 | #endif | |
21d1c967 | 18746 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
18747 | builtin and then its argument prototype would still apply. */ |
18748 | char png_check_sig (); | |
18749 | int | |
18750 | main () | |
18751 | { | |
18752 | png_check_sig (); | |
18753 | ; | |
18754 | return 0; | |
18755 | } | |
18756 | _ACEOF | |
18757 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18759 | (eval $ac_link) 2>&5 | |
18760 | ac_status=$? | |
18761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18762 | (exit $ac_status); } && | |
18763 | { ac_try='test -s conftest$ac_exeext' | |
18764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18765 | (eval $ac_try) 2>&5 | |
18766 | ac_status=$? | |
18767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18768 | (exit $ac_status); }; }; then | |
18769 | ac_cv_lib_png_png_check_sig=yes | |
18770 | else | |
18771 | echo "$as_me: failed program was:" >&5 | |
18772 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18773 | ||
18774 | ac_cv_lib_png_png_check_sig=no | |
18775 | fi | |
18776 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
18777 | LIBS=$ac_check_lib_save_LIBS | |
18778 | fi | |
18779 | echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5 | |
18780 | echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6 | |
18781 | if test $ac_cv_lib_png_png_check_sig = yes; then | |
a0b9e27f | 18782 | PNG_LINK=" -lpng" |
a0b9e27f | 18783 | fi |
90dd450c | 18784 | |
5d3f766d | 18785 | fi |
247f5006 | 18786 | |
21d1c967 GD |
18787 | if test "x$PNG_LINK" = "x" ; then |
18788 | if test "$wxUSE_LIBPNG" = "sys" ; then | |
e6cc62c6 VS |
18789 | { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5 |
18790 | echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;} | |
18791 | { (exit 1); exit 1; }; } | |
21d1c967 | 18792 | else |
e6cc62c6 VS |
18793 | { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5 |
18794 | echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;} | |
21d1c967 GD |
18795 | wxUSE_LIBPNG=builtin |
18796 | fi | |
18797 | else | |
2b5f62a0 | 18798 | wxUSE_LIBPNG=sys |
21d1c967 GD |
18799 | fi |
18800 | fi | |
18801 | fi | |
90dd450c | 18802 | |
21d1c967 GD |
18803 | if test "$wxUSE_LIBPNG" = "builtin" ; then |
18804 | PNG_INCLUDE="-I\${top_srcdir}/src/png" | |
18805 | fi | |
90dd450c | 18806 | |
21d1c967 | 18807 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png" |
90dd450c VZ |
18808 | fi |
18809 | ||
8284b0c5 | 18810 | |
21d1c967 GD |
18811 | JPEG_INCLUDE= |
18812 | JPEG_LINK= | |
18813 | if test "$wxUSE_LIBJPEG" != "no" ; then | |
e6cc62c6 | 18814 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 18815 | #define wxUSE_LIBJPEG 1 |
e6cc62c6 | 18816 | _ACEOF |
90dd450c | 18817 | |
8284b0c5 | 18818 | |
21d1c967 | 18819 | if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then |
e6cc62c6 VS |
18820 | { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5 |
18821 | echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;} | |
21d1c967 GD |
18822 | wxUSE_LIBJPEG=sys |
18823 | fi | |
90dd450c | 18824 | |
21d1c967 GD |
18825 | if test "$wxUSE_MGL" != 1 ; then |
18826 | if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then | |
e6cc62c6 VS |
18827 | echo "$as_me:$LINENO: checking for jpeglib.h" >&5 |
18828 | echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 | |
18829 | if test "${ac_cv_header_jpeglib_h+set}" = set; then | |
18830 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18831 | else | |
18832 | cat >conftest.$ac_ext <<_ACEOF | |
18833 | #line $LINENO "configure" | |
18834 | /* confdefs.h. */ | |
18835 | _ACEOF | |
18836 | cat confdefs.h >>conftest.$ac_ext | |
18837 | cat >>conftest.$ac_ext <<_ACEOF | |
18838 | /* end confdefs.h. */ | |
90dd450c | 18839 | |
21d1c967 GD |
18840 | #undef HAVE_STDLIB_H |
18841 | #include <stdio.h> | |
18842 | #include <jpeglib.h> | |
90dd450c | 18843 | |
e6cc62c6 VS |
18844 | int |
18845 | main () | |
18846 | { | |
18847 | ||
18848 | ||
18849 | ; | |
18850 | return 0; | |
18851 | } | |
18852 | _ACEOF | |
18853 | rm -f conftest.$ac_objext | |
18854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
18855 | (eval $ac_compile) 2>&5 | |
18856 | ac_status=$? | |
18857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18858 | (exit $ac_status); } && | |
18859 | { ac_try='test -s conftest.$ac_objext' | |
18860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18861 | (eval $ac_try) 2>&5 | |
18862 | ac_status=$? | |
18863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18864 | (exit $ac_status); }; }; then | |
21d1c967 | 18865 | ac_cv_header_jpeglib_h=yes |
90dd450c | 18866 | else |
e6cc62c6 VS |
18867 | echo "$as_me: failed program was:" >&5 |
18868 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18869 | ||
18870 | ac_cv_header_jpeglib_h=no | |
18871 | ||
90dd450c | 18872 | fi |
e6cc62c6 VS |
18873 | rm -f conftest.$ac_objext conftest.$ac_ext |
18874 | ||
90dd450c VZ |
18875 | fi |
18876 | ||
e6cc62c6 VS |
18877 | echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 |
18878 | echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6 | |
90dd450c | 18879 | |
21d1c967 | 18880 | if test "$ac_cv_header_jpeglib_h" = "yes"; then |
e6cc62c6 VS |
18881 | echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5 |
18882 | echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6 | |
18883 | if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then | |
18884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 18885 | else |
e6cc62c6 | 18886 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 18887 | LIBS="-ljpeg $LIBS" |
e6cc62c6 VS |
18888 | cat >conftest.$ac_ext <<_ACEOF |
18889 | #line $LINENO "configure" | |
18890 | /* confdefs.h. */ | |
18891 | _ACEOF | |
18892 | cat confdefs.h >>conftest.$ac_ext | |
18893 | cat >>conftest.$ac_ext <<_ACEOF | |
18894 | /* end confdefs.h. */ | |
18895 | ||
21d1c967 | 18896 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
18897 | #ifdef __cplusplus |
18898 | extern "C" | |
18899 | #endif | |
21d1c967 | 18900 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
18901 | builtin and then its argument prototype would still apply. */ |
18902 | char jpeg_read_header (); | |
18903 | int | |
18904 | main () | |
18905 | { | |
18906 | jpeg_read_header (); | |
18907 | ; | |
18908 | return 0; | |
18909 | } | |
18910 | _ACEOF | |
18911 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18912 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18913 | (eval $ac_link) 2>&5 | |
18914 | ac_status=$? | |
18915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18916 | (exit $ac_status); } && | |
18917 | { ac_try='test -s conftest$ac_exeext' | |
18918 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18919 | (eval $ac_try) 2>&5 | |
18920 | ac_status=$? | |
18921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18922 | (exit $ac_status); }; }; then | |
18923 | ac_cv_lib_jpeg_jpeg_read_header=yes | |
18924 | else | |
18925 | echo "$as_me: failed program was:" >&5 | |
18926 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18927 | ||
18928 | ac_cv_lib_jpeg_jpeg_read_header=no | |
18929 | fi | |
18930 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
18931 | LIBS=$ac_check_lib_save_LIBS | |
18932 | fi | |
18933 | echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5 | |
18934 | echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6 | |
18935 | if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then | |
21d1c967 | 18936 | JPEG_LINK=" -ljpeg" |
90dd450c VZ |
18937 | fi |
18938 | ||
21d1c967 | 18939 | fi |
90dd450c | 18940 | |
21d1c967 GD |
18941 | if test "x$JPEG_LINK" = "x" ; then |
18942 | if test "$wxUSE_LIBJPEG" = "sys" ; then | |
e6cc62c6 VS |
18943 | { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5 |
18944 | echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;} | |
18945 | { (exit 1); exit 1; }; } | |
21d1c967 | 18946 | else |
e6cc62c6 VS |
18947 | { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5 |
18948 | echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;} | |
21d1c967 GD |
18949 | wxUSE_LIBJPEG=builtin |
18950 | fi | |
18951 | else | |
18952 | wxUSE_LIBJPEG=sys | |
18953 | fi | |
18954 | fi | |
18955 | fi | |
90dd450c | 18956 | |
21d1c967 GD |
18957 | if test "$wxUSE_LIBJPEG" = "builtin" ; then |
18958 | JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg" | |
18959 | fi | |
18960 | fi | |
90dd450c | 18961 | |
8284b0c5 | 18962 | |
21d1c967 GD |
18963 | TIFF_INCLUDE= |
18964 | TIFF_LINK= | |
2b5f62a0 | 18965 | TIFF_PREREQ_LINKS=-lm |
21d1c967 | 18966 | if test "$wxUSE_LIBTIFF" != "no" ; then |
e6cc62c6 | 18967 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 18968 | #define wxUSE_LIBTIFF 1 |
e6cc62c6 | 18969 | _ACEOF |
21d1c967 | 18970 | |
8284b0c5 | 18971 | |
21d1c967 | 18972 | if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then |
2b5f62a0 VZ |
18973 | if test "$wxUSE_LIBJPEG" = "sys"; then |
18974 | TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK" | |
18975 | fi | |
18976 | if test "$wxUSE_ZLIB" = "sys"; then | |
18977 | TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK" | |
18978 | fi | |
e6cc62c6 VS |
18979 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
18980 | echo "$as_me:$LINENO: checking for tiffio.h" >&5 | |
18981 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | |
18982 | if test "${ac_cv_header_tiffio_h+set}" = set; then | |
18983 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18984 | fi | |
18985 | echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | |
18986 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | |
18987 | else | |
18988 | # Is the header compilable? | |
18989 | echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | |
18990 | echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 | |
18991 | cat >conftest.$ac_ext <<_ACEOF | |
18992 | #line $LINENO "configure" | |
18993 | /* confdefs.h. */ | |
18994 | _ACEOF | |
18995 | cat confdefs.h >>conftest.$ac_ext | |
18996 | cat >>conftest.$ac_ext <<_ACEOF | |
18997 | /* end confdefs.h. */ | |
18998 | $ac_includes_default | |
247f5006 | 18999 | #include <tiffio.h> |
e6cc62c6 VS |
19000 | _ACEOF |
19001 | rm -f conftest.$ac_objext | |
19002 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
19003 | (eval $ac_compile) 2>&5 | |
19004 | ac_status=$? | |
19005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19006 | (exit $ac_status); } && | |
19007 | { ac_try='test -s conftest.$ac_objext' | |
19008 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19009 | (eval $ac_try) 2>&5 | |
19010 | ac_status=$? | |
19011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19012 | (exit $ac_status); }; }; then | |
19013 | ac_header_compiler=yes | |
19014 | else | |
19015 | echo "$as_me: failed program was:" >&5 | |
19016 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19017 | ||
19018 | ac_header_compiler=no | |
19019 | fi | |
19020 | rm -f conftest.$ac_objext conftest.$ac_ext | |
19021 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19022 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
19023 | ||
19024 | # Is the header present? | |
19025 | echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | |
19026 | echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 | |
19027 | cat >conftest.$ac_ext <<_ACEOF | |
19028 | #line $LINENO "configure" | |
19029 | /* confdefs.h. */ | |
19030 | _ACEOF | |
19031 | cat confdefs.h >>conftest.$ac_ext | |
19032 | cat >>conftest.$ac_ext <<_ACEOF | |
19033 | /* end confdefs.h. */ | |
19034 | #include <tiffio.h> | |
19035 | _ACEOF | |
19036 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
19037 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
19038 | ac_status=$? | |
19039 | grep -v '^ *+' conftest.er1 >conftest.err | |
19040 | rm -f conftest.er1 | |
19041 | cat conftest.err >&5 | |
19042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19043 | (exit $ac_status); } >/dev/null; then | |
19044 | if test -s conftest.err; then | |
19045 | ac_cpp_err=$ac_c_preproc_warn_flag | |
19046 | else | |
19047 | ac_cpp_err= | |
19048 | fi | |
19049 | else | |
19050 | ac_cpp_err=yes | |
19051 | fi | |
19052 | if test -z "$ac_cpp_err"; then | |
19053 | ac_header_preproc=yes | |
19054 | else | |
19055 | echo "$as_me: failed program was:" >&5 | |
19056 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19057 | ||
19058 | ac_header_preproc=no | |
19059 | fi | |
19060 | rm -f conftest.err conftest.$ac_ext | |
19061 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19062 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
19063 | ||
19064 | # So? What about this header? | |
19065 | case $ac_header_compiler:$ac_header_preproc in | |
19066 | yes:no ) | |
19067 | { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19068 | echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19069 | { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | |
19070 | echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | |
19071 | ( | |
19072 | cat <<\_ASBOX | |
19073 | ## ------------------------------------ ## | |
19074 | ## Report this to bug-autoconf@gnu.org. ## | |
19075 | ## ------------------------------------ ## | |
19076 | _ASBOX | |
19077 | ) | | |
19078 | sed "s/^/$as_me: WARNING: /" >&2 | |
19079 | ;; | |
19080 | no:yes ) | |
19081 | { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | |
19082 | echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | |
19083 | { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | |
19084 | echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | |
19085 | { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | |
19086 | echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | |
19087 | ( | |
19088 | cat <<\_ASBOX | |
19089 | ## ------------------------------------ ## | |
19090 | ## Report this to bug-autoconf@gnu.org. ## | |
19091 | ## ------------------------------------ ## | |
19092 | _ASBOX | |
19093 | ) | | |
19094 | sed "s/^/$as_me: WARNING: /" >&2 | |
19095 | ;; | |
19096 | esac | |
19097 | echo "$as_me:$LINENO: checking for tiffio.h" >&5 | |
19098 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | |
19099 | if test "${ac_cv_header_tiffio_h+set}" = set; then | |
19100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19101 | else | |
19102 | ac_cv_header_tiffio_h=$ac_header_preproc | |
21d1c967 | 19103 | fi |
e6cc62c6 VS |
19104 | echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
19105 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | |
19106 | ||
21d1c967 | 19107 | fi |
e6cc62c6 | 19108 | if test $ac_cv_header_tiffio_h = yes; then |
0e012a93 VZ |
19109 | |
19110 | echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5 | |
e6cc62c6 VS |
19111 | echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6 |
19112 | if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then | |
19113 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
698dcdb6 | 19114 | else |
e6cc62c6 | 19115 | ac_check_lib_save_LIBS=$LIBS |
2b5f62a0 | 19116 | LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" |
e6cc62c6 VS |
19117 | cat >conftest.$ac_ext <<_ACEOF |
19118 | #line $LINENO "configure" | |
19119 | /* confdefs.h. */ | |
19120 | _ACEOF | |
19121 | cat confdefs.h >>conftest.$ac_ext | |
19122 | cat >>conftest.$ac_ext <<_ACEOF | |
19123 | /* end confdefs.h. */ | |
19124 | ||
ab9b9eab | 19125 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
19126 | #ifdef __cplusplus |
19127 | extern "C" | |
19128 | #endif | |
ab9b9eab | 19129 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
19130 | builtin and then its argument prototype would still apply. */ |
19131 | char TIFFError (); | |
19132 | int | |
19133 | main () | |
19134 | { | |
19135 | TIFFError (); | |
19136 | ; | |
19137 | return 0; | |
19138 | } | |
19139 | _ACEOF | |
19140 | rm -f conftest.$ac_objext conftest$ac_exeext | |
19141 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
19142 | (eval $ac_link) 2>&5 | |
19143 | ac_status=$? | |
19144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19145 | (exit $ac_status); } && | |
19146 | { ac_try='test -s conftest$ac_exeext' | |
19147 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19148 | (eval $ac_try) 2>&5 | |
19149 | ac_status=$? | |
19150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19151 | (exit $ac_status); }; }; then | |
19152 | ac_cv_lib_tiff_TIFFError=yes | |
19153 | else | |
19154 | echo "$as_me: failed program was:" >&5 | |
19155 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19156 | ||
19157 | ac_cv_lib_tiff_TIFFError=no | |
19158 | fi | |
19159 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
19160 | LIBS=$ac_check_lib_save_LIBS | |
19161 | fi | |
19162 | echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5 | |
19163 | echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6 | |
19164 | if test $ac_cv_lib_tiff_TIFFError = yes; then | |
a0b9e27f | 19165 | TIFF_LINK=" -ltiff" |
a0b9e27f | 19166 | fi |
cd6d6d5b | 19167 | |
e6cc62c6 | 19168 | |
0e012a93 | 19169 | |
a0b9e27f | 19170 | fi |
8284b0c5 | 19171 | |
247f5006 | 19172 | |
e6cc62c6 | 19173 | |
21d1c967 GD |
19174 | if test "x$TIFF_LINK" = "x" ; then |
19175 | if test "$wxUSE_LIBTIFF" = "sys" ; then | |
e6cc62c6 VS |
19176 | { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5 |
19177 | echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;} | |
19178 | { (exit 1); exit 1; }; } | |
90dd450c | 19179 | else |
e6cc62c6 VS |
19180 | { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5 |
19181 | echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;} | |
21d1c967 | 19182 | wxUSE_LIBTIFF=builtin |
d8356fa3 | 19183 | fi |
d8356fa3 | 19184 | else |
21d1c967 | 19185 | wxUSE_LIBTIFF=sys |
d8356fa3 | 19186 | fi |
21d1c967 | 19187 | fi |
d8356fa3 | 19188 | |
21d1c967 GD |
19189 | if test "$wxUSE_LIBTIFF" = "builtin" ; then |
19190 | TIFF_INCLUDE="-I\${top_srcdir}/src/tiff" | |
1e6feb95 | 19191 | fi |
21d1c967 | 19192 | fi |
10f2d63a | 19193 | |
8284b0c5 | 19194 | |
672abd7a | 19195 | if test "$wxUSE_EXPAT" != "no"; then |
e06468e8 | 19196 | wxUSE_XML=yes |
672abd7a VS |
19197 | cat >>confdefs.h <<\_ACEOF |
19198 | #define wxUSE_EXPAT 1 | |
19199 | _ACEOF | |
19200 | ||
19201 | cat >>confdefs.h <<\_ACEOF | |
19202 | #define wxUSE_XML 1 | |
19203 | _ACEOF | |
19204 | ||
19205 | ||
19206 | if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then | |
19207 | if test "${ac_cv_header_expat_h+set}" = set; then | |
19208 | echo "$as_me:$LINENO: checking for expat.h" >&5 | |
19209 | echo $ECHO_N "checking for expat.h... $ECHO_C" >&6 | |
19210 | if test "${ac_cv_header_expat_h+set}" = set; then | |
19211 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19212 | fi | |
19213 | echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5 | |
19214 | echo "${ECHO_T}$ac_cv_header_expat_h" >&6 | |
19215 | else | |
19216 | # Is the header compilable? | |
19217 | echo "$as_me:$LINENO: checking expat.h usability" >&5 | |
19218 | echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6 | |
19219 | cat >conftest.$ac_ext <<_ACEOF | |
19220 | #line $LINENO "configure" | |
19221 | /* confdefs.h. */ | |
19222 | _ACEOF | |
19223 | cat confdefs.h >>conftest.$ac_ext | |
19224 | cat >>conftest.$ac_ext <<_ACEOF | |
19225 | /* end confdefs.h. */ | |
19226 | $ac_includes_default | |
19227 | #include <expat.h> | |
19228 | _ACEOF | |
19229 | rm -f conftest.$ac_objext | |
19230 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
19231 | (eval $ac_compile) 2>&5 | |
19232 | ac_status=$? | |
19233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19234 | (exit $ac_status); } && | |
19235 | { ac_try='test -s conftest.$ac_objext' | |
19236 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19237 | (eval $ac_try) 2>&5 | |
19238 | ac_status=$? | |
19239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19240 | (exit $ac_status); }; }; then | |
19241 | ac_header_compiler=yes | |
19242 | else | |
19243 | echo "$as_me: failed program was:" >&5 | |
19244 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19245 | ||
19246 | ac_header_compiler=no | |
19247 | fi | |
19248 | rm -f conftest.$ac_objext conftest.$ac_ext | |
19249 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19250 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
19251 | ||
19252 | # Is the header present? | |
19253 | echo "$as_me:$LINENO: checking expat.h presence" >&5 | |
19254 | echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6 | |
19255 | cat >conftest.$ac_ext <<_ACEOF | |
19256 | #line $LINENO "configure" | |
19257 | /* confdefs.h. */ | |
19258 | _ACEOF | |
19259 | cat confdefs.h >>conftest.$ac_ext | |
19260 | cat >>conftest.$ac_ext <<_ACEOF | |
19261 | /* end confdefs.h. */ | |
19262 | #include <expat.h> | |
19263 | _ACEOF | |
19264 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
19265 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
19266 | ac_status=$? | |
19267 | grep -v '^ *+' conftest.er1 >conftest.err | |
19268 | rm -f conftest.er1 | |
19269 | cat conftest.err >&5 | |
19270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19271 | (exit $ac_status); } >/dev/null; then | |
19272 | if test -s conftest.err; then | |
19273 | ac_cpp_err=$ac_c_preproc_warn_flag | |
19274 | else | |
19275 | ac_cpp_err= | |
19276 | fi | |
19277 | else | |
19278 | ac_cpp_err=yes | |
19279 | fi | |
19280 | if test -z "$ac_cpp_err"; then | |
19281 | ac_header_preproc=yes | |
19282 | else | |
19283 | echo "$as_me: failed program was:" >&5 | |
19284 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19285 | ||
19286 | ac_header_preproc=no | |
19287 | fi | |
19288 | rm -f conftest.err conftest.$ac_ext | |
19289 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19290 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
19291 | ||
19292 | # So? What about this header? | |
19293 | case $ac_header_compiler:$ac_header_preproc in | |
19294 | yes:no ) | |
19295 | { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19296 | echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19297 | { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5 | |
19298 | echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;} | |
19299 | ( | |
19300 | cat <<\_ASBOX | |
19301 | ## ------------------------------------ ## | |
19302 | ## Report this to bug-autoconf@gnu.org. ## | |
19303 | ## ------------------------------------ ## | |
19304 | _ASBOX | |
19305 | ) | | |
19306 | sed "s/^/$as_me: WARNING: /" >&2 | |
19307 | ;; | |
19308 | no:yes ) | |
19309 | { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5 | |
19310 | echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;} | |
19311 | { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5 | |
19312 | echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;} | |
19313 | { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5 | |
19314 | echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;} | |
19315 | ( | |
19316 | cat <<\_ASBOX | |
19317 | ## ------------------------------------ ## | |
19318 | ## Report this to bug-autoconf@gnu.org. ## | |
19319 | ## ------------------------------------ ## | |
19320 | _ASBOX | |
19321 | ) | | |
19322 | sed "s/^/$as_me: WARNING: /" >&2 | |
19323 | ;; | |
19324 | esac | |
19325 | echo "$as_me:$LINENO: checking for expat.h" >&5 | |
19326 | echo $ECHO_N "checking for expat.h... $ECHO_C" >&6 | |
19327 | if test "${ac_cv_header_expat_h+set}" = set; then | |
19328 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19329 | else | |
19330 | ac_cv_header_expat_h=$ac_header_preproc | |
19331 | fi | |
19332 | echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5 | |
19333 | echo "${ECHO_T}$ac_cv_header_expat_h" >&6 | |
19334 | ||
19335 | fi | |
5f0b6dff VS |
19336 | if test $ac_cv_header_expat_h = yes; then |
19337 | found_expat_h=1 | |
19338 | fi | |
19339 | ||
19340 | ||
19341 | if test "x$found_expat_h" = "x1"; then | |
19342 | echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5 | |
19343 | echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6 | |
19344 | if test "${wx_cv_expat_is_not_broken+set}" = set; then | |
19345 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19346 | else | |
19347 | ||
19348 | ||
672abd7a | 19349 | |
5f0b6dff VS |
19350 | ac_ext=cc |
19351 | ac_cpp='$CXXCPP $CPPFLAGS' | |
19352 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
19353 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
19354 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
19355 | ||
19356 | cat >conftest.$ac_ext <<_ACEOF | |
19357 | #line $LINENO "configure" | |
19358 | /* confdefs.h. */ | |
19359 | _ACEOF | |
19360 | cat confdefs.h >>conftest.$ac_ext | |
19361 | cat >>conftest.$ac_ext <<_ACEOF | |
19362 | /* end confdefs.h. */ | |
19363 | #include <expat.h> | |
19364 | int | |
19365 | main () | |
19366 | { | |
672abd7a | 19367 | |
5f0b6dff VS |
19368 | ; |
19369 | return 0; | |
19370 | } | |
19371 | _ACEOF | |
19372 | rm -f conftest.$ac_objext | |
19373 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
19374 | (eval $ac_compile) 2>&5 | |
19375 | ac_status=$? | |
19376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19377 | (exit $ac_status); } && | |
19378 | { ac_try='test -s conftest.$ac_objext' | |
19379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19380 | (eval $ac_try) 2>&5 | |
19381 | ac_status=$? | |
19382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19383 | (exit $ac_status); }; }; then | |
19384 | wx_cv_expat_is_not_broken=yes | |
19385 | else | |
19386 | echo "$as_me: failed program was:" >&5 | |
19387 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19388 | ||
19389 | wx_cv_expat_is_not_broken=no | |
19390 | ||
19391 | fi | |
19392 | rm -f conftest.$ac_objext conftest.$ac_ext | |
19393 | ac_ext=c | |
19394 | ac_cpp='$CPP $CPPFLAGS' | |
19395 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
19396 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
19397 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
19398 | ||
19399 | ||
19400 | ||
19401 | fi | |
19402 | echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5 | |
19403 | echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6 | |
19404 | if test "$wx_cv_expat_is_not_broken" = "yes" ; then | |
19405 | echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5 | |
672abd7a VS |
19406 | echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6 |
19407 | if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then | |
19408 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19409 | else | |
19410 | ac_check_lib_save_LIBS=$LIBS | |
19411 | LIBS="-lexpat $LIBS" | |
19412 | cat >conftest.$ac_ext <<_ACEOF | |
19413 | #line $LINENO "configure" | |
19414 | /* confdefs.h. */ | |
19415 | _ACEOF | |
19416 | cat confdefs.h >>conftest.$ac_ext | |
19417 | cat >>conftest.$ac_ext <<_ACEOF | |
19418 | /* end confdefs.h. */ | |
19419 | ||
19420 | /* Override any gcc2 internal prototype to avoid an error. */ | |
19421 | #ifdef __cplusplus | |
19422 | extern "C" | |
19423 | #endif | |
19424 | /* We use char because int might match the return type of a gcc2 | |
19425 | builtin and then its argument prototype would still apply. */ | |
19426 | char XML_ParserCreate (); | |
19427 | int | |
19428 | main () | |
19429 | { | |
19430 | XML_ParserCreate (); | |
19431 | ; | |
19432 | return 0; | |
19433 | } | |
19434 | _ACEOF | |
19435 | rm -f conftest.$ac_objext conftest$ac_exeext | |
19436 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
19437 | (eval $ac_link) 2>&5 | |
19438 | ac_status=$? | |
19439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19440 | (exit $ac_status); } && | |
19441 | { ac_try='test -s conftest$ac_exeext' | |
19442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19443 | (eval $ac_try) 2>&5 | |
19444 | ac_status=$? | |
19445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19446 | (exit $ac_status); }; }; then | |
19447 | ac_cv_lib_expat_XML_ParserCreate=yes | |
19448 | else | |
19449 | echo "$as_me: failed program was:" >&5 | |
19450 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19451 | ||
19452 | ac_cv_lib_expat_XML_ParserCreate=no | |
19453 | fi | |
19454 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
19455 | LIBS=$ac_check_lib_save_LIBS | |
19456 | fi | |
19457 | echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 | |
19458 | echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6 | |
19459 | if test $ac_cv_lib_expat_XML_ParserCreate = yes; then | |
19460 | EXPAT_LINK=" -lexpat" | |
19461 | fi | |
19462 | ||
5f0b6dff | 19463 | fi |
672abd7a VS |
19464 | fi |
19465 | if test "x$EXPAT_LINK" = "x" ; then | |
19466 | if test "$wxUSE_EXPAT" = "sys" ; then | |
19467 | { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5 | |
19468 | echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;} | |
19469 | { (exit 1); exit 1; }; } | |
19470 | else | |
19471 | { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5 | |
19472 | echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;} | |
19473 | wxUSE_EXPAT=builtin | |
19474 | fi | |
19475 | else | |
19476 | wxUSE_EXPAT=sys | |
19477 | fi | |
19478 | fi | |
19479 | if test "$wxUSE_EXPAT" = "builtin" ; then | |
19480 | ||
19481 | ||
19482 | subdirs="$subdirs src/expat" | |
19483 | ||
19484 | fi | |
19485 | fi | |
19486 | ||
19487 | ||
19488 | ||
21d1c967 | 19489 | AFMINSTALL= |
2b5f62a0 | 19490 | WIN32INSTALL= |
90dd450c | 19491 | |
21d1c967 GD |
19492 | TOOLKIT= |
19493 | TOOLKIT_INCLUDE= | |
19494 | WIDGET_SET= | |
19495 | ||
19496 | if test "$USE_WIN32" = 1 ; then | |
e6cc62c6 VS |
19497 | |
19498 | for ac_header in w32api.h | |
21d1c967 | 19499 | do |
e6cc62c6 VS |
19500 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19501 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
19502 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19503 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
19504 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
19505 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19506 | fi | |
19507 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
19508 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
19509 | else | |
19510 | # Is the header compilable? | |
19511 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
19512 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
19513 | cat >conftest.$ac_ext <<_ACEOF | |
19514 | #line $LINENO "configure" | |
19515 | /* confdefs.h. */ | |
19516 | _ACEOF | |
19517 | cat confdefs.h >>conftest.$ac_ext | |
19518 | cat >>conftest.$ac_ext <<_ACEOF | |
19519 | /* end confdefs.h. */ | |
19520 | $ac_includes_default | |
19521 | #include <$ac_header> | |
19522 | _ACEOF | |
19523 | rm -f conftest.$ac_objext | |
19524 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
19525 | (eval $ac_compile) 2>&5 | |
19526 | ac_status=$? | |
19527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19528 | (exit $ac_status); } && | |
19529 | { ac_try='test -s conftest.$ac_objext' | |
19530 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19531 | (eval $ac_try) 2>&5 | |
19532 | ac_status=$? | |
19533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19534 | (exit $ac_status); }; }; then | |
19535 | ac_header_compiler=yes | |
19536 | else | |
19537 | echo "$as_me: failed program was:" >&5 | |
19538 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19539 | ||
19540 | ac_header_compiler=no | |
19541 | fi | |
19542 | rm -f conftest.$ac_objext conftest.$ac_ext | |
19543 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19544 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
19545 | ||
19546 | # Is the header present? | |
19547 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
19548 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
19549 | cat >conftest.$ac_ext <<_ACEOF | |
19550 | #line $LINENO "configure" | |
19551 | /* confdefs.h. */ | |
19552 | _ACEOF | |
19553 | cat confdefs.h >>conftest.$ac_ext | |
19554 | cat >>conftest.$ac_ext <<_ACEOF | |
19555 | /* end confdefs.h. */ | |
19556 | #include <$ac_header> | |
19557 | _ACEOF | |
19558 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
19559 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
19560 | ac_status=$? | |
19561 | grep -v '^ *+' conftest.er1 >conftest.err | |
19562 | rm -f conftest.er1 | |
19563 | cat conftest.err >&5 | |
19564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19565 | (exit $ac_status); } >/dev/null; then | |
19566 | if test -s conftest.err; then | |
19567 | ac_cpp_err=$ac_c_preproc_warn_flag | |
19568 | else | |
19569 | ac_cpp_err= | |
19570 | fi | |
19571 | else | |
19572 | ac_cpp_err=yes | |
19573 | fi | |
19574 | if test -z "$ac_cpp_err"; then | |
19575 | ac_header_preproc=yes | |
19576 | else | |
19577 | echo "$as_me: failed program was:" >&5 | |
19578 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19579 | ||
19580 | ac_header_preproc=no | |
19581 | fi | |
19582 | rm -f conftest.err conftest.$ac_ext | |
19583 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19584 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
19585 | ||
19586 | # So? What about this header? | |
19587 | case $ac_header_compiler:$ac_header_preproc in | |
19588 | yes:no ) | |
19589 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19590 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19591 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
19592 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
19593 | ( | |
19594 | cat <<\_ASBOX | |
19595 | ## ------------------------------------ ## | |
19596 | ## Report this to bug-autoconf@gnu.org. ## | |
19597 | ## ------------------------------------ ## | |
19598 | _ASBOX | |
19599 | ) | | |
19600 | sed "s/^/$as_me: WARNING: /" >&2 | |
19601 | ;; | |
19602 | no:yes ) | |
19603 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
19604 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
19605 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
19606 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
19607 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
19608 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
19609 | ( | |
19610 | cat <<\_ASBOX | |
19611 | ## ------------------------------------ ## | |
19612 | ## Report this to bug-autoconf@gnu.org. ## | |
19613 | ## ------------------------------------ ## | |
19614 | _ASBOX | |
19615 | ) | | |
19616 | sed "s/^/$as_me: WARNING: /" >&2 | |
19617 | ;; | |
19618 | esac | |
19619 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19620 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
19621 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
19622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19623 | else | |
19624 | eval "$as_ac_Header=$ac_header_preproc" | |
f79bd02d | 19625 | fi |
e6cc62c6 VS |
19626 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19627 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
19628 | ||
21d1c967 | 19629 | fi |
e6cc62c6 VS |
19630 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19631 | cat >>confdefs.h <<_ACEOF | |
19632 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
19633 | _ACEOF | |
19634 | ||
21d1c967 | 19635 | fi |
e6cc62c6 | 19636 | |
21d1c967 | 19637 | done |
f79bd02d | 19638 | |
e6cc62c6 VS |
19639 | if test "${ac_cv_header_windows_h+set}" = set; then |
19640 | echo "$as_me:$LINENO: checking for windows.h" >&5 | |
19641 | echo $ECHO_N "checking for windows.h... $ECHO_C" >&6 | |
19642 | if test "${ac_cv_header_windows_h+set}" = set; then | |
19643 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19644 | fi | |
19645 | echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5 | |
19646 | echo "${ECHO_T}$ac_cv_header_windows_h" >&6 | |
19647 | else | |
19648 | # Is the header compilable? | |
19649 | echo "$as_me:$LINENO: checking windows.h usability" >&5 | |
19650 | echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6 | |
19651 | cat >conftest.$ac_ext <<_ACEOF | |
19652 | #line $LINENO "configure" | |
19653 | /* confdefs.h. */ | |
19654 | _ACEOF | |
19655 | cat confdefs.h >>conftest.$ac_ext | |
19656 | cat >>conftest.$ac_ext <<_ACEOF | |
19657 | /* end confdefs.h. */ | |
19658 | $ac_includes_default | |
247f5006 | 19659 | #include <windows.h> |
e6cc62c6 VS |
19660 | _ACEOF |
19661 | rm -f conftest.$ac_objext | |
19662 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
19663 | (eval $ac_compile) 2>&5 | |
19664 | ac_status=$? | |
19665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19666 | (exit $ac_status); } && | |
19667 | { ac_try='test -s conftest.$ac_objext' | |
19668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
19669 | (eval $ac_try) 2>&5 | |
19670 | ac_status=$? | |
19671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19672 | (exit $ac_status); }; }; then | |
19673 | ac_header_compiler=yes | |
19674 | else | |
19675 | echo "$as_me: failed program was:" >&5 | |
19676 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19677 | ||
19678 | ac_header_compiler=no | |
19679 | fi | |
19680 | rm -f conftest.$ac_objext conftest.$ac_ext | |
19681 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19682 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
19683 | ||
19684 | # Is the header present? | |
19685 | echo "$as_me:$LINENO: checking windows.h presence" >&5 | |
19686 | echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6 | |
19687 | cat >conftest.$ac_ext <<_ACEOF | |
19688 | #line $LINENO "configure" | |
19689 | /* confdefs.h. */ | |
19690 | _ACEOF | |
19691 | cat confdefs.h >>conftest.$ac_ext | |
19692 | cat >>conftest.$ac_ext <<_ACEOF | |
19693 | /* end confdefs.h. */ | |
19694 | #include <windows.h> | |
19695 | _ACEOF | |
19696 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
19697 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
19698 | ac_status=$? | |
19699 | grep -v '^ *+' conftest.er1 >conftest.err | |
19700 | rm -f conftest.er1 | |
19701 | cat conftest.err >&5 | |
19702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19703 | (exit $ac_status); } >/dev/null; then | |
19704 | if test -s conftest.err; then | |
19705 | ac_cpp_err=$ac_c_preproc_warn_flag | |
19706 | else | |
19707 | ac_cpp_err= | |
19708 | fi | |
19709 | else | |
19710 | ac_cpp_err=yes | |
19711 | fi | |
19712 | if test -z "$ac_cpp_err"; then | |
19713 | ac_header_preproc=yes | |
19714 | else | |
19715 | echo "$as_me: failed program was:" >&5 | |
19716 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19717 | ||
19718 | ac_header_preproc=no | |
19719 | fi | |
19720 | rm -f conftest.err conftest.$ac_ext | |
19721 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19722 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
19723 | ||
19724 | # So? What about this header? | |
19725 | case $ac_header_compiler:$ac_header_preproc in | |
19726 | yes:no ) | |
19727 | { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19728 | echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19729 | { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5 | |
19730 | echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;} | |
19731 | ( | |
19732 | cat <<\_ASBOX | |
19733 | ## ------------------------------------ ## | |
19734 | ## Report this to bug-autoconf@gnu.org. ## | |
19735 | ## ------------------------------------ ## | |
19736 | _ASBOX | |
19737 | ) | | |
19738 | sed "s/^/$as_me: WARNING: /" >&2 | |
19739 | ;; | |
19740 | no:yes ) | |
19741 | { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5 | |
19742 | echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;} | |
19743 | { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5 | |
19744 | echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;} | |
19745 | { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5 | |
19746 | echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;} | |
19747 | ( | |
19748 | cat <<\_ASBOX | |
19749 | ## ------------------------------------ ## | |
19750 | ## Report this to bug-autoconf@gnu.org. ## | |
19751 | ## ------------------------------------ ## | |
19752 | _ASBOX | |
19753 | ) | | |
19754 | sed "s/^/$as_me: WARNING: /" >&2 | |
19755 | ;; | |
19756 | esac | |
19757 | echo "$as_me:$LINENO: checking for windows.h" >&5 | |
19758 | echo $ECHO_N "checking for windows.h... $ECHO_C" >&6 | |
19759 | if test "${ac_cv_header_windows_h+set}" = set; then | |
19760 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19761 | else | |
19762 | ac_cv_header_windows_h=$ac_header_preproc | |
90dd450c | 19763 | fi |
e6cc62c6 VS |
19764 | echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5 |
19765 | echo "${ECHO_T}$ac_cv_header_windows_h" >&6 | |
19766 | ||
90dd450c | 19767 | fi |
e6cc62c6 | 19768 | if test $ac_cv_header_windows_h = yes; then |
21d1c967 | 19769 | : |
90dd450c | 19770 | else |
21d1c967 | 19771 | |
e6cc62c6 VS |
19772 | { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5 |
19773 | echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;} | |
19774 | { (exit 1); exit 1; }; } | |
19775 | ||
5c6fa7d2 | 19776 | fi |
7b4a847f | 19777 | |
5c6fa7d2 | 19778 | |
e6cc62c6 | 19779 | |
b3dfbbc9 | 19780 | LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32" |
21d1c967 | 19781 | |
7bb2947d MB |
19782 | if test "$wxUSE_ACCESSIBILITY" = "yes" ; then |
19783 | LIBS="$LIBS -loleacc" | |
19784 | fi | |
19785 | ||
21d1c967 GD |
19786 | case "${host}" in |
19787 | *-*-cygwin* ) | |
b3dfbbc9 | 19788 | LIBS="$LIBS -lkernel32 -luser32" |
21d1c967 | 19789 | TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__" |
f79bd02d | 19790 | esac |
f79bd02d | 19791 | |
8647bec6 RG |
19792 | if test "$wxUSE_ODBC" = "sys" ; then |
19793 | wxUSE_ODBC = "yes" | |
21d1c967 | 19794 | fi |
8647bec6 RG |
19795 | if test "$wxUSE_ODBC" = "yes" ; then |
19796 | LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS" | |
e6cc62c6 | 19797 | cat >>confdefs.h <<\_ACEOF |
8647bec6 | 19798 | #define wxUSE_ODBC 1 |
e6cc62c6 | 19799 | _ACEOF |
f79bd02d | 19800 | |
8647bec6 | 19801 | fi |
e6cc62c6 | 19802 | |
21d1c967 GD |
19803 | RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__" |
19804 | RESPROGRAMOBJ="\$(PROGRAM)_resources.o" | |
2b5f62a0 VZ |
19805 | |
19806 | WIN32INSTALL=win32install | |
f79bd02d | 19807 | fi |
f79bd02d | 19808 | |
21d1c967 GD |
19809 | if test "$wxUSE_GUI" = "yes"; then |
19810 | USE_GUI=1 | |
f79bd02d | 19811 | |
21d1c967 | 19812 | GUI_TK_LIBRARY= |
f79bd02d | 19813 | |
21d1c967 GD |
19814 | WXGTK12= |
19815 | WXGTK127= | |
19816 | WXGTK20= | |
f79bd02d | 19817 | |
21d1c967 GD |
19818 | if test "$wxUSE_MSW" = 1 ; then |
19819 | TOOLKIT=MSW | |
19820 | GUIDIST=MSW_DIST | |
ffef10f6 VS |
19821 | |
19822 | case "${host}" in | |
19823 | *-*-mingw32* ) | |
19824 | WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows" | |
19825 | esac | |
f79bd02d JS |
19826 | fi |
19827 | ||
21d1c967 | 19828 | if test "$wxUSE_GTK" = 1; then |
e6cc62c6 VS |
19829 | echo "$as_me:$LINENO: checking for GTK+ version" >&5 |
19830 | echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6 | |
21d1c967 GD |
19831 | |
19832 | gtk_version_cached=1 | |
e6cc62c6 VS |
19833 | if test "${wx_cv_lib_gtk+set}" = set; then |
19834 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f79bd02d | 19835 | else |
e6cc62c6 | 19836 | |
21d1c967 | 19837 | gtk_version_cached=0 |
e6cc62c6 VS |
19838 | echo "$as_me:$LINENO: result: " >&5 |
19839 | echo "${ECHO_T}" >&6 | |
f79bd02d | 19840 | |
21d1c967 GD |
19841 | GTK_MODULES= |
19842 | if test "$wxUSE_THREADS" = "yes"; then | |
19843 | GTK_MODULES=gthread | |
19844 | fi | |
f79bd02d | 19845 | |
2b5f62a0 | 19846 | wx_cv_lib_gtk= |
21d1c967 GD |
19847 | if test "x$wxUSE_GTK2" = "xyes"; then |
19848 | # Check whether --enable-gtktest or --disable-gtktest was given. | |
19849 | if test "${enable_gtktest+set}" = set; then | |
19850 | enableval="$enable_gtktest" | |
e6cc62c6 | 19851 | |
f79bd02d | 19852 | else |
21d1c967 | 19853 | enable_gtktest=yes |
e6cc62c6 | 19854 | fi; |
f79bd02d | 19855 | |
21d1c967 GD |
19856 | pkg_config_args=gtk+-2.0 |
19857 | for module in . $GTK_MODULES | |
19858 | do | |
19859 | case "$module" in | |
e6cc62c6 | 19860 | gthread) |
21d1c967 GD |
19861 | pkg_config_args="$pkg_config_args gthread-2.0" |
19862 | ;; | |
19863 | esac | |
19864 | done | |
19865 | ||
19866 | no_gtk="" | |
f79bd02d | 19867 | |
21d1c967 GD |
19868 | # Extract the first word of "pkg-config", so it can be a program name with args. |
19869 | set dummy pkg-config; ac_word=$2 | |
e6cc62c6 VS |
19870 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
19871 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
19872 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
19873 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 19874 | else |
e6cc62c6 VS |
19875 | case $PKG_CONFIG in |
19876 | [\\/]* | ?:[\\/]*) | |
21d1c967 GD |
19877 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
19878 | ;; | |
21d1c967 | 19879 | *) |
e6cc62c6 VS |
19880 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
19881 | for as_dir in $PATH | |
19882 | do | |
19883 | IFS=$as_save_IFS | |
19884 | test -z "$as_dir" && as_dir=. | |
19885 | for ac_exec_ext in '' $ac_executable_extensions; do | |
19886 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
19887 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
19888 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
19889 | break 2 | |
19890 | fi | |
19891 | done | |
19892 | done | |
19893 | ||
21d1c967 GD |
19894 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
19895 | ;; | |
19896 | esac | |
f79bd02d | 19897 | fi |
e6cc62c6 VS |
19898 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
19899 | ||
21d1c967 | 19900 | if test -n "$PKG_CONFIG"; then |
e6cc62c6 VS |
19901 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
19902 | echo "${ECHO_T}$PKG_CONFIG" >&6 | |
f79bd02d | 19903 | else |
e6cc62c6 VS |
19904 | echo "$as_me:$LINENO: result: no" >&5 |
19905 | echo "${ECHO_T}no" >&6 | |
f79bd02d JS |
19906 | fi |
19907 | ||
8284b0c5 | 19908 | |
21d1c967 GD |
19909 | if test x$PKG_CONFIG != xno ; then |
19910 | if pkg-config --atleast-pkgconfig-version 0.7 ; then | |
19911 | : | |
19912 | else | |
19913 | echo *** pkg-config too old; version 0.7 or better required. | |
19914 | no_gtk=yes | |
19915 | PKG_CONFIG=no | |
19916 | fi | |
19917 | else | |
19918 | no_gtk=yes | |
19919 | fi | |
f79bd02d | 19920 | |
21d1c967 | 19921 | min_gtk_version=2.0.0 |
e6cc62c6 VS |
19922 | echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5 |
19923 | echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6 | |
f79bd02d | 19924 | |
21d1c967 GD |
19925 | if test x$PKG_CONFIG != xno ; then |
19926 | ## don't try to run the test against uninstalled libtool libs | |
19927 | if $PKG_CONFIG --uninstalled $pkg_config_args; then | |
19928 | echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" | |
19929 | enable_gtktest=no | |
19930 | fi | |
f79bd02d | 19931 | |
21d1c967 GD |
19932 | if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then |
19933 | : | |
19934 | else | |
19935 | no_gtk=yes | |
19936 | fi | |
19937 | fi | |
f79bd02d | 19938 | |
21d1c967 GD |
19939 | if test x"$no_gtk" = x ; then |
19940 | GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` | |
19941 | GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` | |
19942 | gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | |
19943 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
19944 | gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | |
19945 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
19946 | gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | |
19947 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
19948 | if test "x$enable_gtktest" = "xyes" ; then | |
19949 | ac_save_CFLAGS="$CFLAGS" | |
19950 | ac_save_LIBS="$LIBS" | |
19951 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
19952 | LIBS="$GTK_LIBS $LIBS" | |
19953 | rm -f conf.gtktest | |
19954 | if test "$cross_compiling" = yes; then | |
19955 | echo $ac_n "cross compiling; assumed OK... $ac_c" | |
f79bd02d | 19956 | else |
e6cc62c6 VS |
19957 | cat >conftest.$ac_ext <<_ACEOF |
19958 | #line $LINENO "configure" | |
19959 | /* confdefs.h. */ | |
19960 | _ACEOF | |
19961 | cat confdefs.h >>conftest.$ac_ext | |
19962 | cat >>conftest.$ac_ext <<_ACEOF | |
19963 | /* end confdefs.h. */ | |
f79bd02d | 19964 | |
21d1c967 GD |
19965 | #include <gtk/gtk.h> |
19966 | #include <stdio.h> | |
19967 | #include <stdlib.h> | |
f79bd02d | 19968 | |
e6cc62c6 | 19969 | int |
21d1c967 GD |
19970 | main () |
19971 | { | |
19972 | int major, minor, micro; | |
19973 | char *tmp_version; | |
f79bd02d | 19974 | |
21d1c967 | 19975 | system ("touch conf.gtktest"); |
f79bd02d | 19976 | |
21d1c967 GD |
19977 | /* HP/UX 9 (%@#!) writes to sscanf strings */ |
19978 | tmp_version = g_strdup("$min_gtk_version"); | |
19979 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
19980 | printf("%s, bad version string\n", "$min_gtk_version"); | |
19981 | exit(1); | |
19982 | } | |
f79bd02d | 19983 | |
21d1c967 GD |
19984 | if ((gtk_major_version != $gtk_config_major_version) || |
19985 | (gtk_minor_version != $gtk_config_minor_version) || | |
19986 | (gtk_micro_version != $gtk_config_micro_version)) | |
19987 | { | |
e6cc62c6 | 19988 | printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", |
21d1c967 GD |
19989 | $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, |
19990 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
19991 | printf ("*** was found! If pkg-config was correct, then it is best\n"); | |
19992 | printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
19993 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
19994 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
19995 | printf("*** required on your system.\n"); | |
19996 | printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | |
19997 | printf("*** to point to the correct configuration files\n"); | |
e6cc62c6 | 19998 | } |
21d1c967 GD |
19999 | else if ((gtk_major_version != GTK_MAJOR_VERSION) || |
20000 | (gtk_minor_version != GTK_MINOR_VERSION) || | |
20001 | (gtk_micro_version != GTK_MICRO_VERSION)) | |
20002 | { | |
20003 | printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
20004 | GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
20005 | printf("*** library (version %d.%d.%d)\n", | |
20006 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20007 | } | |
20008 | else | |
20009 | { | |
20010 | if ((gtk_major_version > major) || | |
20011 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
20012 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
20013 | { | |
20014 | return 0; | |
20015 | } | |
20016 | else | |
20017 | { | |
20018 | printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
20019 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20020 | printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
20021 | major, minor, micro); | |
20022 | printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
20023 | printf("***\n"); | |
20024 | printf("*** If you have already installed a sufficiently new version, this error\n"); | |
20025 | printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | |
20026 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
20027 | printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); | |
20028 | printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | |
20029 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
20030 | printf("*** so that the correct libraries are found at run-time))\n"); | |
20031 | } | |
20032 | } | |
20033 | return 1; | |
20034 | } | |
f79bd02d | 20035 | |
e6cc62c6 VS |
20036 | _ACEOF |
20037 | rm -f conftest$ac_exeext | |
20038 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20039 | (eval $ac_link) 2>&5 | |
20040 | ac_status=$? | |
20041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20042 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
20043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20044 | (eval $ac_try) 2>&5 | |
20045 | ac_status=$? | |
20046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20047 | (exit $ac_status); }; }; then | |
21d1c967 | 20048 | : |
f79bd02d | 20049 | else |
e6cc62c6 VS |
20050 | echo "$as_me: program exited with status $ac_status" >&5 |
20051 | echo "$as_me: failed program was:" >&5 | |
20052 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20053 | ||
20054 | ( exit $ac_status ) | |
20055 | no_gtk=yes | |
f79bd02d | 20056 | fi |
e6cc62c6 | 20057 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
f79bd02d | 20058 | fi |
21d1c967 GD |
20059 | CFLAGS="$ac_save_CFLAGS" |
20060 | LIBS="$ac_save_LIBS" | |
20061 | fi | |
20062 | fi | |
20063 | if test "x$no_gtk" = x ; then | |
e6cc62c6 VS |
20064 | echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 |
20065 | echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6 | |
20066 | wx_cv_lib_gtk=2.0 | |
21d1c967 | 20067 | else |
e6cc62c6 VS |
20068 | echo "$as_me:$LINENO: result: no" >&5 |
20069 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
20070 | if test "$PKG_CONFIG" = "no" ; then |
20071 | echo "*** A new enough version of pkg-config was not found." | |
20072 | echo "*** See http://pkgconfig.sourceforge.net" | |
20073 | else | |
20074 | if test -f conf.gtktest ; then | |
20075 | : | |
20076 | else | |
20077 | echo "*** Could not run GTK+ test program, checking why..." | |
579d8138 VS |
20078 | ac_save_CFLAGS="$CFLAGS" |
20079 | ac_save_LIBS="$LIBS" | |
21d1c967 GD |
20080 | CFLAGS="$CFLAGS $GTK_CFLAGS" |
20081 | LIBS="$LIBS $GTK_LIBS" | |
e6cc62c6 VS |
20082 | cat >conftest.$ac_ext <<_ACEOF |
20083 | #line $LINENO "configure" | |
20084 | /* confdefs.h. */ | |
20085 | _ACEOF | |
20086 | cat confdefs.h >>conftest.$ac_ext | |
20087 | cat >>conftest.$ac_ext <<_ACEOF | |
20088 | /* end confdefs.h. */ | |
21d1c967 GD |
20089 | |
20090 | #include <gtk/gtk.h> | |
20091 | #include <stdio.h> | |
f79bd02d | 20092 | |
e6cc62c6 VS |
20093 | int |
20094 | main () | |
20095 | { | |
20096 | return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | |
20097 | ; | |
20098 | return 0; | |
20099 | } | |
20100 | _ACEOF | |
20101 | rm -f conftest.$ac_objext conftest$ac_exeext | |
20102 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20103 | (eval $ac_link) 2>&5 | |
20104 | ac_status=$? | |
20105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20106 | (exit $ac_status); } && | |
20107 | { ac_try='test -s conftest$ac_exeext' | |
20108 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20109 | (eval $ac_try) 2>&5 | |
20110 | ac_status=$? | |
20111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20112 | (exit $ac_status); }; }; then | |
21d1c967 GD |
20113 | echo "*** The test program compiled, but did not run. This usually means" |
20114 | echo "*** that the run-time linker is not finding GTK+ or finding the wrong" | |
20115 | echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" | |
20116 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
20117 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
20118 | echo "*** is required on your system" | |
20119 | echo "***" | |
20120 | echo "*** If you have an old version installed, it is best to remove it, although" | |
e6cc62c6 | 20121 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
f79bd02d | 20122 | else |
e6cc62c6 VS |
20123 | echo "$as_me: failed program was:" >&5 |
20124 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20125 | ||
20126 | echo "*** The test program failed to compile or link. See the file config.log for the" | |
579d8138 | 20127 | echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." |
f79bd02d | 20128 | fi |
e6cc62c6 | 20129 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21d1c967 GD |
20130 | CFLAGS="$ac_save_CFLAGS" |
20131 | LIBS="$ac_save_LIBS" | |
20132 | fi | |
20133 | fi | |
20134 | GTK_CFLAGS="" | |
20135 | GTK_LIBS="" | |
20136 | : | |
20137 | fi | |
e6cc62c6 VS |
20138 | |
20139 | ||
21d1c967 | 20140 | rm -f conf.gtktest |
f79bd02d | 20141 | |
2b5f62a0 | 20142 | else |
e6cc62c6 VS |
20143 | |
20144 | # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | |
21d1c967 GD |
20145 | if test "${with_gtk_prefix+set}" = set; then |
20146 | withval="$with_gtk_prefix" | |
20147 | gtk_config_prefix="$withval" | |
20148 | else | |
20149 | gtk_config_prefix="" | |
e6cc62c6 | 20150 | fi; |
f79bd02d | 20151 | |
21d1c967 GD |
20152 | # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. |
20153 | if test "${with_gtk_exec_prefix+set}" = set; then | |
20154 | withval="$with_gtk_exec_prefix" | |
20155 | gtk_config_exec_prefix="$withval" | |
20156 | else | |
20157 | gtk_config_exec_prefix="" | |
e6cc62c6 | 20158 | fi; |
21d1c967 GD |
20159 | # Check whether --enable-gtktest or --disable-gtktest was given. |
20160 | if test "${enable_gtktest+set}" = set; then | |
20161 | enableval="$enable_gtktest" | |
e6cc62c6 | 20162 | |
21d1c967 GD |
20163 | else |
20164 | enable_gtktest=yes | |
e6cc62c6 | 20165 | fi; |
21d1c967 GD |
20166 | |
20167 | for module in . $GTK_MODULES | |
20168 | do | |
20169 | case "$module" in | |
e6cc62c6 | 20170 | gthread) |
21d1c967 GD |
20171 | gtk_config_args="$gtk_config_args gthread" |
20172 | ;; | |
20173 | esac | |
20174 | done | |
20175 | ||
20176 | if test x$gtk_config_exec_prefix != x ; then | |
20177 | gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
20178 | if test x${GTK_CONFIG+set} != xset ; then | |
20179 | GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
20180 | fi | |
20181 | fi | |
20182 | if test x$gtk_config_prefix != x ; then | |
20183 | gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
20184 | if test x${GTK_CONFIG+set} != xset ; then | |
20185 | GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
20186 | fi | |
20187 | fi | |
20188 | ||
20189 | # Extract the first word of "gtk-config", so it can be a program name with args. | |
20190 | set dummy gtk-config; ac_word=$2 | |
e6cc62c6 VS |
20191 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
20192 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
20193 | if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | |
20194 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 20195 | else |
e6cc62c6 VS |
20196 | case $GTK_CONFIG in |
20197 | [\\/]* | ?:[\\/]*) | |
21d1c967 GD |
20198 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
20199 | ;; | |
21d1c967 | 20200 | *) |
e6cc62c6 VS |
20201 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20202 | for as_dir in $PATH | |
20203 | do | |
20204 | IFS=$as_save_IFS | |
20205 | test -z "$as_dir" && as_dir=. | |
20206 | for ac_exec_ext in '' $ac_executable_extensions; do | |
20207 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
20208 | ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
20209 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
20210 | break 2 | |
20211 | fi | |
20212 | done | |
20213 | done | |
20214 | ||
21d1c967 GD |
20215 | test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
20216 | ;; | |
20217 | esac | |
20218 | fi | |
e6cc62c6 VS |
20219 | GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
20220 | ||
21d1c967 | 20221 | if test -n "$GTK_CONFIG"; then |
e6cc62c6 VS |
20222 | echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
20223 | echo "${ECHO_T}$GTK_CONFIG" >&6 | |
21d1c967 | 20224 | else |
e6cc62c6 VS |
20225 | echo "$as_me:$LINENO: result: no" >&5 |
20226 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
20227 | fi |
20228 | ||
20229 | min_gtk_version=1.2.7 | |
e6cc62c6 VS |
20230 | echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
20231 | echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 | |
21d1c967 GD |
20232 | no_gtk="" |
20233 | if test "$GTK_CONFIG" = "no" ; then | |
20234 | no_gtk=yes | |
20235 | else | |
20236 | GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | |
20237 | GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` | |
20238 | gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
20239 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
20240 | gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
20241 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
20242 | gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
20243 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
20244 | if test "x$enable_gtktest" = "xyes" ; then | |
20245 | ac_save_CFLAGS="$CFLAGS" | |
20246 | ac_save_LIBS="$LIBS" | |
20247 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
20248 | LIBS="$GTK_LIBS $LIBS" | |
20249 | rm -f conf.gtktest | |
20250 | if test "$cross_compiling" = yes; then | |
20251 | echo $ac_n "cross compiling; assumed OK... $ac_c" | |
f79bd02d | 20252 | else |
e6cc62c6 VS |
20253 | cat >conftest.$ac_ext <<_ACEOF |
20254 | #line $LINENO "configure" | |
20255 | /* confdefs.h. */ | |
20256 | _ACEOF | |
20257 | cat confdefs.h >>conftest.$ac_ext | |
20258 | cat >>conftest.$ac_ext <<_ACEOF | |
20259 | /* end confdefs.h. */ | |
f79bd02d | 20260 | |
21d1c967 GD |
20261 | #include <gtk/gtk.h> |
20262 | #include <stdio.h> | |
20263 | #include <stdlib.h> | |
f79bd02d | 20264 | |
e6cc62c6 | 20265 | int |
21d1c967 GD |
20266 | main () |
20267 | { | |
20268 | int major, minor, micro; | |
20269 | char *tmp_version; | |
20270 | ||
20271 | system ("touch conf.gtktest"); | |
20272 | ||
20273 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
20274 | tmp_version = g_strdup("$min_gtk_version"); | |
20275 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
20276 | printf("%s, bad version string\n", "$min_gtk_version"); | |
20277 | exit(1); | |
20278 | } | |
90dd450c | 20279 | |
21d1c967 GD |
20280 | if ((gtk_major_version != $gtk_config_major_version) || |
20281 | (gtk_minor_version != $gtk_config_minor_version) || | |
20282 | (gtk_micro_version != $gtk_config_micro_version)) | |
20283 | { | |
e6cc62c6 | 20284 | printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", |
21d1c967 GD |
20285 | $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, |
20286 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20287 | printf ("*** was found! If gtk-config was correct, then it is best\n"); | |
20288 | printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
20289 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
20290 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
20291 | printf("*** required on your system.\n"); | |
20292 | printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); | |
20293 | printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); | |
20294 | printf("*** before re-running configure\n"); | |
e6cc62c6 | 20295 | } |
21d1c967 GD |
20296 | #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) |
20297 | else if ((gtk_major_version != GTK_MAJOR_VERSION) || | |
20298 | (gtk_minor_version != GTK_MINOR_VERSION) || | |
20299 | (gtk_micro_version != GTK_MICRO_VERSION)) | |
20300 | { | |
20301 | printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
20302 | GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
20303 | printf("*** library (version %d.%d.%d)\n", | |
20304 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20305 | } | |
20306 | #endif /* defined (GTK_MAJOR_VERSION) ... */ | |
20307 | else | |
20308 | { | |
20309 | if ((gtk_major_version > major) || | |
20310 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
20311 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
20312 | { | |
20313 | return 0; | |
20314 | } | |
20315 | else | |
20316 | { | |
20317 | printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
20318 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20319 | printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
20320 | major, minor, micro); | |
20321 | printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
20322 | printf("***\n"); | |
20323 | printf("*** If you have already installed a sufficiently new version, this error\n"); | |
20324 | printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); | |
20325 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
20326 | printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); | |
20327 | printf("*** correct copy of gtk-config. (In this case, you will have to\n"); | |
20328 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
20329 | printf("*** so that the correct libraries are found at run-time))\n"); | |
20330 | } | |
20331 | } | |
20332 | return 1; | |
20333 | } | |
20334 | ||
e6cc62c6 VS |
20335 | _ACEOF |
20336 | rm -f conftest$ac_exeext | |
20337 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20338 | (eval $ac_link) 2>&5 | |
20339 | ac_status=$? | |
20340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20341 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
20342 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20343 | (eval $ac_try) 2>&5 | |
20344 | ac_status=$? | |
20345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20346 | (exit $ac_status); }; }; then | |
21d1c967 GD |
20347 | : |
20348 | else | |
e6cc62c6 VS |
20349 | echo "$as_me: program exited with status $ac_status" >&5 |
20350 | echo "$as_me: failed program was:" >&5 | |
20351 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20352 | ||
20353 | ( exit $ac_status ) | |
20354 | no_gtk=yes | |
21d1c967 | 20355 | fi |
e6cc62c6 | 20356 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21d1c967 | 20357 | fi |
21d1c967 GD |
20358 | CFLAGS="$ac_save_CFLAGS" |
20359 | LIBS="$ac_save_LIBS" | |
20360 | fi | |
20361 | fi | |
20362 | if test "x$no_gtk" = x ; then | |
e6cc62c6 VS |
20363 | echo "$as_me:$LINENO: result: yes" >&5 |
20364 | echo "${ECHO_T}yes" >&6 | |
20365 | wx_cv_lib_gtk=1.2.7 | |
21d1c967 | 20366 | else |
e6cc62c6 VS |
20367 | echo "$as_me:$LINENO: result: no" >&5 |
20368 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
20369 | if test "$GTK_CONFIG" = "no" ; then |
20370 | echo "*** The gtk-config script installed by GTK could not be found" | |
20371 | echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | |
20372 | echo "*** your path, or set the GTK_CONFIG environment variable to the" | |
20373 | echo "*** full path to gtk-config." | |
20374 | else | |
20375 | if test -f conf.gtktest ; then | |
20376 | : | |
20377 | else | |
20378 | echo "*** Could not run GTK test program, checking why..." | |
20379 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
20380 | LIBS="$LIBS $GTK_LIBS" | |
e6cc62c6 VS |
20381 | cat >conftest.$ac_ext <<_ACEOF |
20382 | #line $LINENO "configure" | |
20383 | /* confdefs.h. */ | |
20384 | _ACEOF | |
20385 | cat confdefs.h >>conftest.$ac_ext | |
20386 | cat >>conftest.$ac_ext <<_ACEOF | |
20387 | /* end confdefs.h. */ | |
21d1c967 GD |
20388 | |
20389 | #include <gtk/gtk.h> | |
20390 | #include <stdio.h> | |
20391 | ||
e6cc62c6 VS |
20392 | int |
20393 | main () | |
20394 | { | |
20395 | return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | |
20396 | ; | |
20397 | return 0; | |
20398 | } | |
20399 | _ACEOF | |
20400 | rm -f conftest.$ac_objext conftest$ac_exeext | |
20401 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20402 | (eval $ac_link) 2>&5 | |
20403 | ac_status=$? | |
20404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20405 | (exit $ac_status); } && | |
20406 | { ac_try='test -s conftest$ac_exeext' | |
20407 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20408 | (eval $ac_try) 2>&5 | |
20409 | ac_status=$? | |
20410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20411 | (exit $ac_status); }; }; then | |
21d1c967 GD |
20412 | echo "*** The test program compiled, but did not run. This usually means" |
20413 | echo "*** that the run-time linker is not finding GTK or finding the wrong" | |
20414 | echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | |
20415 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
20416 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
20417 | echo "*** is required on your system" | |
20418 | echo "***" | |
20419 | echo "*** If you have an old version installed, it is best to remove it, although" | |
20420 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
20421 | echo "***" | |
20422 | echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" | |
20423 | echo "*** came with the system with the command" | |
20424 | echo "***" | |
e6cc62c6 | 20425 | echo "*** rpm --erase --nodeps gtk gtk-devel" |
f79bd02d | 20426 | else |
e6cc62c6 VS |
20427 | echo "$as_me: failed program was:" >&5 |
20428 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20429 | ||
20430 | echo "*** The test program failed to compile or link. See the file config.log for the" | |
21d1c967 GD |
20431 | echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
20432 | echo "*** or that you have moved GTK since it was installed. In the latter case, you" | |
e6cc62c6 | 20433 | echo "*** may want to edit the gtk-config script: $GTK_CONFIG" |
f79bd02d | 20434 | fi |
e6cc62c6 | 20435 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21d1c967 GD |
20436 | CFLAGS="$ac_save_CFLAGS" |
20437 | LIBS="$ac_save_LIBS" | |
20438 | fi | |
20439 | fi | |
20440 | GTK_CFLAGS="" | |
20441 | GTK_LIBS="" | |
20442 | : | |
20443 | fi | |
e6cc62c6 VS |
20444 | |
20445 | ||
21d1c967 GD |
20446 | rm -f conf.gtktest |
20447 | ||
21d1c967 | 20448 | |
2b5f62a0 | 20449 | if test -z "$wx_cv_lib_gtk"; then |
e6cc62c6 VS |
20450 | |
20451 | # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | |
21d1c967 GD |
20452 | if test "${with_gtk_prefix+set}" = set; then |
20453 | withval="$with_gtk_prefix" | |
20454 | gtk_config_prefix="$withval" | |
20455 | else | |
20456 | gtk_config_prefix="" | |
e6cc62c6 | 20457 | fi; |
f79bd02d | 20458 | |
21d1c967 GD |
20459 | # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. |
20460 | if test "${with_gtk_exec_prefix+set}" = set; then | |
20461 | withval="$with_gtk_exec_prefix" | |
20462 | gtk_config_exec_prefix="$withval" | |
20463 | else | |
20464 | gtk_config_exec_prefix="" | |
e6cc62c6 | 20465 | fi; |
21d1c967 GD |
20466 | # Check whether --enable-gtktest or --disable-gtktest was given. |
20467 | if test "${enable_gtktest+set}" = set; then | |
20468 | enableval="$enable_gtktest" | |
e6cc62c6 | 20469 | |
90dd450c | 20470 | else |
21d1c967 | 20471 | enable_gtktest=yes |
e6cc62c6 | 20472 | fi; |
21d1c967 GD |
20473 | |
20474 | for module in . $GTK_MODULES | |
20475 | do | |
20476 | case "$module" in | |
e6cc62c6 | 20477 | gthread) |
21d1c967 GD |
20478 | gtk_config_args="$gtk_config_args gthread" |
20479 | ;; | |
20480 | esac | |
20481 | done | |
20482 | ||
20483 | if test x$gtk_config_exec_prefix != x ; then | |
20484 | gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
20485 | if test x${GTK_CONFIG+set} != xset ; then | |
20486 | GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
20487 | fi | |
20488 | fi | |
20489 | if test x$gtk_config_prefix != x ; then | |
20490 | gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
20491 | if test x${GTK_CONFIG+set} != xset ; then | |
20492 | GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
20493 | fi | |
20494 | fi | |
20495 | ||
20496 | # Extract the first word of "gtk-config", so it can be a program name with args. | |
20497 | set dummy gtk-config; ac_word=$2 | |
e6cc62c6 VS |
20498 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
20499 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
20500 | if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | |
20501 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 20502 | else |
e6cc62c6 VS |
20503 | case $GTK_CONFIG in |
20504 | [\\/]* | ?:[\\/]*) | |
21d1c967 GD |
20505 | ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
20506 | ;; | |
21d1c967 | 20507 | *) |
e6cc62c6 VS |
20508 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20509 | for as_dir in $PATH | |
20510 | do | |
20511 | IFS=$as_save_IFS | |
20512 | test -z "$as_dir" && as_dir=. | |
20513 | for ac_exec_ext in '' $ac_executable_extensions; do | |
20514 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
20515 | ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
20516 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
20517 | break 2 | |
20518 | fi | |
20519 | done | |
20520 | done | |
20521 | ||
21d1c967 GD |
20522 | test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
20523 | ;; | |
20524 | esac | |
20525 | fi | |
e6cc62c6 VS |
20526 | GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
20527 | ||
21d1c967 | 20528 | if test -n "$GTK_CONFIG"; then |
e6cc62c6 VS |
20529 | echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
20530 | echo "${ECHO_T}$GTK_CONFIG" >&6 | |
21d1c967 | 20531 | else |
e6cc62c6 VS |
20532 | echo "$as_me:$LINENO: result: no" >&5 |
20533 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
20534 | fi |
20535 | ||
20536 | min_gtk_version=1.2.3 | |
e6cc62c6 VS |
20537 | echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
20538 | echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 | |
21d1c967 GD |
20539 | no_gtk="" |
20540 | if test "$GTK_CONFIG" = "no" ; then | |
20541 | no_gtk=yes | |
20542 | else | |
20543 | GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | |
20544 | GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` | |
20545 | gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
20546 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
20547 | gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
20548 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
20549 | gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
20550 | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
20551 | if test "x$enable_gtktest" = "xyes" ; then | |
20552 | ac_save_CFLAGS="$CFLAGS" | |
20553 | ac_save_LIBS="$LIBS" | |
20554 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
20555 | LIBS="$GTK_LIBS $LIBS" | |
20556 | rm -f conf.gtktest | |
20557 | if test "$cross_compiling" = yes; then | |
20558 | echo $ac_n "cross compiling; assumed OK... $ac_c" | |
20559 | else | |
e6cc62c6 VS |
20560 | cat >conftest.$ac_ext <<_ACEOF |
20561 | #line $LINENO "configure" | |
20562 | /* confdefs.h. */ | |
20563 | _ACEOF | |
20564 | cat confdefs.h >>conftest.$ac_ext | |
20565 | cat >>conftest.$ac_ext <<_ACEOF | |
20566 | /* end confdefs.h. */ | |
21d1c967 GD |
20567 | |
20568 | #include <gtk/gtk.h> | |
20569 | #include <stdio.h> | |
20570 | #include <stdlib.h> | |
20571 | ||
e6cc62c6 | 20572 | int |
21d1c967 GD |
20573 | main () |
20574 | { | |
20575 | int major, minor, micro; | |
20576 | char *tmp_version; | |
20577 | ||
20578 | system ("touch conf.gtktest"); | |
20579 | ||
20580 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
20581 | tmp_version = g_strdup("$min_gtk_version"); | |
20582 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
20583 | printf("%s, bad version string\n", "$min_gtk_version"); | |
20584 | exit(1); | |
20585 | } | |
20586 | ||
20587 | if ((gtk_major_version != $gtk_config_major_version) || | |
20588 | (gtk_minor_version != $gtk_config_minor_version) || | |
20589 | (gtk_micro_version != $gtk_config_micro_version)) | |
20590 | { | |
e6cc62c6 | 20591 | printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", |
21d1c967 GD |
20592 | $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, |
20593 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20594 | printf ("*** was found! If gtk-config was correct, then it is best\n"); | |
20595 | printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
20596 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
20597 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
20598 | printf("*** required on your system.\n"); | |
20599 | printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); | |
20600 | printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); | |
20601 | printf("*** before re-running configure\n"); | |
e6cc62c6 | 20602 | } |
21d1c967 GD |
20603 | #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) |
20604 | else if ((gtk_major_version != GTK_MAJOR_VERSION) || | |
20605 | (gtk_minor_version != GTK_MINOR_VERSION) || | |
20606 | (gtk_micro_version != GTK_MICRO_VERSION)) | |
20607 | { | |
20608 | printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
20609 | GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
20610 | printf("*** library (version %d.%d.%d)\n", | |
20611 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20612 | } | |
20613 | #endif /* defined (GTK_MAJOR_VERSION) ... */ | |
20614 | else | |
20615 | { | |
20616 | if ((gtk_major_version > major) || | |
20617 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
20618 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
20619 | { | |
20620 | return 0; | |
20621 | } | |
20622 | else | |
20623 | { | |
20624 | printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
20625 | gtk_major_version, gtk_minor_version, gtk_micro_version); | |
20626 | printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
20627 | major, minor, micro); | |
20628 | printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
20629 | printf("***\n"); | |
20630 | printf("*** If you have already installed a sufficiently new version, this error\n"); | |
20631 | printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); | |
20632 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
20633 | printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); | |
20634 | printf("*** correct copy of gtk-config. (In this case, you will have to\n"); | |
20635 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
20636 | printf("*** so that the correct libraries are found at run-time))\n"); | |
20637 | } | |
20638 | } | |
20639 | return 1; | |
20640 | } | |
20641 | ||
e6cc62c6 VS |
20642 | _ACEOF |
20643 | rm -f conftest$ac_exeext | |
20644 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20645 | (eval $ac_link) 2>&5 | |
20646 | ac_status=$? | |
20647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20648 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
20649 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20650 | (eval $ac_try) 2>&5 | |
20651 | ac_status=$? | |
20652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20653 | (exit $ac_status); }; }; then | |
21d1c967 GD |
20654 | : |
20655 | else | |
e6cc62c6 VS |
20656 | echo "$as_me: program exited with status $ac_status" >&5 |
20657 | echo "$as_me: failed program was:" >&5 | |
20658 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20659 | ||
20660 | ( exit $ac_status ) | |
20661 | no_gtk=yes | |
21d1c967 | 20662 | fi |
e6cc62c6 | 20663 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21d1c967 | 20664 | fi |
21d1c967 GD |
20665 | CFLAGS="$ac_save_CFLAGS" |
20666 | LIBS="$ac_save_LIBS" | |
20667 | fi | |
20668 | fi | |
20669 | if test "x$no_gtk" = x ; then | |
e6cc62c6 VS |
20670 | echo "$as_me:$LINENO: result: yes" >&5 |
20671 | echo "${ECHO_T}yes" >&6 | |
20672 | wx_cv_lib_gtk=1.2.3 | |
21d1c967 | 20673 | else |
e6cc62c6 VS |
20674 | echo "$as_me:$LINENO: result: no" >&5 |
20675 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
20676 | if test "$GTK_CONFIG" = "no" ; then |
20677 | echo "*** The gtk-config script installed by GTK could not be found" | |
20678 | echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | |
20679 | echo "*** your path, or set the GTK_CONFIG environment variable to the" | |
20680 | echo "*** full path to gtk-config." | |
20681 | else | |
20682 | if test -f conf.gtktest ; then | |
20683 | : | |
20684 | else | |
20685 | echo "*** Could not run GTK test program, checking why..." | |
20686 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
20687 | LIBS="$LIBS $GTK_LIBS" | |
e6cc62c6 VS |
20688 | cat >conftest.$ac_ext <<_ACEOF |
20689 | #line $LINENO "configure" | |
20690 | /* confdefs.h. */ | |
20691 | _ACEOF | |
20692 | cat confdefs.h >>conftest.$ac_ext | |
20693 | cat >>conftest.$ac_ext <<_ACEOF | |
20694 | /* end confdefs.h. */ | |
21d1c967 GD |
20695 | |
20696 | #include <gtk/gtk.h> | |
20697 | #include <stdio.h> | |
f79bd02d | 20698 | |
e6cc62c6 VS |
20699 | int |
20700 | main () | |
20701 | { | |
20702 | return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | |
20703 | ; | |
20704 | return 0; | |
20705 | } | |
20706 | _ACEOF | |
20707 | rm -f conftest.$ac_objext conftest$ac_exeext | |
20708 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20709 | (eval $ac_link) 2>&5 | |
20710 | ac_status=$? | |
20711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20712 | (exit $ac_status); } && | |
20713 | { ac_try='test -s conftest$ac_exeext' | |
20714 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20715 | (eval $ac_try) 2>&5 | |
20716 | ac_status=$? | |
20717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20718 | (exit $ac_status); }; }; then | |
21d1c967 GD |
20719 | echo "*** The test program compiled, but did not run. This usually means" |
20720 | echo "*** that the run-time linker is not finding GTK or finding the wrong" | |
20721 | echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | |
20722 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
20723 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
20724 | echo "*** is required on your system" | |
20725 | echo "***" | |
20726 | echo "*** If you have an old version installed, it is best to remove it, although" | |
20727 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
20728 | echo "***" | |
20729 | echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" | |
20730 | echo "*** came with the system with the command" | |
20731 | echo "***" | |
e6cc62c6 | 20732 | echo "*** rpm --erase --nodeps gtk gtk-devel" |
f79bd02d | 20733 | else |
e6cc62c6 VS |
20734 | echo "$as_me: failed program was:" >&5 |
20735 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20736 | ||
20737 | echo "*** The test program failed to compile or link. See the file config.log for the" | |
21d1c967 GD |
20738 | echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
20739 | echo "*** or that you have moved GTK since it was installed. In the latter case, you" | |
e6cc62c6 | 20740 | echo "*** may want to edit the gtk-config script: $GTK_CONFIG" |
f79bd02d | 20741 | fi |
e6cc62c6 | 20742 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21d1c967 GD |
20743 | CFLAGS="$ac_save_CFLAGS" |
20744 | LIBS="$ac_save_LIBS" | |
20745 | fi | |
20746 | fi | |
20747 | GTK_CFLAGS="" | |
20748 | GTK_LIBS="" | |
20749 | : | |
20750 | fi | |
e6cc62c6 VS |
20751 | |
20752 | ||
21d1c967 | 20753 | rm -f conf.gtktest |
f79bd02d | 20754 | |
2b5f62a0 | 20755 | fi |
21d1c967 GD |
20756 | fi |
20757 | ||
20758 | if test -z "$wx_cv_lib_gtk"; then | |
20759 | wx_cv_lib_gtk=none | |
20760 | else | |
20761 | wx_cv_cflags_gtk=$GTK_CFLAGS | |
20762 | wx_cv_libs_gtk=$GTK_LIBS | |
20763 | fi | |
e6cc62c6 VS |
20764 | |
20765 | ||
5c6fa7d2 | 20766 | fi |
52127426 | 20767 | |
8284b0c5 | 20768 | |
21d1c967 | 20769 | if test "$gtk_version_cached" = 1; then |
e6cc62c6 VS |
20770 | echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5 |
20771 | echo "${ECHO_T}$wx_cv_lib_gtk" >&6 | |
21d1c967 GD |
20772 | fi |
20773 | ||
20774 | case "$wx_cv_lib_gtk" in | |
20775 | 2.0) WXGTK20=1 | |
2b5f62a0 | 20776 | TOOLKIT_VERSION=2 |
21d1c967 GD |
20777 | ;; |
20778 | 1.2.7) WXGTK127=1 | |
20779 | WXGTK12=1 | |
20780 | ;; | |
20781 | 1.2.3) WXGTK12=1 | |
20782 | ;; | |
e6cc62c6 VS |
20783 | *) { { echo "$as_me:$LINENO: error: |
20784 | Please check that gtk-config is in path, the directory | |
20785 | where GTK+ libraries are installed (returned by | |
20786 | 'gtk-config --libs' command) is in LD_LIBRARY_PATH or | |
20787 | equivalent variable and GTK+ is version 1.2.3 or above. | |
20788 | " >&5 | |
20789 | echo "$as_me: error: | |
247f5006 VZ |
20790 | Please check that gtk-config is in path, the directory |
20791 | where GTK+ libraries are installed (returned by | |
20792 | 'gtk-config --libs' command) is in LD_LIBRARY_PATH or | |
20793 | equivalent variable and GTK+ is version 1.2.3 or above. | |
e6cc62c6 VS |
20794 | " >&2;} |
20795 | { (exit 1); exit 1; }; } | |
21d1c967 GD |
20796 | ;; |
20797 | esac | |
20798 | ||
b13cd66e VZ |
20799 | if test "$WXGTK20" = 1; then |
20800 | if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then | |
e6cc62c6 | 20801 | |
f09359cf VS |
20802 | succeeded=no |
20803 | ||
20804 | if test -z "$PKG_CONFIG"; then | |
20805 | # Extract the first word of "pkg-config", so it can be a program name with args. | |
20806 | set dummy pkg-config; ac_word=$2 | |
e6cc62c6 VS |
20807 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
20808 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
20809 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
20810 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f09359cf | 20811 | else |
e6cc62c6 VS |
20812 | case $PKG_CONFIG in |
20813 | [\\/]* | ?:[\\/]*) | |
f09359cf VS |
20814 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
20815 | ;; | |
f09359cf | 20816 | *) |
e6cc62c6 VS |
20817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20818 | for as_dir in $PATH | |
20819 | do | |
20820 | IFS=$as_save_IFS | |
20821 | test -z "$as_dir" && as_dir=. | |
20822 | for ac_exec_ext in '' $ac_executable_extensions; do | |
20823 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
20824 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
20825 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
20826 | break 2 | |
20827 | fi | |
20828 | done | |
20829 | done | |
20830 | ||
f09359cf VS |
20831 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
20832 | ;; | |
20833 | esac | |
20834 | fi | |
e6cc62c6 VS |
20835 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
20836 | ||
f09359cf | 20837 | if test -n "$PKG_CONFIG"; then |
e6cc62c6 VS |
20838 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
20839 | echo "${ECHO_T}$PKG_CONFIG" >&6 | |
f09359cf | 20840 | else |
e6cc62c6 VS |
20841 | echo "$as_me:$LINENO: result: no" >&5 |
20842 | echo "${ECHO_T}no" >&6 | |
f09359cf VS |
20843 | fi |
20844 | ||
20845 | fi | |
20846 | ||
20847 | if test "$PKG_CONFIG" = "no" ; then | |
20848 | echo "*** The pkg-config script could not be found. Make sure it is" | |
20849 | echo "*** in your path, or set the PKG_CONFIG environment variable" | |
20850 | echo "*** to the full path to pkg-config." | |
20851 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | |
20852 | else | |
20853 | PKG_CONFIG_MIN_VERSION=0.9.0 | |
20854 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
e6cc62c6 VS |
20855 | echo "$as_me:$LINENO: checking for pangoft2" >&5 |
20856 | echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6 | |
f09359cf VS |
20857 | |
20858 | if $PKG_CONFIG --exists "pangoft2" ; then | |
e6cc62c6 VS |
20859 | echo "$as_me:$LINENO: result: yes" >&5 |
20860 | echo "${ECHO_T}yes" >&6 | |
f09359cf VS |
20861 | succeeded=yes |
20862 | ||
e6cc62c6 VS |
20863 | echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5 |
20864 | echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6 | |
f09359cf | 20865 | PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"` |
e6cc62c6 VS |
20866 | echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5 |
20867 | echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6 | |
f09359cf | 20868 | |
e6cc62c6 VS |
20869 | echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5 |
20870 | echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6 | |
f09359cf | 20871 | PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"` |
e6cc62c6 VS |
20872 | echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5 |
20873 | echo "${ECHO_T}$PANGOFT2_LIBS" >&6 | |
f09359cf VS |
20874 | else |
20875 | PANGOFT2_CFLAGS="" | |
20876 | PANGOFT2_LIBS="" | |
e6cc62c6 | 20877 | ## If we have a custom action on failure, don't print errors, but |
f09359cf VS |
20878 | ## do set a variable so people can do so. |
20879 | PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"` | |
e6cc62c6 | 20880 | |
f09359cf VS |
20881 | fi |
20882 | ||
e6cc62c6 VS |
20883 | |
20884 | ||
f09359cf VS |
20885 | else |
20886 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
20887 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
20888 | fi | |
20889 | fi | |
20890 | ||
20891 | if test $succeeded = yes; then | |
e6cc62c6 | 20892 | |
b13cd66e | 20893 | CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS" |
c74dc163 | 20894 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS" |
e6cc62c6 | 20895 | |
f09359cf | 20896 | else |
e6cc62c6 VS |
20897 | |
20898 | { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5 | |
20899 | echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;} | |
b13cd66e | 20900 | wxUSE_PRINTING_ARCHITECTURE="no" |
e6cc62c6 VS |
20901 | |
20902 | ||
f09359cf VS |
20903 | fi |
20904 | ||
b13cd66e | 20905 | fi |
2b5f62a0 VZ |
20906 | else |
20907 | if test "$wxUSE_UNICODE" = "yes"; then | |
e6cc62c6 VS |
20908 | { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5 |
20909 | echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;} | |
2b5f62a0 VZ |
20910 | wxUSE_UNICODE=no |
20911 | fi | |
20912 | fi | |
20913 | ||
20914 | if test "$USE_DARWIN" != 1; then | |
e6cc62c6 VS |
20915 | |
20916 | for ac_func in poll | |
2b5f62a0 | 20917 | do |
e6cc62c6 VS |
20918 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20919 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
20920 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
20921 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
20922 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
20923 | else | |
20924 | cat >conftest.$ac_ext <<_ACEOF | |
20925 | #line $LINENO "configure" | |
20926 | /* confdefs.h. */ | |
20927 | _ACEOF | |
20928 | cat confdefs.h >>conftest.$ac_ext | |
20929 | cat >>conftest.$ac_ext <<_ACEOF | |
20930 | /* end confdefs.h. */ | |
2b5f62a0 | 20931 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
20932 | which can conflict with char $ac_func (); below. |
20933 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
20934 | <limits.h> exists even on freestanding compilers. */ | |
20935 | #ifdef __STDC__ | |
20936 | # include <limits.h> | |
20937 | #else | |
20938 | # include <assert.h> | |
20939 | #endif | |
2b5f62a0 | 20940 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
20941 | #ifdef __cplusplus |
20942 | extern "C" | |
20943 | { | |
20944 | #endif | |
2b5f62a0 | 20945 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
20946 | builtin and then its argument prototype would still apply. */ |
20947 | char $ac_func (); | |
2b5f62a0 VZ |
20948 | /* The GNU C library defines this for functions which it implements |
20949 | to always fail with ENOSYS. Some functions are actually named | |
20950 | something starting with __ and the normal name is an alias. */ | |
20951 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
20952 | choke me | |
20953 | #else | |
e6cc62c6 VS |
20954 | char (*f) () = $ac_func; |
20955 | #endif | |
20956 | #ifdef __cplusplus | |
20957 | } | |
2b5f62a0 VZ |
20958 | #endif |
20959 | ||
e6cc62c6 VS |
20960 | int |
20961 | main () | |
20962 | { | |
20963 | return f != $ac_func; | |
20964 | ; | |
20965 | return 0; | |
20966 | } | |
20967 | _ACEOF | |
20968 | rm -f conftest.$ac_objext conftest$ac_exeext | |
20969 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
20970 | (eval $ac_link) 2>&5 | |
20971 | ac_status=$? | |
20972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20973 | (exit $ac_status); } && | |
20974 | { ac_try='test -s conftest$ac_exeext' | |
20975 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
20976 | (eval $ac_try) 2>&5 | |
20977 | ac_status=$? | |
20978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20979 | (exit $ac_status); }; }; then | |
20980 | eval "$as_ac_var=yes" | |
20981 | else | |
20982 | echo "$as_me: failed program was:" >&5 | |
20983 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20984 | ||
20985 | eval "$as_ac_var=no" | |
20986 | fi | |
20987 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
20988 | fi | |
20989 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
20990 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
20991 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
20992 | cat >>confdefs.h <<_ACEOF | |
20993 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
20994 | _ACEOF | |
2b5f62a0 | 20995 | |
2b5f62a0 VZ |
20996 | fi |
20997 | done | |
20998 | ||
f09359cf VS |
20999 | fi |
21000 | ||
21d1c967 | 21001 | TOOLKIT_INCLUDE="$wx_cv_cflags_gtk" |
c74dc163 | 21002 | GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY" |
21d1c967 GD |
21003 | |
21004 | AFMINSTALL=afminstall | |
21005 | TOOLKIT=GTK | |
21006 | GUIDIST=GTK_DIST | |
21007 | ||
e6cc62c6 VS |
21008 | echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5 |
21009 | echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6 | |
21010 | if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then | |
21011 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 21012 | else |
e6cc62c6 | 21013 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 21014 | LIBS="-lgdk $LIBS" |
e6cc62c6 VS |
21015 | cat >conftest.$ac_ext <<_ACEOF |
21016 | #line $LINENO "configure" | |
21017 | /* confdefs.h. */ | |
21018 | _ACEOF | |
21019 | cat confdefs.h >>conftest.$ac_ext | |
21020 | cat >>conftest.$ac_ext <<_ACEOF | |
21021 | /* end confdefs.h. */ | |
21022 | ||
5c6fa7d2 | 21023 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21024 | #ifdef __cplusplus |
21025 | extern "C" | |
21026 | #endif | |
5c6fa7d2 | 21027 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21028 | builtin and then its argument prototype would still apply. */ |
21029 | char gdk_im_open (); | |
21030 | int | |
21031 | main () | |
21032 | { | |
21033 | gdk_im_open (); | |
21034 | ; | |
21035 | return 0; | |
21036 | } | |
21037 | _ACEOF | |
21038 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21039 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21040 | (eval $ac_link) 2>&5 | |
21041 | ac_status=$? | |
21042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21043 | (exit $ac_status); } && | |
21044 | { ac_try='test -s conftest$ac_exeext' | |
21045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21046 | (eval $ac_try) 2>&5 | |
21047 | ac_status=$? | |
21048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21049 | (exit $ac_status); }; }; then | |
21050 | ac_cv_lib_gdk_gdk_im_open=yes | |
21051 | else | |
21052 | echo "$as_me: failed program was:" >&5 | |
21053 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21054 | ||
21055 | ac_cv_lib_gdk_gdk_im_open=no | |
21056 | fi | |
21057 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21058 | LIBS=$ac_check_lib_save_LIBS | |
21059 | fi | |
21060 | echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5 | |
21061 | echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6 | |
21062 | if test $ac_cv_lib_gdk_gdk_im_open = yes; then | |
21063 | cat >>confdefs.h <<\_ACEOF | |
21d1c967 | 21064 | #define HAVE_XIM 1 |
e6cc62c6 | 21065 | _ACEOF |
21d1c967 | 21066 | |
90dd450c | 21067 | fi |
1e6feb95 | 21068 | |
21d1c967 | 21069 | fi |
1e6feb95 | 21070 | |
21d1c967 | 21071 | if test "$wxUSE_MGL" = 1; then |
e6cc62c6 VS |
21072 | echo "$as_me:$LINENO: checking for SciTech MGL library" >&5 |
21073 | echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6 | |
21d1c967 | 21074 | if test "x$MGL_ROOT" = x ; then |
e6cc62c6 VS |
21075 | echo "$as_me:$LINENO: result: not found" >&5 |
21076 | echo "${ECHO_T}not found" >&6 | |
21077 | { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5 | |
21078 | echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;} | |
21079 | { (exit 1); exit 1; }; } | |
21d1c967 | 21080 | else |
e6cc62c6 VS |
21081 | echo "$as_me:$LINENO: result: $MGL_ROOT" >&5 |
21082 | echo "${ECHO_T}$MGL_ROOT" >&6 | |
21d1c967 GD |
21083 | fi |
21084 | ||
e6cc62c6 VS |
21085 | echo "$as_me:$LINENO: checking for libmgl location" >&5 |
21086 | echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6 | |
e46d2a18 | 21087 | case "${host}" in |
21d1c967 | 21088 | *-*-linux* ) |
e46d2a18 VS |
21089 | if test "x$wxUSE_SHARED" = xyes ; then |
21090 | mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc" | |
63a76696 | 21091 | else |
e46d2a18 | 21092 | mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so" |
63a76696 | 21093 | fi |
21d1c967 GD |
21094 | ;; |
21095 | *-pc-msdosdjgpp ) | |
63a76696 | 21096 | mgl_os_candidates="dos32/dj2" |
21d1c967 GD |
21097 | ;; |
21098 | *) | |
e6cc62c6 VS |
21099 | { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5 |
21100 | echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;} | |
21101 | { (exit 1); exit 1; }; } | |
21d1c967 | 21102 | esac |
1e6feb95 | 21103 | |
21d1c967 | 21104 | mgl_lib_type="" |
63a76696 VS |
21105 | mgl_os="" |
21106 | ||
21107 | for mgl_os_i in $mgl_os_candidates ; do | |
21108 | if test "x$mgl_os" = x ; then | |
21109 | if test "$wxUSE_DEBUG_FLAG" = yes ; then | |
21110 | if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \ | |
21111 | -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then | |
21112 | mgl_lib_type=debug | |
21113 | mgl_os=$mgl_os_i | |
21114 | fi | |
21115 | fi | |
21116 | if test "x$mgl_lib_type" = x ; then | |
21117 | if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \ | |
21118 | -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then | |
21119 | mgl_lib_type=release | |
21120 | mgl_os=$mgl_os_i | |
21121 | fi | |
21122 | fi | |
21d1c967 | 21123 | fi |
63a76696 | 21124 | done |
2224580a | 21125 | |
63a76696 | 21126 | if test "x$mgl_os" = x ; then |
e6cc62c6 VS |
21127 | echo "$as_me:$LINENO: result: not found" >&5 |
21128 | echo "${ECHO_T}not found" >&6 | |
21129 | { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5 | |
21130 | echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;} | |
21131 | { (exit 1); exit 1; }; } | |
63a76696 | 21132 | fi |
e6cc62c6 VS |
21133 | echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5 |
21134 | echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6 | |
1542ea39 | 21135 | |
1d1b75ac VZ |
21136 | wxUSE_UNIVERSAL="yes" |
21137 | ||
21d1c967 GD |
21138 | TOOLKIT_INCLUDE="-I$MGL_ROOT/include" |
21139 | GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm" | |
21140 | ||
90dd450c | 21141 | AFMINSTALL=afminstall |
21d1c967 GD |
21142 | TOOLKIT=MGL |
21143 | GUIDIST=MGL_DIST | |
21144 | fi | |
dad6c0ea | 21145 | |
21d1c967 | 21146 | if test "$wxUSE_MICROWIN" = 1; then |
e6cc62c6 VS |
21147 | echo "$as_me:$LINENO: checking for MicroWindows" >&5 |
21148 | echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6 | |
21d1c967 | 21149 | if test "x$MICROWINDOWS" = x ; then |
e6cc62c6 VS |
21150 | echo "$as_me:$LINENO: result: not found" >&5 |
21151 | echo "${ECHO_T}not found" >&6 | |
21152 | { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5 | |
21153 | echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;} | |
21154 | { (exit 1); exit 1; }; } | |
21d1c967 | 21155 | else |
e6cc62c6 VS |
21156 | echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5 |
21157 | echo "${ECHO_T}$MICROWINDOWS" >&6 | |
21d1c967 | 21158 | fi |
f6bcfd97 | 21159 | |
21d1c967 | 21160 | if test -f $MICROWINDOWS/lib/libmwin.a; then |
e6cc62c6 VS |
21161 | echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5 |
21162 | echo "${ECHO_T}MicroWindows' libraries found." >&6 | |
21d1c967 | 21163 | else |
e6cc62c6 VS |
21164 | { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5 |
21165 | echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;} | |
21166 | { (exit 1); exit 1; }; } | |
90dd450c | 21167 | fi |
0b2effe9 | 21168 | |
21d1c967 GD |
21169 | TOOLKIT_INCLUDE="-I$MICROWINDOWS/include" |
21170 | GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib" | |
21171 | ||
1d1b75ac VZ |
21172 | wxUSE_UNIVERSAL="yes" |
21173 | ||
21d1c967 GD |
21174 | AFMINSTALL=afminstall |
21175 | TOOLKIT=MICROWIN | |
21176 | GUIDIST=MICROWIN_DIST | |
1d1b75ac VZ |
21177 | |
21178 | TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1" | |
21d1c967 | 21179 | fi |
f6bcfd97 | 21180 | |
21d1c967 | 21181 | if test "$wxUSE_X11" = 1; then |
e6cc62c6 VS |
21182 | echo "$as_me:$LINENO: checking for X" >&5 |
21183 | echo $ECHO_N "checking for X... $ECHO_C" >&6 | |
21184 | ||
d8356fa3 | 21185 | |
21d1c967 GD |
21186 | # Check whether --with-x or --without-x was given. |
21187 | if test "${with_x+set}" = set; then | |
21188 | withval="$with_x" | |
2224580a | 21189 | |
e6cc62c6 | 21190 | fi; |
21d1c967 GD |
21191 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
21192 | if test "x$with_x" = xno; then | |
21193 | # The user explicitly disabled X. | |
21194 | have_x=disabled | |
21195 | else | |
21196 | if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then | |
21197 | # Both variables are already set. | |
21198 | have_x=yes | |
21199 | else | |
e6cc62c6 VS |
21200 | if test "${ac_cv_have_x+set}" = set; then |
21201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 GD |
21202 | else |
21203 | # One or both of the vars are not set, and there is no cached value. | |
e6cc62c6 VS |
21204 | ac_x_includes=no ac_x_libraries=no |
21205 | rm -fr conftest.dir | |
21206 | if mkdir conftest.dir; then | |
21207 | cd conftest.dir | |
21d1c967 | 21208 | # Make sure to not put "make" in the Imakefile rules, since we grep it out. |
e6cc62c6 | 21209 | cat >Imakefile <<'_ACEOF' |
21d1c967 GD |
21210 | acfindx: |
21211 | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | |
e6cc62c6 | 21212 | _ACEOF |
21d1c967 GD |
21213 | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
21214 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
21215 | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | |
21216 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | |
21217 | for ac_extension in a so sl; do | |
21218 | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && | |
e6cc62c6 | 21219 | test -f $ac_im_libdir/libX11.$ac_extension; then |
21d1c967 GD |
21220 | ac_im_usrlibdir=$ac_im_libdir; break |
21221 | fi | |
21222 | done | |
21223 | # Screen out bogus values from the imake configuration. They are | |
21224 | # bogus both because they are the default anyway, and because | |
21225 | # using them would break gcc on systems where it needs fixed includes. | |
e6cc62c6 | 21226 | case $ac_im_incroot in |
21d1c967 | 21227 | /usr/include) ;; |
e6cc62c6 | 21228 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
21d1c967 | 21229 | esac |
e6cc62c6 | 21230 | case $ac_im_usrlibdir in |
21d1c967 | 21231 | /usr/lib | /lib) ;; |
e6cc62c6 | 21232 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
21d1c967 GD |
21233 | esac |
21234 | fi | |
21235 | cd .. | |
e6cc62c6 | 21236 | rm -fr conftest.dir |
21d1c967 | 21237 | fi |
10f2d63a | 21238 | |
e6cc62c6 VS |
21239 | # Standard set of common directories for X headers. |
21240 | # Check X11 before X11Rn because it is often a symlink to the current release. | |
21241 | ac_x_header_dirs=' | |
21242 | /usr/X11/include | |
21243 | /usr/X11R6/include | |
21244 | /usr/X11R5/include | |
21245 | /usr/X11R4/include | |
21246 | ||
21247 | /usr/include/X11 | |
21248 | /usr/include/X11R6 | |
21249 | /usr/include/X11R5 | |
21250 | /usr/include/X11R4 | |
21251 | ||
21252 | /usr/local/X11/include | |
21253 | /usr/local/X11R6/include | |
21254 | /usr/local/X11R5/include | |
21255 | /usr/local/X11R4/include | |
21256 | ||
21257 | /usr/local/include/X11 | |
21258 | /usr/local/include/X11R6 | |
21259 | /usr/local/include/X11R5 | |
21260 | /usr/local/include/X11R4 | |
21261 | ||
21262 | /usr/X386/include | |
21263 | /usr/x386/include | |
21264 | /usr/XFree86/include/X11 | |
21265 | ||
21266 | /usr/include | |
21267 | /usr/local/include | |
21268 | /usr/unsupported/include | |
21269 | /usr/athena/include | |
21270 | /usr/local/x11r5/include | |
21271 | /usr/lpp/Xamples/include | |
21272 | ||
21273 | /usr/openwin/include | |
21274 | /usr/openwin/share/include' | |
21275 | ||
21276 | if test "$ac_x_includes" = no; then | |
21277 | # Guess where to find include files, by looking for Intrinsic.h. | |
21d1c967 | 21278 | # First, try using that file with no special directory specified. |
e6cc62c6 VS |
21279 | cat >conftest.$ac_ext <<_ACEOF |
21280 | #line $LINENO "configure" | |
21281 | /* confdefs.h. */ | |
21282 | _ACEOF | |
21283 | cat confdefs.h >>conftest.$ac_ext | |
21284 | cat >>conftest.$ac_ext <<_ACEOF | |
21285 | /* end confdefs.h. */ | |
21286 | #include <X11/Intrinsic.h> | |
21287 | _ACEOF | |
21288 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
21289 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
21290 | ac_status=$? | |
21291 | grep -v '^ *+' conftest.er1 >conftest.err | |
21292 | rm -f conftest.er1 | |
21293 | cat conftest.err >&5 | |
21294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21295 | (exit $ac_status); } >/dev/null; then | |
21296 | if test -s conftest.err; then | |
21297 | ac_cpp_err=$ac_c_preproc_warn_flag | |
21298 | else | |
21299 | ac_cpp_err= | |
21300 | fi | |
21301 | else | |
21302 | ac_cpp_err=yes | |
21303 | fi | |
21304 | if test -z "$ac_cpp_err"; then | |
21d1c967 GD |
21305 | # We can compile using X headers with no special include directory. |
21306 | ac_x_includes= | |
90dd450c | 21307 | else |
e6cc62c6 VS |
21308 | echo "$as_me: failed program was:" >&5 |
21309 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21310 | ||
21311 | for ac_dir in $ac_x_header_dirs; do | |
21312 | if test -r "$ac_dir/X11/Intrinsic.h"; then | |
21313 | ac_x_includes=$ac_dir | |
21314 | break | |
21315 | fi | |
21316 | done | |
3a922bb4 | 21317 | fi |
e6cc62c6 VS |
21318 | rm -f conftest.err conftest.$ac_ext |
21319 | fi # $ac_x_includes = no | |
10f2d63a | 21320 | |
e6cc62c6 | 21321 | if test "$ac_x_libraries" = no; then |
21d1c967 | 21322 | # Check for the libraries. |
21d1c967 GD |
21323 | # See if we find them without any special options. |
21324 | # Don't add to $LIBS permanently. | |
e6cc62c6 VS |
21325 | ac_save_LIBS=$LIBS |
21326 | LIBS="-lXt $LIBS" | |
21327 | cat >conftest.$ac_ext <<_ACEOF | |
21328 | #line $LINENO "configure" | |
21329 | /* confdefs.h. */ | |
21330 | _ACEOF | |
21331 | cat confdefs.h >>conftest.$ac_ext | |
21332 | cat >>conftest.$ac_ext <<_ACEOF | |
21333 | /* end confdefs.h. */ | |
21334 | #include <X11/Intrinsic.h> | |
21335 | int | |
21336 | main () | |
21337 | { | |
21338 | XtMalloc (0) | |
21339 | ; | |
21340 | return 0; | |
21341 | } | |
21342 | _ACEOF | |
21343 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21344 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21345 | (eval $ac_link) 2>&5 | |
21346 | ac_status=$? | |
21347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21348 | (exit $ac_status); } && | |
21349 | { ac_try='test -s conftest$ac_exeext' | |
21350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21351 | (eval $ac_try) 2>&5 | |
21352 | ac_status=$? | |
21353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21354 | (exit $ac_status); }; }; then | |
21355 | LIBS=$ac_save_LIBS | |
21d1c967 GD |
21356 | # We can link X programs with no special library path. |
21357 | ac_x_libraries= | |
3a922bb4 | 21358 | else |
e6cc62c6 VS |
21359 | echo "$as_me: failed program was:" >&5 |
21360 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21361 | ||
21362 | LIBS=$ac_save_LIBS | |
21363 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | |
21d1c967 | 21364 | do |
e6cc62c6 | 21365 | # Don't even attempt the hair of trying to link an X program! |
21d1c967 | 21366 | for ac_extension in a so sl; do |
e6cc62c6 | 21367 | if test -r $ac_dir/libXt.$ac_extension; then |
21d1c967 GD |
21368 | ac_x_libraries=$ac_dir |
21369 | break 2 | |
21370 | fi | |
21371 | done | |
21372 | done | |
3a922bb4 | 21373 | fi |
e6cc62c6 VS |
21374 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21375 | fi # $ac_x_libraries = no | |
90dd450c | 21376 | |
e6cc62c6 | 21377 | if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
21d1c967 GD |
21378 | # Didn't find X anywhere. Cache the known absence of X. |
21379 | ac_cv_have_x="have_x=no" | |
21380 | else | |
21381 | # Record where we found X for the cache. | |
21382 | ac_cv_have_x="have_x=yes \ | |
21383 | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | |
90dd450c | 21384 | fi |
21d1c967 | 21385 | fi |
e6cc62c6 | 21386 | |
21d1c967 GD |
21387 | fi |
21388 | eval "$ac_cv_have_x" | |
21389 | fi # $with_x != no | |
90dd450c | 21390 | |
21d1c967 | 21391 | if test "$have_x" != yes; then |
e6cc62c6 VS |
21392 | echo "$as_me:$LINENO: result: $have_x" >&5 |
21393 | echo "${ECHO_T}$have_x" >&6 | |
21d1c967 GD |
21394 | no_x=yes |
21395 | else | |
21396 | # If each of the values was on the command line, it overrides each guess. | |
21397 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes | |
21398 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | |
21399 | # Update the cache value to reflect the command line values. | |
21400 | ac_cv_have_x="have_x=yes \ | |
21401 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | |
e6cc62c6 VS |
21402 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
21403 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | |
21d1c967 | 21404 | fi |
90dd450c | 21405 | |
21d1c967 | 21406 | if test "$no_x" = yes; then |
90dd450c | 21407 | # Not all programs may use this symbol, but it does not hurt to define it. |
e6cc62c6 VS |
21408 | |
21409 | cat >>confdefs.h <<\_ACEOF | |
90dd450c | 21410 | #define X_DISPLAY_MISSING 1 |
e6cc62c6 | 21411 | _ACEOF |
90dd450c VZ |
21412 | |
21413 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= | |
21414 | else | |
21415 | if test -n "$x_includes"; then | |
21416 | X_CFLAGS="$X_CFLAGS -I$x_includes" | |
62d0491b | 21417 | fi |
3a922bb4 | 21418 | |
90dd450c VZ |
21419 | # It would also be nice to do this for all -L options, not just this one. |
21420 | if test -n "$x_libraries"; then | |
21421 | X_LIBS="$X_LIBS -L$x_libraries" | |
21422 | # For Solaris; some versions of Sun CC require a space after -R and | |
21423 | # others require no space. Words are not sufficient . . . . | |
e6cc62c6 | 21424 | case `(uname -sr) 2>/dev/null` in |
90dd450c | 21425 | "SunOS 5"*) |
e6cc62c6 VS |
21426 | echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
21427 | echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 | |
21428 | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" | |
21429 | cat >conftest.$ac_ext <<_ACEOF | |
21430 | #line $LINENO "configure" | |
21431 | /* confdefs.h. */ | |
21432 | _ACEOF | |
21433 | cat confdefs.h >>conftest.$ac_ext | |
21434 | cat >>conftest.$ac_ext <<_ACEOF | |
21435 | /* end confdefs.h. */ | |
21436 | ||
21437 | int | |
21438 | main () | |
21439 | { | |
90dd450c | 21440 | |
e6cc62c6 VS |
21441 | ; |
21442 | return 0; | |
21443 | } | |
21444 | _ACEOF | |
21445 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21446 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21447 | (eval $ac_link) 2>&5 | |
21448 | ac_status=$? | |
21449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21450 | (exit $ac_status); } && | |
21451 | { ac_try='test -s conftest$ac_exeext' | |
21452 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21453 | (eval $ac_try) 2>&5 | |
21454 | ac_status=$? | |
21455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21456 | (exit $ac_status); }; }; then | |
90dd450c | 21457 | ac_R_nospace=yes |
3a922bb4 | 21458 | else |
e6cc62c6 VS |
21459 | echo "$as_me: failed program was:" >&5 |
21460 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21461 | ||
21462 | ac_R_nospace=no | |
3a922bb4 | 21463 | fi |
e6cc62c6 | 21464 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
90dd450c | 21465 | if test $ac_R_nospace = yes; then |
e6cc62c6 VS |
21466 | echo "$as_me:$LINENO: result: no" >&5 |
21467 | echo "${ECHO_T}no" >&6 | |
90dd450c VZ |
21468 | X_LIBS="$X_LIBS -R$x_libraries" |
21469 | else | |
21470 | LIBS="$ac_xsave_LIBS -R $x_libraries" | |
e6cc62c6 VS |
21471 | cat >conftest.$ac_ext <<_ACEOF |
21472 | #line $LINENO "configure" | |
21473 | /* confdefs.h. */ | |
21474 | _ACEOF | |
21475 | cat confdefs.h >>conftest.$ac_ext | |
21476 | cat >>conftest.$ac_ext <<_ACEOF | |
21477 | /* end confdefs.h. */ | |
21478 | ||
21479 | int | |
21480 | main () | |
21481 | { | |
6f754473 | 21482 | |
e6cc62c6 VS |
21483 | ; |
21484 | return 0; | |
21485 | } | |
21486 | _ACEOF | |
21487 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21488 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21489 | (eval $ac_link) 2>&5 | |
21490 | ac_status=$? | |
21491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21492 | (exit $ac_status); } && | |
21493 | { ac_try='test -s conftest$ac_exeext' | |
21494 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21495 | (eval $ac_try) 2>&5 | |
21496 | ac_status=$? | |
21497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21498 | (exit $ac_status); }; }; then | |
90dd450c VZ |
21499 | ac_R_space=yes |
21500 | else | |
e6cc62c6 VS |
21501 | echo "$as_me: failed program was:" >&5 |
21502 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21503 | ||
21504 | ac_R_space=no | |
90dd450c | 21505 | fi |
e6cc62c6 | 21506 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
90dd450c | 21507 | if test $ac_R_space = yes; then |
e6cc62c6 VS |
21508 | echo "$as_me:$LINENO: result: yes" >&5 |
21509 | echo "${ECHO_T}yes" >&6 | |
90dd450c VZ |
21510 | X_LIBS="$X_LIBS -R $x_libraries" |
21511 | else | |
e6cc62c6 VS |
21512 | echo "$as_me:$LINENO: result: neither works" >&5 |
21513 | echo "${ECHO_T}neither works" >&6 | |
90dd450c VZ |
21514 | fi |
21515 | fi | |
e6cc62c6 | 21516 | LIBS=$ac_xsave_LIBS |
90dd450c VZ |
21517 | esac |
21518 | fi | |
21519 | ||
21520 | # Check for system-dependent libraries X programs must link with. | |
21521 | # Do this before checking for the system-independent R6 libraries | |
21522 | # (-lICE), since we may need -lsocket or whatever for X linking. | |
6f754473 | 21523 | |
90dd450c VZ |
21524 | if test "$ISC" = yes; then |
21525 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" | |
21526 | else | |
e6cc62c6 VS |
21527 | # Martyn Johnson says this is needed for Ultrix, if the X |
21528 | # libraries were built with DECnet support. And Karl Berry says | |
90dd450c | 21529 | # the Alpha needs dnet_stub (dnet does not exist). |
e6cc62c6 VS |
21530 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
21531 | cat >conftest.$ac_ext <<_ACEOF | |
21532 | #line $LINENO "configure" | |
21533 | /* confdefs.h. */ | |
21534 | _ACEOF | |
21535 | cat confdefs.h >>conftest.$ac_ext | |
21536 | cat >>conftest.$ac_ext <<_ACEOF | |
21537 | /* end confdefs.h. */ | |
21538 | ||
247f5006 | 21539 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21540 | #ifdef __cplusplus |
21541 | extern "C" | |
21542 | #endif | |
247f5006 | 21543 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21544 | builtin and then its argument prototype would still apply. */ |
21545 | char XOpenDisplay (); | |
21546 | int | |
21547 | main () | |
21548 | { | |
21549 | XOpenDisplay (); | |
21550 | ; | |
21551 | return 0; | |
21552 | } | |
21553 | _ACEOF | |
21554 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21555 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21556 | (eval $ac_link) 2>&5 | |
21557 | ac_status=$? | |
21558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21559 | (exit $ac_status); } && | |
21560 | { ac_try='test -s conftest$ac_exeext' | |
21561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21562 | (eval $ac_try) 2>&5 | |
21563 | ac_status=$? | |
21564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21565 | (exit $ac_status); }; }; then | |
21566 | : | |
21567 | else | |
21568 | echo "$as_me: failed program was:" >&5 | |
21569 | sed 's/^/| /' conftest.$ac_ext >&5 | |
a0b9e27f | 21570 | |
e6cc62c6 VS |
21571 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
21572 | echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | |
21573 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | |
21574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 21575 | else |
e6cc62c6 VS |
21576 | ac_check_lib_save_LIBS=$LIBS |
21577 | LIBS="-ldnet $LIBS" | |
21578 | cat >conftest.$ac_ext <<_ACEOF | |
21579 | #line $LINENO "configure" | |
21580 | /* confdefs.h. */ | |
21581 | _ACEOF | |
21582 | cat confdefs.h >>conftest.$ac_ext | |
21583 | cat >>conftest.$ac_ext <<_ACEOF | |
21584 | /* end confdefs.h. */ | |
a0b9e27f | 21585 | |
e6cc62c6 VS |
21586 | /* Override any gcc2 internal prototype to avoid an error. */ |
21587 | #ifdef __cplusplus | |
21588 | extern "C" | |
21589 | #endif | |
21590 | /* We use char because int might match the return type of a gcc2 | |
21591 | builtin and then its argument prototype would still apply. */ | |
21592 | char dnet_ntoa (); | |
21593 | int | |
21594 | main () | |
21595 | { | |
21596 | dnet_ntoa (); | |
21597 | ; | |
21598 | return 0; | |
21599 | } | |
21600 | _ACEOF | |
21601 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21602 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21603 | (eval $ac_link) 2>&5 | |
21604 | ac_status=$? | |
21605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21606 | (exit $ac_status); } && | |
21607 | { ac_try='test -s conftest$ac_exeext' | |
21608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21609 | (eval $ac_try) 2>&5 | |
21610 | ac_status=$? | |
21611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21612 | (exit $ac_status); }; }; then | |
21613 | ac_cv_lib_dnet_dnet_ntoa=yes | |
21614 | else | |
21615 | echo "$as_me: failed program was:" >&5 | |
21616 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21617 | ||
21618 | ac_cv_lib_dnet_dnet_ntoa=no | |
21619 | fi | |
21620 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21621 | LIBS=$ac_check_lib_save_LIBS | |
21622 | fi | |
21623 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | |
21624 | echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | |
21625 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | |
90dd450c | 21626 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
3a922bb4 RL |
21627 | fi |
21628 | ||
90dd450c | 21629 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
e6cc62c6 VS |
21630 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
21631 | echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 | |
21632 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then | |
21633 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 21634 | else |
e6cc62c6 | 21635 | ac_check_lib_save_LIBS=$LIBS |
90dd450c | 21636 | LIBS="-ldnet_stub $LIBS" |
e6cc62c6 VS |
21637 | cat >conftest.$ac_ext <<_ACEOF |
21638 | #line $LINENO "configure" | |
21639 | /* confdefs.h. */ | |
21640 | _ACEOF | |
21641 | cat confdefs.h >>conftest.$ac_ext | |
21642 | cat >>conftest.$ac_ext <<_ACEOF | |
21643 | /* end confdefs.h. */ | |
21644 | ||
90dd450c | 21645 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21646 | #ifdef __cplusplus |
21647 | extern "C" | |
21648 | #endif | |
90dd450c | 21649 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21650 | builtin and then its argument prototype would still apply. */ |
21651 | char dnet_ntoa (); | |
21652 | int | |
21653 | main () | |
21654 | { | |
21655 | dnet_ntoa (); | |
21656 | ; | |
21657 | return 0; | |
21658 | } | |
21659 | _ACEOF | |
21660 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21661 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21662 | (eval $ac_link) 2>&5 | |
21663 | ac_status=$? | |
21664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21665 | (exit $ac_status); } && | |
21666 | { ac_try='test -s conftest$ac_exeext' | |
21667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21668 | (eval $ac_try) 2>&5 | |
21669 | ac_status=$? | |
21670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21671 | (exit $ac_status); }; }; then | |
21672 | ac_cv_lib_dnet_stub_dnet_ntoa=yes | |
21673 | else | |
21674 | echo "$as_me: failed program was:" >&5 | |
21675 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21676 | ||
21677 | ac_cv_lib_dnet_stub_dnet_ntoa=no | |
21678 | fi | |
21679 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21680 | LIBS=$ac_check_lib_save_LIBS | |
21681 | fi | |
21682 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 | |
21683 | echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 | |
21684 | if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then | |
90dd450c | 21685 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
3a922bb4 RL |
21686 | fi |
21687 | ||
90dd450c | 21688 | fi |
e6cc62c6 VS |
21689 | fi |
21690 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21691 | LIBS="$ac_xsave_LIBS" | |
978f1259 | 21692 | |
90dd450c VZ |
21693 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
21694 | # to get the SysV transport functions. | |
e6cc62c6 | 21695 | # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
90dd450c VZ |
21696 | # needs -lnsl. |
21697 | # The nsl library prevents programs from opening the X display | |
e6cc62c6 VS |
21698 | # on Irix 5.2, according to T.E. Dickey. |
21699 | # The functions gethostbyname, getservbyname, and inet_addr are | |
21700 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. | |
21701 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 | |
21702 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 | |
21703 | if test "${ac_cv_func_gethostbyname+set}" = set; then | |
21704 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21705 | else | |
21706 | cat >conftest.$ac_ext <<_ACEOF | |
21707 | #line $LINENO "configure" | |
21708 | /* confdefs.h. */ | |
21709 | _ACEOF | |
21710 | cat confdefs.h >>conftest.$ac_ext | |
21711 | cat >>conftest.$ac_ext <<_ACEOF | |
21712 | /* end confdefs.h. */ | |
90dd450c | 21713 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
21714 | which can conflict with char gethostbyname (); below. |
21715 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21716 | <limits.h> exists even on freestanding compilers. */ | |
21717 | #ifdef __STDC__ | |
21718 | # include <limits.h> | |
21719 | #else | |
21720 | # include <assert.h> | |
21721 | #endif | |
90dd450c | 21722 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21723 | #ifdef __cplusplus |
21724 | extern "C" | |
21725 | { | |
21726 | #endif | |
90dd450c | 21727 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21728 | builtin and then its argument prototype would still apply. */ |
21729 | char gethostbyname (); | |
90dd450c VZ |
21730 | /* The GNU C library defines this for functions which it implements |
21731 | to always fail with ENOSYS. Some functions are actually named | |
21732 | something starting with __ and the normal name is an alias. */ | |
21733 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) | |
21734 | choke me | |
21735 | #else | |
e6cc62c6 VS |
21736 | char (*f) () = gethostbyname; |
21737 | #endif | |
21738 | #ifdef __cplusplus | |
21739 | } | |
90dd450c | 21740 | #endif |
978f1259 | 21741 | |
e6cc62c6 VS |
21742 | int |
21743 | main () | |
21744 | { | |
21745 | return f != gethostbyname; | |
21746 | ; | |
21747 | return 0; | |
21748 | } | |
21749 | _ACEOF | |
21750 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21751 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21752 | (eval $ac_link) 2>&5 | |
21753 | ac_status=$? | |
21754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21755 | (exit $ac_status); } && | |
21756 | { ac_try='test -s conftest$ac_exeext' | |
21757 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21758 | (eval $ac_try) 2>&5 | |
21759 | ac_status=$? | |
21760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21761 | (exit $ac_status); }; }; then | |
21762 | ac_cv_func_gethostbyname=yes | |
21763 | else | |
21764 | echo "$as_me: failed program was:" >&5 | |
21765 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21766 | ||
21767 | ac_cv_func_gethostbyname=no | |
21768 | fi | |
21769 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21770 | fi | |
21771 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 | |
21772 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 | |
698dcdb6 | 21773 | |
90dd450c | 21774 | if test $ac_cv_func_gethostbyname = no; then |
e6cc62c6 VS |
21775 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
21776 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 | |
21777 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | |
21778 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 21779 | else |
e6cc62c6 | 21780 | ac_check_lib_save_LIBS=$LIBS |
90dd450c | 21781 | LIBS="-lnsl $LIBS" |
e6cc62c6 VS |
21782 | cat >conftest.$ac_ext <<_ACEOF |
21783 | #line $LINENO "configure" | |
21784 | /* confdefs.h. */ | |
21785 | _ACEOF | |
21786 | cat confdefs.h >>conftest.$ac_ext | |
21787 | cat >>conftest.$ac_ext <<_ACEOF | |
21788 | /* end confdefs.h. */ | |
21789 | ||
90dd450c | 21790 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21791 | #ifdef __cplusplus |
21792 | extern "C" | |
21793 | #endif | |
90dd450c | 21794 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21795 | builtin and then its argument prototype would still apply. */ |
21796 | char gethostbyname (); | |
21797 | int | |
21798 | main () | |
21799 | { | |
21800 | gethostbyname (); | |
21801 | ; | |
21802 | return 0; | |
21803 | } | |
21804 | _ACEOF | |
21805 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21806 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21807 | (eval $ac_link) 2>&5 | |
21808 | ac_status=$? | |
21809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21810 | (exit $ac_status); } && | |
21811 | { ac_try='test -s conftest$ac_exeext' | |
21812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21813 | (eval $ac_try) 2>&5 | |
21814 | ac_status=$? | |
21815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21816 | (exit $ac_status); }; }; then | |
21817 | ac_cv_lib_nsl_gethostbyname=yes | |
21818 | else | |
21819 | echo "$as_me: failed program was:" >&5 | |
21820 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21821 | ||
21822 | ac_cv_lib_nsl_gethostbyname=no | |
21823 | fi | |
21824 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21825 | LIBS=$ac_check_lib_save_LIBS | |
21826 | fi | |
21827 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
21828 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 | |
21829 | if test $ac_cv_lib_nsl_gethostbyname = yes; then | |
21830 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" | |
a0b9e27f | 21831 | fi |
247f5006 | 21832 | |
e6cc62c6 VS |
21833 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
21834 | echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 | |
21835 | echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 | |
21836 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then | |
21837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 21838 | else |
e6cc62c6 VS |
21839 | ac_check_lib_save_LIBS=$LIBS |
21840 | LIBS="-lbsd $LIBS" | |
21841 | cat >conftest.$ac_ext <<_ACEOF | |
21842 | #line $LINENO "configure" | |
21843 | /* confdefs.h. */ | |
21844 | _ACEOF | |
21845 | cat confdefs.h >>conftest.$ac_ext | |
21846 | cat >>conftest.$ac_ext <<_ACEOF | |
21847 | /* end confdefs.h. */ | |
21848 | ||
21849 | /* Override any gcc2 internal prototype to avoid an error. */ | |
21850 | #ifdef __cplusplus | |
21851 | extern "C" | |
21852 | #endif | |
21853 | /* We use char because int might match the return type of a gcc2 | |
21854 | builtin and then its argument prototype would still apply. */ | |
21855 | char gethostbyname (); | |
21856 | int | |
21857 | main () | |
21858 | { | |
21859 | gethostbyname (); | |
21860 | ; | |
21861 | return 0; | |
21862 | } | |
21863 | _ACEOF | |
21864 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21865 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21866 | (eval $ac_link) 2>&5 | |
21867 | ac_status=$? | |
21868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21869 | (exit $ac_status); } && | |
21870 | { ac_try='test -s conftest$ac_exeext' | |
21871 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21872 | (eval $ac_try) 2>&5 | |
21873 | ac_status=$? | |
21874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21875 | (exit $ac_status); }; }; then | |
21876 | ac_cv_lib_bsd_gethostbyname=yes | |
21877 | else | |
21878 | echo "$as_me: failed program was:" >&5 | |
21879 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21880 | ||
21881 | ac_cv_lib_bsd_gethostbyname=no | |
21882 | fi | |
21883 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21884 | LIBS=$ac_check_lib_save_LIBS | |
21885 | fi | |
21886 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 | |
21887 | echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 | |
21888 | if test $ac_cv_lib_bsd_gethostbyname = yes; then | |
21889 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" | |
90dd450c | 21890 | fi |
b12915c1 | 21891 | |
e6cc62c6 | 21892 | fi |
90dd450c VZ |
21893 | fi |
21894 | ||
21895 | # lieder@skyler.mavd.honeywell.com says without -lsocket, | |
21896 | # socket/setsockopt and other routines are undefined under SCO ODT | |
21897 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | |
e6cc62c6 VS |
21898 | # on later versions), says Simon Leinen: it contains gethostby* |
21899 | # variants that don't use the name server (or something). -lsocket | |
21900 | # must be given before -lnsl if both are needed. We assume that | |
21901 | # if connect needs -lnsl, so does gethostbyname. | |
21902 | echo "$as_me:$LINENO: checking for connect" >&5 | |
21903 | echo $ECHO_N "checking for connect... $ECHO_C" >&6 | |
21904 | if test "${ac_cv_func_connect+set}" = set; then | |
21905 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21906 | else | |
21907 | cat >conftest.$ac_ext <<_ACEOF | |
21908 | #line $LINENO "configure" | |
21909 | /* confdefs.h. */ | |
21910 | _ACEOF | |
21911 | cat confdefs.h >>conftest.$ac_ext | |
21912 | cat >>conftest.$ac_ext <<_ACEOF | |
21913 | /* end confdefs.h. */ | |
90dd450c | 21914 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
21915 | which can conflict with char connect (); below. |
21916 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21917 | <limits.h> exists even on freestanding compilers. */ | |
21918 | #ifdef __STDC__ | |
21919 | # include <limits.h> | |
21920 | #else | |
21921 | # include <assert.h> | |
21922 | #endif | |
90dd450c | 21923 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21924 | #ifdef __cplusplus |
21925 | extern "C" | |
21926 | { | |
21927 | #endif | |
90dd450c | 21928 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21929 | builtin and then its argument prototype would still apply. */ |
21930 | char connect (); | |
90dd450c VZ |
21931 | /* The GNU C library defines this for functions which it implements |
21932 | to always fail with ENOSYS. Some functions are actually named | |
21933 | something starting with __ and the normal name is an alias. */ | |
21934 | #if defined (__stub_connect) || defined (__stub___connect) | |
21935 | choke me | |
21936 | #else | |
e6cc62c6 VS |
21937 | char (*f) () = connect; |
21938 | #endif | |
21939 | #ifdef __cplusplus | |
21940 | } | |
90dd450c VZ |
21941 | #endif |
21942 | ||
e6cc62c6 VS |
21943 | int |
21944 | main () | |
21945 | { | |
21946 | return f != connect; | |
21947 | ; | |
21948 | return 0; | |
21949 | } | |
21950 | _ACEOF | |
21951 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21952 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
21953 | (eval $ac_link) 2>&5 | |
21954 | ac_status=$? | |
21955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21956 | (exit $ac_status); } && | |
21957 | { ac_try='test -s conftest$ac_exeext' | |
21958 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
21959 | (eval $ac_try) 2>&5 | |
21960 | ac_status=$? | |
21961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21962 | (exit $ac_status); }; }; then | |
21963 | ac_cv_func_connect=yes | |
21964 | else | |
21965 | echo "$as_me: failed program was:" >&5 | |
21966 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21967 | ||
21968 | ac_cv_func_connect=no | |
21969 | fi | |
21970 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
21971 | fi | |
21972 | echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 | |
21973 | echo "${ECHO_T}$ac_cv_func_connect" >&6 | |
55e80573 | 21974 | |
90dd450c | 21975 | if test $ac_cv_func_connect = no; then |
e6cc62c6 VS |
21976 | echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
21977 | echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 | |
21978 | if test "${ac_cv_lib_socket_connect+set}" = set; then | |
21979 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 21980 | else |
e6cc62c6 | 21981 | ac_check_lib_save_LIBS=$LIBS |
90dd450c | 21982 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
e6cc62c6 VS |
21983 | cat >conftest.$ac_ext <<_ACEOF |
21984 | #line $LINENO "configure" | |
21985 | /* confdefs.h. */ | |
21986 | _ACEOF | |
21987 | cat confdefs.h >>conftest.$ac_ext | |
21988 | cat >>conftest.$ac_ext <<_ACEOF | |
21989 | /* end confdefs.h. */ | |
21990 | ||
90dd450c | 21991 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
21992 | #ifdef __cplusplus |
21993 | extern "C" | |
21994 | #endif | |
90dd450c | 21995 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
21996 | builtin and then its argument prototype would still apply. */ |
21997 | char connect (); | |
21998 | int | |
21999 | main () | |
22000 | { | |
22001 | connect (); | |
22002 | ; | |
22003 | return 0; | |
22004 | } | |
22005 | _ACEOF | |
22006 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22007 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22008 | (eval $ac_link) 2>&5 | |
22009 | ac_status=$? | |
22010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22011 | (exit $ac_status); } && | |
22012 | { ac_try='test -s conftest$ac_exeext' | |
22013 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22014 | (eval $ac_try) 2>&5 | |
22015 | ac_status=$? | |
22016 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22017 | (exit $ac_status); }; }; then | |
22018 | ac_cv_lib_socket_connect=yes | |
22019 | else | |
22020 | echo "$as_me: failed program was:" >&5 | |
22021 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22022 | ||
22023 | ac_cv_lib_socket_connect=no | |
22024 | fi | |
22025 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22026 | LIBS=$ac_check_lib_save_LIBS | |
22027 | fi | |
22028 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 | |
22029 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 | |
22030 | if test $ac_cv_lib_socket_connect = yes; then | |
90dd450c | 22031 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
90dd450c | 22032 | fi |
77e13408 | 22033 | |
90dd450c | 22034 | fi |
25d0687a | 22035 | |
e6cc62c6 VS |
22036 | # Guillermo Gomez says -lposix is necessary on A/UX. |
22037 | echo "$as_me:$LINENO: checking for remove" >&5 | |
22038 | echo $ECHO_N "checking for remove... $ECHO_C" >&6 | |
22039 | if test "${ac_cv_func_remove+set}" = set; then | |
22040 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
22041 | else | |
22042 | cat >conftest.$ac_ext <<_ACEOF | |
22043 | #line $LINENO "configure" | |
22044 | /* confdefs.h. */ | |
22045 | _ACEOF | |
22046 | cat confdefs.h >>conftest.$ac_ext | |
22047 | cat >>conftest.$ac_ext <<_ACEOF | |
22048 | /* end confdefs.h. */ | |
90dd450c | 22049 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
22050 | which can conflict with char remove (); below. |
22051 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
22052 | <limits.h> exists even on freestanding compilers. */ | |
22053 | #ifdef __STDC__ | |
22054 | # include <limits.h> | |
22055 | #else | |
22056 | # include <assert.h> | |
22057 | #endif | |
90dd450c | 22058 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
22059 | #ifdef __cplusplus |
22060 | extern "C" | |
22061 | { | |
22062 | #endif | |
90dd450c | 22063 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
22064 | builtin and then its argument prototype would still apply. */ |
22065 | char remove (); | |
90dd450c VZ |
22066 | /* The GNU C library defines this for functions which it implements |
22067 | to always fail with ENOSYS. Some functions are actually named | |
22068 | something starting with __ and the normal name is an alias. */ | |
22069 | #if defined (__stub_remove) || defined (__stub___remove) | |
22070 | choke me | |
22071 | #else | |
e6cc62c6 VS |
22072 | char (*f) () = remove; |
22073 | #endif | |
22074 | #ifdef __cplusplus | |
22075 | } | |
90dd450c | 22076 | #endif |
55e80573 | 22077 | |
e6cc62c6 VS |
22078 | int |
22079 | main () | |
22080 | { | |
22081 | return f != remove; | |
22082 | ; | |
22083 | return 0; | |
22084 | } | |
22085 | _ACEOF | |
22086 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22087 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22088 | (eval $ac_link) 2>&5 | |
22089 | ac_status=$? | |
22090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22091 | (exit $ac_status); } && | |
22092 | { ac_try='test -s conftest$ac_exeext' | |
22093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22094 | (eval $ac_try) 2>&5 | |
22095 | ac_status=$? | |
22096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22097 | (exit $ac_status); }; }; then | |
22098 | ac_cv_func_remove=yes | |
22099 | else | |
22100 | echo "$as_me: failed program was:" >&5 | |
22101 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22102 | ||
22103 | ac_cv_func_remove=no | |
22104 | fi | |
22105 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22106 | fi | |
22107 | echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 | |
22108 | echo "${ECHO_T}$ac_cv_func_remove" >&6 | |
10f2d63a | 22109 | |
90dd450c | 22110 | if test $ac_cv_func_remove = no; then |
e6cc62c6 VS |
22111 | echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
22112 | echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 | |
22113 | if test "${ac_cv_lib_posix_remove+set}" = set; then | |
22114 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
90dd450c | 22115 | else |
e6cc62c6 | 22116 | ac_check_lib_save_LIBS=$LIBS |
90dd450c | 22117 | LIBS="-lposix $LIBS" |
e6cc62c6 VS |
22118 | cat >conftest.$ac_ext <<_ACEOF |
22119 | #line $LINENO "configure" | |
22120 | /* confdefs.h. */ | |
22121 | _ACEOF | |
22122 | cat confdefs.h >>conftest.$ac_ext | |
22123 | cat >>conftest.$ac_ext <<_ACEOF | |
22124 | /* end confdefs.h. */ | |
22125 | ||
90dd450c | 22126 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
22127 | #ifdef __cplusplus |
22128 | extern "C" | |
22129 | #endif | |
90dd450c | 22130 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
22131 | builtin and then its argument prototype would still apply. */ |
22132 | char remove (); | |
22133 | int | |
22134 | main () | |
22135 | { | |
22136 | remove (); | |
22137 | ; | |
22138 | return 0; | |
22139 | } | |
22140 | _ACEOF | |
22141 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22142 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22143 | (eval $ac_link) 2>&5 | |
22144 | ac_status=$? | |
22145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22146 | (exit $ac_status); } && | |
22147 | { ac_try='test -s conftest$ac_exeext' | |
22148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22149 | (eval $ac_try) 2>&5 | |
22150 | ac_status=$? | |
22151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22152 | (exit $ac_status); }; }; then | |
22153 | ac_cv_lib_posix_remove=yes | |
22154 | else | |
22155 | echo "$as_me: failed program was:" >&5 | |
22156 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22157 | ||
22158 | ac_cv_lib_posix_remove=no | |
22159 | fi | |
22160 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22161 | LIBS=$ac_check_lib_save_LIBS | |
22162 | fi | |
22163 | echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 | |
22164 | echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 | |
22165 | if test $ac_cv_lib_posix_remove = yes; then | |
90dd450c | 22166 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
90dd450c | 22167 | fi |
f6bcfd97 | 22168 | |
6fa882bd RR |
22169 | fi |
22170 | ||
90dd450c | 22171 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
e6cc62c6 VS |
22172 | echo "$as_me:$LINENO: checking for shmat" >&5 |
22173 | echo $ECHO_N "checking for shmat... $ECHO_C" >&6 | |
22174 | if test "${ac_cv_func_shmat+set}" = set; then | |
22175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
22176 | else | |
22177 | cat >conftest.$ac_ext <<_ACEOF | |
22178 | #line $LINENO "configure" | |
22179 | /* confdefs.h. */ | |
22180 | _ACEOF | |
22181 | cat confdefs.h >>conftest.$ac_ext | |
22182 | cat >>conftest.$ac_ext <<_ACEOF | |
22183 | /* end confdefs.h. */ | |
90dd450c | 22184 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
22185 | which can conflict with char shmat (); below. |
22186 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
22187 | <limits.h> exists even on freestanding compilers. */ | |
22188 | #ifdef __STDC__ | |
22189 | # include <limits.h> | |
22190 | #else | |
22191 | # include <assert.h> | |
22192 | #endif | |
90dd450c | 22193 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
22194 | #ifdef __cplusplus |
22195 | extern "C" | |
22196 | { | |
22197 | #endif | |
90dd450c | 22198 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
22199 | builtin and then its argument prototype would still apply. */ |
22200 | char shmat (); | |
90dd450c VZ |
22201 | /* The GNU C library defines this for functions which it implements |
22202 | to always fail with ENOSYS. Some functions are actually named | |
22203 | something starting with __ and the normal name is an alias. */ | |
22204 | #if defined (__stub_shmat) || defined (__stub___shmat) | |
22205 | choke me | |
22206 | #else | |
e6cc62c6 VS |
22207 | char (*f) () = shmat; |
22208 | #endif | |
22209 | #ifdef __cplusplus | |
22210 | } | |
90dd450c | 22211 | #endif |
10f2d63a | 22212 | |
e6cc62c6 VS |
22213 | int |
22214 | main () | |
22215 | { | |
22216 | return f != shmat; | |
22217 | ; | |
22218 | return 0; | |
22219 | } | |
22220 | _ACEOF | |
22221 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22222 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22223 | (eval $ac_link) 2>&5 | |
22224 | ac_status=$? | |
22225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22226 | (exit $ac_status); } && | |
22227 | { ac_try='test -s conftest$ac_exeext' | |
22228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22229 | (eval $ac_try) 2>&5 | |
22230 | ac_status=$? | |
22231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22232 | (exit $ac_status); }; }; then | |
22233 | ac_cv_func_shmat=yes | |
22234 | else | |
22235 | echo "$as_me: failed program was:" >&5 | |
22236 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22237 | ||
22238 | ac_cv_func_shmat=no | |
22239 | fi | |
22240 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22241 | fi | |
22242 | echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 | |
22243 | echo "${ECHO_T}$ac_cv_func_shmat" >&6 | |
d08b457b | 22244 | |
90dd450c | 22245 | if test $ac_cv_func_shmat = no; then |
e6cc62c6 VS |
22246 | echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
22247 | echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 | |
22248 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then | |
22249 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
d08b457b | 22250 | else |
e6cc62c6 | 22251 | ac_check_lib_save_LIBS=$LIBS |
90dd450c | 22252 | LIBS="-lipc $LIBS" |
e6cc62c6 VS |
22253 | cat >conftest.$ac_ext <<_ACEOF |
22254 | #line $LINENO "configure" | |
22255 | /* confdefs.h. */ | |
22256 | _ACEOF | |
22257 | cat confdefs.h >>conftest.$ac_ext | |
22258 | cat >>conftest.$ac_ext <<_ACEOF | |
22259 | /* end confdefs.h. */ | |
22260 | ||
8284b0c5 | 22261 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
22262 | #ifdef __cplusplus |
22263 | extern "C" | |
22264 | #endif | |
90dd450c | 22265 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
22266 | builtin and then its argument prototype would still apply. */ |
22267 | char shmat (); | |
22268 | int | |
22269 | main () | |
22270 | { | |
22271 | shmat (); | |
22272 | ; | |
22273 | return 0; | |
22274 | } | |
22275 | _ACEOF | |
22276 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22277 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22278 | (eval $ac_link) 2>&5 | |
22279 | ac_status=$? | |
22280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22281 | (exit $ac_status); } && | |
22282 | { ac_try='test -s conftest$ac_exeext' | |
22283 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22284 | (eval $ac_try) 2>&5 | |
22285 | ac_status=$? | |
22286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22287 | (exit $ac_status); }; }; then | |
22288 | ac_cv_lib_ipc_shmat=yes | |
22289 | else | |
22290 | echo "$as_me: failed program was:" >&5 | |
22291 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22292 | ||
22293 | ac_cv_lib_ipc_shmat=no | |
22294 | fi | |
22295 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22296 | LIBS=$ac_check_lib_save_LIBS | |
22297 | fi | |
22298 | echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 | |
22299 | echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 | |
22300 | if test $ac_cv_lib_ipc_shmat = yes; then | |
90dd450c | 22301 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
d08b457b GD |
22302 | fi |
22303 | ||
d558c907 | 22304 | fi |
90dd450c | 22305 | fi |
3a922bb4 | 22306 | |
90dd450c | 22307 | # Check for libraries that X11R6 Xt/Xaw programs need. |
e6cc62c6 | 22308 | ac_save_LDFLAGS=$LDFLAGS |
90dd450c VZ |
22309 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
22310 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to | |
22311 | # check for ICE first), but we must link in the order -lSM -lICE or | |
22312 | # we get undefined symbols. So assume we have SM if we have ICE. | |
22313 | # These have to be linked with before -lX11, unlike the other | |
22314 | # libraries we check for below, so use a different variable. | |
e6cc62c6 VS |
22315 | # John Interrante, Karl Berry |
22316 | echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 | |
22317 | echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 | |
22318 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then | |
22319 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
22320 | else | |
22321 | ac_check_lib_save_LIBS=$LIBS | |
f09359cf | 22322 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
e6cc62c6 VS |
22323 | cat >conftest.$ac_ext <<_ACEOF |
22324 | #line $LINENO "configure" | |
22325 | /* confdefs.h. */ | |
22326 | _ACEOF | |
22327 | cat confdefs.h >>conftest.$ac_ext | |
22328 | cat >>conftest.$ac_ext <<_ACEOF | |
22329 | /* end confdefs.h. */ | |
22330 | ||
90dd450c | 22331 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
22332 | #ifdef __cplusplus |
22333 | extern "C" | |
22334 | #endif | |
90dd450c | 22335 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
22336 | builtin and then its argument prototype would still apply. */ |
22337 | char IceConnectionNumber (); | |
22338 | int | |
22339 | main () | |
22340 | { | |
22341 | IceConnectionNumber (); | |
22342 | ; | |
22343 | return 0; | |
22344 | } | |
22345 | _ACEOF | |
22346 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22347 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22348 | (eval $ac_link) 2>&5 | |
22349 | ac_status=$? | |
22350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22351 | (exit $ac_status); } && | |
22352 | { ac_try='test -s conftest$ac_exeext' | |
22353 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22354 | (eval $ac_try) 2>&5 | |
22355 | ac_status=$? | |
22356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22357 | (exit $ac_status); }; }; then | |
22358 | ac_cv_lib_ICE_IceConnectionNumber=yes | |
22359 | else | |
22360 | echo "$as_me: failed program was:" >&5 | |
22361 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22362 | ||
22363 | ac_cv_lib_ICE_IceConnectionNumber=no | |
22364 | fi | |
22365 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22366 | LIBS=$ac_check_lib_save_LIBS | |
22367 | fi | |
22368 | echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 | |
22369 | echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 | |
22370 | if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then | |
90dd450c | 22371 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
9cfadba2 | 22372 | fi |
10f2d63a | 22373 | |
e6cc62c6 | 22374 | LDFLAGS=$ac_save_LDFLAGS |
90dd450c VZ |
22375 | |
22376 | fi | |
22377 | ||
8284b0c5 | 22378 | |
90dd450c | 22379 | if test "$no_x" = "yes"; then |
e6cc62c6 VS |
22380 | { { echo "$as_me:$LINENO: error: X11 not found" >&5 |
22381 | echo "$as_me: error: X11 not found" >&2;} | |
22382 | { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; } | |
90dd450c VZ |
22383 | fi |
22384 | ||
22385 | GUI_TK_LIBRARY="$X_LIBS" | |
22386 | TOOLKIT_INCLUDE="$X_CFLAGS" | |
22387 | AFMINSTALL=afminstall | |
22388 | COMPILED_X_PROGRAM=0 | |
22389 | ||
21d1c967 | 22390 | if test "$wxUSE_NANOX" = "yes"; then |
e6cc62c6 VS |
22391 | echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5 |
22392 | echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6 | |
21d1c967 | 22393 | if test "x$MICROWIN" = x ; then |
e6cc62c6 VS |
22394 | echo "$as_me:$LINENO: result: not found" >&5 |
22395 | echo "${ECHO_T}not found" >&6 | |
22396 | { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5 | |
22397 | echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;} | |
22398 | { (exit 1); exit 1; }; } | |
90dd450c | 22399 | else |
e6cc62c6 VS |
22400 | echo "$as_me:$LINENO: result: $MICROWIN" >&5 |
22401 | echo "${ECHO_T}$MICROWIN" >&6 | |
22402 | cat >>confdefs.h <<\_ACEOF | |
21d1c967 | 22403 | #define wxUSE_NANOX 1 |
e6cc62c6 | 22404 | _ACEOF |
21d1c967 | 22405 | |
90dd450c VZ |
22406 | fi |
22407 | fi | |
22408 | ||
22409 | xpm_link= | |
e6cc62c6 VS |
22410 | echo "$as_me:$LINENO: checking for Xpm library" >&5 |
22411 | echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6 | |
22412 | ||
90dd450c | 22413 | ac_find_libraries= |
2b5f62a0 | 22414 | for ac_dir in $SEARCH_LIB /usr/lib; |
90dd450c VZ |
22415 | do |
22416 | for ac_extension in a so sl dylib; do | |
22417 | if test -f "$ac_dir/libXpm.$ac_extension"; then | |
22418 | ac_find_libraries=$ac_dir | |
22419 | break 2 | |
22420 | fi | |
22421 | done | |
22422 | done | |
22423 | ||
22424 | if test "$ac_find_libraries" != "" ; then | |
e6cc62c6 | 22425 | |
90dd450c VZ |
22426 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null |
22427 | result=$? | |
22428 | if test $result = 0; then | |
22429 | ac_path_to_link="" | |
22430 | else | |
22431 | ac_path_to_link=" -L$ac_find_libraries" | |
21d1c967 | 22432 | fi |
90dd450c | 22433 | |
21d1c967 GD |
22434 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link" |
22435 | xpm_link=" -lXpm" | |
e6cc62c6 | 22436 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 22437 | #define wxHAVE_LIB_XPM 1 |
e6cc62c6 | 22438 | _ACEOF |
90dd450c | 22439 | |
e6cc62c6 VS |
22440 | echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5 |
22441 | echo "${ECHO_T}found at $ac_find_libraries" >&6 | |
21d1c967 | 22442 | else |
e6cc62c6 VS |
22443 | cat >conftest.$ac_ext <<_ACEOF |
22444 | #line $LINENO "configure" | |
22445 | /* confdefs.h. */ | |
22446 | _ACEOF | |
22447 | cat confdefs.h >>conftest.$ac_ext | |
22448 | cat >>conftest.$ac_ext <<_ACEOF | |
22449 | /* end confdefs.h. */ | |
90dd450c | 22450 | |
21d1c967 | 22451 | #include <X11/xpm.h> |
e6cc62c6 VS |
22452 | |
22453 | int | |
22454 | main () | |
22455 | { | |
6f72b082 | 22456 | |
21d1c967 GD |
22457 | int version; |
22458 | version = XpmLibraryVersion(); | |
e6cc62c6 VS |
22459 | |
22460 | ; | |
22461 | return 0; | |
22462 | } | |
22463 | _ACEOF | |
22464 | rm -f conftest.$ac_objext | |
22465 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
22466 | (eval $ac_compile) 2>&5 | |
22467 | ac_status=$? | |
22468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22469 | (exit $ac_status); } && | |
22470 | { ac_try='test -s conftest.$ac_objext' | |
22471 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22472 | (eval $ac_try) 2>&5 | |
22473 | ac_status=$? | |
22474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22475 | (exit $ac_status); }; }; then | |
22476 | ||
21d1c967 | 22477 | xpm_link=" -lXpm" |
e6cc62c6 | 22478 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 22479 | #define wxHAVE_LIB_XPM 1 |
e6cc62c6 | 22480 | _ACEOF |
90dd450c | 22481 | |
e6cc62c6 VS |
22482 | echo "$as_me:$LINENO: result: found in default search path" >&5 |
22483 | echo "${ECHO_T}found in default search path" >&6 | |
21d1c967 | 22484 | COMPILED_X_PROGRAM=0 |
e6cc62c6 | 22485 | |
21d1c967 | 22486 | else |
e6cc62c6 VS |
22487 | echo "$as_me: failed program was:" >&5 |
22488 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22489 | ||
22490 | ||
22491 | echo "$as_me:$LINENO: result: no" >&5 | |
22492 | echo "${ECHO_T}no" >&6 | |
22493 | { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5 | |
22494 | echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;} | |
22495 | ||
22496 | ||
6f72b082 | 22497 | fi |
e6cc62c6 | 22498 | rm -f conftest.$ac_objext conftest.$ac_ext |
21d1c967 | 22499 | fi |
90dd450c | 22500 | |
e6cc62c6 VS |
22501 | echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
22502 | echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 | |
22503 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | |
22504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f7f78039 | 22505 | else |
e6cc62c6 | 22506 | ac_check_lib_save_LIBS=$LIBS |
f7f78039 | 22507 | LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS" |
e6cc62c6 VS |
22508 | cat >conftest.$ac_ext <<_ACEOF |
22509 | #line $LINENO "configure" | |
22510 | /* confdefs.h. */ | |
22511 | _ACEOF | |
22512 | cat confdefs.h >>conftest.$ac_ext | |
22513 | cat >>conftest.$ac_ext <<_ACEOF | |
22514 | /* end confdefs.h. */ | |
22515 | ||
f7f78039 | 22516 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
22517 | #ifdef __cplusplus |
22518 | extern "C" | |
22519 | #endif | |
f7f78039 | 22520 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
22521 | builtin and then its argument prototype would still apply. */ |
22522 | char XShapeQueryExtension (); | |
22523 | int | |
22524 | main () | |
22525 | { | |
22526 | XShapeQueryExtension (); | |
22527 | ; | |
22528 | return 0; | |
22529 | } | |
22530 | _ACEOF | |
22531 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22532 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22533 | (eval $ac_link) 2>&5 | |
22534 | ac_status=$? | |
22535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22536 | (exit $ac_status); } && | |
22537 | { ac_try='test -s conftest$ac_exeext' | |
22538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22539 | (eval $ac_try) 2>&5 | |
22540 | ac_status=$? | |
22541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22542 | (exit $ac_status); }; }; then | |
22543 | ac_cv_lib_Xext_XShapeQueryExtension=yes | |
22544 | else | |
22545 | echo "$as_me: failed program was:" >&5 | |
22546 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22547 | ||
22548 | ac_cv_lib_Xext_XShapeQueryExtension=no | |
22549 | fi | |
22550 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
22551 | LIBS=$ac_check_lib_save_LIBS | |
22552 | fi | |
22553 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | |
22554 | echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 | |
22555 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | |
f7f78039 | 22556 | |
f7f78039 MB |
22557 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext" |
22558 | wxHAVE_XEXT_LIB=1 | |
e6cc62c6 | 22559 | |
f7f78039 MB |
22560 | fi |
22561 | ||
22562 | ||
2b5f62a0 | 22563 | if test "$wxUSE_UNICODE" = "yes"; then |
e6cc62c6 | 22564 | |
2b5f62a0 | 22565 | succeeded=no |
90dd450c | 22566 | |
2b5f62a0 VZ |
22567 | if test -z "$PKG_CONFIG"; then |
22568 | # Extract the first word of "pkg-config", so it can be a program name with args. | |
22569 | set dummy pkg-config; ac_word=$2 | |
e6cc62c6 VS |
22570 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
22571 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
22572 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
22573 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 22574 | else |
e6cc62c6 VS |
22575 | case $PKG_CONFIG in |
22576 | [\\/]* | ?:[\\/]*) | |
2b5f62a0 VZ |
22577 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
22578 | ;; | |
2b5f62a0 | 22579 | *) |
e6cc62c6 VS |
22580 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
22581 | for as_dir in $PATH | |
22582 | do | |
22583 | IFS=$as_save_IFS | |
22584 | test -z "$as_dir" && as_dir=. | |
22585 | for ac_exec_ext in '' $ac_executable_extensions; do | |
22586 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
22587 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
22588 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
22589 | break 2 | |
22590 | fi | |
22591 | done | |
22592 | done | |
22593 | ||
2b5f62a0 VZ |
22594 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
22595 | ;; | |
22596 | esac | |
22597 | fi | |
e6cc62c6 VS |
22598 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
22599 | ||
2b5f62a0 | 22600 | if test -n "$PKG_CONFIG"; then |
e6cc62c6 VS |
22601 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
22602 | echo "${ECHO_T}$PKG_CONFIG" >&6 | |
2b5f62a0 | 22603 | else |
e6cc62c6 VS |
22604 | echo "$as_me:$LINENO: result: no" >&5 |
22605 | echo "${ECHO_T}no" >&6 | |
2b5f62a0 VZ |
22606 | fi |
22607 | ||
22608 | fi | |
22609 | ||
22610 | if test "$PKG_CONFIG" = "no" ; then | |
22611 | echo "*** The pkg-config script could not be found. Make sure it is" | |
22612 | echo "*** in your path, or set the PKG_CONFIG environment variable" | |
22613 | echo "*** to the full path to pkg-config." | |
22614 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | |
22615 | else | |
22616 | PKG_CONFIG_MIN_VERSION=0.9.0 | |
22617 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
e6cc62c6 VS |
22618 | echo "$as_me:$LINENO: checking for pangox" >&5 |
22619 | echo $ECHO_N "checking for pangox... $ECHO_C" >&6 | |
2b5f62a0 VZ |
22620 | |
22621 | if $PKG_CONFIG --exists "pangox" ; then | |
e6cc62c6 VS |
22622 | echo "$as_me:$LINENO: result: yes" >&5 |
22623 | echo "${ECHO_T}yes" >&6 | |
2b5f62a0 VZ |
22624 | succeeded=yes |
22625 | ||
e6cc62c6 VS |
22626 | echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5 |
22627 | echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6 | |
2b5f62a0 | 22628 | PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"` |
e6cc62c6 VS |
22629 | echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5 |
22630 | echo "${ECHO_T}$PANGOX_CFLAGS" >&6 | |
2b5f62a0 | 22631 | |
e6cc62c6 VS |
22632 | echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5 |
22633 | echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6 | |
2b5f62a0 | 22634 | PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"` |
e6cc62c6 VS |
22635 | echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5 |
22636 | echo "${ECHO_T}$PANGOX_LIBS" >&6 | |
2b5f62a0 VZ |
22637 | else |
22638 | PANGOX_CFLAGS="" | |
22639 | PANGOX_LIBS="" | |
e6cc62c6 | 22640 | ## If we have a custom action on failure, don't print errors, but |
2b5f62a0 VZ |
22641 | ## do set a variable so people can do so. |
22642 | PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"` | |
e6cc62c6 | 22643 | |
2b5f62a0 VZ |
22644 | fi |
22645 | ||
e6cc62c6 VS |
22646 | |
22647 | ||
2b5f62a0 VZ |
22648 | else |
22649 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
22650 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
22651 | fi | |
22652 | fi | |
22653 | ||
22654 | if test $succeeded = yes; then | |
e6cc62c6 | 22655 | |
2b5f62a0 | 22656 | CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS" |
c74dc163 | 22657 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS" |
e6cc62c6 | 22658 | |
2b5f62a0 | 22659 | else |
e6cc62c6 VS |
22660 | |
22661 | { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5 | |
22662 | echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;} | |
22663 | { (exit 1); exit 1; }; } | |
22664 | ||
22665 | ||
2b5f62a0 VZ |
22666 | fi |
22667 | ||
e6cc62c6 | 22668 | |
2b5f62a0 VZ |
22669 | succeeded=no |
22670 | ||
22671 | if test -z "$PKG_CONFIG"; then | |
22672 | # Extract the first word of "pkg-config", so it can be a program name with args. | |
22673 | set dummy pkg-config; ac_word=$2 | |
e6cc62c6 VS |
22674 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
22675 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
22676 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
22677 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2b5f62a0 | 22678 | else |
e6cc62c6 VS |
22679 | case $PKG_CONFIG in |
22680 | [\\/]* | ?:[\\/]*) | |
2b5f62a0 VZ |
22681 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
22682 | ;; | |
2b5f62a0 | 22683 | *) |
e6cc62c6 VS |
22684 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
22685 | for as_dir in $PATH | |
22686 | do | |
22687 | IFS=$as_save_IFS | |
22688 | test -z "$as_dir" && as_dir=. | |
22689 | for ac_exec_ext in '' $ac_executable_extensions; do | |
22690 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
22691 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
22692 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
22693 | break 2 | |
22694 | fi | |
22695 | done | |
22696 | done | |
22697 | ||
2b5f62a0 VZ |
22698 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
22699 | ;; | |
22700 | esac | |
22701 | fi | |
e6cc62c6 VS |
22702 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
22703 | ||
2b5f62a0 | 22704 | if test -n "$PKG_CONFIG"; then |
e6cc62c6 VS |
22705 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
22706 | echo "${ECHO_T}$PKG_CONFIG" >&6 | |
2b5f62a0 | 22707 | else |
e6cc62c6 VS |
22708 | echo "$as_me:$LINENO: result: no" >&5 |
22709 | echo "${ECHO_T}no" >&6 | |
2b5f62a0 VZ |
22710 | fi |
22711 | ||
22712 | fi | |
22713 | ||
22714 | if test "$PKG_CONFIG" = "no" ; then | |
22715 | echo "*** The pkg-config script could not be found. Make sure it is" | |
22716 | echo "*** in your path, or set the PKG_CONFIG environment variable" | |
22717 | echo "*** to the full path to pkg-config." | |
22718 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | |
22719 | else | |
22720 | PKG_CONFIG_MIN_VERSION=0.9.0 | |
22721 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
e6cc62c6 VS |
22722 | echo "$as_me:$LINENO: checking for pangoft2" >&5 |
22723 | echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6 | |
2b5f62a0 VZ |
22724 | |
22725 | if $PKG_CONFIG --exists "pangoft2" ; then | |
e6cc62c6 VS |
22726 | echo "$as_me:$LINENO: result: yes" >&5 |
22727 | echo "${ECHO_T}yes" >&6 | |
2b5f62a0 VZ |
22728 | succeeded=yes |
22729 | ||
e6cc62c6 VS |
22730 | echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5 |
22731 | echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6 | |
2b5f62a0 | 22732 | PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"` |
e6cc62c6 VS |
22733 | echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5 |
22734 | echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6 | |
2b5f62a0 | 22735 | |
e6cc62c6 VS |
22736 | echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5 |
22737 | echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6 | |
2b5f62a0 | 22738 | PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"` |
e6cc62c6 VS |
22739 | echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5 |
22740 | echo "${ECHO_T}$PANGOFT2_LIBS" >&6 | |
2b5f62a0 VZ |
22741 | else |
22742 | PANGOFT2_CFLAGS="" | |
22743 | PANGOFT2_LIBS="" | |
e6cc62c6 | 22744 | ## If we have a custom action on failure, don't print errors, but |
2b5f62a0 VZ |
22745 | ## do set a variable so people can do so. |
22746 | PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"` | |
e6cc62c6 | 22747 | |
2b5f62a0 VZ |
22748 | fi |
22749 | ||
e6cc62c6 VS |
22750 | |
22751 | ||
2b5f62a0 VZ |
22752 | else |
22753 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
22754 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
22755 | fi | |
22756 | fi | |
22757 | ||
22758 | if test $succeeded = yes; then | |
e6cc62c6 | 22759 | |
2b5f62a0 | 22760 | CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS" |
c74dc163 | 22761 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS" |
e6cc62c6 | 22762 | |
2b5f62a0 | 22763 | else |
e6cc62c6 VS |
22764 | |
22765 | { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5 | |
22766 | echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;} | |
2b5f62a0 | 22767 | wxUSE_PRINTING_ARCHITECTURE="no" |
e6cc62c6 VS |
22768 | |
22769 | ||
2b5f62a0 VZ |
22770 | fi |
22771 | ||
e6cc62c6 | 22772 | |
2b5f62a0 VZ |
22773 | succeeded=no |
22774 | ||
22775 | if test -z "$PKG_CONFIG"; then | |
22776 | # Extract the first word of "pkg-config", so it can be a program name with args. | |
22777 | set dummy pkg-config; ac_word=$2 | |
e6cc62c6 VS |
22778 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
22779 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
22780 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
22781 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2b5f62a0 | 22782 | else |
e6cc62c6 VS |
22783 | case $PKG_CONFIG in |
22784 | [\\/]* | ?:[\\/]*) | |
2b5f62a0 VZ |
22785 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
22786 | ;; | |
2b5f62a0 | 22787 | *) |
e6cc62c6 VS |
22788 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
22789 | for as_dir in $PATH | |
22790 | do | |
22791 | IFS=$as_save_IFS | |
22792 | test -z "$as_dir" && as_dir=. | |
22793 | for ac_exec_ext in '' $ac_executable_extensions; do | |
22794 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
22795 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
22796 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
22797 | break 2 | |
22798 | fi | |
22799 | done | |
22800 | done | |
22801 | ||
2b5f62a0 VZ |
22802 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
22803 | ;; | |
22804 | esac | |
22805 | fi | |
e6cc62c6 VS |
22806 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
22807 | ||
2b5f62a0 | 22808 | if test -n "$PKG_CONFIG"; then |
e6cc62c6 VS |
22809 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
22810 | echo "${ECHO_T}$PKG_CONFIG" >&6 | |
2b5f62a0 | 22811 | else |
e6cc62c6 VS |
22812 | echo "$as_me:$LINENO: result: no" >&5 |
22813 | echo "${ECHO_T}no" >&6 | |
2b5f62a0 VZ |
22814 | fi |
22815 | ||
22816 | fi | |
22817 | ||
22818 | if test "$PKG_CONFIG" = "no" ; then | |
22819 | echo "*** The pkg-config script could not be found. Make sure it is" | |
22820 | echo "*** in your path, or set the PKG_CONFIG environment variable" | |
22821 | echo "*** to the full path to pkg-config." | |
22822 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | |
22823 | else | |
22824 | PKG_CONFIG_MIN_VERSION=0.9.0 | |
22825 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
e6cc62c6 VS |
22826 | echo "$as_me:$LINENO: checking for pangoxft" >&5 |
22827 | echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6 | |
2b5f62a0 VZ |
22828 | |
22829 | if $PKG_CONFIG --exists "pangoxft" ; then | |
e6cc62c6 VS |
22830 | echo "$as_me:$LINENO: result: yes" >&5 |
22831 | echo "${ECHO_T}yes" >&6 | |
2b5f62a0 VZ |
22832 | succeeded=yes |
22833 | ||
e6cc62c6 VS |
22834 | echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5 |
22835 | echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6 | |
2b5f62a0 | 22836 | PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"` |
e6cc62c6 VS |
22837 | echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5 |
22838 | echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6 | |
2b5f62a0 | 22839 | |
e6cc62c6 VS |
22840 | echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5 |
22841 | echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6 | |
2b5f62a0 | 22842 | PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"` |
e6cc62c6 VS |
22843 | echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5 |
22844 | echo "${ECHO_T}$PANGOXFT_LIBS" >&6 | |
2b5f62a0 VZ |
22845 | else |
22846 | PANGOXFT_CFLAGS="" | |
22847 | PANGOXFT_LIBS="" | |
e6cc62c6 | 22848 | ## If we have a custom action on failure, don't print errors, but |
2b5f62a0 VZ |
22849 | ## do set a variable so people can do so. |
22850 | PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"` | |
e6cc62c6 | 22851 | |
2b5f62a0 VZ |
22852 | fi |
22853 | ||
e6cc62c6 VS |
22854 | |
22855 | ||
2b5f62a0 VZ |
22856 | else |
22857 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
22858 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
22859 | fi | |
22860 | fi | |
22861 | ||
22862 | if test $succeeded = yes; then | |
e6cc62c6 | 22863 | |
2b5f62a0 | 22864 | CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS" |
c74dc163 | 22865 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS" |
e6cc62c6 | 22866 | |
2b5f62a0 | 22867 | else |
e6cc62c6 VS |
22868 | |
22869 | { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5 | |
22870 | echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;} | |
22871 | ||
22872 | ||
2b5f62a0 VZ |
22873 | fi |
22874 | ||
22875 | fi | |
22876 | ||
22877 | wxUSE_UNIVERSAL="yes" | |
22878 | ||
22879 | if test "$wxUSE_NANOX" = "yes"; then | |
22880 | TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE" | |
fe0895cf | 22881 | 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" |
2b5f62a0 VZ |
22882 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a" |
22883 | else | |
22884 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link" | |
22885 | fi | |
22886 | ||
22887 | TOOLKIT_VPATH="\${top_srcdir}/src/x11" | |
22888 | TOOLKIT=X11 | |
22889 | GUIDIST=X11_DIST | |
22890 | fi | |
22891 | ||
21d1c967 GD |
22892 | if test "$wxUSE_MOTIF" = 1; then |
22893 | if test "$no_x" = yes; then | |
22894 | # Not all programs may use this symbol, but it does not hurt to define it. | |
e6cc62c6 VS |
22895 | |
22896 | cat >>confdefs.h <<\_ACEOF | |
21d1c967 | 22897 | #define X_DISPLAY_MISSING 1 |
e6cc62c6 | 22898 | _ACEOF |
21d1c967 GD |
22899 | |
22900 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= | |
22901 | else | |
22902 | if test -n "$x_includes"; then | |
22903 | X_CFLAGS="$X_CFLAGS -I$x_includes" | |
90dd450c VZ |
22904 | fi |
22905 | ||
21d1c967 GD |
22906 | # It would also be nice to do this for all -L options, not just this one. |
22907 | if test -n "$x_libraries"; then | |
22908 | X_LIBS="$X_LIBS -L$x_libraries" | |
22909 | # For Solaris; some versions of Sun CC require a space after -R and | |
22910 | # others require no space. Words are not sufficient . . . . | |
e6cc62c6 | 22911 | case `(uname -sr) 2>/dev/null` in |
21d1c967 | 22912 | "SunOS 5"*) |
e6cc62c6 VS |
22913 | echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
22914 | echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 | |
22915 | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" | |
22916 | cat >conftest.$ac_ext <<_ACEOF | |
22917 | #line $LINENO "configure" | |
22918 | /* confdefs.h. */ | |
22919 | _ACEOF | |
22920 | cat confdefs.h >>conftest.$ac_ext | |
22921 | cat >>conftest.$ac_ext <<_ACEOF | |
22922 | /* end confdefs.h. */ | |
22923 | ||
22924 | int | |
22925 | main () | |
22926 | { | |
21d1c967 | 22927 | |
e6cc62c6 VS |
22928 | ; |
22929 | return 0; | |
22930 | } | |
22931 | _ACEOF | |
22932 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22933 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22934 | (eval $ac_link) 2>&5 | |
22935 | ac_status=$? | |
22936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22937 | (exit $ac_status); } && | |
22938 | { ac_try='test -s conftest$ac_exeext' | |
22939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22940 | (eval $ac_try) 2>&5 | |
22941 | ac_status=$? | |
22942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22943 | (exit $ac_status); }; }; then | |
21d1c967 | 22944 | ac_R_nospace=yes |
698dcdb6 | 22945 | else |
e6cc62c6 VS |
22946 | echo "$as_me: failed program was:" >&5 |
22947 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22948 | ||
22949 | ac_R_nospace=no | |
10f2d63a | 22950 | fi |
e6cc62c6 | 22951 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21d1c967 | 22952 | if test $ac_R_nospace = yes; then |
e6cc62c6 VS |
22953 | echo "$as_me:$LINENO: result: no" >&5 |
22954 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
22955 | X_LIBS="$X_LIBS -R$x_libraries" |
22956 | else | |
22957 | LIBS="$ac_xsave_LIBS -R $x_libraries" | |
e6cc62c6 VS |
22958 | cat >conftest.$ac_ext <<_ACEOF |
22959 | #line $LINENO "configure" | |
22960 | /* confdefs.h. */ | |
22961 | _ACEOF | |
22962 | cat confdefs.h >>conftest.$ac_ext | |
22963 | cat >>conftest.$ac_ext <<_ACEOF | |
22964 | /* end confdefs.h. */ | |
22965 | ||
22966 | int | |
22967 | main () | |
22968 | { | |
f0c87536 | 22969 | |
e6cc62c6 VS |
22970 | ; |
22971 | return 0; | |
22972 | } | |
22973 | _ACEOF | |
22974 | rm -f conftest.$ac_objext conftest$ac_exeext | |
22975 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
22976 | (eval $ac_link) 2>&5 | |
22977 | ac_status=$? | |
22978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22979 | (exit $ac_status); } && | |
22980 | { ac_try='test -s conftest$ac_exeext' | |
22981 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22982 | (eval $ac_try) 2>&5 | |
22983 | ac_status=$? | |
22984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22985 | (exit $ac_status); }; }; then | |
21d1c967 GD |
22986 | ac_R_space=yes |
22987 | else | |
e6cc62c6 VS |
22988 | echo "$as_me: failed program was:" >&5 |
22989 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22990 | ||
22991 | ac_R_space=no | |
21d1c967 | 22992 | fi |
e6cc62c6 | 22993 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21d1c967 | 22994 | if test $ac_R_space = yes; then |
e6cc62c6 VS |
22995 | echo "$as_me:$LINENO: result: yes" >&5 |
22996 | echo "${ECHO_T}yes" >&6 | |
21d1c967 GD |
22997 | X_LIBS="$X_LIBS -R $x_libraries" |
22998 | else | |
e6cc62c6 VS |
22999 | echo "$as_me:$LINENO: result: neither works" >&5 |
23000 | echo "${ECHO_T}neither works" >&6 | |
21d1c967 GD |
23001 | fi |
23002 | fi | |
e6cc62c6 | 23003 | LIBS=$ac_xsave_LIBS |
21d1c967 GD |
23004 | esac |
23005 | fi | |
90dd450c | 23006 | |
21d1c967 GD |
23007 | # Check for system-dependent libraries X programs must link with. |
23008 | # Do this before checking for the system-independent R6 libraries | |
23009 | # (-lICE), since we may need -lsocket or whatever for X linking. | |
23010 | ||
23011 | if test "$ISC" = yes; then | |
23012 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" | |
23013 | else | |
e6cc62c6 VS |
23014 | # Martyn Johnson says this is needed for Ultrix, if the X |
23015 | # libraries were built with DECnet support. And Karl Berry says | |
21d1c967 | 23016 | # the Alpha needs dnet_stub (dnet does not exist). |
e6cc62c6 VS |
23017 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
23018 | cat >conftest.$ac_ext <<_ACEOF | |
23019 | #line $LINENO "configure" | |
23020 | /* confdefs.h. */ | |
23021 | _ACEOF | |
23022 | cat confdefs.h >>conftest.$ac_ext | |
23023 | cat >>conftest.$ac_ext <<_ACEOF | |
23024 | /* end confdefs.h. */ | |
23025 | ||
247f5006 | 23026 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23027 | #ifdef __cplusplus |
23028 | extern "C" | |
23029 | #endif | |
247f5006 | 23030 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23031 | builtin and then its argument prototype would still apply. */ |
23032 | char XOpenDisplay (); | |
23033 | int | |
23034 | main () | |
23035 | { | |
23036 | XOpenDisplay (); | |
23037 | ; | |
23038 | return 0; | |
23039 | } | |
23040 | _ACEOF | |
23041 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23042 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23043 | (eval $ac_link) 2>&5 | |
23044 | ac_status=$? | |
23045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23046 | (exit $ac_status); } && | |
23047 | { ac_try='test -s conftest$ac_exeext' | |
23048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23049 | (eval $ac_try) 2>&5 | |
23050 | ac_status=$? | |
23051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23052 | (exit $ac_status); }; }; then | |
23053 | : | |
23054 | else | |
23055 | echo "$as_me: failed program was:" >&5 | |
23056 | sed 's/^/| /' conftest.$ac_ext >&5 | |
a0b9e27f | 23057 | |
e6cc62c6 VS |
23058 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
23059 | echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | |
23060 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | |
23061 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 23062 | else |
e6cc62c6 VS |
23063 | ac_check_lib_save_LIBS=$LIBS |
23064 | LIBS="-ldnet $LIBS" | |
23065 | cat >conftest.$ac_ext <<_ACEOF | |
23066 | #line $LINENO "configure" | |
23067 | /* confdefs.h. */ | |
23068 | _ACEOF | |
23069 | cat confdefs.h >>conftest.$ac_ext | |
23070 | cat >>conftest.$ac_ext <<_ACEOF | |
23071 | /* end confdefs.h. */ | |
a0b9e27f | 23072 | |
e6cc62c6 VS |
23073 | /* Override any gcc2 internal prototype to avoid an error. */ |
23074 | #ifdef __cplusplus | |
23075 | extern "C" | |
23076 | #endif | |
23077 | /* We use char because int might match the return type of a gcc2 | |
23078 | builtin and then its argument prototype would still apply. */ | |
23079 | char dnet_ntoa (); | |
23080 | int | |
23081 | main () | |
23082 | { | |
23083 | dnet_ntoa (); | |
23084 | ; | |
23085 | return 0; | |
23086 | } | |
23087 | _ACEOF | |
23088 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23089 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23090 | (eval $ac_link) 2>&5 | |
23091 | ac_status=$? | |
23092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23093 | (exit $ac_status); } && | |
23094 | { ac_try='test -s conftest$ac_exeext' | |
23095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23096 | (eval $ac_try) 2>&5 | |
23097 | ac_status=$? | |
23098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23099 | (exit $ac_status); }; }; then | |
23100 | ac_cv_lib_dnet_dnet_ntoa=yes | |
23101 | else | |
23102 | echo "$as_me: failed program was:" >&5 | |
23103 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23104 | ||
23105 | ac_cv_lib_dnet_dnet_ntoa=no | |
23106 | fi | |
23107 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23108 | LIBS=$ac_check_lib_save_LIBS | |
23109 | fi | |
23110 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | |
23111 | echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | |
23112 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | |
21d1c967 | 23113 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
0fb0dd83 | 23114 | fi |
0fb0dd83 | 23115 | |
21d1c967 | 23116 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
e6cc62c6 VS |
23117 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
23118 | echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 | |
23119 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then | |
23120 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 23121 | else |
e6cc62c6 | 23122 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 23123 | LIBS="-ldnet_stub $LIBS" |
e6cc62c6 VS |
23124 | cat >conftest.$ac_ext <<_ACEOF |
23125 | #line $LINENO "configure" | |
23126 | /* confdefs.h. */ | |
23127 | _ACEOF | |
23128 | cat confdefs.h >>conftest.$ac_ext | |
23129 | cat >>conftest.$ac_ext <<_ACEOF | |
23130 | /* end confdefs.h. */ | |
23131 | ||
21d1c967 | 23132 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23133 | #ifdef __cplusplus |
23134 | extern "C" | |
23135 | #endif | |
21d1c967 | 23136 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23137 | builtin and then its argument prototype would still apply. */ |
23138 | char dnet_ntoa (); | |
23139 | int | |
23140 | main () | |
23141 | { | |
23142 | dnet_ntoa (); | |
23143 | ; | |
23144 | return 0; | |
23145 | } | |
23146 | _ACEOF | |
23147 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23148 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23149 | (eval $ac_link) 2>&5 | |
23150 | ac_status=$? | |
23151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23152 | (exit $ac_status); } && | |
23153 | { ac_try='test -s conftest$ac_exeext' | |
23154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23155 | (eval $ac_try) 2>&5 | |
23156 | ac_status=$? | |
23157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23158 | (exit $ac_status); }; }; then | |
23159 | ac_cv_lib_dnet_stub_dnet_ntoa=yes | |
23160 | else | |
23161 | echo "$as_me: failed program was:" >&5 | |
23162 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23163 | ||
23164 | ac_cv_lib_dnet_stub_dnet_ntoa=no | |
23165 | fi | |
23166 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23167 | LIBS=$ac_check_lib_save_LIBS | |
23168 | fi | |
23169 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 | |
23170 | echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 | |
23171 | if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then | |
21d1c967 | 23172 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
90dd450c VZ |
23173 | fi |
23174 | ||
21d1c967 | 23175 | fi |
e6cc62c6 VS |
23176 | fi |
23177 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23178 | LIBS="$ac_xsave_LIBS" | |
90dd450c | 23179 | |
21d1c967 GD |
23180 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
23181 | # to get the SysV transport functions. | |
e6cc62c6 | 23182 | # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
21d1c967 GD |
23183 | # needs -lnsl. |
23184 | # The nsl library prevents programs from opening the X display | |
e6cc62c6 VS |
23185 | # on Irix 5.2, according to T.E. Dickey. |
23186 | # The functions gethostbyname, getservbyname, and inet_addr are | |
23187 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. | |
23188 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 | |
23189 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 | |
23190 | if test "${ac_cv_func_gethostbyname+set}" = set; then | |
23191 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
23192 | else | |
23193 | cat >conftest.$ac_ext <<_ACEOF | |
23194 | #line $LINENO "configure" | |
23195 | /* confdefs.h. */ | |
23196 | _ACEOF | |
23197 | cat confdefs.h >>conftest.$ac_ext | |
23198 | cat >>conftest.$ac_ext <<_ACEOF | |
23199 | /* end confdefs.h. */ | |
21d1c967 | 23200 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
23201 | which can conflict with char gethostbyname (); below. |
23202 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
23203 | <limits.h> exists even on freestanding compilers. */ | |
23204 | #ifdef __STDC__ | |
23205 | # include <limits.h> | |
23206 | #else | |
23207 | # include <assert.h> | |
23208 | #endif | |
21d1c967 | 23209 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23210 | #ifdef __cplusplus |
23211 | extern "C" | |
23212 | { | |
23213 | #endif | |
21d1c967 | 23214 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23215 | builtin and then its argument prototype would still apply. */ |
23216 | char gethostbyname (); | |
21d1c967 GD |
23217 | /* The GNU C library defines this for functions which it implements |
23218 | to always fail with ENOSYS. Some functions are actually named | |
23219 | something starting with __ and the normal name is an alias. */ | |
23220 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) | |
23221 | choke me | |
23222 | #else | |
e6cc62c6 VS |
23223 | char (*f) () = gethostbyname; |
23224 | #endif | |
23225 | #ifdef __cplusplus | |
23226 | } | |
21d1c967 | 23227 | #endif |
90dd450c | 23228 | |
e6cc62c6 VS |
23229 | int |
23230 | main () | |
23231 | { | |
23232 | return f != gethostbyname; | |
23233 | ; | |
23234 | return 0; | |
23235 | } | |
23236 | _ACEOF | |
23237 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23238 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23239 | (eval $ac_link) 2>&5 | |
23240 | ac_status=$? | |
23241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23242 | (exit $ac_status); } && | |
23243 | { ac_try='test -s conftest$ac_exeext' | |
23244 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23245 | (eval $ac_try) 2>&5 | |
23246 | ac_status=$? | |
23247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23248 | (exit $ac_status); }; }; then | |
23249 | ac_cv_func_gethostbyname=yes | |
23250 | else | |
23251 | echo "$as_me: failed program was:" >&5 | |
23252 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23253 | ||
23254 | ac_cv_func_gethostbyname=no | |
23255 | fi | |
23256 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23257 | fi | |
23258 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 | |
23259 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 | |
90dd450c | 23260 | |
21d1c967 | 23261 | if test $ac_cv_func_gethostbyname = no; then |
e6cc62c6 VS |
23262 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
23263 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 | |
23264 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | |
23265 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 23266 | else |
e6cc62c6 | 23267 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 23268 | LIBS="-lnsl $LIBS" |
e6cc62c6 VS |
23269 | cat >conftest.$ac_ext <<_ACEOF |
23270 | #line $LINENO "configure" | |
23271 | /* confdefs.h. */ | |
23272 | _ACEOF | |
23273 | cat confdefs.h >>conftest.$ac_ext | |
23274 | cat >>conftest.$ac_ext <<_ACEOF | |
23275 | /* end confdefs.h. */ | |
23276 | ||
21d1c967 | 23277 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23278 | #ifdef __cplusplus |
23279 | extern "C" | |
23280 | #endif | |
21d1c967 | 23281 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23282 | builtin and then its argument prototype would still apply. */ |
23283 | char gethostbyname (); | |
23284 | int | |
23285 | main () | |
23286 | { | |
23287 | gethostbyname (); | |
23288 | ; | |
23289 | return 0; | |
23290 | } | |
23291 | _ACEOF | |
23292 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23293 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23294 | (eval $ac_link) 2>&5 | |
23295 | ac_status=$? | |
23296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23297 | (exit $ac_status); } && | |
23298 | { ac_try='test -s conftest$ac_exeext' | |
23299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23300 | (eval $ac_try) 2>&5 | |
23301 | ac_status=$? | |
23302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23303 | (exit $ac_status); }; }; then | |
23304 | ac_cv_lib_nsl_gethostbyname=yes | |
23305 | else | |
23306 | echo "$as_me: failed program was:" >&5 | |
23307 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23308 | ||
23309 | ac_cv_lib_nsl_gethostbyname=no | |
23310 | fi | |
23311 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23312 | LIBS=$ac_check_lib_save_LIBS | |
23313 | fi | |
23314 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
23315 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 | |
23316 | if test $ac_cv_lib_nsl_gethostbyname = yes; then | |
23317 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" | |
a0b9e27f | 23318 | fi |
247f5006 | 23319 | |
e6cc62c6 VS |
23320 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
23321 | echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 | |
23322 | echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 | |
23323 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then | |
23324 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 23325 | else |
e6cc62c6 VS |
23326 | ac_check_lib_save_LIBS=$LIBS |
23327 | LIBS="-lbsd $LIBS" | |
23328 | cat >conftest.$ac_ext <<_ACEOF | |
23329 | #line $LINENO "configure" | |
23330 | /* confdefs.h. */ | |
23331 | _ACEOF | |
23332 | cat confdefs.h >>conftest.$ac_ext | |
23333 | cat >>conftest.$ac_ext <<_ACEOF | |
23334 | /* end confdefs.h. */ | |
23335 | ||
23336 | /* Override any gcc2 internal prototype to avoid an error. */ | |
23337 | #ifdef __cplusplus | |
23338 | extern "C" | |
23339 | #endif | |
23340 | /* We use char because int might match the return type of a gcc2 | |
23341 | builtin and then its argument prototype would still apply. */ | |
23342 | char gethostbyname (); | |
23343 | int | |
23344 | main () | |
23345 | { | |
23346 | gethostbyname (); | |
23347 | ; | |
23348 | return 0; | |
23349 | } | |
23350 | _ACEOF | |
23351 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23352 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23353 | (eval $ac_link) 2>&5 | |
23354 | ac_status=$? | |
23355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23356 | (exit $ac_status); } && | |
23357 | { ac_try='test -s conftest$ac_exeext' | |
23358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23359 | (eval $ac_try) 2>&5 | |
23360 | ac_status=$? | |
23361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23362 | (exit $ac_status); }; }; then | |
23363 | ac_cv_lib_bsd_gethostbyname=yes | |
23364 | else | |
23365 | echo "$as_me: failed program was:" >&5 | |
23366 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23367 | ||
23368 | ac_cv_lib_bsd_gethostbyname=no | |
23369 | fi | |
23370 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23371 | LIBS=$ac_check_lib_save_LIBS | |
23372 | fi | |
23373 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 | |
23374 | echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 | |
23375 | if test $ac_cv_lib_bsd_gethostbyname = yes; then | |
23376 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" | |
21d1c967 | 23377 | fi |
90dd450c | 23378 | |
e6cc62c6 | 23379 | fi |
90dd450c VZ |
23380 | fi |
23381 | ||
21d1c967 GD |
23382 | # lieder@skyler.mavd.honeywell.com says without -lsocket, |
23383 | # socket/setsockopt and other routines are undefined under SCO ODT | |
23384 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | |
e6cc62c6 VS |
23385 | # on later versions), says Simon Leinen: it contains gethostby* |
23386 | # variants that don't use the name server (or something). -lsocket | |
23387 | # must be given before -lnsl if both are needed. We assume that | |
23388 | # if connect needs -lnsl, so does gethostbyname. | |
23389 | echo "$as_me:$LINENO: checking for connect" >&5 | |
23390 | echo $ECHO_N "checking for connect... $ECHO_C" >&6 | |
23391 | if test "${ac_cv_func_connect+set}" = set; then | |
23392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
23393 | else | |
23394 | cat >conftest.$ac_ext <<_ACEOF | |
23395 | #line $LINENO "configure" | |
23396 | /* confdefs.h. */ | |
23397 | _ACEOF | |
23398 | cat confdefs.h >>conftest.$ac_ext | |
23399 | cat >>conftest.$ac_ext <<_ACEOF | |
23400 | /* end confdefs.h. */ | |
21d1c967 | 23401 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
23402 | which can conflict with char connect (); below. |
23403 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
23404 | <limits.h> exists even on freestanding compilers. */ | |
23405 | #ifdef __STDC__ | |
23406 | # include <limits.h> | |
23407 | #else | |
23408 | # include <assert.h> | |
23409 | #endif | |
21d1c967 | 23410 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23411 | #ifdef __cplusplus |
23412 | extern "C" | |
23413 | { | |
23414 | #endif | |
21d1c967 | 23415 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23416 | builtin and then its argument prototype would still apply. */ |
23417 | char connect (); | |
21d1c967 GD |
23418 | /* The GNU C library defines this for functions which it implements |
23419 | to always fail with ENOSYS. Some functions are actually named | |
23420 | something starting with __ and the normal name is an alias. */ | |
23421 | #if defined (__stub_connect) || defined (__stub___connect) | |
23422 | choke me | |
23423 | #else | |
e6cc62c6 VS |
23424 | char (*f) () = connect; |
23425 | #endif | |
23426 | #ifdef __cplusplus | |
23427 | } | |
21d1c967 | 23428 | #endif |
90dd450c | 23429 | |
e6cc62c6 VS |
23430 | int |
23431 | main () | |
23432 | { | |
23433 | return f != connect; | |
23434 | ; | |
23435 | return 0; | |
23436 | } | |
23437 | _ACEOF | |
23438 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23439 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23440 | (eval $ac_link) 2>&5 | |
23441 | ac_status=$? | |
23442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23443 | (exit $ac_status); } && | |
23444 | { ac_try='test -s conftest$ac_exeext' | |
23445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23446 | (eval $ac_try) 2>&5 | |
23447 | ac_status=$? | |
23448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23449 | (exit $ac_status); }; }; then | |
23450 | ac_cv_func_connect=yes | |
23451 | else | |
23452 | echo "$as_me: failed program was:" >&5 | |
23453 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23454 | ||
23455 | ac_cv_func_connect=no | |
23456 | fi | |
23457 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23458 | fi | |
23459 | echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 | |
23460 | echo "${ECHO_T}$ac_cv_func_connect" >&6 | |
1f8ae82f | 23461 | |
21d1c967 | 23462 | if test $ac_cv_func_connect = no; then |
e6cc62c6 VS |
23463 | echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
23464 | echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 | |
23465 | if test "${ac_cv_lib_socket_connect+set}" = set; then | |
23466 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
0fbb762e | 23467 | else |
e6cc62c6 | 23468 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 23469 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
e6cc62c6 VS |
23470 | cat >conftest.$ac_ext <<_ACEOF |
23471 | #line $LINENO "configure" | |
23472 | /* confdefs.h. */ | |
23473 | _ACEOF | |
23474 | cat confdefs.h >>conftest.$ac_ext | |
23475 | cat >>conftest.$ac_ext <<_ACEOF | |
23476 | /* end confdefs.h. */ | |
23477 | ||
21d1c967 | 23478 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23479 | #ifdef __cplusplus |
23480 | extern "C" | |
23481 | #endif | |
21d1c967 | 23482 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23483 | builtin and then its argument prototype would still apply. */ |
23484 | char connect (); | |
23485 | int | |
23486 | main () | |
23487 | { | |
23488 | connect (); | |
23489 | ; | |
23490 | return 0; | |
23491 | } | |
23492 | _ACEOF | |
23493 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23494 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23495 | (eval $ac_link) 2>&5 | |
23496 | ac_status=$? | |
23497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23498 | (exit $ac_status); } && | |
23499 | { ac_try='test -s conftest$ac_exeext' | |
23500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23501 | (eval $ac_try) 2>&5 | |
23502 | ac_status=$? | |
23503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23504 | (exit $ac_status); }; }; then | |
23505 | ac_cv_lib_socket_connect=yes | |
23506 | else | |
23507 | echo "$as_me: failed program was:" >&5 | |
23508 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23509 | ||
23510 | ac_cv_lib_socket_connect=no | |
23511 | fi | |
23512 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23513 | LIBS=$ac_check_lib_save_LIBS | |
23514 | fi | |
23515 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 | |
23516 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 | |
23517 | if test $ac_cv_lib_socket_connect = yes; then | |
21d1c967 | 23518 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
21d1c967 | 23519 | fi |
90dd450c | 23520 | |
21d1c967 | 23521 | fi |
90dd450c | 23522 | |
e6cc62c6 VS |
23523 | # Guillermo Gomez says -lposix is necessary on A/UX. |
23524 | echo "$as_me:$LINENO: checking for remove" >&5 | |
23525 | echo $ECHO_N "checking for remove... $ECHO_C" >&6 | |
23526 | if test "${ac_cv_func_remove+set}" = set; then | |
23527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
23528 | else | |
23529 | cat >conftest.$ac_ext <<_ACEOF | |
23530 | #line $LINENO "configure" | |
23531 | /* confdefs.h. */ | |
23532 | _ACEOF | |
23533 | cat confdefs.h >>conftest.$ac_ext | |
23534 | cat >>conftest.$ac_ext <<_ACEOF | |
23535 | /* end confdefs.h. */ | |
21d1c967 | 23536 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
23537 | which can conflict with char remove (); below. |
23538 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
23539 | <limits.h> exists even on freestanding compilers. */ | |
23540 | #ifdef __STDC__ | |
23541 | # include <limits.h> | |
23542 | #else | |
23543 | # include <assert.h> | |
23544 | #endif | |
21d1c967 | 23545 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23546 | #ifdef __cplusplus |
23547 | extern "C" | |
23548 | { | |
23549 | #endif | |
21d1c967 | 23550 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23551 | builtin and then its argument prototype would still apply. */ |
23552 | char remove (); | |
21d1c967 GD |
23553 | /* The GNU C library defines this for functions which it implements |
23554 | to always fail with ENOSYS. Some functions are actually named | |
23555 | something starting with __ and the normal name is an alias. */ | |
23556 | #if defined (__stub_remove) || defined (__stub___remove) | |
23557 | choke me | |
23558 | #else | |
e6cc62c6 VS |
23559 | char (*f) () = remove; |
23560 | #endif | |
23561 | #ifdef __cplusplus | |
23562 | } | |
21d1c967 | 23563 | #endif |
90dd450c | 23564 | |
e6cc62c6 VS |
23565 | int |
23566 | main () | |
23567 | { | |
23568 | return f != remove; | |
23569 | ; | |
23570 | return 0; | |
23571 | } | |
23572 | _ACEOF | |
23573 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23574 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23575 | (eval $ac_link) 2>&5 | |
23576 | ac_status=$? | |
23577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23578 | (exit $ac_status); } && | |
23579 | { ac_try='test -s conftest$ac_exeext' | |
23580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23581 | (eval $ac_try) 2>&5 | |
23582 | ac_status=$? | |
23583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23584 | (exit $ac_status); }; }; then | |
23585 | ac_cv_func_remove=yes | |
23586 | else | |
23587 | echo "$as_me: failed program was:" >&5 | |
23588 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23589 | ||
23590 | ac_cv_func_remove=no | |
23591 | fi | |
23592 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23593 | fi | |
23594 | echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 | |
23595 | echo "${ECHO_T}$ac_cv_func_remove" >&6 | |
90dd450c | 23596 | |
21d1c967 | 23597 | if test $ac_cv_func_remove = no; then |
e6cc62c6 VS |
23598 | echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
23599 | echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 | |
23600 | if test "${ac_cv_lib_posix_remove+set}" = set; then | |
23601 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21d1c967 | 23602 | else |
e6cc62c6 | 23603 | ac_check_lib_save_LIBS=$LIBS |
21d1c967 | 23604 | LIBS="-lposix $LIBS" |
e6cc62c6 VS |
23605 | cat >conftest.$ac_ext <<_ACEOF |
23606 | #line $LINENO "configure" | |
23607 | /* confdefs.h. */ | |
23608 | _ACEOF | |
23609 | cat confdefs.h >>conftest.$ac_ext | |
23610 | cat >>conftest.$ac_ext <<_ACEOF | |
23611 | /* end confdefs.h. */ | |
23612 | ||
21d1c967 | 23613 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23614 | #ifdef __cplusplus |
23615 | extern "C" | |
23616 | #endif | |
21d1c967 | 23617 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23618 | builtin and then its argument prototype would still apply. */ |
23619 | char remove (); | |
23620 | int | |
23621 | main () | |
23622 | { | |
23623 | remove (); | |
23624 | ; | |
23625 | return 0; | |
23626 | } | |
23627 | _ACEOF | |
23628 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23629 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23630 | (eval $ac_link) 2>&5 | |
23631 | ac_status=$? | |
23632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23633 | (exit $ac_status); } && | |
23634 | { ac_try='test -s conftest$ac_exeext' | |
23635 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23636 | (eval $ac_try) 2>&5 | |
23637 | ac_status=$? | |
23638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23639 | (exit $ac_status); }; }; then | |
23640 | ac_cv_lib_posix_remove=yes | |
23641 | else | |
23642 | echo "$as_me: failed program was:" >&5 | |
23643 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23644 | ||
23645 | ac_cv_lib_posix_remove=no | |
23646 | fi | |
23647 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23648 | LIBS=$ac_check_lib_save_LIBS | |
23649 | fi | |
23650 | echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 | |
23651 | echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 | |
23652 | if test $ac_cv_lib_posix_remove = yes; then | |
21d1c967 | 23653 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
21d1c967 | 23654 | fi |
19bc6aad | 23655 | |
90dd450c | 23656 | fi |
19bc6aad | 23657 | |
21d1c967 | 23658 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
e6cc62c6 VS |
23659 | echo "$as_me:$LINENO: checking for shmat" >&5 |
23660 | echo $ECHO_N "checking for shmat... $ECHO_C" >&6 | |
23661 | if test "${ac_cv_func_shmat+set}" = set; then | |
23662 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
23663 | else | |
23664 | cat >conftest.$ac_ext <<_ACEOF | |
23665 | #line $LINENO "configure" | |
23666 | /* confdefs.h. */ | |
23667 | _ACEOF | |
23668 | cat confdefs.h >>conftest.$ac_ext | |
23669 | cat >>conftest.$ac_ext <<_ACEOF | |
23670 | /* end confdefs.h. */ | |
21d1c967 | 23671 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
23672 | which can conflict with char shmat (); below. |
23673 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
23674 | <limits.h> exists even on freestanding compilers. */ | |
23675 | #ifdef __STDC__ | |
23676 | # include <limits.h> | |
23677 | #else | |
23678 | # include <assert.h> | |
23679 | #endif | |
21d1c967 | 23680 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23681 | #ifdef __cplusplus |
23682 | extern "C" | |
23683 | { | |
23684 | #endif | |
21d1c967 | 23685 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23686 | builtin and then its argument prototype would still apply. */ |
23687 | char shmat (); | |
21d1c967 GD |
23688 | /* The GNU C library defines this for functions which it implements |
23689 | to always fail with ENOSYS. Some functions are actually named | |
23690 | something starting with __ and the normal name is an alias. */ | |
23691 | #if defined (__stub_shmat) || defined (__stub___shmat) | |
23692 | choke me | |
23693 | #else | |
e6cc62c6 VS |
23694 | char (*f) () = shmat; |
23695 | #endif | |
23696 | #ifdef __cplusplus | |
23697 | } | |
21d1c967 | 23698 | #endif |
90dd450c | 23699 | |
e6cc62c6 VS |
23700 | int |
23701 | main () | |
23702 | { | |
23703 | return f != shmat; | |
23704 | ; | |
23705 | return 0; | |
23706 | } | |
23707 | _ACEOF | |
23708 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23709 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23710 | (eval $ac_link) 2>&5 | |
23711 | ac_status=$? | |
23712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23713 | (exit $ac_status); } && | |
23714 | { ac_try='test -s conftest$ac_exeext' | |
23715 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23716 | (eval $ac_try) 2>&5 | |
23717 | ac_status=$? | |
23718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23719 | (exit $ac_status); }; }; then | |
23720 | ac_cv_func_shmat=yes | |
23721 | else | |
23722 | echo "$as_me: failed program was:" >&5 | |
23723 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23724 | ||
23725 | ac_cv_func_shmat=no | |
23726 | fi | |
23727 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23728 | fi | |
23729 | echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 | |
23730 | echo "${ECHO_T}$ac_cv_func_shmat" >&6 | |
19bc6aad | 23731 | |
21d1c967 | 23732 | if test $ac_cv_func_shmat = no; then |
e6cc62c6 VS |
23733 | echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
23734 | echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 | |
23735 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then | |
23736 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5c6fa7d2 | 23737 | else |
e6cc62c6 | 23738 | ac_check_lib_save_LIBS=$LIBS |
5c6fa7d2 | 23739 | LIBS="-lipc $LIBS" |
e6cc62c6 VS |
23740 | cat >conftest.$ac_ext <<_ACEOF |
23741 | #line $LINENO "configure" | |
23742 | /* confdefs.h. */ | |
23743 | _ACEOF | |
23744 | cat confdefs.h >>conftest.$ac_ext | |
23745 | cat >>conftest.$ac_ext <<_ACEOF | |
23746 | /* end confdefs.h. */ | |
23747 | ||
5c6fa7d2 | 23748 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23749 | #ifdef __cplusplus |
23750 | extern "C" | |
23751 | #endif | |
5c6fa7d2 | 23752 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23753 | builtin and then its argument prototype would still apply. */ |
23754 | char shmat (); | |
23755 | int | |
23756 | main () | |
23757 | { | |
23758 | shmat (); | |
23759 | ; | |
23760 | return 0; | |
23761 | } | |
23762 | _ACEOF | |
23763 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23764 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23765 | (eval $ac_link) 2>&5 | |
23766 | ac_status=$? | |
23767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23768 | (exit $ac_status); } && | |
23769 | { ac_try='test -s conftest$ac_exeext' | |
23770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23771 | (eval $ac_try) 2>&5 | |
23772 | ac_status=$? | |
23773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23774 | (exit $ac_status); }; }; then | |
23775 | ac_cv_lib_ipc_shmat=yes | |
23776 | else | |
23777 | echo "$as_me: failed program was:" >&5 | |
23778 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23779 | ||
23780 | ac_cv_lib_ipc_shmat=no | |
23781 | fi | |
23782 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23783 | LIBS=$ac_check_lib_save_LIBS | |
23784 | fi | |
23785 | echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 | |
23786 | echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 | |
23787 | if test $ac_cv_lib_ipc_shmat = yes; then | |
21d1c967 | 23788 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
9f8148b1 | 23789 | fi |
90dd450c | 23790 | |
90dd450c | 23791 | fi |
21d1c967 | 23792 | fi |
10f2d63a | 23793 | |
21d1c967 | 23794 | # Check for libraries that X11R6 Xt/Xaw programs need. |
e6cc62c6 | 23795 | ac_save_LDFLAGS=$LDFLAGS |
21d1c967 GD |
23796 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
23797 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to | |
23798 | # check for ICE first), but we must link in the order -lSM -lICE or | |
23799 | # we get undefined symbols. So assume we have SM if we have ICE. | |
23800 | # These have to be linked with before -lX11, unlike the other | |
23801 | # libraries we check for below, so use a different variable. | |
e6cc62c6 VS |
23802 | # John Interrante, Karl Berry |
23803 | echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 | |
23804 | echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 | |
23805 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then | |
23806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
23807 | else | |
23808 | ac_check_lib_save_LIBS=$LIBS | |
f09359cf | 23809 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
e6cc62c6 VS |
23810 | cat >conftest.$ac_ext <<_ACEOF |
23811 | #line $LINENO "configure" | |
23812 | /* confdefs.h. */ | |
23813 | _ACEOF | |
23814 | cat confdefs.h >>conftest.$ac_ext | |
23815 | cat >>conftest.$ac_ext <<_ACEOF | |
23816 | /* end confdefs.h. */ | |
23817 | ||
21d1c967 | 23818 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
23819 | #ifdef __cplusplus |
23820 | extern "C" | |
23821 | #endif | |
21d1c967 | 23822 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
23823 | builtin and then its argument prototype would still apply. */ |
23824 | char IceConnectionNumber (); | |
23825 | int | |
23826 | main () | |
23827 | { | |
23828 | IceConnectionNumber (); | |
23829 | ; | |
23830 | return 0; | |
23831 | } | |
23832 | _ACEOF | |
23833 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23834 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
23835 | (eval $ac_link) 2>&5 | |
23836 | ac_status=$? | |
23837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23838 | (exit $ac_status); } && | |
23839 | { ac_try='test -s conftest$ac_exeext' | |
23840 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23841 | (eval $ac_try) 2>&5 | |
23842 | ac_status=$? | |
23843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23844 | (exit $ac_status); }; }; then | |
23845 | ac_cv_lib_ICE_IceConnectionNumber=yes | |
23846 | else | |
23847 | echo "$as_me: failed program was:" >&5 | |
23848 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23849 | ||
23850 | ac_cv_lib_ICE_IceConnectionNumber=no | |
23851 | fi | |
23852 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
23853 | LIBS=$ac_check_lib_save_LIBS | |
23854 | fi | |
23855 | echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 | |
23856 | echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 | |
23857 | if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then | |
21d1c967 | 23858 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
29fd3c0c | 23859 | fi |
21d1c967 | 23860 | |
e6cc62c6 | 23861 | LDFLAGS=$ac_save_LDFLAGS |
29fd3c0c | 23862 | |
10f2d63a VZ |
23863 | fi |
23864 | ||
8284b0c5 | 23865 | |
21d1c967 | 23866 | if test "$no_x" = "yes"; then |
e6cc62c6 VS |
23867 | { { echo "$as_me:$LINENO: error: X11 not found" >&5 |
23868 | echo "$as_me: error: X11 not found" >&2;} | |
23869 | { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; } | |
21d1c967 GD |
23870 | fi |
23871 | ||
2b5f62a0 VZ |
23872 | GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'` |
23873 | TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'` | |
21d1c967 GD |
23874 | AFMINSTALL=afminstall |
23875 | COMPILED_X_PROGRAM=0 | |
23876 | ||
e6cc62c6 VS |
23877 | echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5 |
23878 | echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6 | |
23879 | ||
21d1c967 | 23880 | ac_find_includes= |
2b5f62a0 | 23881 | for ac_dir in $SEARCH_INCLUDE /usr/include; |
21d1c967 GD |
23882 | do |
23883 | if test -f "$ac_dir/Xm/Xm.h"; then | |
23884 | ac_find_includes=$ac_dir | |
23885 | break | |
23886 | fi | |
23887 | done | |
23888 | ||
23889 | if test "$ac_find_includes" != "" ; then | |
e6cc62c6 VS |
23890 | echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5 |
23891 | echo "${ECHO_T}found in $ac_find_includes" >&6 | |
23892 | ||
2b5f62a0 | 23893 | if test "x$ac_find_includes" = "x/usr/include"; then |
dd0e4a90 VZ |
23894 | ac_path_to_include="" |
23895 | else | |
2b5f62a0 VZ |
23896 | echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null |
23897 | result=$? | |
23898 | if test $result = 0; then | |
23899 | ac_path_to_include="" | |
23900 | else | |
23901 | ac_path_to_include=" -I$ac_find_includes" | |
23902 | fi | |
dd0e4a90 VZ |
23903 | fi |
23904 | ||
23905 | TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include" | |
21d1c967 | 23906 | else |
e6cc62c6 VS |
23907 | cat >conftest.$ac_ext <<_ACEOF |
23908 | #line $LINENO "configure" | |
23909 | /* confdefs.h. */ | |
23910 | _ACEOF | |
23911 | cat confdefs.h >>conftest.$ac_ext | |
23912 | cat >>conftest.$ac_ext <<_ACEOF | |
23913 | /* end confdefs.h. */ | |
21d1c967 GD |
23914 | |
23915 | #include <Xm/Xm.h> | |
e6cc62c6 VS |
23916 | |
23917 | int | |
23918 | main () | |
23919 | { | |
21d1c967 GD |
23920 | |
23921 | int version; | |
23922 | version = xmUseVersion; | |
e6cc62c6 VS |
23923 | |
23924 | ; | |
23925 | return 0; | |
23926 | } | |
23927 | _ACEOF | |
23928 | rm -f conftest.$ac_objext | |
23929 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
23930 | (eval $ac_compile) 2>&5 | |
23931 | ac_status=$? | |
23932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23933 | (exit $ac_status); } && | |
23934 | { ac_try='test -s conftest.$ac_objext' | |
23935 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
23936 | (eval $ac_try) 2>&5 | |
23937 | ac_status=$? | |
23938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23939 | (exit $ac_status); }; }; then | |
23940 | ||
23941 | echo "$as_me:$LINENO: result: found in default search path" >&5 | |
23942 | echo "${ECHO_T}found in default search path" >&6 | |
21d1c967 | 23943 | COMPILED_X_PROGRAM=1 |
e6cc62c6 | 23944 | |
10f2d63a | 23945 | else |
e6cc62c6 VS |
23946 | echo "$as_me: failed program was:" >&5 |
23947 | sed 's/^/| /' conftest.$ac_ext >&5 | |
23948 | ||
23949 | ||
23950 | echo "$as_me:$LINENO: result: no" >&5 | |
23951 | echo "${ECHO_T}no" >&6 | |
23952 | { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5 | |
23953 | echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;} | |
23954 | { (exit 1); exit 1; }; } | |
23955 | ||
23956 | ||
10f2d63a | 23957 | fi |
e6cc62c6 | 23958 | rm -f conftest.$ac_objext conftest.$ac_ext |
21d1c967 | 23959 | fi |
10f2d63a | 23960 | |
21d1c967 | 23961 | if test "$COMPILED_X_PROGRAM" = 0; then |
e6cc62c6 VS |
23962 | echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5 |
23963 | echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6 | |
23964 | ||
21d1c967 | 23965 | ac_find_libraries= |
2b5f62a0 | 23966 | for ac_dir in $SEARCH_LIB /usr/lib; |
21d1c967 GD |
23967 | do |
23968 | for ac_extension in a so sl dylib; do | |
23969 | if test -f "$ac_dir/libXm.$ac_extension"; then | |
23970 | ac_find_libraries=$ac_dir | |
23971 | break 2 | |
23972 | fi | |
23973 | done | |
23974 | done | |
23975 | ||
23976 | if test "$ac_find_libraries" != "" ; then | |
e6cc62c6 VS |
23977 | echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5 |
23978 | echo "${ECHO_T}found at $ac_find_libraries" >&6 | |
23979 | ||
21d1c967 | 23980 | |
21d1c967 GD |
23981 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null |
23982 | result=$? | |
23983 | if test $result = 0; then | |
23984 | ac_path_to_link="" | |
23985 | else | |
23986 | ac_path_to_link=" -L$ac_find_libraries" | |
23987 | fi | |
23988 | ||
21d1c967 | 23989 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link" |
21d1c967 | 23990 | else |
dd0e4a90 VZ |
23991 | save_CFLAGS=$CFLAGS |
23992 | CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" | |
23993 | ||
e6cc62c6 VS |
23994 | cat >conftest.$ac_ext <<_ACEOF |
23995 | #line $LINENO "configure" | |
23996 | /* confdefs.h. */ | |
23997 | _ACEOF | |
23998 | cat confdefs.h >>conftest.$ac_ext | |
23999 | cat >>conftest.$ac_ext <<_ACEOF | |
24000 | /* end confdefs.h. */ | |
21d1c967 GD |
24001 | |
24002 | #include <Xm/Xm.h> | |
e6cc62c6 VS |
24003 | |
24004 | int | |
24005 | main () | |
24006 | { | |
21d1c967 GD |
24007 | |
24008 | int version; | |
24009 | version = xmUseVersion; | |
e6cc62c6 VS |
24010 | |
24011 | ; | |
24012 | return 0; | |
24013 | } | |
24014 | _ACEOF | |
24015 | rm -f conftest.$ac_objext | |
24016 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
24017 | (eval $ac_compile) 2>&5 | |
24018 | ac_status=$? | |
24019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24020 | (exit $ac_status); } && | |
24021 | { ac_try='test -s conftest.$ac_objext' | |
24022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24023 | (eval $ac_try) 2>&5 | |
24024 | ac_status=$? | |
24025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24026 | (exit $ac_status); }; }; then | |
24027 | ||
24028 | echo "$as_me:$LINENO: result: found in default search path" >&5 | |
24029 | echo "${ECHO_T}found in default search path" >&6 | |
21d1c967 | 24030 | COMPILED_X_PROGRAM=1 |
e6cc62c6 | 24031 | |
d836ee96 | 24032 | else |
e6cc62c6 VS |
24033 | echo "$as_me: failed program was:" >&5 |
24034 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24035 | ||
24036 | ||
24037 | echo "$as_me:$LINENO: result: no" >&5 | |
24038 | echo "${ECHO_T}no" >&6 | |
24039 | { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5 | |
24040 | echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;} | |
24041 | { (exit 1); exit 1; }; } | |
24042 | ||
24043 | ||
d836ee96 | 24044 | fi |
e6cc62c6 | 24045 | rm -f conftest.$ac_objext conftest.$ac_ext |
dd0e4a90 VZ |
24046 | |
24047 | CFLAGS=$save_CFLAGS | |
21d1c967 GD |
24048 | fi |
24049 | fi | |
24050 | ||
24051 | xpm_link= | |
e6cc62c6 VS |
24052 | echo "$as_me:$LINENO: checking for Xpm library" >&5 |
24053 | echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6 | |
24054 | ||
21d1c967 | 24055 | ac_find_libraries= |
2b5f62a0 | 24056 | for ac_dir in $SEARCH_LIB /usr/lib; |
21d1c967 GD |
24057 | do |
24058 | for ac_extension in a so sl dylib; do | |
24059 | if test -f "$ac_dir/libXpm.$ac_extension"; then | |
24060 | ac_find_libraries=$ac_dir | |
24061 | break 2 | |
24062 | fi | |
24063 | done | |
24064 | done | |
24065 | ||
24066 | if test "$ac_find_libraries" != "" ; then | |
e6cc62c6 | 24067 | |
21d1c967 GD |
24068 | echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null |
24069 | result=$? | |
24070 | if test $result = 0; then | |
24071 | ac_path_to_link="" | |
24072 | else | |
24073 | ac_path_to_link=" -L$ac_find_libraries" | |
24074 | fi | |
24075 | ||
24076 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link" | |
dd0e4a90 | 24077 | |
21d1c967 | 24078 | xpm_link=" -lXpm" |
e6cc62c6 | 24079 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 24080 | #define wxHAVE_LIB_XPM 1 |
e6cc62c6 | 24081 | _ACEOF |
90dd450c | 24082 | |
e6cc62c6 VS |
24083 | echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5 |
24084 | echo "${ECHO_T}found at $ac_find_libraries" >&6 | |
21d1c967 | 24085 | else |
dd0e4a90 VZ |
24086 | save_CFLAGS=$CFLAGS |
24087 | CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" | |
24088 | ||
e6cc62c6 VS |
24089 | cat >conftest.$ac_ext <<_ACEOF |
24090 | #line $LINENO "configure" | |
24091 | /* confdefs.h. */ | |
24092 | _ACEOF | |
24093 | cat confdefs.h >>conftest.$ac_ext | |
24094 | cat >>conftest.$ac_ext <<_ACEOF | |
24095 | /* end confdefs.h. */ | |
21d1c967 GD |
24096 | |
24097 | #include <X11/xpm.h> | |
e6cc62c6 VS |
24098 | |
24099 | int | |
24100 | main () | |
24101 | { | |
21d1c967 GD |
24102 | |
24103 | int version; | |
24104 | version = XpmLibraryVersion(); | |
e6cc62c6 VS |
24105 | |
24106 | ; | |
24107 | return 0; | |
24108 | } | |
24109 | _ACEOF | |
24110 | rm -f conftest.$ac_objext | |
24111 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
24112 | (eval $ac_compile) 2>&5 | |
24113 | ac_status=$? | |
24114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24115 | (exit $ac_status); } && | |
24116 | { ac_try='test -s conftest.$ac_objext' | |
24117 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24118 | (eval $ac_try) 2>&5 | |
24119 | ac_status=$? | |
24120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24121 | (exit $ac_status); }; }; then | |
24122 | ||
21d1c967 | 24123 | xpm_link=" -lXpm" |
e6cc62c6 | 24124 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 24125 | #define wxHAVE_LIB_XPM 1 |
e6cc62c6 | 24126 | _ACEOF |
21d1c967 | 24127 | |
e6cc62c6 VS |
24128 | echo "$as_me:$LINENO: result: found in default search path" >&5 |
24129 | echo "${ECHO_T}found in default search path" >&6 | |
21d1c967 | 24130 | COMPILED_X_PROGRAM=0 |
e6cc62c6 | 24131 | |
d836ee96 | 24132 | else |
e6cc62c6 VS |
24133 | echo "$as_me: failed program was:" >&5 |
24134 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24135 | ||
24136 | ||
24137 | echo "$as_me:$LINENO: result: no" >&5 | |
24138 | echo "${ECHO_T}no" >&6 | |
24139 | { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5 | |
24140 | echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;} | |
24141 | ||
24142 | ||
d836ee96 | 24143 | fi |
e6cc62c6 | 24144 | rm -f conftest.$ac_objext conftest.$ac_ext |
dd0e4a90 VZ |
24145 | |
24146 | CFLAGS=$save_CFLAGS | |
21d1c967 GD |
24147 | fi |
24148 | ||
e6cc62c6 VS |
24149 | echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5 |
24150 | echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6 | |
6a30f1c8 MB |
24151 | libp_link="" |
24152 | libsm_ice_link="" | |
24153 | libs_found=0 | |
24154 | for libp in "" " -lXp"; do | |
24155 | if test "$libs_found" = "0"; then | |
7015ef3a | 24156 | for libsm_ice in "" " -lSM -lICE"; do |
e26c13cf | 24157 | if test "$libs_found" = "0"; then |
6a30f1c8 MB |
24158 | save_LIBS="$LIBS" |
24159 | LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11" | |
dd0e4a90 VZ |
24160 | save_CFLAGS=$CFLAGS |
24161 | CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" | |
24162 | ||
e6cc62c6 VS |
24163 | cat >conftest.$ac_ext <<_ACEOF |
24164 | #line $LINENO "configure" | |
24165 | /* confdefs.h. */ | |
24166 | _ACEOF | |
24167 | cat confdefs.h >>conftest.$ac_ext | |
24168 | cat >>conftest.$ac_ext <<_ACEOF | |
24169 | /* end confdefs.h. */ | |
17234b26 | 24170 | |
6a30f1c8 MB |
24171 | #include <Xm/Xm.h> |
24172 | #include <Xm/List.h> | |
e6cc62c6 VS |
24173 | |
24174 | int | |
24175 | main () | |
24176 | { | |
6a30f1c8 MB |
24177 | |
24178 | XmString string = NULL; | |
24179 | Widget w = NULL; | |
24180 | int position = 0; | |
24181 | XmListAddItem(w, string, position); | |
e6cc62c6 VS |
24182 | |
24183 | ; | |
24184 | return 0; | |
24185 | } | |
24186 | _ACEOF | |
24187 | rm -f conftest.$ac_objext conftest$ac_exeext | |
24188 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
24189 | (eval $ac_link) 2>&5 | |
24190 | ac_status=$? | |
24191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24192 | (exit $ac_status); } && | |
24193 | { ac_try='test -s conftest$ac_exeext' | |
24194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24195 | (eval $ac_try) 2>&5 | |
24196 | ac_status=$? | |
24197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24198 | (exit $ac_status); }; }; then | |
24199 | ||
6a30f1c8 MB |
24200 | libp_link="$libp" |
24201 | libsm_ice_link="$libsm_ice" | |
e6cc62c6 VS |
24202 | echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5 |
24203 | echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6 | |
6a30f1c8 | 24204 | libs_found=1 |
e6cc62c6 | 24205 | |
6a30f1c8 | 24206 | else |
e6cc62c6 VS |
24207 | echo "$as_me: failed program was:" >&5 |
24208 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24209 | ||
24210 | ||
24211 | ||
6a30f1c8 | 24212 | fi |
e6cc62c6 | 24213 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
dd0e4a90 | 24214 | |
6a30f1c8 | 24215 | LIBS="$save_LIBS" |
dd0e4a90 | 24216 | CFLAGS=$save_CFLAGS |
6a30f1c8 MB |
24217 | fi |
24218 | done | |
24219 | fi | |
24220 | done | |
24221 | ||
24222 | if test "$libs_found" = "0"; then | |
e6cc62c6 VS |
24223 | echo "$as_me:$LINENO: result: can't find the right libraries" >&5 |
24224 | echo "${ECHO_T}can't find the right libraries" >&6 | |
24225 | { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5 | |
24226 | echo "$as_me: error: can't link a simple motif program" >&2;} | |
24227 | { (exit 1); exit 1; }; } | |
6a30f1c8 MB |
24228 | fi |
24229 | ||
da494b40 MB |
24230 | save_CFLAGS=$CFLAGS |
24231 | CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" | |
e6cc62c6 VS |
24232 | echo "$as_me:$LINENO: checking for Motif 2" >&5 |
24233 | echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6 | |
24234 | cat >conftest.$ac_ext <<_ACEOF | |
24235 | #line $LINENO "configure" | |
24236 | /* confdefs.h. */ | |
24237 | _ACEOF | |
24238 | cat confdefs.h >>conftest.$ac_ext | |
24239 | cat >>conftest.$ac_ext <<_ACEOF | |
24240 | /* end confdefs.h. */ | |
da494b40 MB |
24241 | |
24242 | #include <Xm/Xm.h> | |
e6cc62c6 VS |
24243 | |
24244 | int | |
24245 | main () | |
24246 | { | |
da494b40 MB |
24247 | |
24248 | #if XmVersion < 2000 | |
24249 | #error "Not Motif 2" | |
24250 | #endif | |
e6cc62c6 VS |
24251 | |
24252 | ; | |
24253 | return 0; | |
24254 | } | |
24255 | _ACEOF | |
24256 | rm -f conftest.$ac_objext | |
24257 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
24258 | (eval $ac_compile) 2>&5 | |
24259 | ac_status=$? | |
24260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24261 | (exit $ac_status); } && | |
24262 | { ac_try='test -s conftest.$ac_objext' | |
24263 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24264 | (eval $ac_try) 2>&5 | |
24265 | ac_status=$? | |
24266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24267 | (exit $ac_status); }; }; then | |
24268 | ||
24269 | cat >>confdefs.h <<\_ACEOF | |
da494b40 | 24270 | #define __WXMOTIF20__ 1 |
e6cc62c6 VS |
24271 | _ACEOF |
24272 | ||
24273 | echo "$as_me:$LINENO: result: found" >&5 | |
24274 | echo "${ECHO_T}found" >&6 | |
da494b40 | 24275 | |
da494b40 | 24276 | else |
e6cc62c6 VS |
24277 | echo "$as_me: failed program was:" >&5 |
24278 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24279 | ||
24280 | ||
24281 | cat >>confdefs.h <<\_ACEOF | |
da494b40 | 24282 | #define __WXMOTIF20__ 0 |
e6cc62c6 VS |
24283 | _ACEOF |
24284 | ||
24285 | echo "$as_me:$LINENO: result: not found" >&5 | |
24286 | echo "${ECHO_T}not found" >&6 | |
da494b40 | 24287 | |
da494b40 | 24288 | fi |
e6cc62c6 | 24289 | rm -f conftest.$ac_objext conftest.$ac_ext |
da494b40 MB |
24290 | CFLAGS=$save_CFLAGS |
24291 | ||
6a30f1c8 | 24292 | GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11" |
69c44812 | 24293 | TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11" |
21d1c967 GD |
24294 | TOOLKIT=MOTIF |
24295 | GUIDIST=MOTIF_DIST | |
f7f78039 MB |
24296 | wxHAVE_XEXT_LIB=1 |
24297 | fi | |
24298 | ||
24299 | if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 && | |
24300 | test "$wxHAVE_XEXT_LIB" = 1; then | |
24301 | save_CFLAGS="$CFLAGS" | |
24302 | CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" | |
24303 | ||
e6cc62c6 VS |
24304 | echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5 |
24305 | echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6 | |
24306 | cat >conftest.$ac_ext <<_ACEOF | |
24307 | #line $LINENO "configure" | |
24308 | /* confdefs.h. */ | |
24309 | _ACEOF | |
24310 | cat confdefs.h >>conftest.$ac_ext | |
24311 | cat >>conftest.$ac_ext <<_ACEOF | |
24312 | /* end confdefs.h. */ | |
24313 | ||
24314 | #include <X11/Xlib.h> | |
f7f78039 | 24315 | #include <X11/extensions/shape.h> |
e6cc62c6 VS |
24316 | |
24317 | int | |
24318 | main () | |
24319 | { | |
f7f78039 MB |
24320 | |
24321 | int dummy1, dummy2; | |
24322 | XShapeQueryExtension((Display*)NULL, | |
24323 | (int*)NULL, (int*)NULL); | |
e6cc62c6 VS |
24324 | |
24325 | ; | |
24326 | return 0; | |
24327 | } | |
24328 | _ACEOF | |
24329 | rm -f conftest.$ac_objext | |
24330 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
24331 | (eval $ac_compile) 2>&5 | |
24332 | ac_status=$? | |
24333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24334 | (exit $ac_status); } && | |
24335 | { ac_try='test -s conftest.$ac_objext' | |
24336 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24337 | (eval $ac_try) 2>&5 | |
24338 | ac_status=$? | |
24339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24340 | (exit $ac_status); }; }; then | |
24341 | ||
24342 | cat >>confdefs.h <<\_ACEOF | |
f7f78039 | 24343 | #define HAVE_XSHAPE 1 |
e6cc62c6 VS |
24344 | _ACEOF |
24345 | ||
24346 | echo "$as_me:$LINENO: result: found" >&5 | |
24347 | echo "${ECHO_T}found" >&6 | |
f7f78039 | 24348 | |
f7f78039 | 24349 | else |
e6cc62c6 VS |
24350 | echo "$as_me: failed program was:" >&5 |
24351 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24352 | ||
24353 | ||
24354 | echo "$as_me:$LINENO: result: not found" >&5 | |
24355 | echo "${ECHO_T}not found" >&6 | |
24356 | ||
f7f78039 | 24357 | fi |
e6cc62c6 | 24358 | rm -f conftest.$ac_objext conftest.$ac_ext |
f7f78039 | 24359 | CFLAGS="$save_CFLAGS" |
21d1c967 GD |
24360 | fi |
24361 | ||
24362 | if test "$wxUSE_MAC" = 1; then | |
8e91c6f3 VZ |
24363 | echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5 |
24364 | echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6 | |
24365 | if test "$GCC" = yes; then | |
24366 | echo "$as_me:$LINENO: result: gcc" >&5 | |
24367 | echo "${ECHO_T}gcc" >&6 | |
24368 | CPPFLAGS_PASCAL="-fpascal-strings" | |
24369 | elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then | |
24370 | echo "$as_me:$LINENO: result: xlc" >&5 | |
24371 | echo "${ECHO_T}xlc" >&6 | |
24372 | CPPFLAGS_PASCAL="-qmacpstr" | |
24373 | else | |
24374 | echo "$as_me:$LINENO: result: none" >&5 | |
24375 | echo "${ECHO_T}none" >&6 | |
24376 | fi | |
24377 | ||
24378 | CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon" | |
21d1c967 | 24379 | |
0c98a14e | 24380 | TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex" |
21d1c967 GD |
24381 | TOOLKIT=MAC |
24382 | GUIDIST=MACX_DIST | |
cf615ebb | 24383 | WXBASEPORT="_carbon" |
21d1c967 GD |
24384 | fi |
24385 | ||
ac0c4cc3 DE |
24386 | if test "$wxUSE_COCOA" = 1; then |
24387 | TOOLKIT_VPATH="\${top_srcdir}/src/cocoa" | |
24388 | TOOLKIT=COCOA | |
24389 | GUIDIST=COCOA_DIST | |
24390 | fi | |
24391 | ||
21d1c967 GD |
24392 | if test "$wxUSE_PM" = 1; then |
24393 | TOOLKIT=PM | |
24394 | GUIDIST=GTK_DIST | |
24395 | fi | |
24396 | ||
24397 | if test "$TOOLKIT" = "PM" ; then | |
24398 | TOOLKIT_DIR="os2" | |
24399 | else | |
24400 | TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"` | |
24401 | fi | |
24402 | ||
24403 | PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst" | |
24404 | ||
24405 | if test "$wxUSE_UNIVERSAL" = "yes"; then | |
24406 | ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}" | |
24407 | ||
24408 | ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}" | |
24409 | ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}" | |
24410 | ||
24411 | PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst" | |
24412 | if test "$wxUSE_X11" = 1; then | |
24413 | TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes" | |
24414 | else | |
24415 | TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}" | |
24416 | fi | |
24417 | TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__" | |
24418 | WIDGET_SET=univ | |
24419 | else | |
24420 | ALL_OBJECTS="\$(GUIOBJS)" | |
24421 | ALL_SOURCES="\$(ALL_SOURCES)" | |
24422 | ALL_HEADERS="\$(ALL_HEADERS)" | |
24423 | fi | |
24424 | ||
24425 | ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)" | |
24426 | ||
24427 | if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then | |
24428 | ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)" | |
24429 | fi | |
24430 | ||
24431 | if test "$wxUSE_HTML" = "yes"; then | |
24432 | ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)" | |
24433 | fi | |
24434 | ||
24435 | if test "$wxUSE_LIBJPEG" = "builtin" ; then | |
24436 | ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)" | |
24437 | fi | |
24438 | if test "$wxUSE_LIBTIFF" = "builtin" ; then | |
24439 | ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)" | |
24440 | fi | |
24441 | if test "$wxUSE_LIBPNG" = "builtin" ; then | |
24442 | ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)" | |
24443 | fi | |
24444 | ||
24445 | GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST" | |
24446 | DISTDIR="wx\$(TOOLKIT)" | |
90dd450c | 24447 | else |
21d1c967 GD |
24448 | USE_GUI=0 |
24449 | ||
24450 | TOOLKIT_DIR="base" | |
24451 | ||
24452 | if test "$USE_WIN32" = 1 ; then | |
24453 | ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}" | |
24454 | TOOLKIT_VPATH="\${top_srcdir}/src/msw" | |
24455 | ||
24456 | TOOLKIT="MSW" | |
24457 | else | |
24458 | ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}" | |
24459 | TOOLKIT_VPATH="\${top_srcdir}/src/unix" | |
24460 | fi | |
24461 | ||
24462 | ALL_SOURCES="\$(ALL_SOURCES)" | |
24463 | ALL_HEADERS="\$(ALL_HEADERS)" | |
24464 | ||
24465 | PORT_FILES="\${top_srcdir}/src/files.lst" | |
24466 | ||
24467 | GUIDIST="BASE_DIST" | |
24468 | DISTDIR="wxBase" | |
d836ee96 VZ |
24469 | fi |
24470 | ||
8284b0c5 | 24471 | |
8647bec6 RG |
24472 | |
24473 | ||
24474 | IODBC_C_SRC="" | |
24475 | ||
24476 | ||
24477 | if test "$TOOLKIT" != "MSW" ; then | |
24478 | ||
bb41dcbe | 24479 | if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then |
8647bec6 | 24480 | |
bb41dcbe | 24481 | if test "${ac_cv_header_sql_h+set}" = set; then |
e6cc62c6 VS |
24482 | echo "$as_me:$LINENO: checking for sql.h" >&5 |
24483 | echo $ECHO_N "checking for sql.h... $ECHO_C" >&6 | |
24484 | if test "${ac_cv_header_sql_h+set}" = set; then | |
24485 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
24486 | fi | |
24487 | echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5 | |
24488 | echo "${ECHO_T}$ac_cv_header_sql_h" >&6 | |
24489 | else | |
24490 | # Is the header compilable? | |
24491 | echo "$as_me:$LINENO: checking sql.h usability" >&5 | |
24492 | echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6 | |
24493 | cat >conftest.$ac_ext <<_ACEOF | |
24494 | #line $LINENO "configure" | |
24495 | /* confdefs.h. */ | |
24496 | _ACEOF | |
24497 | cat confdefs.h >>conftest.$ac_ext | |
24498 | cat >>conftest.$ac_ext <<_ACEOF | |
24499 | /* end confdefs.h. */ | |
24500 | $ac_includes_default | |
8647bec6 | 24501 | #include <sql.h> |
e6cc62c6 VS |
24502 | _ACEOF |
24503 | rm -f conftest.$ac_objext | |
24504 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
24505 | (eval $ac_compile) 2>&5 | |
24506 | ac_status=$? | |
24507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24508 | (exit $ac_status); } && | |
24509 | { ac_try='test -s conftest.$ac_objext' | |
24510 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24511 | (eval $ac_try) 2>&5 | |
24512 | ac_status=$? | |
24513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24514 | (exit $ac_status); }; }; then | |
24515 | ac_header_compiler=yes | |
24516 | else | |
24517 | echo "$as_me: failed program was:" >&5 | |
24518 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24519 | ||
24520 | ac_header_compiler=no | |
24521 | fi | |
24522 | rm -f conftest.$ac_objext conftest.$ac_ext | |
24523 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24524 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
24525 | ||
24526 | # Is the header present? | |
24527 | echo "$as_me:$LINENO: checking sql.h presence" >&5 | |
24528 | echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6 | |
24529 | cat >conftest.$ac_ext <<_ACEOF | |
24530 | #line $LINENO "configure" | |
24531 | /* confdefs.h. */ | |
24532 | _ACEOF | |
24533 | cat confdefs.h >>conftest.$ac_ext | |
24534 | cat >>conftest.$ac_ext <<_ACEOF | |
24535 | /* end confdefs.h. */ | |
24536 | #include <sql.h> | |
24537 | _ACEOF | |
24538 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
24539 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
24540 | ac_status=$? | |
24541 | grep -v '^ *+' conftest.er1 >conftest.err | |
24542 | rm -f conftest.er1 | |
24543 | cat conftest.err >&5 | |
24544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24545 | (exit $ac_status); } >/dev/null; then | |
24546 | if test -s conftest.err; then | |
24547 | ac_cpp_err=$ac_c_preproc_warn_flag | |
24548 | else | |
24549 | ac_cpp_err= | |
24550 | fi | |
24551 | else | |
24552 | ac_cpp_err=yes | |
24553 | fi | |
24554 | if test -z "$ac_cpp_err"; then | |
24555 | ac_header_preproc=yes | |
24556 | else | |
24557 | echo "$as_me: failed program was:" >&5 | |
24558 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24559 | ||
24560 | ac_header_preproc=no | |
24561 | fi | |
24562 | rm -f conftest.err conftest.$ac_ext | |
24563 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24564 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
24565 | ||
24566 | # So? What about this header? | |
24567 | case $ac_header_compiler:$ac_header_preproc in | |
24568 | yes:no ) | |
24569 | { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24570 | echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24571 | { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5 | |
24572 | echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;} | |
24573 | ( | |
24574 | cat <<\_ASBOX | |
24575 | ## ------------------------------------ ## | |
24576 | ## Report this to bug-autoconf@gnu.org. ## | |
24577 | ## ------------------------------------ ## | |
24578 | _ASBOX | |
24579 | ) | | |
24580 | sed "s/^/$as_me: WARNING: /" >&2 | |
24581 | ;; | |
24582 | no:yes ) | |
24583 | { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5 | |
24584 | echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;} | |
24585 | { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5 | |
24586 | echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;} | |
24587 | { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5 | |
24588 | echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;} | |
24589 | ( | |
24590 | cat <<\_ASBOX | |
24591 | ## ------------------------------------ ## | |
24592 | ## Report this to bug-autoconf@gnu.org. ## | |
24593 | ## ------------------------------------ ## | |
24594 | _ASBOX | |
24595 | ) | | |
24596 | sed "s/^/$as_me: WARNING: /" >&2 | |
24597 | ;; | |
24598 | esac | |
24599 | echo "$as_me:$LINENO: checking for sql.h" >&5 | |
24600 | echo $ECHO_N "checking for sql.h... $ECHO_C" >&6 | |
24601 | if test "${ac_cv_header_sql_h+set}" = set; then | |
24602 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8647bec6 | 24603 | else |
e6cc62c6 VS |
24604 | ac_cv_header_sql_h=$ac_header_preproc |
24605 | fi | |
24606 | echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5 | |
24607 | echo "${ECHO_T}$ac_cv_header_sql_h" >&6 | |
24608 | ||
bb41dcbe VS |
24609 | fi |
24610 | if test $ac_cv_header_sql_h = yes; then | |
24611 | found_sql_h=1 | |
8647bec6 RG |
24612 | fi |
24613 | ||
e6cc62c6 | 24614 | |
bb41dcbe | 24615 | if test "x$found_sql_h" = "x1" ; then |
e46d2a18 VS |
24616 | echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5 |
24617 | echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6 | |
24618 | if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then | |
e6cc62c6 | 24619 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8647bec6 | 24620 | else |
bb41dcbe | 24621 | ac_check_lib_save_LIBS=$LIBS |
e46d2a18 | 24622 | LIBS="-liodbc $LIBS" |
e6cc62c6 VS |
24623 | cat >conftest.$ac_ext <<_ACEOF |
24624 | #line $LINENO "configure" | |
24625 | /* confdefs.h. */ | |
24626 | _ACEOF | |
24627 | cat confdefs.h >>conftest.$ac_ext | |
24628 | cat >>conftest.$ac_ext <<_ACEOF | |
24629 | /* end confdefs.h. */ | |
24630 | ||
8647bec6 | 24631 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
24632 | #ifdef __cplusplus |
24633 | extern "C" | |
24634 | #endif | |
8647bec6 | 24635 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 | 24636 | builtin and then its argument prototype would still apply. */ |
e46d2a18 | 24637 | char SQLAllocEnv (); |
e6cc62c6 VS |
24638 | int |
24639 | main () | |
24640 | { | |
e46d2a18 | 24641 | SQLAllocEnv (); |
e6cc62c6 VS |
24642 | ; |
24643 | return 0; | |
24644 | } | |
24645 | _ACEOF | |
24646 | rm -f conftest.$ac_objext conftest$ac_exeext | |
24647 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
24648 | (eval $ac_link) 2>&5 | |
24649 | ac_status=$? | |
24650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24651 | (exit $ac_status); } && | |
24652 | { ac_try='test -s conftest$ac_exeext' | |
24653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24654 | (eval $ac_try) 2>&5 | |
24655 | ac_status=$? | |
24656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24657 | (exit $ac_status); }; }; then | |
e46d2a18 | 24658 | ac_cv_lib_iodbc_SQLAllocEnv=yes |
8647bec6 | 24659 | else |
e6cc62c6 VS |
24660 | echo "$as_me: failed program was:" >&5 |
24661 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24662 | ||
e46d2a18 | 24663 | ac_cv_lib_iodbc_SQLAllocEnv=no |
8647bec6 | 24664 | fi |
e6cc62c6 | 24665 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
bb41dcbe VS |
24666 | LIBS=$ac_check_lib_save_LIBS |
24667 | fi | |
e46d2a18 VS |
24668 | echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5 |
24669 | echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6 | |
24670 | if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then | |
bb41dcbe VS |
24671 | ODBC_LINK=" -liodbc" |
24672 | else | |
24673 | ||
e46d2a18 VS |
24674 | echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5 |
24675 | echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6 | |
24676 | if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then | |
bb41dcbe VS |
24677 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24678 | else | |
24679 | ac_check_lib_save_LIBS=$LIBS | |
e46d2a18 | 24680 | LIBS="-lunixodbc $LIBS" |
bb41dcbe | 24681 | cat >conftest.$ac_ext <<_ACEOF |
e6cc62c6 VS |
24682 | #line $LINENO "configure" |
24683 | /* confdefs.h. */ | |
24684 | _ACEOF | |
24685 | cat confdefs.h >>conftest.$ac_ext | |
24686 | cat >>conftest.$ac_ext <<_ACEOF | |
24687 | /* end confdefs.h. */ | |
24688 | ||
8647bec6 | 24689 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
24690 | #ifdef __cplusplus |
24691 | extern "C" | |
24692 | #endif | |
8647bec6 | 24693 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 | 24694 | builtin and then its argument prototype would still apply. */ |
e46d2a18 | 24695 | char SQLAllocEnv (); |
e6cc62c6 VS |
24696 | int |
24697 | main () | |
24698 | { | |
e46d2a18 | 24699 | SQLAllocEnv (); |
e6cc62c6 VS |
24700 | ; |
24701 | return 0; | |
24702 | } | |
24703 | _ACEOF | |
24704 | rm -f conftest.$ac_objext conftest$ac_exeext | |
24705 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
24706 | (eval $ac_link) 2>&5 | |
24707 | ac_status=$? | |
24708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24709 | (exit $ac_status); } && | |
24710 | { ac_try='test -s conftest$ac_exeext' | |
24711 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24712 | (eval $ac_try) 2>&5 | |
24713 | ac_status=$? | |
24714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24715 | (exit $ac_status); }; }; then | |
e46d2a18 | 24716 | ac_cv_lib_unixodbc_SQLAllocEnv=yes |
8647bec6 | 24717 | else |
e6cc62c6 VS |
24718 | echo "$as_me: failed program was:" >&5 |
24719 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24720 | ||
e46d2a18 | 24721 | ac_cv_lib_unixodbc_SQLAllocEnv=no |
8647bec6 | 24722 | fi |
e6cc62c6 | 24723 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
bb41dcbe | 24724 | LIBS=$ac_check_lib_save_LIBS |
e6cc62c6 | 24725 | fi |
e46d2a18 VS |
24726 | echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5 |
24727 | echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6 | |
24728 | if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then | |
bb41dcbe VS |
24729 | ODBC_LINK=" -lunixodbc" |
24730 | else | |
24731 | ||
e46d2a18 VS |
24732 | echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5 |
24733 | echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6 | |
24734 | if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then | |
bb41dcbe VS |
24735 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24736 | else | |
24737 | ac_check_lib_save_LIBS=$LIBS | |
e46d2a18 | 24738 | LIBS="-lodbc $LIBS" |
bb41dcbe VS |
24739 | cat >conftest.$ac_ext <<_ACEOF |
24740 | #line $LINENO "configure" | |
24741 | /* confdefs.h. */ | |
24742 | _ACEOF | |
24743 | cat confdefs.h >>conftest.$ac_ext | |
24744 | cat >>conftest.$ac_ext <<_ACEOF | |
24745 | /* end confdefs.h. */ | |
e6cc62c6 | 24746 | |
bb41dcbe VS |
24747 | /* Override any gcc2 internal prototype to avoid an error. */ |
24748 | #ifdef __cplusplus | |
24749 | extern "C" | |
24750 | #endif | |
24751 | /* We use char because int might match the return type of a gcc2 | |
24752 | builtin and then its argument prototype would still apply. */ | |
e46d2a18 | 24753 | char SQLAllocEnv (); |
bb41dcbe VS |
24754 | int |
24755 | main () | |
24756 | { | |
e46d2a18 | 24757 | SQLAllocEnv (); |
bb41dcbe VS |
24758 | ; |
24759 | return 0; | |
24760 | } | |
24761 | _ACEOF | |
24762 | rm -f conftest.$ac_objext conftest$ac_exeext | |
24763 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
24764 | (eval $ac_link) 2>&5 | |
24765 | ac_status=$? | |
24766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24767 | (exit $ac_status); } && | |
24768 | { ac_try='test -s conftest$ac_exeext' | |
24769 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24770 | (eval $ac_try) 2>&5 | |
24771 | ac_status=$? | |
24772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24773 | (exit $ac_status); }; }; then | |
e46d2a18 | 24774 | ac_cv_lib_odbc_SQLAllocEnv=yes |
e6cc62c6 | 24775 | else |
bb41dcbe VS |
24776 | echo "$as_me: failed program was:" >&5 |
24777 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24778 | ||
e46d2a18 | 24779 | ac_cv_lib_odbc_SQLAllocEnv=no |
bb41dcbe VS |
24780 | fi |
24781 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
24782 | LIBS=$ac_check_lib_save_LIBS | |
24783 | fi | |
e46d2a18 VS |
24784 | echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5 |
24785 | echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6 | |
24786 | if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then | |
bb41dcbe VS |
24787 | ODBC_LINK=" -lodbc" |
24788 | fi | |
24789 | ||
24790 | ||
24791 | fi | |
e6cc62c6 | 24792 | |
e6cc62c6 | 24793 | |
8647bec6 | 24794 | fi |
e6cc62c6 | 24795 | |
fd3d7534 | 24796 | fi |
bb41dcbe VS |
24797 | if test "x$ODBC_LINK" = "x" ; then |
24798 | if test "$wxUSE_ODBC" = "sys" ; then | |
24799 | { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5 | |
24800 | echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;} | |
24801 | { (exit 1); exit 1; }; } | |
24802 | else | |
24803 | { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5 | |
24804 | echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;} | |
24805 | wxUSE_ODBC=builtin | |
24806 | fi | |
24807 | else | |
24808 | wxUSE_ODBC=sys | |
8647bec6 | 24809 | fi |
8647bec6 | 24810 | fi |
bb41dcbe VS |
24811 | if test "$wxUSE_ODBC" != "no" ; then |
24812 | cat >>confdefs.h <<\_ACEOF | |
24813 | #define wxUSE_ODBC 1 | |
24814 | _ACEOF | |
e6cc62c6 | 24815 | |
0bdb08e7 VS |
24816 | if test "$wxUSE_ODBC" = "builtin" ; then |
24817 | cat >>confdefs.h <<\_ACEOF | |
24818 | #define wxUSE_BUILTIN_IODBC 1 | |
24819 | _ACEOF | |
24820 | ||
24821 | fi | |
bb41dcbe VS |
24822 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db" |
24823 | ||
24824 | WXODBCFLAG="-D_IODBC_" | |
24825 | fi | |
6232543b | 24826 | fi |
21d1c967 GD |
24827 | |
24828 | if test "$wxUSE_REGEX" = "builtin" ; then | |
24829 | ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)" | |
1e487827 | 24830 | fi |
21d1c967 GD |
24831 | if test "$wxUSE_ZLIB" = "builtin" ; then |
24832 | ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)" | |
bd3277fe VZ |
24833 | fi |
24834 | ||
8284b0c5 | 24835 | |
4d264332 | 24836 | USE_OPENGL=0 |
21d1c967 | 24837 | if test "$wxUSE_OPENGL" = "yes"; then |
ac0c4cc3 | 24838 | if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then |
21d1c967 GD |
24839 | OPENGL_LIBS="-framework OpenGL -framework AGL" |
24840 | elif test "$wxUSE_MSW" = 1; then | |
24841 | OPENGL_LIBS="-lopengl32 -lglu32" | |
24842 | else | |
01aa5863 VS |
24843 | |
24844 | ||
24845 | ac_find_includes= | |
24846 | for ac_dir in $SEARCH_INCLUDE /usr/include; | |
24847 | do | |
24848 | if test -f "$ac_dir/GL/gl.h"; then | |
24849 | ac_find_includes=$ac_dir | |
24850 | break | |
24851 | fi | |
24852 | done | |
24853 | ||
24854 | if test "$ac_find_includes" != "" ; then | |
24855 | echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5 | |
24856 | echo "${ECHO_T}found in $ac_find_includes" >&6 | |
01aa5863 VS |
24857 | |
24858 | if test "x$ac_find_includes" = "x/usr/include"; then | |
24859 | ac_path_to_include="" | |
24860 | else | |
24861 | echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null | |
24862 | result=$? | |
24863 | if test $result = 0; then | |
24864 | ac_path_to_include="" | |
24865 | else | |
24866 | ac_path_to_include=" -I$ac_find_includes" | |
24867 | fi | |
24868 | fi | |
24869 | ||
24870 | CPPFLAGS="$CPPFLAGS$ac_path_to_include" | |
01aa5863 VS |
24871 | fi |
24872 | ||
e6cc62c6 VS |
24873 | if test "${ac_cv_header_GL_gl_h+set}" = set; then |
24874 | echo "$as_me:$LINENO: checking for GL/gl.h" >&5 | |
24875 | echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6 | |
24876 | if test "${ac_cv_header_GL_gl_h+set}" = set; then | |
24877 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
24878 | fi | |
24879 | echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5 | |
24880 | echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6 | |
24881 | else | |
24882 | # Is the header compilable? | |
24883 | echo "$as_me:$LINENO: checking GL/gl.h usability" >&5 | |
24884 | echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6 | |
24885 | cat >conftest.$ac_ext <<_ACEOF | |
24886 | #line $LINENO "configure" | |
24887 | /* confdefs.h. */ | |
24888 | _ACEOF | |
24889 | cat confdefs.h >>conftest.$ac_ext | |
24890 | cat >>conftest.$ac_ext <<_ACEOF | |
24891 | /* end confdefs.h. */ | |
24892 | $ac_includes_default | |
21d1c967 | 24893 | #include <GL/gl.h> |
e6cc62c6 VS |
24894 | _ACEOF |
24895 | rm -f conftest.$ac_objext | |
24896 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
24897 | (eval $ac_compile) 2>&5 | |
24898 | ac_status=$? | |
24899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24900 | (exit $ac_status); } && | |
24901 | { ac_try='test -s conftest.$ac_objext' | |
24902 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
24903 | (eval $ac_try) 2>&5 | |
24904 | ac_status=$? | |
24905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24906 | (exit $ac_status); }; }; then | |
24907 | ac_header_compiler=yes | |
24908 | else | |
24909 | echo "$as_me: failed program was:" >&5 | |
24910 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24911 | ||
24912 | ac_header_compiler=no | |
24913 | fi | |
24914 | rm -f conftest.$ac_objext conftest.$ac_ext | |
24915 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24916 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
24917 | ||
24918 | # Is the header present? | |
24919 | echo "$as_me:$LINENO: checking GL/gl.h presence" >&5 | |
24920 | echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6 | |
24921 | cat >conftest.$ac_ext <<_ACEOF | |
24922 | #line $LINENO "configure" | |
24923 | /* confdefs.h. */ | |
24924 | _ACEOF | |
24925 | cat confdefs.h >>conftest.$ac_ext | |
24926 | cat >>conftest.$ac_ext <<_ACEOF | |
24927 | /* end confdefs.h. */ | |
24928 | #include <GL/gl.h> | |
24929 | _ACEOF | |
24930 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
24931 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
24932 | ac_status=$? | |
24933 | grep -v '^ *+' conftest.er1 >conftest.err | |
24934 | rm -f conftest.er1 | |
24935 | cat conftest.err >&5 | |
24936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24937 | (exit $ac_status); } >/dev/null; then | |
24938 | if test -s conftest.err; then | |
24939 | ac_cpp_err=$ac_c_preproc_warn_flag | |
24940 | else | |
24941 | ac_cpp_err= | |
24942 | fi | |
24943 | else | |
24944 | ac_cpp_err=yes | |
24945 | fi | |
24946 | if test -z "$ac_cpp_err"; then | |
24947 | ac_header_preproc=yes | |
24948 | else | |
24949 | echo "$as_me: failed program was:" >&5 | |
24950 | sed 's/^/| /' conftest.$ac_ext >&5 | |
24951 | ||
24952 | ac_header_preproc=no | |
24953 | fi | |
24954 | rm -f conftest.err conftest.$ac_ext | |
24955 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24956 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
24957 | ||
24958 | # So? What about this header? | |
24959 | case $ac_header_compiler:$ac_header_preproc in | |
24960 | yes:no ) | |
24961 | { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24962 | echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24963 | { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5 | |
24964 | echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;} | |
24965 | ( | |
24966 | cat <<\_ASBOX | |
24967 | ## ------------------------------------ ## | |
24968 | ## Report this to bug-autoconf@gnu.org. ## | |
24969 | ## ------------------------------------ ## | |
24970 | _ASBOX | |
24971 | ) | | |
24972 | sed "s/^/$as_me: WARNING: /" >&2 | |
24973 | ;; | |
24974 | no:yes ) | |
24975 | { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5 | |
24976 | echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;} | |
24977 | { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5 | |
24978 | echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;} | |
24979 | { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5 | |
24980 | echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;} | |
24981 | ( | |
24982 | cat <<\_ASBOX | |
24983 | ## ------------------------------------ ## | |
24984 | ## Report this to bug-autoconf@gnu.org. ## | |
24985 | ## ------------------------------------ ## | |
24986 | _ASBOX | |
24987 | ) | | |
24988 | sed "s/^/$as_me: WARNING: /" >&2 | |
24989 | ;; | |
24990 | esac | |
24991 | echo "$as_me:$LINENO: checking for GL/gl.h" >&5 | |
24992 | echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6 | |
24993 | if test "${ac_cv_header_GL_gl_h+set}" = set; then | |
24994 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
24995 | else | |
24996 | ac_cv_header_GL_gl_h=$ac_header_preproc | |
703e0a69 | 24997 | fi |
e6cc62c6 VS |
24998 | echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5 |
24999 | echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6 | |
25000 | ||
698dcdb6 | 25001 | fi |
e6cc62c6 VS |
25002 | if test $ac_cv_header_GL_gl_h = yes; then |
25003 | ||
89e3b3e4 VZ |
25004 | found_gl=0 |
25005 | ||
e6cc62c6 VS |
25006 | echo "$as_me:$LINENO: checking for -lGL" >&5 |
25007 | echo $ECHO_N "checking for -lGL... $ECHO_C" >&6 | |
25008 | ||
21d1c967 | 25009 | ac_find_libraries= |
2b5f62a0 | 25010 | for ac_dir in $SEARCH_LIB /usr/lib; |
21d1c967 GD |
25011 | do |
25012 | for ac_extension in a so sl dylib; do | |
25013 | if test -f "$ac_dir/libGL.$ac_extension"; then | |
25014 | ac_find_libraries=$ac_dir | |
25015 | break 2 | |
25016 | fi | |
25017 | done | |
25018 | done | |
25019 | ||
25020 | if test "$ac_find_libraries" != "" ; then | |
e6cc62c6 | 25021 | |
21d1c967 GD |
25022 | echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null |
25023 | result=$? | |
25024 | if test $result = 0; then | |
25025 | ac_path_to_link="" | |
25026 | else | |
25027 | ac_path_to_link=" -L$ac_find_libraries" | |
25028 | fi | |
25029 | ||
89e3b3e4 VZ |
25030 | if test "$ac_path_to_link" != " -L/usr/lib" ; then |
25031 | LDFLAGS_GL="$ac_path_to_link" | |
21d1c967 | 25032 | fi |
89e3b3e4 | 25033 | |
e6cc62c6 | 25034 | |
89e3b3e4 VZ |
25035 | ac_find_libraries= |
25036 | for ac_dir in $SEARCH_LIB /usr/lib; | |
25037 | do | |
25038 | for ac_extension in a so sl dylib; do | |
25039 | if test -f "$ac_dir/libGLU.$ac_extension"; then | |
25040 | ac_find_libraries=$ac_dir | |
25041 | break 2 | |
25042 | fi | |
25043 | done | |
25044 | done | |
25045 | ||
25046 | if test "$ac_find_libraries" != "" ; then | |
e6cc62c6 | 25047 | |
89e3b3e4 VZ |
25048 | echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null |
25049 | result=$? | |
25050 | if test $result = 0; then | |
25051 | ac_path_to_link="" | |
25052 | else | |
25053 | ac_path_to_link=" -L$ac_find_libraries" | |
25054 | fi | |
25055 | ||
25056 | if test "$ac_path_to_link" != " -L/usr/lib" -a \ | |
25057 | "$ac_path_to_link" != "$LDFLAGS_GL"; then | |
25058 | LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link" | |
25059 | fi | |
25060 | ||
25061 | found_gl=1 | |
25062 | OPENGL_LIBS="-lGL -lGLU" | |
e6cc62c6 VS |
25063 | echo "$as_me:$LINENO: result: yes" >&5 |
25064 | echo "${ECHO_T}yes" >&6 | |
89e3b3e4 VZ |
25065 | fi |
25066 | fi | |
25067 | ||
bb41dcbe | 25068 | if test "$found_gl" != 1; then |
e6cc62c6 VS |
25069 | echo "$as_me:$LINENO: result: no" >&5 |
25070 | echo "${ECHO_T}no" >&6 | |
25071 | echo "$as_me:$LINENO: checking for -lMesaGL" >&5 | |
25072 | echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6 | |
25073 | ||
21d1c967 | 25074 | ac_find_libraries= |
2b5f62a0 | 25075 | for ac_dir in $SEARCH_LIB /usr/lib; |
21d1c967 GD |
25076 | do |
25077 | for ac_extension in a so sl dylib; do | |
25078 | if test -f "$ac_dir/libMesaGL.$ac_extension"; then | |
25079 | ac_find_libraries=$ac_dir | |
25080 | break 2 | |
25081 | fi | |
25082 | done | |
25083 | done | |
25084 | ||
25085 | if test "$ac_find_libraries" != "" ; then | |
e6cc62c6 | 25086 | |
21d1c967 GD |
25087 | echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null |
25088 | result=$? | |
25089 | if test $result = 0; then | |
25090 | ac_path_to_link="" | |
25091 | else | |
25092 | ac_path_to_link=" -L$ac_find_libraries" | |
25093 | fi | |
25094 | ||
25095 | LDFLAGS_GL="$LDFLAGS$ac_path_to_link" | |
25096 | OPENGL_LIBS="-lMesaGL -lMesaGLU" | |
e6cc62c6 VS |
25097 | echo "$as_me:$LINENO: result: yes" >&5 |
25098 | echo "${ECHO_T}yes" >&6 | |
21d1c967 | 25099 | else |
e6cc62c6 VS |
25100 | echo "$as_me:$LINENO: result: no" >&5 |
25101 | echo "${ECHO_T}no" >&6 | |
21d1c967 GD |
25102 | fi |
25103 | fi | |
e6cc62c6 | 25104 | |
5c6fa7d2 | 25105 | fi |
52127426 | 25106 | |
8284b0c5 | 25107 | |
e6cc62c6 | 25108 | |
21d1c967 | 25109 | if test "x$OPENGL_LIBS" = "x"; then |
e6cc62c6 VS |
25110 | { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5 |
25111 | echo "$as_me: error: OpenGL libraries not available" >&2;} | |
25112 | { (exit 1); exit 1; }; } | |
21d1c967 GD |
25113 | fi |
25114 | fi | |
90dd450c | 25115 | |
21d1c967 | 25116 | if test "$wxUSE_OPENGL" = "yes"; then |
4d264332 | 25117 | USE_OPENGL=1 |
e6cc62c6 | 25118 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 25119 | #define wxUSE_OPENGL 1 |
e6cc62c6 | 25120 | _ACEOF |
21d1c967 | 25121 | |
e6cc62c6 | 25122 | cat >>confdefs.h <<\_ACEOF |
21d1c967 | 25123 | #define wxUSE_GLCANVAS 1 |
e6cc62c6 | 25124 | _ACEOF |
21d1c967 | 25125 | |
520755bb | 25126 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf" |
21d1c967 | 25127 | fi |
10f2d63a | 25128 | fi |
21d1c967 GD |
25129 | |
25130 | if test -z "$TOOLKIT_VPATH" ; then | |
25131 | TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}" | |
10f2d63a | 25132 | fi |
21d1c967 GD |
25133 | |
25134 | if test -n "$TOOLKIT" ; then | |
25135 | TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__" | |
25136 | fi | |
25137 | ||
fe0895cf | 25138 | UNICODE=0 |
21d1c967 GD |
25139 | lib_unicode_suffix= |
25140 | if test "$wxUSE_UNICODE" = "yes"; then | |
25141 | lib_unicode_suffix=u | |
fe0895cf | 25142 | UNICODE=1 |
90dd450c | 25143 | fi |
698dcdb6 | 25144 | |
21d1c967 | 25145 | lib_debug_suffix= |
6c67131a | 25146 | DEBUG_FLAG=0 |
21d1c967 GD |
25147 | if test "$wxUSE_DEBUG_FLAG" = "yes"; then |
25148 | lib_debug_suffix=d | |
6c67131a VS |
25149 | DEBUG_FLAG=1 |
25150 | fi | |
25151 | ||
25152 | DEBUG_INFO=0 | |
25153 | if test "$wxUSE_DEBUG_INFO" = "yes"; then | |
25154 | DEBUG_INFO=1 | |
21d1c967 | 25155 | fi |
698dcdb6 | 25156 | |
1cbb95a2 | 25157 | WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"` |
2b5f62a0 VZ |
25158 | |
25159 | TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}" | |
25160 | TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}" | |
21d1c967 GD |
25161 | |
25162 | if test "$cross_compiling" = "yes"; then | |
25163 | TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}" | |
25164 | TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}" | |
ea66c762 | 25165 | HOST_SUFFIX="-${host_alias}" |
21d1c967 GD |
25166 | fi |
25167 | ||
25168 | WX_LIBRARY="wx_${TOOLCHAIN_NAME}" | |
25169 | WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}" | |
cf615ebb VS |
25170 | WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}" |
25171 | WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}" | |
21d1c967 GD |
25172 | |
25173 | WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" | |
25174 | WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" | |
25175 | ||
25176 | WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}" | |
25177 | WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}" | |
25178 | WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}" | |
25179 | WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}" | |
25180 | ||
25181 | case "${host}" in | |
25182 | *-*-cygwin* | *-*-mingw32* ) | |
ec67c474 VS |
25183 | WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}" |
25184 | WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}" | |
21d1c967 GD |
25185 | ;; |
25186 | ||
25187 | *-*-darwin* ) | |
e6cc62c6 | 25188 | |
05159a27 GD |
25189 | WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}" |
25190 | WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}" | |
25191 | ||
25192 | WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}" | |
25193 | WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}" | |
25194 | WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}" | |
25195 | WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}" | |
25196 | ||
21d1c967 | 25197 | if test "$wxUSE_MAC" = 1; then |
f346733b GD |
25198 | WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r" |
25199 | WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc" | |
21d1c967 GD |
25200 | fi |
25201 | ;; | |
25202 | esac | |
25203 | ||
25204 | WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a" | |
25205 | WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a" | |
25206 | ||
25207 | WXCONFIG_LIBS="-l${WX_LIBRARY}" | |
25208 | WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a" | |
25209 | ||
25210 | if test "$wxUSE_OPENGL" = "yes"; then | |
25211 | WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}" | |
25212 | WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}" | |
25213 | fi | |
25214 | ||
8284b0c5 MB |
25215 | |
25216 | ||
21d1c967 GD |
25217 | if test "$wxUSE_SHARED" = "yes"; then |
25218 | case "${host}" in | |
25219 | *-pc-os2_emx | *-pc-os2-emx | \ | |
25220 | *-pc-msdosdjgpp ) | |
25221 | wxUSE_SHARED=no | |
e6cc62c6 VS |
25222 | { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5 |
25223 | echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;} | |
21d1c967 GD |
25224 | ;; |
25225 | esac | |
25226 | fi | |
25227 | ||
fe0895cf | 25228 | SHARED=0 |
2b5f62a0 | 25229 | if test "$wxUSE_SHARED" = "yes"; then |
fe0895cf | 25230 | SHARED=1 |
2b5f62a0 | 25231 | |
e6cc62c6 | 25232 | |
2b5f62a0 VZ |
25233 | found_versioning=no |
25234 | ||
e6cc62c6 | 25235 | |
2b5f62a0 | 25236 | if test $found_versioning = no ; then |
e6cc62c6 VS |
25237 | echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5 |
25238 | echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6 | |
25239 | if test "${wx_cv_version_script+set}" = set; then | |
25240 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2b5f62a0 | 25241 | else |
e6cc62c6 | 25242 | |
2b5f62a0 VZ |
25243 | echo "VER_1 { *; };" >conftest.sym |
25244 | echo "int main() { return 0; }" >conftest.cpp | |
e6cc62c6 | 25245 | |
2b5f62a0 VZ |
25246 | if { ac_try=' |
25247 | $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp | |
e6cc62c6 VS |
25248 | -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr' |
25249 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25250 | (eval $ac_try) 2>&5 | |
25251 | ac_status=$? | |
25252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25253 | (exit $ac_status); }; } ; then | |
2b5f62a0 VZ |
25254 | if test -s conftest.stderr ; then |
25255 | wx_cv_version_script=no | |
25256 | else | |
25257 | wx_cv_version_script=yes | |
25258 | fi | |
25259 | else | |
25260 | wx_cv_version_script=no | |
25261 | fi | |
25262 | rm -f conftest.output conftest.stderr conftest.sym conftest.cpp | |
2b5f62a0 | 25263 | |
e6cc62c6 VS |
25264 | fi |
25265 | echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5 | |
25266 | echo "${ECHO_T}$wx_cv_version_script" >&6 | |
2b5f62a0 | 25267 | if test $wx_cv_version_script = yes ; then |
e6cc62c6 | 25268 | LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script" |
2b5f62a0 VZ |
25269 | fi |
25270 | fi | |
21d1c967 | 25271 | |
21d1c967 | 25272 | |
21d1c967 | 25273 | case "${host}" in |
fe0895cf | 25274 | *-*-linux* | *-*-gnu* ) |
e6cc62c6 | 25275 | SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib" |
345b8952 | 25276 | ;; |
21d1c967 GD |
25277 | |
25278 | *-*-solaris2* ) | |
25279 | if test "$GCC" = yes ; then | |
25280 | CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include" | |
fe0895cf VS |
25281 | |
25282 | saveLdflags="$LDFLAGS" | |
25283 | LDFLAGS="$saveLdflags -Wl,-rpath,/" | |
e6cc62c6 VS |
25284 | echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5 |
25285 | echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6 | |
25286 | cat >conftest.$ac_ext <<_ACEOF | |
25287 | #line $LINENO "configure" | |
25288 | /* confdefs.h. */ | |
25289 | _ACEOF | |
25290 | cat confdefs.h >>conftest.$ac_ext | |
25291 | cat >>conftest.$ac_ext <<_ACEOF | |
25292 | /* end confdefs.h. */ | |
25293 | ||
25294 | int | |
25295 | main () | |
25296 | { | |
fe0895cf | 25297 | |
e6cc62c6 VS |
25298 | ; |
25299 | return 0; | |
25300 | } | |
25301 | _ACEOF | |
25302 | rm -f conftest.$ac_objext conftest$ac_exeext | |
25303 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
25304 | (eval $ac_link) 2>&5 | |
25305 | ac_status=$? | |
25306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25307 | (exit $ac_status); } && | |
25308 | { ac_try='test -s conftest$ac_exeext' | |
25309 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25310 | (eval $ac_try) 2>&5 | |
25311 | ac_status=$? | |
25312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25313 | (exit $ac_status); }; }; then | |
25314 | ||
25315 | echo "$as_me:$LINENO: result: yes" >&5 | |
25316 | echo "${ECHO_T}yes" >&6 | |
25317 | SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib" | |
25318 | ||
25319 | else | |
25320 | echo "$as_me: failed program was:" >&5 | |
25321 | sed 's/^/| /' conftest.$ac_ext >&5 | |
25322 | ||
25323 | ||
25324 | echo "$as_me:$LINENO: result: no" >&5 | |
25325 | echo "${ECHO_T}no" >&6 | |
25326 | echo "$as_me:$LINENO: checking if the linker accepts -R" >&5 | |
25327 | echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6 | |
fe0895cf | 25328 | LDFLAGS="$saveLdflags -Wl,-R,/" |
e6cc62c6 VS |
25329 | cat >conftest.$ac_ext <<_ACEOF |
25330 | #line $LINENO "configure" | |
25331 | /* confdefs.h. */ | |
25332 | _ACEOF | |
25333 | cat confdefs.h >>conftest.$ac_ext | |
25334 | cat >>conftest.$ac_ext <<_ACEOF | |
25335 | /* end confdefs.h. */ | |
25336 | ||
25337 | int | |
25338 | main () | |
25339 | { | |
25340 | ||
25341 | ; | |
25342 | return 0; | |
25343 | } | |
25344 | _ACEOF | |
25345 | rm -f conftest.$ac_objext conftest$ac_exeext | |
25346 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
25347 | (eval $ac_link) 2>&5 | |
25348 | ac_status=$? | |
25349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25350 | (exit $ac_status); } && | |
25351 | { ac_try='test -s conftest$ac_exeext' | |
25352 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25353 | (eval $ac_try) 2>&5 | |
25354 | ac_status=$? | |
25355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25356 | (exit $ac_status); }; }; then | |
25357 | ||
25358 | echo "$as_me:$LINENO: result: yes" >&5 | |
25359 | echo "${ECHO_T}yes" >&6 | |
25360 | SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib" | |
25361 | else | |
25362 | echo "$as_me: failed program was:" >&5 | |
25363 | sed 's/^/| /' conftest.$ac_ext >&5 | |
fe0895cf | 25364 | |
fe0895cf | 25365 | |
e6cc62c6 VS |
25366 | echo "$as_me:$LINENO: result: no" >&5 |
25367 | echo "${ECHO_T}no" >&6 | |
25368 | ||
fe0895cf | 25369 | fi |
e6cc62c6 VS |
25370 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
25371 | ||
25372 | fi | |
25373 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
fe0895cf | 25374 | LDFLAGS="$saveLdflags" |
21d1c967 GD |
25375 | else |
25376 | SHARED_LD="${CXX} -G -o" | |
25377 | PIC_FLAG="-KPIC" | |
e6cc62c6 | 25378 | SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib" |
21d1c967 GD |
25379 | fi |
25380 | ;; | |
0f1bc9c2 VS |
25381 | |
25382 | powerpc-*-darwin* ) | |
ef0add05 VS |
25383 | SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@" |
25384 | cat <<EOF >change-install-names | |
25385 | #!/bin/sh | |
25386 | libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\` | |
25387 | inst_cmd="install_name_tool " | |
25388 | for i in \${libnames} ; do | |
25389 | inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}" | |
25390 | done | |
25391 | \${inst_cmd} \${3} | |
25392 | EOF | |
25393 | chmod +x change-install-names | |
0f1bc9c2 VS |
25394 | ;; |
25395 | ||
21d1c967 GD |
25396 | esac |
25397 | ||
25398 | if test "x$WX_TARGET_LIBRARY" = "x"; then | |
25399 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}" | |
25400 | WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}" | |
25401 | fi | |
25402 | ||
25403 | WX_TARGET_LIBRARY_TYPE="so" | |
25404 | INSTALL_LIBRARY='$(INSTALL_PROGRAM)' | |
90dd450c | 25405 | fi |
10f2d63a | 25406 | |
21d1c967 GD |
25407 | if test "$wxUSE_SHARED" = "no"; then |
25408 | ||
25409 | if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then | |
25410 | WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall" | |
25411 | fi | |
25412 | ||
ac0c4cc3 | 25413 | if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then |
21d1c967 GD |
25414 | WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall" |
25415 | fi | |
25416 | ||
25417 | if test "$wxUSE_OPENGL" = "yes"; then | |
25418 | WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl" | |
25419 | WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}" | |
25420 | else | |
25421 | WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}" | |
25422 | fi | |
25423 | ||
25424 | WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}" | |
25425 | WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}" | |
25426 | ||
25427 | WX_TARGET_LIBRARY_TYPE="a" | |
25428 | INSTALL_LIBRARY='$(INSTALL_DATA)' | |
2bffed64 VZ |
25429 | |
25430 | STATIC_FLAG="yes" | |
25431 | else | |
25432 | STATIC_FLAG="no" | |
90dd450c | 25433 | fi |
1e487827 | 25434 | |
93fac604 VZ |
25435 | MACRESCOMP="@#" |
25436 | MACSETFILE="@#" | |
36825681 | 25437 | MACRESWXCONFIG="#" |
21d1c967 | 25438 | if test "$wxUSE_MAC" = 1; then |
e6cc62c6 | 25439 | LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}" |
21d1c967 GD |
25440 | WX_ALL="${WX_ALL} ${LIBWXMACRES}" |
25441 | WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res" | |
25442 | # Extract the first word of "Rez", so it can be a program name with args. | |
25443 | set dummy Rez; ac_word=$2 | |
e6cc62c6 VS |
25444 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25445 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
25446 | if test "${ac_cv_prog_RESCOMP+set}" = set; then | |
25447 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
b93d0d08 | 25448 | else |
21d1c967 GD |
25449 | if test -n "$RESCOMP"; then |
25450 | ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test. | |
b93d0d08 | 25451 | else |
e6cc62c6 VS |
25452 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25453 | for as_dir in $PATH | |
25454 | do | |
25455 | IFS=$as_save_IFS | |
25456 | test -z "$as_dir" && as_dir=. | |
25457 | for ac_exec_ext in '' $ac_executable_extensions; do | |
25458 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
25459 | ac_cv_prog_RESCOMP="Rez" | |
25460 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
25461 | break 2 | |
25462 | fi | |
25463 | done | |
25464 | done | |
25465 | ||
21d1c967 | 25466 | test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez" |
b93d0d08 | 25467 | fi |
b93d0d08 | 25468 | fi |
e6cc62c6 | 25469 | RESCOMP=$ac_cv_prog_RESCOMP |
21d1c967 | 25470 | if test -n "$RESCOMP"; then |
e6cc62c6 VS |
25471 | echo "$as_me:$LINENO: result: $RESCOMP" >&5 |
25472 | echo "${ECHO_T}$RESCOMP" >&6 | |
90dd450c | 25473 | else |
e6cc62c6 VS |
25474 | echo "$as_me:$LINENO: result: no" >&5 |
25475 | echo "${ECHO_T}no" >&6 | |
90dd450c | 25476 | fi |
b93d0d08 | 25477 | |
21d1c967 GD |
25478 | # Extract the first word of "DeRez", so it can be a program name with args. |
25479 | set dummy DeRez; ac_word=$2 | |
e6cc62c6 VS |
25480 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25481 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
25482 | if test "${ac_cv_prog_DEREZ+set}" = set; then | |
25483 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3a922bb4 | 25484 | else |
21d1c967 GD |
25485 | if test -n "$DEREZ"; then |
25486 | ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test. | |
4f14bcd8 | 25487 | else |
e6cc62c6 VS |
25488 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25489 | for as_dir in $PATH | |
25490 | do | |
25491 | IFS=$as_save_IFS | |
25492 | test -z "$as_dir" && as_dir=. | |
25493 | for ac_exec_ext in '' $ac_executable_extensions; do | |
25494 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
25495 | ac_cv_prog_DEREZ="DeRez" | |
25496 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
25497 | break 2 | |
25498 | fi | |
25499 | done | |
25500 | done | |
25501 | ||
21d1c967 | 25502 | test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez" |
3a922bb4 | 25503 | fi |
90dd450c | 25504 | fi |
e6cc62c6 | 25505 | DEREZ=$ac_cv_prog_DEREZ |
21d1c967 | 25506 | if test -n "$DEREZ"; then |
e6cc62c6 VS |
25507 | echo "$as_me:$LINENO: result: $DEREZ" >&5 |
25508 | echo "${ECHO_T}$DEREZ" >&6 | |
90dd450c | 25509 | else |
e6cc62c6 VS |
25510 | echo "$as_me:$LINENO: result: no" >&5 |
25511 | echo "${ECHO_T}no" >&6 | |
3a922bb4 | 25512 | fi |
698dcdb6 | 25513 | |
36825681 GD |
25514 | # Extract the first word of "SetFile", so it can be a program name with args. |
25515 | set dummy SetFile; ac_word=$2 | |
e6cc62c6 VS |
25516 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25517 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
25518 | if test "${ac_cv_prog_SETFILE+set}" = set; then | |
25519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
36825681 GD |
25520 | else |
25521 | if test -n "$SETFILE"; then | |
25522 | ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test. | |
25523 | else | |
e6cc62c6 VS |
25524 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25525 | for as_dir in $PATH | |
25526 | do | |
25527 | IFS=$as_save_IFS | |
25528 | test -z "$as_dir" && as_dir=. | |
25529 | for ac_exec_ext in '' $ac_executable_extensions; do | |
25530 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
25531 | ac_cv_prog_SETFILE="SetFile" | |
25532 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
25533 | break 2 | |
25534 | fi | |
25535 | done | |
25536 | done | |
25537 | ||
36825681 GD |
25538 | test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile" |
25539 | fi | |
25540 | fi | |
e6cc62c6 | 25541 | SETFILE=$ac_cv_prog_SETFILE |
36825681 | 25542 | if test -n "$SETFILE"; then |
e6cc62c6 VS |
25543 | echo "$as_me:$LINENO: result: $SETFILE" >&5 |
25544 | echo "${ECHO_T}$SETFILE" >&6 | |
36825681 | 25545 | else |
e6cc62c6 VS |
25546 | echo "$as_me:$LINENO: result: no" >&5 |
25547 | echo "${ECHO_T}no" >&6 | |
36825681 GD |
25548 | fi |
25549 | ||
21d1c967 | 25550 | MACOSX_BUNDLE="bundle" |
36825681 GD |
25551 | MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o" |
25552 | MACSETFILE="\$(SETFILE)" | |
9711d31e | 25553 | MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o" |
64440d77 DE |
25554 | elif test "$wxUSE_COCOA" = 1; then |
25555 | # Extract the first word of "Rez", so it can be a program name with args. | |
25556 | set dummy Rez; ac_word=$2 | |
e6cc62c6 VS |
25557 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25558 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
25559 | if test "${ac_cv_prog_RESCOMP+set}" = set; then | |
25560 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
64440d77 DE |
25561 | else |
25562 | if test -n "$RESCOMP"; then | |
25563 | ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test. | |
25564 | else | |
e6cc62c6 VS |
25565 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25566 | for as_dir in $PATH | |
25567 | do | |
25568 | IFS=$as_save_IFS | |
25569 | test -z "$as_dir" && as_dir=. | |
25570 | for ac_exec_ext in '' $ac_executable_extensions; do | |
25571 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
25572 | ac_cv_prog_RESCOMP="Rez" | |
25573 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
25574 | break 2 | |
25575 | fi | |
25576 | done | |
25577 | done | |
25578 | ||
64440d77 DE |
25579 | test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez" |
25580 | fi | |
25581 | fi | |
e6cc62c6 | 25582 | RESCOMP=$ac_cv_prog_RESCOMP |
64440d77 | 25583 | if test -n "$RESCOMP"; then |
e6cc62c6 VS |
25584 | echo "$as_me:$LINENO: result: $RESCOMP" >&5 |
25585 | echo "${ECHO_T}$RESCOMP" >&6 | |
64440d77 | 25586 | else |
e6cc62c6 VS |
25587 | echo "$as_me:$LINENO: result: no" >&5 |
25588 | echo "${ECHO_T}no" >&6 | |
64440d77 DE |
25589 | fi |
25590 | ||
25591 | # Extract the first word of "DeRez", so it can be a program name with args. | |
25592 | set dummy DeRez; ac_word=$2 | |
e6cc62c6 VS |
25593 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25594 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
25595 | if test "${ac_cv_prog_DEREZ+set}" = set; then | |
25596 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
64440d77 DE |
25597 | else |
25598 | if test -n "$DEREZ"; then | |
25599 | ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test. | |
25600 | else | |
e6cc62c6 VS |
25601 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25602 | for as_dir in $PATH | |
25603 | do | |
25604 | IFS=$as_save_IFS | |
25605 | test -z "$as_dir" && as_dir=. | |
25606 | for ac_exec_ext in '' $ac_executable_extensions; do | |
25607 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
25608 | ac_cv_prog_DEREZ="DeRez" | |
25609 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
25610 | break 2 | |
25611 | fi | |
25612 | done | |
25613 | done | |
25614 | ||
64440d77 DE |
25615 | test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez" |
25616 | fi | |
25617 | fi | |
e6cc62c6 | 25618 | DEREZ=$ac_cv_prog_DEREZ |
64440d77 | 25619 | if test -n "$DEREZ"; then |
e6cc62c6 VS |
25620 | echo "$as_me:$LINENO: result: $DEREZ" >&5 |
25621 | echo "${ECHO_T}$DEREZ" >&6 | |
64440d77 | 25622 | else |
e6cc62c6 VS |
25623 | echo "$as_me:$LINENO: result: no" >&5 |
25624 | echo "${ECHO_T}no" >&6 | |
64440d77 DE |
25625 | fi |
25626 | ||
25627 | # Extract the first word of "SetFile", so it can be a program name with args. | |
25628 | set dummy SetFile; ac_word=$2 | |
e6cc62c6 VS |
25629 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25630 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
25631 | if test "${ac_cv_prog_SETFILE+set}" = set; then | |
25632 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
64440d77 DE |
25633 | else |
25634 | if test -n "$SETFILE"; then | |
25635 | ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test. | |
25636 | else | |
e6cc62c6 VS |
25637 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25638 | for as_dir in $PATH | |
25639 | do | |
25640 | IFS=$as_save_IFS | |
25641 | test -z "$as_dir" && as_dir=. | |
25642 | for ac_exec_ext in '' $ac_executable_extensions; do | |
25643 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
25644 | ac_cv_prog_SETFILE="SetFile" | |
25645 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
25646 | break 2 | |
25647 | fi | |
25648 | done | |
25649 | done | |
25650 | ||
64440d77 DE |
25651 | test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile" |
25652 | fi | |
25653 | fi | |
e6cc62c6 | 25654 | SETFILE=$ac_cv_prog_SETFILE |
64440d77 | 25655 | if test -n "$SETFILE"; then |
e6cc62c6 VS |
25656 | echo "$as_me:$LINENO: result: $SETFILE" >&5 |
25657 | echo "${ECHO_T}$SETFILE" >&6 | |
64440d77 | 25658 | else |
e6cc62c6 VS |
25659 | echo "$as_me:$LINENO: result: no" >&5 |
25660 | echo "${ECHO_T}no" >&6 | |
64440d77 DE |
25661 | fi |
25662 | ||
25663 | MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o" | |
25664 | MACSETFILE="\$(SETFILE)" | |
9711d31e | 25665 | MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o" |
21d1c967 GD |
25666 | else |
25667 | if test "$wxUSE_PM" = 1; then | |
36825681 | 25668 | MACRESCOMP="emxbind -ep" |
90dd450c | 25669 | fi |
4f14bcd8 | 25670 | fi |
10f2d63a | 25671 | |
8284b0c5 | 25672 | |
e6cc62c6 VS |
25673 | echo "$as_me:$LINENO: checking for mode_t" >&5 |
25674 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | |
25675 | if test "${ac_cv_type_mode_t+set}" = set; then | |
25676 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
52127426 | 25677 | else |
e6cc62c6 VS |
25678 | cat >conftest.$ac_ext <<_ACEOF |
25679 | #line $LINENO "configure" | |
25680 | /* confdefs.h. */ | |
25681 | _ACEOF | |
25682 | cat confdefs.h >>conftest.$ac_ext | |
25683 | cat >>conftest.$ac_ext <<_ACEOF | |
25684 | /* end confdefs.h. */ | |
25685 | $ac_includes_default | |
25686 | int | |
25687 | main () | |
25688 | { | |
25689 | if ((mode_t *) 0) | |
25690 | return 0; | |
25691 | if (sizeof (mode_t)) | |
25692 | return 0; | |
25693 | ; | |
25694 | return 0; | |
25695 | } | |
25696 | _ACEOF | |
25697 | rm -f conftest.$ac_objext | |
25698 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
25699 | (eval $ac_compile) 2>&5 | |
25700 | ac_status=$? | |
25701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25702 | (exit $ac_status); } && | |
25703 | { ac_try='test -s conftest.$ac_objext' | |
25704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25705 | (eval $ac_try) 2>&5 | |
25706 | ac_status=$? | |
25707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25708 | (exit $ac_status); }; }; then | |
25709 | ac_cv_type_mode_t=yes | |
a0b9e27f | 25710 | else |
e6cc62c6 VS |
25711 | echo "$as_me: failed program was:" >&5 |
25712 | sed 's/^/| /' conftest.$ac_ext >&5 | |
a0b9e27f | 25713 | |
e6cc62c6 | 25714 | ac_cv_type_mode_t=no |
a0b9e27f | 25715 | fi |
e6cc62c6 | 25716 | rm -f conftest.$ac_objext conftest.$ac_ext |
52127426 | 25717 | fi |
e6cc62c6 VS |
25718 | echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 |
25719 | echo "${ECHO_T}$ac_cv_type_mode_t" >&6 | |
25720 | if test $ac_cv_type_mode_t = yes; then | |
247f5006 VZ |
25721 | : |
25722 | else | |
a0b9e27f | 25723 | |
e6cc62c6 VS |
25724 | cat >>confdefs.h <<_ACEOF |
25725 | #define mode_t int | |
25726 | _ACEOF | |
8284b0c5 MB |
25727 | |
25728 | fi | |
25729 | ||
e6cc62c6 VS |
25730 | echo "$as_me:$LINENO: checking for off_t" >&5 |
25731 | echo $ECHO_N "checking for off_t... $ECHO_C" >&6 | |
25732 | if test "${ac_cv_type_off_t+set}" = set; then | |
25733 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 25734 | else |
e6cc62c6 VS |
25735 | cat >conftest.$ac_ext <<_ACEOF |
25736 | #line $LINENO "configure" | |
25737 | /* confdefs.h. */ | |
25738 | _ACEOF | |
25739 | cat confdefs.h >>conftest.$ac_ext | |
25740 | cat >>conftest.$ac_ext <<_ACEOF | |
25741 | /* end confdefs.h. */ | |
25742 | $ac_includes_default | |
25743 | int | |
25744 | main () | |
25745 | { | |
25746 | if ((off_t *) 0) | |
25747 | return 0; | |
25748 | if (sizeof (off_t)) | |
25749 | return 0; | |
25750 | ; | |
25751 | return 0; | |
25752 | } | |
25753 | _ACEOF | |
25754 | rm -f conftest.$ac_objext | |
25755 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
25756 | (eval $ac_compile) 2>&5 | |
25757 | ac_status=$? | |
25758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25759 | (exit $ac_status); } && | |
25760 | { ac_try='test -s conftest.$ac_objext' | |
25761 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25762 | (eval $ac_try) 2>&5 | |
25763 | ac_status=$? | |
25764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25765 | (exit $ac_status); }; }; then | |
25766 | ac_cv_type_off_t=yes | |
5c6fa7d2 | 25767 | else |
e6cc62c6 VS |
25768 | echo "$as_me: failed program was:" >&5 |
25769 | sed 's/^/| /' conftest.$ac_ext >&5 | |
a0b9e27f | 25770 | |
e6cc62c6 | 25771 | ac_cv_type_off_t=no |
8284b0c5 | 25772 | fi |
e6cc62c6 | 25773 | rm -f conftest.$ac_objext conftest.$ac_ext |
8284b0c5 | 25774 | fi |
e6cc62c6 VS |
25775 | echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 |
25776 | echo "${ECHO_T}$ac_cv_type_off_t" >&6 | |
25777 | if test $ac_cv_type_off_t = yes; then | |
25778 | : | |
247f5006 VZ |
25779 | else |
25780 | ||
e6cc62c6 | 25781 | cat >>confdefs.h <<_ACEOF |
90dd450c | 25782 | #define off_t long |
e6cc62c6 | 25783 | _ACEOF |
10f2d63a | 25784 | |
90dd450c | 25785 | fi |
10f2d63a | 25786 | |
e6cc62c6 VS |
25787 | echo "$as_me:$LINENO: checking for pid_t" >&5 |
25788 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | |
25789 | if test "${ac_cv_type_pid_t+set}" = set; then | |
25790 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4f14bcd8 | 25791 | else |
e6cc62c6 VS |
25792 | cat >conftest.$ac_ext <<_ACEOF |
25793 | #line $LINENO "configure" | |
25794 | /* confdefs.h. */ | |
25795 | _ACEOF | |
25796 | cat confdefs.h >>conftest.$ac_ext | |
25797 | cat >>conftest.$ac_ext <<_ACEOF | |
25798 | /* end confdefs.h. */ | |
25799 | $ac_includes_default | |
25800 | int | |
25801 | main () | |
25802 | { | |
25803 | if ((pid_t *) 0) | |
25804 | return 0; | |
25805 | if (sizeof (pid_t)) | |
25806 | return 0; | |
25807 | ; | |
25808 | return 0; | |
25809 | } | |
25810 | _ACEOF | |
25811 | rm -f conftest.$ac_objext | |
25812 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
25813 | (eval $ac_compile) 2>&5 | |
25814 | ac_status=$? | |
25815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25816 | (exit $ac_status); } && | |
25817 | { ac_try='test -s conftest.$ac_objext' | |
25818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25819 | (eval $ac_try) 2>&5 | |
25820 | ac_status=$? | |
25821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25822 | (exit $ac_status); }; }; then | |
90dd450c | 25823 | ac_cv_type_pid_t=yes |
698dcdb6 | 25824 | else |
e6cc62c6 VS |
25825 | echo "$as_me: failed program was:" >&5 |
25826 | sed 's/^/| /' conftest.$ac_ext >&5 | |
247f5006 | 25827 | |
e6cc62c6 VS |
25828 | ac_cv_type_pid_t=no |
25829 | fi | |
25830 | rm -f conftest.$ac_objext conftest.$ac_ext | |
a0b9e27f | 25831 | fi |
e6cc62c6 VS |
25832 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
25833 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | |
25834 | if test $ac_cv_type_pid_t = yes; then | |
25835 | : | |
25836 | else | |
25837 | ||
25838 | cat >>confdefs.h <<_ACEOF | |
90dd450c | 25839 | #define pid_t int |
e6cc62c6 | 25840 | _ACEOF |
10f2d63a | 25841 | |
7b4a847f RR |
25842 | fi |
25843 | ||
e6cc62c6 VS |
25844 | echo "$as_me:$LINENO: checking for size_t" >&5 |
25845 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | |
25846 | if test "${ac_cv_type_size_t+set}" = set; then | |
25847 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7b4a847f | 25848 | else |
e6cc62c6 VS |
25849 | cat >conftest.$ac_ext <<_ACEOF |
25850 | #line $LINENO "configure" | |
25851 | /* confdefs.h. */ | |
25852 | _ACEOF | |
25853 | cat confdefs.h >>conftest.$ac_ext | |
25854 | cat >>conftest.$ac_ext <<_ACEOF | |
25855 | /* end confdefs.h. */ | |
25856 | $ac_includes_default | |
25857 | int | |
25858 | main () | |
25859 | { | |
25860 | if ((size_t *) 0) | |
25861 | return 0; | |
25862 | if (sizeof (size_t)) | |
25863 | return 0; | |
25864 | ; | |
25865 | return 0; | |
25866 | } | |
25867 | _ACEOF | |
25868 | rm -f conftest.$ac_objext | |
25869 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
25870 | (eval $ac_compile) 2>&5 | |
25871 | ac_status=$? | |
25872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25873 | (exit $ac_status); } && | |
25874 | { ac_try='test -s conftest.$ac_objext' | |
25875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25876 | (eval $ac_try) 2>&5 | |
25877 | ac_status=$? | |
25878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25879 | (exit $ac_status); }; }; then | |
90dd450c | 25880 | ac_cv_type_size_t=yes |
18dbb1f6 | 25881 | else |
e6cc62c6 VS |
25882 | echo "$as_me: failed program was:" >&5 |
25883 | sed 's/^/| /' conftest.$ac_ext >&5 | |
247f5006 | 25884 | |
e6cc62c6 | 25885 | ac_cv_type_size_t=no |
a0b9e27f | 25886 | fi |
e6cc62c6 VS |
25887 | rm -f conftest.$ac_objext conftest.$ac_ext |
25888 | fi | |
25889 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | |
25890 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | |
25891 | if test $ac_cv_type_size_t = yes; then | |
25892 | : | |
25893 | else | |
25894 | ||
25895 | cat >>confdefs.h <<_ACEOF | |
90dd450c | 25896 | #define size_t unsigned |
e6cc62c6 | 25897 | _ACEOF |
90dd450c VZ |
25898 | |
25899 | fi | |
25900 | ||
e6cc62c6 VS |
25901 | echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 |
25902 | echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 | |
25903 | if test "${ac_cv_type_uid_t+set}" = set; then | |
25904 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
b3e8d00a | 25905 | else |
e6cc62c6 VS |
25906 | cat >conftest.$ac_ext <<_ACEOF |
25907 | #line $LINENO "configure" | |
25908 | /* confdefs.h. */ | |
25909 | _ACEOF | |
25910 | cat confdefs.h >>conftest.$ac_ext | |
25911 | cat >>conftest.$ac_ext <<_ACEOF | |
25912 | /* end confdefs.h. */ | |
90dd450c | 25913 | #include <sys/types.h> |
e6cc62c6 VS |
25914 | |
25915 | _ACEOF | |
90dd450c | 25916 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
e6cc62c6 | 25917 | $EGREP "uid_t" >/dev/null 2>&1; then |
90dd450c | 25918 | ac_cv_type_uid_t=yes |
b3e8d00a | 25919 | else |
90dd450c | 25920 | ac_cv_type_uid_t=no |
b3e8d00a | 25921 | fi |
90dd450c | 25922 | rm -f conftest* |
b3e8d00a | 25923 | |
4f14bcd8 | 25924 | fi |
e6cc62c6 VS |
25925 | echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 |
25926 | echo "${ECHO_T}$ac_cv_type_uid_t" >&6 | |
a0b9e27f | 25927 | if test $ac_cv_type_uid_t = no; then |
e6cc62c6 VS |
25928 | |
25929 | cat >>confdefs.h <<\_ACEOF | |
90dd450c | 25930 | #define uid_t int |
e6cc62c6 | 25931 | _ACEOF |
247f5006 | 25932 | |
e6cc62c6 VS |
25933 | |
25934 | cat >>confdefs.h <<\_ACEOF | |
90dd450c | 25935 | #define gid_t int |
e6cc62c6 | 25936 | _ACEOF |
4f14bcd8 | 25937 | |
b3e8d00a | 25938 | fi |
b3e8d00a | 25939 | |
8284b0c5 MB |
25940 | |
25941 | ||
e6cc62c6 VS |
25942 | |
25943 | ac_ext=cc | |
4f14bcd8 | 25944 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
25945 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
25946 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
25947 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
25948 | ||
25949 | echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5 | |
25950 | echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6 | |
25951 | if test "${wx_cv_size_t_is_uint+set}" = set; then | |
25952 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
25953 | else | |
25954 | ||
25955 | cat >conftest.$ac_ext <<_ACEOF | |
25956 | #line $LINENO "configure" | |
25957 | /* confdefs.h. */ | |
25958 | _ACEOF | |
25959 | cat confdefs.h >>conftest.$ac_ext | |
25960 | cat >>conftest.$ac_ext <<_ACEOF | |
25961 | /* end confdefs.h. */ | |
90dd450c | 25962 | #include <stddef.h> |
e6cc62c6 VS |
25963 | int |
25964 | main () | |
25965 | { | |
90dd450c VZ |
25966 | |
25967 | return 0; } | |
25968 | ||
25969 | struct Foo { void foo(size_t); void foo(unsigned int); }; | |
25970 | ||
25971 | int bar() { | |
e6cc62c6 VS |
25972 | |
25973 | ; | |
25974 | return 0; | |
25975 | } | |
25976 | _ACEOF | |
25977 | rm -f conftest.$ac_objext | |
25978 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
25979 | (eval $ac_compile) 2>&5 | |
25980 | ac_status=$? | |
25981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25982 | (exit $ac_status); } && | |
25983 | { ac_try='test -s conftest.$ac_objext' | |
25984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
25985 | (eval $ac_try) 2>&5 | |
25986 | ac_status=$? | |
25987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25988 | (exit $ac_status); }; }; then | |
90dd450c | 25989 | wx_cv_size_t_is_uint=no |
698dcdb6 | 25990 | else |
e6cc62c6 VS |
25991 | echo "$as_me: failed program was:" >&5 |
25992 | sed 's/^/| /' conftest.$ac_ext >&5 | |
25993 | ||
25994 | wx_cv_size_t_is_uint=yes | |
8284b0c5 | 25995 | |
247f5006 | 25996 | fi |
e6cc62c6 VS |
25997 | rm -f conftest.$ac_objext conftest.$ac_ext |
25998 | ||
a0b9e27f | 25999 | |
e6cc62c6 VS |
26000 | fi |
26001 | echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5 | |
26002 | echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6 | |
4f14bcd8 | 26003 | |
90dd450c | 26004 | if test "$wx_cv_size_t_is_uint" = "yes"; then |
e6cc62c6 | 26005 | cat >>confdefs.h <<\_ACEOF |
90dd450c | 26006 | #define wxSIZE_T_IS_UINT 1 |
e6cc62c6 | 26007 | _ACEOF |
698dcdb6 | 26008 | |
90dd450c | 26009 | else |
e6cc62c6 VS |
26010 | echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5 |
26011 | echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6 | |
26012 | if test "${wx_cv_size_t_is_ulong+set}" = set; then | |
26013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
698dcdb6 | 26014 | else |
e6cc62c6 VS |
26015 | cat >conftest.$ac_ext <<_ACEOF |
26016 | #line $LINENO "configure" | |
26017 | /* confdefs.h. */ | |
26018 | _ACEOF | |
26019 | cat confdefs.h >>conftest.$ac_ext | |
26020 | cat >>conftest.$ac_ext <<_ACEOF | |
26021 | /* end confdefs.h. */ | |
90dd450c | 26022 | #include <stddef.h> |
e6cc62c6 VS |
26023 | int |
26024 | main () | |
26025 | { | |
90dd450c VZ |
26026 | |
26027 | return 0; } | |
26028 | ||
26029 | struct Foo { void foo(size_t); void foo(unsigned long); }; | |
26030 | ||
26031 | int bar() { | |
e6cc62c6 VS |
26032 | |
26033 | ; | |
26034 | return 0; | |
26035 | } | |
26036 | _ACEOF | |
26037 | rm -f conftest.$ac_objext | |
26038 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
26039 | (eval $ac_compile) 2>&5 | |
26040 | ac_status=$? | |
26041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26042 | (exit $ac_status); } && | |
26043 | { ac_try='test -s conftest.$ac_objext' | |
26044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26045 | (eval $ac_try) 2>&5 | |
26046 | ac_status=$? | |
26047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26048 | (exit $ac_status); }; }; then | |
90dd450c | 26049 | wx_cv_size_t_is_ulong=no |
698dcdb6 | 26050 | else |
e6cc62c6 VS |
26051 | echo "$as_me: failed program was:" >&5 |
26052 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26053 | ||
26054 | wx_cv_size_t_is_ulong=yes | |
26055 | ||
247f5006 | 26056 | fi |
e6cc62c6 | 26057 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 26058 | |
e6cc62c6 VS |
26059 | fi |
26060 | echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5 | |
26061 | echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6 | |
10f2d63a | 26062 | |
90dd450c | 26063 | if test "$wx_cv_size_t_is_ulong" = "yes"; then |
e6cc62c6 | 26064 | cat >>confdefs.h <<\_ACEOF |
90dd450c | 26065 | #define wxSIZE_T_IS_ULONG 1 |
e6cc62c6 | 26066 | _ACEOF |
4f14bcd8 GD |
26067 | |
26068 | fi | |
90dd450c | 26069 | fi |
1e487827 | 26070 | |
90dd450c | 26071 | ac_ext=c |
4f14bcd8 | 26072 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
26073 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
26074 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
26075 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
698dcdb6 | 26076 | |
5c6fa7d2 | 26077 | |
8284b0c5 | 26078 | |
e6cc62c6 VS |
26079 | echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5 |
26080 | echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6 | |
26081 | if test "${wx_cv_struct_pw_gecos+set}" = set; then | |
26082 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 26083 | else |
e6cc62c6 VS |
26084 | |
26085 | cat >conftest.$ac_ext <<_ACEOF | |
26086 | #line $LINENO "configure" | |
26087 | /* confdefs.h. */ | |
26088 | _ACEOF | |
26089 | cat confdefs.h >>conftest.$ac_ext | |
26090 | cat >>conftest.$ac_ext <<_ACEOF | |
26091 | /* end confdefs.h. */ | |
90dd450c | 26092 | #include <pwd.h> |
e6cc62c6 VS |
26093 | int |
26094 | main () | |
26095 | { | |
f6bcfd97 | 26096 | |
90dd450c VZ |
26097 | char *p; |
26098 | struct passwd *pw; | |
26099 | p = pw->pw_gecos; | |
e6cc62c6 VS |
26100 | |
26101 | ; | |
26102 | return 0; | |
26103 | } | |
26104 | _ACEOF | |
26105 | rm -f conftest.$ac_objext | |
26106 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
26107 | (eval $ac_compile) 2>&5 | |
26108 | ac_status=$? | |
26109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26110 | (exit $ac_status); } && | |
26111 | { ac_try='test -s conftest.$ac_objext' | |
26112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26113 | (eval $ac_try) 2>&5 | |
26114 | ac_status=$? | |
26115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26116 | (exit $ac_status); }; }; then | |
26117 | ||
90dd450c | 26118 | wx_cv_struct_pw_gecos=yes |
e6cc62c6 | 26119 | |
10f2d63a | 26120 | else |
e6cc62c6 VS |
26121 | echo "$as_me: failed program was:" >&5 |
26122 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26123 | ||
26124 | ||
90dd450c | 26125 | wx_cv_struct_pw_gecos=no |
e6cc62c6 | 26126 | |
247f5006 VZ |
26127 | |
26128 | fi | |
e6cc62c6 | 26129 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 26130 | |
e6cc62c6 VS |
26131 | |
26132 | fi | |
26133 | echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5 | |
26134 | echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6 | |
c521c494 | 26135 | |
90dd450c | 26136 | if test "$wx_cv_struct_pw_gecos" = "yes"; then |
e6cc62c6 | 26137 | cat >>confdefs.h <<\_ACEOF |
90dd450c | 26138 | #define HAVE_PW_GECOS 1 |
e6cc62c6 | 26139 | _ACEOF |
c521c494 | 26140 | |
90dd450c | 26141 | fi |
4f14bcd8 | 26142 | |
8284b0c5 | 26143 | |
d29b553b | 26144 | if test "$wx_cv_sizeof_wchar_t" != "0"; then |
e6cc62c6 | 26145 | cat >>confdefs.h <<\_ACEOF |
d74f4b5a | 26146 | #define wxUSE_WCHAR_T 1 |
e6cc62c6 | 26147 | _ACEOF |
d74f4b5a | 26148 | |
8284b0c5 | 26149 | |
d74f4b5a VZ |
26150 | WCSLEN_FOUND=0 |
26151 | WCHAR_LINK= | |
e6cc62c6 VS |
26152 | |
26153 | for ac_func in wcslen | |
7a30264c | 26154 | do |
e6cc62c6 VS |
26155 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
26156 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
26157 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
26158 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
26159 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
26160 | else | |
26161 | cat >conftest.$ac_ext <<_ACEOF | |
26162 | #line $LINENO "configure" | |
26163 | /* confdefs.h. */ | |
26164 | _ACEOF | |
26165 | cat confdefs.h >>conftest.$ac_ext | |
26166 | cat >>conftest.$ac_ext <<_ACEOF | |
26167 | /* end confdefs.h. */ | |
7a30264c | 26168 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
26169 | which can conflict with char $ac_func (); below. |
26170 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
26171 | <limits.h> exists even on freestanding compilers. */ | |
26172 | #ifdef __STDC__ | |
26173 | # include <limits.h> | |
26174 | #else | |
26175 | # include <assert.h> | |
26176 | #endif | |
4f14bcd8 | 26177 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
26178 | #ifdef __cplusplus |
26179 | extern "C" | |
26180 | { | |
26181 | #endif | |
4f14bcd8 | 26182 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
26183 | builtin and then its argument prototype would still apply. */ |
26184 | char $ac_func (); | |
7a30264c VZ |
26185 | /* The GNU C library defines this for functions which it implements |
26186 | to always fail with ENOSYS. Some functions are actually named | |
26187 | something starting with __ and the normal name is an alias. */ | |
26188 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
26189 | choke me | |
26190 | #else | |
e6cc62c6 VS |
26191 | char (*f) () = $ac_func; |
26192 | #endif | |
26193 | #ifdef __cplusplus | |
26194 | } | |
7a30264c VZ |
26195 | #endif |
26196 | ||
e6cc62c6 VS |
26197 | int |
26198 | main () | |
26199 | { | |
26200 | return f != $ac_func; | |
26201 | ; | |
26202 | return 0; | |
26203 | } | |
26204 | _ACEOF | |
26205 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26206 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26207 | (eval $ac_link) 2>&5 | |
26208 | ac_status=$? | |
26209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26210 | (exit $ac_status); } && | |
26211 | { ac_try='test -s conftest$ac_exeext' | |
26212 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26213 | (eval $ac_try) 2>&5 | |
26214 | ac_status=$? | |
26215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26216 | (exit $ac_status); }; }; then | |
26217 | eval "$as_ac_var=yes" | |
26218 | else | |
26219 | echo "$as_me: failed program was:" >&5 | |
26220 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26221 | ||
26222 | eval "$as_ac_var=no" | |
26223 | fi | |
26224 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
26225 | fi | |
26226 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
26227 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
26228 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
26229 | cat >>confdefs.h <<_ACEOF | |
26230 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
26231 | _ACEOF | |
d74f4b5a | 26232 | WCSLEN_FOUND=1 |
7a30264c VZ |
26233 | fi |
26234 | done | |
9d8deca0 | 26235 | |
8284b0c5 | 26236 | |
d74f4b5a | 26237 | if test "$WCSLEN_FOUND" = 0; then |
7a30264c | 26238 | if test "$TOOLKIT" = "MSW"; then |
e6cc62c6 VS |
26239 | echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5 |
26240 | echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6 | |
26241 | if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then | |
26242 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 26243 | else |
e6cc62c6 | 26244 | ac_check_lib_save_LIBS=$LIBS |
7a30264c | 26245 | LIBS="-lmsvcrt $LIBS" |
e6cc62c6 VS |
26246 | cat >conftest.$ac_ext <<_ACEOF |
26247 | #line $LINENO "configure" | |
26248 | /* confdefs.h. */ | |
26249 | _ACEOF | |
26250 | cat confdefs.h >>conftest.$ac_ext | |
26251 | cat >>conftest.$ac_ext <<_ACEOF | |
26252 | /* end confdefs.h. */ | |
26253 | ||
4f14bcd8 | 26254 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
26255 | #ifdef __cplusplus |
26256 | extern "C" | |
26257 | #endif | |
4f14bcd8 | 26258 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
26259 | builtin and then its argument prototype would still apply. */ |
26260 | char wcslen (); | |
26261 | int | |
26262 | main () | |
26263 | { | |
26264 | wcslen (); | |
26265 | ; | |
26266 | return 0; | |
26267 | } | |
26268 | _ACEOF | |
26269 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26270 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26271 | (eval $ac_link) 2>&5 | |
26272 | ac_status=$? | |
26273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26274 | (exit $ac_status); } && | |
26275 | { ac_try='test -s conftest$ac_exeext' | |
26276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26277 | (eval $ac_try) 2>&5 | |
26278 | ac_status=$? | |
26279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26280 | (exit $ac_status); }; }; then | |
26281 | ac_cv_lib_msvcrt_wcslen=yes | |
26282 | else | |
26283 | echo "$as_me: failed program was:" >&5 | |
26284 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26285 | ||
26286 | ac_cv_lib_msvcrt_wcslen=no | |
26287 | fi | |
26288 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
26289 | LIBS=$ac_check_lib_save_LIBS | |
26290 | fi | |
26291 | echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5 | |
26292 | echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6 | |
26293 | if test $ac_cv_lib_msvcrt_wcslen = yes; then | |
d74f4b5a | 26294 | WCHAR_OK=1 |
d29b553b | 26295 | fi |
698dcdb6 | 26296 | |
7a30264c | 26297 | else |
e6cc62c6 VS |
26298 | echo "$as_me:$LINENO: checking for wcslen in -lw" >&5 |
26299 | echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6 | |
26300 | if test "${ac_cv_lib_w_wcslen+set}" = set; then | |
26301 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
698dcdb6 | 26302 | else |
e6cc62c6 | 26303 | ac_check_lib_save_LIBS=$LIBS |
7a30264c | 26304 | LIBS="-lw $LIBS" |
e6cc62c6 VS |
26305 | cat >conftest.$ac_ext <<_ACEOF |
26306 | #line $LINENO "configure" | |
26307 | /* confdefs.h. */ | |
26308 | _ACEOF | |
26309 | cat confdefs.h >>conftest.$ac_ext | |
26310 | cat >>conftest.$ac_ext <<_ACEOF | |
26311 | /* end confdefs.h. */ | |
26312 | ||
4f14bcd8 | 26313 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
26314 | #ifdef __cplusplus |
26315 | extern "C" | |
26316 | #endif | |
4f14bcd8 | 26317 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
26318 | builtin and then its argument prototype would still apply. */ |
26319 | char wcslen (); | |
26320 | int | |
26321 | main () | |
26322 | { | |
26323 | wcslen (); | |
26324 | ; | |
26325 | return 0; | |
26326 | } | |
26327 | _ACEOF | |
26328 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26330 | (eval $ac_link) 2>&5 | |
26331 | ac_status=$? | |
26332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26333 | (exit $ac_status); } && | |
26334 | { ac_try='test -s conftest$ac_exeext' | |
26335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26336 | (eval $ac_try) 2>&5 | |
26337 | ac_status=$? | |
26338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26339 | (exit $ac_status); }; }; then | |
26340 | ac_cv_lib_w_wcslen=yes | |
26341 | else | |
26342 | echo "$as_me: failed program was:" >&5 | |
26343 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26344 | ||
26345 | ac_cv_lib_w_wcslen=no | |
26346 | fi | |
26347 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
26348 | LIBS=$ac_check_lib_save_LIBS | |
26349 | fi | |
26350 | echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5 | |
26351 | echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6 | |
26352 | if test $ac_cv_lib_w_wcslen = yes; then | |
a0b9e27f | 26353 | |
7a30264c | 26354 | WCHAR_LINK=" -lw" |
d74f4b5a | 26355 | WCSLEN_FOUND=1 |
e6cc62c6 | 26356 | |
4f14bcd8 | 26357 | fi |
10f2d63a | 26358 | |
7a30264c | 26359 | fi |
d29b553b | 26360 | fi |
95c8801c | 26361 | |
d74f4b5a | 26362 | if test "$WCSLEN_FOUND" = 1; then |
e6cc62c6 | 26363 | cat >>confdefs.h <<\_ACEOF |
d74f4b5a | 26364 | #define HAVE_WCSLEN 1 |
e6cc62c6 | 26365 | _ACEOF |
10f2d63a | 26366 | |
d74f4b5a | 26367 | fi |
52127426 | 26368 | |
e6cc62c6 VS |
26369 | |
26370 | for ac_func in wcsrtombs | |
eb4efbdc | 26371 | do |
e6cc62c6 VS |
26372 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
26373 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
26374 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
26375 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
26376 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
26377 | else | |
26378 | cat >conftest.$ac_ext <<_ACEOF | |
26379 | #line $LINENO "configure" | |
26380 | /* confdefs.h. */ | |
26381 | _ACEOF | |
26382 | cat confdefs.h >>conftest.$ac_ext | |
26383 | cat >>conftest.$ac_ext <<_ACEOF | |
26384 | /* end confdefs.h. */ | |
eb4efbdc | 26385 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
26386 | which can conflict with char $ac_func (); below. |
26387 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
26388 | <limits.h> exists even on freestanding compilers. */ | |
26389 | #ifdef __STDC__ | |
26390 | # include <limits.h> | |
26391 | #else | |
26392 | # include <assert.h> | |
26393 | #endif | |
eb4efbdc | 26394 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
26395 | #ifdef __cplusplus |
26396 | extern "C" | |
26397 | { | |
26398 | #endif | |
4f14bcd8 | 26399 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
26400 | builtin and then its argument prototype would still apply. */ |
26401 | char $ac_func (); | |
10f2d63a VZ |
26402 | /* The GNU C library defines this for functions which it implements |
26403 | to always fail with ENOSYS. Some functions are actually named | |
26404 | something starting with __ and the normal name is an alias. */ | |
247f5006 | 26405 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
10f2d63a VZ |
26406 | choke me |
26407 | #else | |
e6cc62c6 VS |
26408 | char (*f) () = $ac_func; |
26409 | #endif | |
26410 | #ifdef __cplusplus | |
26411 | } | |
10f2d63a VZ |
26412 | #endif |
26413 | ||
e6cc62c6 VS |
26414 | int |
26415 | main () | |
26416 | { | |
26417 | return f != $ac_func; | |
26418 | ; | |
26419 | return 0; | |
26420 | } | |
26421 | _ACEOF | |
26422 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26423 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26424 | (eval $ac_link) 2>&5 | |
26425 | ac_status=$? | |
26426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26427 | (exit $ac_status); } && | |
26428 | { ac_try='test -s conftest$ac_exeext' | |
26429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26430 | (eval $ac_try) 2>&5 | |
26431 | ac_status=$? | |
26432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26433 | (exit $ac_status); }; }; then | |
26434 | eval "$as_ac_var=yes" | |
26435 | else | |
26436 | echo "$as_me: failed program was:" >&5 | |
26437 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26438 | ||
26439 | eval "$as_ac_var=no" | |
26440 | fi | |
26441 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
26442 | fi | |
26443 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
26444 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
26445 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
26446 | cat >>confdefs.h <<_ACEOF | |
26447 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
26448 | _ACEOF | |
270a909e | 26449 | |
4f14bcd8 | 26450 | fi |
247f5006 | 26451 | done |
1e487827 | 26452 | |
af15babd | 26453 | else |
e6cc62c6 VS |
26454 | { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5 |
26455 | echo "$as_me: WARNING: Wide character support is unavailable" >&2;} | |
7b4a847f | 26456 | fi |
52127426 | 26457 | |
8284b0c5 | 26458 | |
e6cc62c6 VS |
26459 | |
26460 | ac_ext=cc | |
247f5006 | 26461 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
26462 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
26463 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
26464 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
26465 | ||
af15babd | 26466 | |
247f5006 VZ |
26467 | |
26468 | for ac_func in vsnprintf | |
26469 | do | |
e6cc62c6 VS |
26470 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
26471 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
26472 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
26473 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
26474 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
26475 | else | |
26476 | cat >conftest.$ac_ext <<_ACEOF | |
26477 | #line $LINENO "configure" | |
26478 | /* confdefs.h. */ | |
26479 | _ACEOF | |
26480 | cat confdefs.h >>conftest.$ac_ext | |
26481 | cat >>conftest.$ac_ext <<_ACEOF | |
26482 | /* end confdefs.h. */ | |
247f5006 | 26483 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
26484 | which can conflict with char $ac_func (); below. |
26485 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
26486 | <limits.h> exists even on freestanding compilers. */ | |
26487 | #ifdef __STDC__ | |
26488 | # include <limits.h> | |
26489 | #else | |
26490 | # include <assert.h> | |
26491 | #endif | |
247f5006 VZ |
26492 | /* Override any gcc2 internal prototype to avoid an error. */ |
26493 | #ifdef __cplusplus | |
26494 | extern "C" | |
e6cc62c6 | 26495 | { |
247f5006 VZ |
26496 | #endif |
26497 | /* We use char because int might match the return type of a gcc2 | |
e6cc62c6 VS |
26498 | builtin and then its argument prototype would still apply. */ |
26499 | char $ac_func (); | |
247f5006 VZ |
26500 | /* The GNU C library defines this for functions which it implements |
26501 | to always fail with ENOSYS. Some functions are actually named | |
26502 | something starting with __ and the normal name is an alias. */ | |
26503 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
26504 | choke me | |
26505 | #else | |
e6cc62c6 VS |
26506 | char (*f) () = $ac_func; |
26507 | #endif | |
26508 | #ifdef __cplusplus | |
26509 | } | |
247f5006 | 26510 | #endif |
af15babd | 26511 | |
e6cc62c6 VS |
26512 | int |
26513 | main () | |
26514 | { | |
26515 | return f != $ac_func; | |
26516 | ; | |
26517 | return 0; | |
26518 | } | |
26519 | _ACEOF | |
26520 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26521 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26522 | (eval $ac_link) 2>&5 | |
26523 | ac_status=$? | |
26524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26525 | (exit $ac_status); } && | |
26526 | { ac_try='test -s conftest$ac_exeext' | |
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 | eval "$as_ac_var=yes" | |
26533 | else | |
26534 | echo "$as_me: failed program was:" >&5 | |
26535 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26536 | ||
26537 | eval "$as_ac_var=no" | |
26538 | fi | |
26539 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
26540 | fi | |
26541 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
26542 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
26543 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
26544 | cat >>confdefs.h <<_ACEOF | |
26545 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
26546 | _ACEOF | |
52127426 | 26547 | |
5c6fa7d2 | 26548 | fi |
247f5006 | 26549 | done |
8284b0c5 | 26550 | |
4f14bcd8 | 26551 | |
8d90d2f2 | 26552 | if test "$ac_cv_func_vsnprintf" = "yes"; then |
e6cc62c6 VS |
26553 | echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5 |
26554 | echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6 | |
26555 | if test "${wx_cv_func_vsnprintf_decl+set}" = set; then | |
26556 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8d90d2f2 | 26557 | else |
e6cc62c6 VS |
26558 | |
26559 | cat >conftest.$ac_ext <<_ACEOF | |
26560 | #line $LINENO "configure" | |
26561 | /* confdefs.h. */ | |
26562 | _ACEOF | |
26563 | cat confdefs.h >>conftest.$ac_ext | |
26564 | cat >>conftest.$ac_ext <<_ACEOF | |
26565 | /* end confdefs.h. */ | |
8d90d2f2 VZ |
26566 | |
26567 | #include <stdio.h> | |
26568 | #include <stdarg.h> | |
e6cc62c6 VS |
26569 | |
26570 | int | |
26571 | main () | |
26572 | { | |
8d90d2f2 VZ |
26573 | |
26574 | char *buf; | |
26575 | va_list ap; | |
26576 | vsnprintf(buf, 10u, "%s", ap); | |
e6cc62c6 VS |
26577 | |
26578 | ; | |
26579 | return 0; | |
26580 | } | |
26581 | _ACEOF | |
26582 | rm -f conftest.$ac_objext | |
26583 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
26584 | (eval $ac_compile) 2>&5 | |
26585 | ac_status=$? | |
26586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26587 | (exit $ac_status); } && | |
26588 | { ac_try='test -s conftest.$ac_objext' | |
26589 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26590 | (eval $ac_try) 2>&5 | |
26591 | ac_status=$? | |
26592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26593 | (exit $ac_status); }; }; then | |
8d90d2f2 VZ |
26594 | wx_cv_func_vsnprintf_decl=yes |
26595 | else | |
e6cc62c6 VS |
26596 | echo "$as_me: failed program was:" >&5 |
26597 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26598 | ||
26599 | wx_cv_func_vsnprintf_decl=no | |
26600 | ||
8d90d2f2 | 26601 | fi |
e6cc62c6 VS |
26602 | rm -f conftest.$ac_objext conftest.$ac_ext |
26603 | ||
8d90d2f2 | 26604 | |
e6cc62c6 VS |
26605 | fi |
26606 | echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5 | |
26607 | echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6 | |
8d90d2f2 VZ |
26608 | |
26609 | if test "$wx_cv_func_vsnprintf_decl" = "yes"; then | |
e6cc62c6 | 26610 | cat >>confdefs.h <<\_ACEOF |
8d90d2f2 | 26611 | #define HAVE_VSNPRINTF_DECL 1 |
e6cc62c6 | 26612 | _ACEOF |
8d90d2f2 VZ |
26613 | |
26614 | fi | |
26615 | fi | |
26616 | ||
247f5006 | 26617 | if test "$wxUSE_UNICODE" = yes; then |
e6cc62c6 VS |
26618 | |
26619 | ||
26620 | ||
26621 | for ac_func in fputwc wprintf vswprintf | |
d74f4b5a | 26622 | do |
e6cc62c6 VS |
26623 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
26624 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
26625 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
26626 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
26627 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
26628 | else | |
26629 | cat >conftest.$ac_ext <<_ACEOF | |
26630 | #line $LINENO "configure" | |
26631 | /* confdefs.h. */ | |
26632 | _ACEOF | |
26633 | cat confdefs.h >>conftest.$ac_ext | |
26634 | cat >>conftest.$ac_ext <<_ACEOF | |
26635 | /* end confdefs.h. */ | |
d74f4b5a | 26636 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
26637 | which can conflict with char $ac_func (); below. |
26638 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
26639 | <limits.h> exists even on freestanding compilers. */ | |
26640 | #ifdef __STDC__ | |
26641 | # include <limits.h> | |
26642 | #else | |
26643 | # include <assert.h> | |
26644 | #endif | |
d74f4b5a | 26645 | /* Override any gcc2 internal prototype to avoid an error. */ |
247f5006 VZ |
26646 | #ifdef __cplusplus |
26647 | extern "C" | |
e6cc62c6 | 26648 | { |
247f5006 | 26649 | #endif |
d74f4b5a | 26650 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
26651 | builtin and then its argument prototype would still apply. */ |
26652 | char $ac_func (); | |
d74f4b5a VZ |
26653 | /* The GNU C library defines this for functions which it implements |
26654 | to always fail with ENOSYS. Some functions are actually named | |
26655 | something starting with __ and the normal name is an alias. */ | |
26656 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
26657 | choke me | |
26658 | #else | |
e6cc62c6 VS |
26659 | char (*f) () = $ac_func; |
26660 | #endif | |
26661 | #ifdef __cplusplus | |
26662 | } | |
d74f4b5a VZ |
26663 | #endif |
26664 | ||
e6cc62c6 VS |
26665 | int |
26666 | main () | |
26667 | { | |
26668 | return f != $ac_func; | |
26669 | ; | |
26670 | return 0; | |
26671 | } | |
26672 | _ACEOF | |
26673 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26674 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26675 | (eval $ac_link) 2>&5 | |
26676 | ac_status=$? | |
26677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26678 | (exit $ac_status); } && | |
26679 | { ac_try='test -s conftest$ac_exeext' | |
26680 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26681 | (eval $ac_try) 2>&5 | |
26682 | ac_status=$? | |
26683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26684 | (exit $ac_status); }; }; then | |
26685 | eval "$as_ac_var=yes" | |
26686 | else | |
26687 | echo "$as_me: failed program was:" >&5 | |
26688 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26689 | ||
26690 | eval "$as_ac_var=no" | |
26691 | fi | |
26692 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
26693 | fi | |
26694 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
26695 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
26696 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
26697 | cat >>confdefs.h <<_ACEOF | |
26698 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
26699 | _ACEOF | |
d74f4b5a | 26700 | |
d74f4b5a VZ |
26701 | fi |
26702 | done | |
26703 | ||
8d90d2f2 | 26704 | |
e6cc62c6 VS |
26705 | echo "$as_me:$LINENO: checking for _vsnwprintf" >&5 |
26706 | echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6 | |
26707 | cat >conftest.$ac_ext <<_ACEOF | |
26708 | #line $LINENO "configure" | |
26709 | /* confdefs.h. */ | |
26710 | _ACEOF | |
26711 | cat confdefs.h >>conftest.$ac_ext | |
26712 | cat >>conftest.$ac_ext <<_ACEOF | |
26713 | /* end confdefs.h. */ | |
79668cae | 26714 | #include <wchar.h> |
e6cc62c6 VS |
26715 | int |
26716 | main () | |
26717 | { | |
79668cae | 26718 | &_vsnwprintf; |
e6cc62c6 VS |
26719 | ; |
26720 | return 0; | |
26721 | } | |
26722 | _ACEOF | |
26723 | rm -f conftest.$ac_objext | |
26724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
26725 | (eval $ac_compile) 2>&5 | |
26726 | ac_status=$? | |
26727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26728 | (exit $ac_status); } && | |
26729 | { ac_try='test -s conftest.$ac_objext' | |
26730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26731 | (eval $ac_try) 2>&5 | |
26732 | ac_status=$? | |
26733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26734 | (exit $ac_status); }; }; then | |
26735 | echo "$as_me:$LINENO: result: yes" >&5 | |
26736 | echo "${ECHO_T}yes" >&6 | |
26737 | cat >>confdefs.h <<\_ACEOF | |
79668cae | 26738 | #define HAVE__VSNWPRINTF 1 |
e6cc62c6 | 26739 | _ACEOF |
79668cae MB |
26740 | |
26741 | else | |
e6cc62c6 VS |
26742 | echo "$as_me: failed program was:" >&5 |
26743 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26744 | ||
26745 | echo "$as_me:$LINENO: result: no" >&5 | |
26746 | echo "${ECHO_T}no" >&6 | |
79668cae | 26747 | fi |
e6cc62c6 | 26748 | rm -f conftest.$ac_objext conftest.$ac_ext; |
d74f4b5a VZ |
26749 | fi |
26750 | ||
247f5006 VZ |
26751 | ac_ext=c |
26752 | ac_cpp='$CPP $CPPFLAGS' | |
e6cc62c6 VS |
26753 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
26754 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
26755 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
247f5006 VZ |
26756 | |
26757 | ||
26758 | ||
26759 | ||
4f14bcd8 | 26760 | if test "$TOOLKIT" != "MSW"; then |
af15babd | 26761 | |
8284b0c5 MB |
26762 | |
26763 | ||
e6cc62c6 VS |
26764 | |
26765 | ac_ext=cc | |
4f14bcd8 | 26766 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
26767 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
26768 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
26769 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
8284b0c5 | 26770 | |
52127426 | 26771 | |
e6cc62c6 VS |
26772 | |
26773 | ||
26774 | # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. | |
b040e242 VS |
26775 | if test "${with_libiconv_prefix+set}" = set; then |
26776 | withval="$with_libiconv_prefix" | |
e6cc62c6 | 26777 | |
b040e242 VS |
26778 | for dir in `echo "$withval" | tr : ' '`; do |
26779 | if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi | |
26780 | if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi | |
26781 | done | |
b040e242 | 26782 | |
e6cc62c6 | 26783 | fi; |
b040e242 | 26784 | |
e6cc62c6 VS |
26785 | echo "$as_me:$LINENO: checking for iconv" >&5 |
26786 | echo $ECHO_N "checking for iconv... $ECHO_C" >&6 | |
26787 | if test "${am_cv_func_iconv+set}" = set; then | |
26788 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
af15babd | 26789 | else |
e6cc62c6 | 26790 | |
b040e242 VS |
26791 | am_cv_func_iconv="no, consider installing GNU libiconv" |
26792 | am_cv_lib_iconv=no | |
e6cc62c6 VS |
26793 | cat >conftest.$ac_ext <<_ACEOF |
26794 | #line $LINENO "configure" | |
26795 | /* confdefs.h. */ | |
26796 | _ACEOF | |
26797 | cat confdefs.h >>conftest.$ac_ext | |
26798 | cat >>conftest.$ac_ext <<_ACEOF | |
26799 | /* end confdefs.h. */ | |
b040e242 | 26800 | #include <stdlib.h> |
4f14bcd8 | 26801 | #include <iconv.h> |
e6cc62c6 VS |
26802 | int |
26803 | main () | |
26804 | { | |
b040e242 VS |
26805 | iconv_t cd = iconv_open("",""); |
26806 | iconv(cd,NULL,NULL,NULL,NULL); | |
26807 | iconv_close(cd); | |
e6cc62c6 VS |
26808 | ; |
26809 | return 0; | |
26810 | } | |
26811 | _ACEOF | |
26812 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26813 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26814 | (eval $ac_link) 2>&5 | |
26815 | ac_status=$? | |
26816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26817 | (exit $ac_status); } && | |
26818 | { ac_try='test -s conftest$ac_exeext' | |
26819 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26820 | (eval $ac_try) 2>&5 | |
26821 | ac_status=$? | |
26822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26823 | (exit $ac_status); }; }; then | |
b040e242 | 26824 | am_cv_func_iconv=yes |
af15babd | 26825 | else |
e6cc62c6 VS |
26826 | echo "$as_me: failed program was:" >&5 |
26827 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26828 | ||
b040e242 | 26829 | fi |
e6cc62c6 | 26830 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
b040e242 VS |
26831 | if test "$am_cv_func_iconv" != yes; then |
26832 | am_save_LIBS="$LIBS" | |
26833 | LIBS="$LIBS -liconv" | |
e6cc62c6 VS |
26834 | cat >conftest.$ac_ext <<_ACEOF |
26835 | #line $LINENO "configure" | |
26836 | /* confdefs.h. */ | |
26837 | _ACEOF | |
26838 | cat confdefs.h >>conftest.$ac_ext | |
26839 | cat >>conftest.$ac_ext <<_ACEOF | |
26840 | /* end confdefs.h. */ | |
b040e242 VS |
26841 | #include <stdlib.h> |
26842 | #include <iconv.h> | |
e6cc62c6 VS |
26843 | int |
26844 | main () | |
26845 | { | |
b040e242 VS |
26846 | iconv_t cd = iconv_open("",""); |
26847 | iconv(cd,NULL,NULL,NULL,NULL); | |
26848 | iconv_close(cd); | |
e6cc62c6 VS |
26849 | ; |
26850 | return 0; | |
26851 | } | |
26852 | _ACEOF | |
26853 | rm -f conftest.$ac_objext conftest$ac_exeext | |
26854 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
26855 | (eval $ac_link) 2>&5 | |
26856 | ac_status=$? | |
26857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26858 | (exit $ac_status); } && | |
26859 | { ac_try='test -s conftest$ac_exeext' | |
26860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26861 | (eval $ac_try) 2>&5 | |
26862 | ac_status=$? | |
26863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26864 | (exit $ac_status); }; }; then | |
b040e242 VS |
26865 | am_cv_lib_iconv=yes |
26866 | am_cv_func_iconv=yes | |
26867 | else | |
e6cc62c6 VS |
26868 | echo "$as_me: failed program was:" >&5 |
26869 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26870 | ||
af15babd | 26871 | fi |
e6cc62c6 | 26872 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
b040e242 VS |
26873 | LIBS="$am_save_LIBS" |
26874 | fi | |
247f5006 | 26875 | |
e6cc62c6 VS |
26876 | fi |
26877 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 | |
26878 | echo "${ECHO_T}$am_cv_func_iconv" >&6 | |
a0b9e27f | 26879 | if test "$am_cv_func_iconv" = yes; then |
e6cc62c6 VS |
26880 | |
26881 | cat >>confdefs.h <<\_ACEOF | |
b040e242 | 26882 | #define HAVE_ICONV 1 |
e6cc62c6 | 26883 | _ACEOF |
b040e242 | 26884 | |
e6cc62c6 VS |
26885 | echo "$as_me:$LINENO: checking if iconv needs const" >&5 |
26886 | echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6 | |
26887 | if test "${wx_cv_func_iconv_const+set}" = set; then | |
26888 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
b040e242 | 26889 | else |
e6cc62c6 VS |
26890 | cat >conftest.$ac_ext <<_ACEOF |
26891 | #line $LINENO "configure" | |
26892 | /* confdefs.h. */ | |
26893 | _ACEOF | |
26894 | cat confdefs.h >>conftest.$ac_ext | |
26895 | cat >>conftest.$ac_ext <<_ACEOF | |
26896 | /* end confdefs.h. */ | |
b040e242 VS |
26897 | |
26898 | #include <stdlib.h> | |
26899 | #include <iconv.h> | |
26900 | extern | |
26901 | #ifdef __cplusplus | |
26902 | "C" | |
26903 | #endif | |
26904 | #if defined(__STDC__) || defined(__cplusplus) | |
26905 | size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); | |
26906 | #else | |
26907 | size_t iconv(); | |
26908 | #endif | |
af15babd | 26909 | |
e6cc62c6 VS |
26910 | int |
26911 | main () | |
26912 | { | |
26913 | ||
26914 | ; | |
26915 | return 0; | |
26916 | } | |
26917 | _ACEOF | |
26918 | rm -f conftest.$ac_objext | |
26919 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
26920 | (eval $ac_compile) 2>&5 | |
26921 | ac_status=$? | |
26922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26923 | (exit $ac_status); } && | |
26924 | { ac_try='test -s conftest.$ac_objext' | |
26925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
26926 | (eval $ac_try) 2>&5 | |
26927 | ac_status=$? | |
26928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26929 | (exit $ac_status); }; }; then | |
b7043674 | 26930 | wx_cv_func_iconv_const="no" |
b040e242 | 26931 | else |
e6cc62c6 VS |
26932 | echo "$as_me: failed program was:" >&5 |
26933 | sed 's/^/| /' conftest.$ac_ext >&5 | |
26934 | ||
26935 | wx_cv_func_iconv_const="yes" | |
26936 | ||
247f5006 | 26937 | fi |
e6cc62c6 | 26938 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 26939 | |
e6cc62c6 VS |
26940 | fi |
26941 | echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5 | |
26942 | echo "${ECHO_T}$wx_cv_func_iconv_const" >&6 | |
b7043674 VZ |
26943 | |
26944 | iconv_const= | |
1c405bb5 | 26945 | if test "x$wx_cv_func_iconv_const" = "xyes"; then |
b7043674 VZ |
26946 | iconv_const="const" |
26947 | fi | |
26948 | ||
e6cc62c6 VS |
26949 | |
26950 | cat >>confdefs.h <<_ACEOF | |
f09359cf | 26951 | #define ICONV_CONST $iconv_const |
e6cc62c6 | 26952 | _ACEOF |
b040e242 VS |
26953 | |
26954 | fi | |
26955 | LIBICONV= | |
26956 | if test "$am_cv_lib_iconv" = yes; then | |
26957 | LIBICONV="-liconv" | |
26958 | fi | |
e6cc62c6 | 26959 | |
b040e242 VS |
26960 | |
26961 | LIBS="$LIBICONV $LIBS" | |
4f14bcd8 | 26962 | ac_ext=c |
4f14bcd8 | 26963 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
26964 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
26965 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
26966 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
7b4a847f | 26967 | |
5c6fa7d2 | 26968 | |
8284b0c5 | 26969 | if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then |
e6cc62c6 VS |
26970 | |
26971 | for ac_func in sigaction | |
af15babd | 26972 | do |
e6cc62c6 VS |
26973 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
26974 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
26975 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
26976 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
26977 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
26978 | else | |
26979 | cat >conftest.$ac_ext <<_ACEOF | |
26980 | #line $LINENO "configure" | |
26981 | /* confdefs.h. */ | |
26982 | _ACEOF | |
26983 | cat confdefs.h >>conftest.$ac_ext | |
26984 | cat >>conftest.$ac_ext <<_ACEOF | |
26985 | /* end confdefs.h. */ | |
af15babd | 26986 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
26987 | which can conflict with char $ac_func (); below. |
26988 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
26989 | <limits.h> exists even on freestanding compilers. */ | |
26990 | #ifdef __STDC__ | |
26991 | # include <limits.h> | |
26992 | #else | |
26993 | # include <assert.h> | |
26994 | #endif | |
af15babd | 26995 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
26996 | #ifdef __cplusplus |
26997 | extern "C" | |
26998 | { | |
26999 | #endif | |
af15babd | 27000 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27001 | builtin and then its argument prototype would still apply. */ |
27002 | char $ac_func (); | |
af15babd VZ |
27003 | /* The GNU C library defines this for functions which it implements |
27004 | to always fail with ENOSYS. Some functions are actually named | |
27005 | something starting with __ and the normal name is an alias. */ | |
27006 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
27007 | choke me | |
27008 | #else | |
e6cc62c6 VS |
27009 | char (*f) () = $ac_func; |
27010 | #endif | |
27011 | #ifdef __cplusplus | |
27012 | } | |
af15babd VZ |
27013 | #endif |
27014 | ||
e6cc62c6 VS |
27015 | int |
27016 | main () | |
27017 | { | |
27018 | return f != $ac_func; | |
27019 | ; | |
27020 | return 0; | |
27021 | } | |
27022 | _ACEOF | |
27023 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27024 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27025 | (eval $ac_link) 2>&5 | |
27026 | ac_status=$? | |
27027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27028 | (exit $ac_status); } && | |
27029 | { ac_try='test -s conftest$ac_exeext' | |
27030 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27031 | (eval $ac_try) 2>&5 | |
27032 | ac_status=$? | |
27033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27034 | (exit $ac_status); }; }; then | |
27035 | eval "$as_ac_var=yes" | |
27036 | else | |
27037 | echo "$as_me: failed program was:" >&5 | |
27038 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27039 | ||
27040 | eval "$as_ac_var=no" | |
27041 | fi | |
27042 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27043 | fi | |
27044 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
27045 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
27046 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
27047 | cat >>confdefs.h <<_ACEOF | |
27048 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
27049 | _ACEOF | |
7b4a847f | 27050 | |
4f14bcd8 GD |
27051 | fi |
27052 | done | |
27053 | ||
8284b0c5 | 27054 | |
4f14bcd8 | 27055 | if test "$ac_cv_func_sigaction" = "no"; then |
e6cc62c6 VS |
27056 | { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5 |
27057 | echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;} | |
4f14bcd8 GD |
27058 | wxUSE_ON_FATAL_EXCEPTION=no |
27059 | fi | |
27060 | ||
27061 | if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then | |
e6cc62c6 VS |
27062 | |
27063 | ||
27064 | ac_ext=cc | |
5c6fa7d2 | 27065 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
27066 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
27067 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
27068 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
7b4a847f | 27069 | |
5c6fa7d2 | 27070 | |
e6cc62c6 VS |
27071 | echo "$as_me:$LINENO: checking for sa_handler type" >&5 |
27072 | echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6 | |
27073 | if test "${wx_cv_type_sa_handler+set}" = set; then | |
27074 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 27075 | else |
e6cc62c6 VS |
27076 | |
27077 | cat >conftest.$ac_ext <<_ACEOF | |
27078 | #line $LINENO "configure" | |
27079 | /* confdefs.h. */ | |
27080 | _ACEOF | |
27081 | cat confdefs.h >>conftest.$ac_ext | |
27082 | cat >>conftest.$ac_ext <<_ACEOF | |
27083 | /* end confdefs.h. */ | |
4f14bcd8 | 27084 | #include <signal.h> |
e6cc62c6 VS |
27085 | int |
27086 | main () | |
27087 | { | |
4f14bcd8 GD |
27088 | |
27089 | extern void testSigHandler(int); | |
27090 | ||
27091 | struct sigaction sa; | |
27092 | sa.sa_handler = testSigHandler; | |
e6cc62c6 VS |
27093 | |
27094 | ; | |
27095 | return 0; | |
27096 | } | |
27097 | _ACEOF | |
27098 | rm -f conftest.$ac_objext | |
27099 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
27100 | (eval $ac_compile) 2>&5 | |
27101 | ac_status=$? | |
27102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27103 | (exit $ac_status); } && | |
27104 | { ac_try='test -s conftest.$ac_objext' | |
27105 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27106 | (eval $ac_try) 2>&5 | |
27107 | ac_status=$? | |
27108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27109 | (exit $ac_status); }; }; then | |
27110 | ||
4f14bcd8 | 27111 | wx_cv_type_sa_handler=int |
e6cc62c6 | 27112 | |
af15babd | 27113 | else |
e6cc62c6 VS |
27114 | echo "$as_me: failed program was:" >&5 |
27115 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27116 | ||
27117 | ||
4f14bcd8 | 27118 | wx_cv_type_sa_handler=void |
e6cc62c6 | 27119 | |
247f5006 | 27120 | fi |
e6cc62c6 | 27121 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 27122 | |
e6cc62c6 VS |
27123 | fi |
27124 | echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5 | |
27125 | echo "${ECHO_T}$wx_cv_type_sa_handler" >&6 | |
4f14bcd8 GD |
27126 | |
27127 | ac_ext=c | |
4f14bcd8 | 27128 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
27129 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
27130 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
27131 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
579d8138 | 27132 | |
8284b0c5 | 27133 | |
e6cc62c6 | 27134 | cat >>confdefs.h <<_ACEOF |
4f14bcd8 | 27135 | #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler |
e6cc62c6 | 27136 | _ACEOF |
af15babd | 27137 | |
4f14bcd8 GD |
27138 | fi |
27139 | fi | |
af15babd | 27140 | |
e6cc62c6 VS |
27141 | |
27142 | ||
a1d22ad7 | 27143 | for ac_func in mkstemp mktemp |
af15babd | 27144 | do |
e6cc62c6 VS |
27145 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
27146 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
27147 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
27148 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
27149 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
27150 | else | |
27151 | cat >conftest.$ac_ext <<_ACEOF | |
27152 | #line $LINENO "configure" | |
27153 | /* confdefs.h. */ | |
27154 | _ACEOF | |
27155 | cat confdefs.h >>conftest.$ac_ext | |
27156 | cat >>conftest.$ac_ext <<_ACEOF | |
27157 | /* end confdefs.h. */ | |
af15babd | 27158 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
27159 | which can conflict with char $ac_func (); below. |
27160 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
27161 | <limits.h> exists even on freestanding compilers. */ | |
27162 | #ifdef __STDC__ | |
27163 | # include <limits.h> | |
27164 | #else | |
27165 | # include <assert.h> | |
27166 | #endif | |
af15babd | 27167 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27168 | #ifdef __cplusplus |
27169 | extern "C" | |
27170 | { | |
27171 | #endif | |
af15babd | 27172 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27173 | builtin and then its argument prototype would still apply. */ |
27174 | char $ac_func (); | |
af15babd VZ |
27175 | /* The GNU C library defines this for functions which it implements |
27176 | to always fail with ENOSYS. Some functions are actually named | |
27177 | something starting with __ and the normal name is an alias. */ | |
27178 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
27179 | choke me | |
27180 | #else | |
e6cc62c6 VS |
27181 | char (*f) () = $ac_func; |
27182 | #endif | |
27183 | #ifdef __cplusplus | |
27184 | } | |
af15babd VZ |
27185 | #endif |
27186 | ||
e6cc62c6 VS |
27187 | int |
27188 | main () | |
27189 | { | |
27190 | return f != $ac_func; | |
27191 | ; | |
27192 | return 0; | |
27193 | } | |
27194 | _ACEOF | |
27195 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27196 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27197 | (eval $ac_link) 2>&5 | |
27198 | ac_status=$? | |
27199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27200 | (exit $ac_status); } && | |
27201 | { ac_try='test -s conftest$ac_exeext' | |
27202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27203 | (eval $ac_try) 2>&5 | |
27204 | ac_status=$? | |
27205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27206 | (exit $ac_status); }; }; then | |
27207 | eval "$as_ac_var=yes" | |
27208 | else | |
27209 | echo "$as_me: failed program was:" >&5 | |
27210 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27211 | ||
27212 | eval "$as_ac_var=no" | |
27213 | fi | |
27214 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27215 | fi | |
27216 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
27217 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
27218 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
27219 | cat >>confdefs.h <<_ACEOF | |
27220 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
27221 | _ACEOF | |
ade35f11 | 27222 | break |
ade35f11 VZ |
27223 | fi |
27224 | done | |
27225 | ||
8284b0c5 | 27226 | |
e6cc62c6 VS |
27227 | echo "$as_me:$LINENO: checking for statfs" >&5 |
27228 | echo $ECHO_N "checking for statfs... $ECHO_C" >&6 | |
27229 | if test "${wx_cv_func_statfs+set}" = set; then | |
27230 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4f14bcd8 | 27231 | else |
e6cc62c6 VS |
27232 | cat >conftest.$ac_ext <<_ACEOF |
27233 | #line $LINENO "configure" | |
27234 | /* confdefs.h. */ | |
27235 | _ACEOF | |
27236 | cat confdefs.h >>conftest.$ac_ext | |
27237 | cat >>conftest.$ac_ext <<_ACEOF | |
27238 | /* end confdefs.h. */ | |
4f14bcd8 GD |
27239 | |
27240 | #if defined(__BSD__) | |
27241 | #include <sys/param.h> | |
27242 | #include <sys/mount.h> | |
27243 | #else | |
27244 | #include <sys/vfs.h> | |
27245 | #endif | |
e6cc62c6 VS |
27246 | |
27247 | int | |
27248 | main () | |
27249 | { | |
4f14bcd8 GD |
27250 | |
27251 | long l; | |
27252 | struct statfs fs; | |
27253 | statfs("/", &fs); | |
27254 | l = fs.f_bsize; | |
27255 | l += fs.f_blocks; | |
27256 | l += fs.f_bavail; | |
e6cc62c6 VS |
27257 | |
27258 | ; | |
27259 | return 0; | |
27260 | } | |
27261 | _ACEOF | |
27262 | rm -f conftest.$ac_objext | |
27263 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
27264 | (eval $ac_compile) 2>&5 | |
27265 | ac_status=$? | |
27266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27267 | (exit $ac_status); } && | |
27268 | { ac_try='test -s conftest.$ac_objext' | |
27269 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27270 | (eval $ac_try) 2>&5 | |
27271 | ac_status=$? | |
27272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27273 | (exit $ac_status); }; }; then | |
27274 | ||
4f14bcd8 | 27275 | wx_cv_func_statfs=yes |
e6cc62c6 | 27276 | |
4f14bcd8 | 27277 | else |
e6cc62c6 VS |
27278 | echo "$as_me: failed program was:" >&5 |
27279 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27280 | ||
27281 | ||
4f14bcd8 | 27282 | wx_cv_func_statfs=no |
e6cc62c6 | 27283 | |
8284b0c5 | 27284 | |
247f5006 | 27285 | fi |
e6cc62c6 | 27286 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 27287 | |
e6cc62c6 VS |
27288 | fi |
27289 | echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5 | |
27290 | echo "${ECHO_T}$wx_cv_func_statfs" >&6 | |
4f14bcd8 GD |
27291 | |
27292 | if test "$wx_cv_func_statfs" = "yes"; then | |
54ab82b3 | 27293 | wx_cv_type_statvfs_t="struct statfs" |
e6cc62c6 | 27294 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 27295 | #define HAVE_STATFS 1 |
e6cc62c6 | 27296 | _ACEOF |
4f14bcd8 GD |
27297 | |
27298 | else | |
e6cc62c6 VS |
27299 | echo "$as_me:$LINENO: checking for statvfs" >&5 |
27300 | echo $ECHO_N "checking for statvfs... $ECHO_C" >&6 | |
27301 | if test "${wx_cv_func_statvfs+set}" = set; then | |
27302 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
af15babd | 27303 | else |
e6cc62c6 VS |
27304 | cat >conftest.$ac_ext <<_ACEOF |
27305 | #line $LINENO "configure" | |
27306 | /* confdefs.h. */ | |
27307 | _ACEOF | |
27308 | cat confdefs.h >>conftest.$ac_ext | |
27309 | cat >>conftest.$ac_ext <<_ACEOF | |
27310 | /* end confdefs.h. */ | |
af15babd | 27311 | |
54ab82b3 VZ |
27312 | #include <stddef.h> |
27313 | #include <sys/statvfs.h> | |
e6cc62c6 VS |
27314 | |
27315 | int | |
27316 | main () | |
27317 | { | |
af15babd | 27318 | |
54ab82b3 | 27319 | statvfs("/", NULL); |
e6cc62c6 VS |
27320 | |
27321 | ; | |
27322 | return 0; | |
27323 | } | |
27324 | _ACEOF | |
27325 | rm -f conftest.$ac_objext | |
27326 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
27327 | (eval $ac_compile) 2>&5 | |
27328 | ac_status=$? | |
27329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27330 | (exit $ac_status); } && | |
27331 | { ac_try='test -s conftest.$ac_objext' | |
27332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27333 | (eval $ac_try) 2>&5 | |
27334 | ac_status=$? | |
27335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27336 | (exit $ac_status); }; }; then | |
54ab82b3 | 27337 | wx_cv_func_statvfs=yes |
af15babd | 27338 | else |
e6cc62c6 VS |
27339 | echo "$as_me: failed program was:" >&5 |
27340 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27341 | ||
27342 | wx_cv_func_statvfs=no | |
27343 | ||
247f5006 | 27344 | fi |
e6cc62c6 | 27345 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 27346 | |
e6cc62c6 VS |
27347 | fi |
27348 | echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5 | |
27349 | echo "${ECHO_T}$wx_cv_func_statvfs" >&6 | |
af15babd | 27350 | |
4f14bcd8 | 27351 | if test "$wx_cv_func_statvfs" = "yes"; then |
e6cc62c6 VS |
27352 | |
27353 | ||
27354 | ac_ext=cc | |
54ab82b3 | 27355 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
27356 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
27357 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
27358 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
54ab82b3 VZ |
27359 | |
27360 | ||
e6cc62c6 VS |
27361 | echo "$as_me:$LINENO: checking for statvfs argument type" >&5 |
27362 | echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6 | |
27363 | if test "${wx_cv_type_statvfs_t+set}" = set; then | |
27364 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
54ab82b3 | 27365 | else |
e6cc62c6 VS |
27366 | cat >conftest.$ac_ext <<_ACEOF |
27367 | #line $LINENO "configure" | |
27368 | /* confdefs.h. */ | |
27369 | _ACEOF | |
27370 | cat confdefs.h >>conftest.$ac_ext | |
27371 | cat >>conftest.$ac_ext <<_ACEOF | |
27372 | /* end confdefs.h. */ | |
54ab82b3 VZ |
27373 | |
27374 | #include <sys/statvfs.h> | |
e6cc62c6 VS |
27375 | |
27376 | int | |
27377 | main () | |
27378 | { | |
54ab82b3 VZ |
27379 | |
27380 | long l; | |
27381 | statvfs_t fs; | |
27382 | statvfs("/", &fs); | |
27383 | l = fs.f_bsize; | |
27384 | l += fs.f_blocks; | |
27385 | l += fs.f_bavail; | |
e6cc62c6 VS |
27386 | |
27387 | ; | |
27388 | return 0; | |
27389 | } | |
27390 | _ACEOF | |
27391 | rm -f conftest.$ac_objext | |
27392 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
27393 | (eval $ac_compile) 2>&5 | |
27394 | ac_status=$? | |
27395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27396 | (exit $ac_status); } && | |
27397 | { ac_try='test -s conftest.$ac_objext' | |
27398 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27399 | (eval $ac_try) 2>&5 | |
27400 | ac_status=$? | |
27401 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27402 | (exit $ac_status); }; }; then | |
54ab82b3 VZ |
27403 | wx_cv_type_statvfs_t=statvfs_t |
27404 | else | |
e6cc62c6 VS |
27405 | echo "$as_me: failed program was:" >&5 |
27406 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27407 | ||
27408 | ||
27409 | cat >conftest.$ac_ext <<_ACEOF | |
27410 | #line $LINENO "configure" | |
27411 | /* confdefs.h. */ | |
27412 | _ACEOF | |
27413 | cat confdefs.h >>conftest.$ac_ext | |
27414 | cat >>conftest.$ac_ext <<_ACEOF | |
27415 | /* end confdefs.h. */ | |
54ab82b3 VZ |
27416 | |
27417 | #include <sys/statvfs.h> | |
e6cc62c6 VS |
27418 | |
27419 | int | |
27420 | main () | |
27421 | { | |
54ab82b3 VZ |
27422 | |
27423 | long l; | |
65d8ef1e | 27424 | struct statvfs fs; |
54ab82b3 VZ |
27425 | statvfs("/", &fs); |
27426 | l = fs.f_bsize; | |
27427 | l += fs.f_blocks; | |
27428 | l += fs.f_bavail; | |
e6cc62c6 VS |
27429 | |
27430 | ; | |
27431 | return 0; | |
27432 | } | |
27433 | _ACEOF | |
27434 | rm -f conftest.$ac_objext | |
27435 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
27436 | (eval $ac_compile) 2>&5 | |
27437 | ac_status=$? | |
27438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27439 | (exit $ac_status); } && | |
27440 | { ac_try='test -s conftest.$ac_objext' | |
27441 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27442 | (eval $ac_try) 2>&5 | |
27443 | ac_status=$? | |
27444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27445 | (exit $ac_status); }; }; then | |
54ab82b3 VZ |
27446 | wx_cv_type_statvfs_t="struct statvfs" |
27447 | else | |
e6cc62c6 VS |
27448 | echo "$as_me: failed program was:" >&5 |
27449 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27450 | ||
27451 | wx_cv_type_statvfs_t="unknown" | |
27452 | ||
54ab82b3 | 27453 | fi |
e6cc62c6 VS |
27454 | rm -f conftest.$ac_objext conftest.$ac_ext |
27455 | ||
27456 | ||
54ab82b3 | 27457 | fi |
e6cc62c6 | 27458 | rm -f conftest.$ac_objext conftest.$ac_ext |
54ab82b3 | 27459 | |
e6cc62c6 VS |
27460 | fi |
27461 | echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5 | |
27462 | echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6 | |
54ab82b3 VZ |
27463 | |
27464 | ac_ext=c | |
54ab82b3 | 27465 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
27466 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
27467 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
27468 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
54ab82b3 VZ |
27469 | |
27470 | ||
27471 | if test "$wx_cv_type_statvfs_t" != "unknown"; then | |
e6cc62c6 | 27472 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 27473 | #define HAVE_STATVFS 1 |
e6cc62c6 | 27474 | _ACEOF |
af15babd | 27475 | |
54ab82b3 | 27476 | fi |
4f14bcd8 | 27477 | else |
54ab82b3 | 27478 | wx_cv_type_statvfs_t="unknown" |
4f14bcd8 GD |
27479 | fi |
27480 | fi | |
af15babd | 27481 | |
54ab82b3 | 27482 | if test "$wx_cv_type_statvfs_t" != "unknown"; then |
e6cc62c6 | 27483 | cat >>confdefs.h <<_ACEOF |
54ab82b3 | 27484 | #define WX_STATFS_T $wx_cv_type_statvfs_t |
e6cc62c6 | 27485 | _ACEOF |
54ab82b3 VZ |
27486 | |
27487 | else | |
e6cc62c6 VS |
27488 | { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5 |
27489 | echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;} | |
54ab82b3 VZ |
27490 | fi |
27491 | ||
4f14bcd8 | 27492 | if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then |
e6cc62c6 VS |
27493 | |
27494 | ||
27495 | for ac_func in fcntl flock | |
af15babd | 27496 | do |
e6cc62c6 VS |
27497 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
27498 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
27499 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
27500 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
27501 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
27502 | else | |
27503 | cat >conftest.$ac_ext <<_ACEOF | |
27504 | #line $LINENO "configure" | |
27505 | /* confdefs.h. */ | |
27506 | _ACEOF | |
27507 | cat confdefs.h >>conftest.$ac_ext | |
27508 | cat >>conftest.$ac_ext <<_ACEOF | |
27509 | /* end confdefs.h. */ | |
af15babd | 27510 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
27511 | which can conflict with char $ac_func (); below. |
27512 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
27513 | <limits.h> exists even on freestanding compilers. */ | |
27514 | #ifdef __STDC__ | |
27515 | # include <limits.h> | |
27516 | #else | |
27517 | # include <assert.h> | |
27518 | #endif | |
af15babd | 27519 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27520 | #ifdef __cplusplus |
27521 | extern "C" | |
27522 | { | |
27523 | #endif | |
af15babd | 27524 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27525 | builtin and then its argument prototype would still apply. */ |
27526 | char $ac_func (); | |
af15babd VZ |
27527 | /* The GNU C library defines this for functions which it implements |
27528 | to always fail with ENOSYS. Some functions are actually named | |
27529 | something starting with __ and the normal name is an alias. */ | |
27530 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
27531 | choke me | |
27532 | #else | |
e6cc62c6 VS |
27533 | char (*f) () = $ac_func; |
27534 | #endif | |
27535 | #ifdef __cplusplus | |
27536 | } | |
af15babd VZ |
27537 | #endif |
27538 | ||
e6cc62c6 VS |
27539 | int |
27540 | main () | |
27541 | { | |
27542 | return f != $ac_func; | |
27543 | ; | |
27544 | return 0; | |
27545 | } | |
27546 | _ACEOF | |
27547 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27548 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27549 | (eval $ac_link) 2>&5 | |
27550 | ac_status=$? | |
27551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27552 | (exit $ac_status); } && | |
27553 | { ac_try='test -s conftest$ac_exeext' | |
27554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27555 | (eval $ac_try) 2>&5 | |
27556 | ac_status=$? | |
27557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27558 | (exit $ac_status); }; }; then | |
27559 | eval "$as_ac_var=yes" | |
27560 | else | |
27561 | echo "$as_me: failed program was:" >&5 | |
27562 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27563 | ||
27564 | eval "$as_ac_var=no" | |
27565 | fi | |
27566 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27567 | fi | |
27568 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
27569 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
27570 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
27571 | cat >>confdefs.h <<_ACEOF | |
27572 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
27573 | _ACEOF | |
4f14bcd8 | 27574 | break |
af15babd VZ |
27575 | fi |
27576 | done | |
27577 | ||
8284b0c5 | 27578 | |
4f14bcd8 | 27579 | if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then |
e6cc62c6 VS |
27580 | { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5 |
27581 | echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;} | |
4f14bcd8 GD |
27582 | wxUSE_SNGLINST_CHECKER=no |
27583 | fi | |
27584 | fi | |
af15babd | 27585 | |
e6cc62c6 | 27586 | |
4f14bcd8 | 27587 | for ac_func in timegm |
af15babd | 27588 | do |
e6cc62c6 VS |
27589 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
27590 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
27591 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
27592 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
27593 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
27594 | else | |
27595 | cat >conftest.$ac_ext <<_ACEOF | |
27596 | #line $LINENO "configure" | |
27597 | /* confdefs.h. */ | |
27598 | _ACEOF | |
27599 | cat confdefs.h >>conftest.$ac_ext | |
27600 | cat >>conftest.$ac_ext <<_ACEOF | |
27601 | /* end confdefs.h. */ | |
af15babd | 27602 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
27603 | which can conflict with char $ac_func (); below. |
27604 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
27605 | <limits.h> exists even on freestanding compilers. */ | |
27606 | #ifdef __STDC__ | |
27607 | # include <limits.h> | |
27608 | #else | |
27609 | # include <assert.h> | |
27610 | #endif | |
af15babd | 27611 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27612 | #ifdef __cplusplus |
27613 | extern "C" | |
27614 | { | |
27615 | #endif | |
af15babd | 27616 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27617 | builtin and then its argument prototype would still apply. */ |
27618 | char $ac_func (); | |
af15babd VZ |
27619 | /* The GNU C library defines this for functions which it implements |
27620 | to always fail with ENOSYS. Some functions are actually named | |
27621 | something starting with __ and the normal name is an alias. */ | |
247f5006 VZ |
27622 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
27623 | choke me | |
27624 | #else | |
e6cc62c6 VS |
27625 | char (*f) () = $ac_func; |
27626 | #endif | |
27627 | #ifdef __cplusplus | |
27628 | } | |
247f5006 VZ |
27629 | #endif |
27630 | ||
e6cc62c6 VS |
27631 | int |
27632 | main () | |
27633 | { | |
27634 | return f != $ac_func; | |
27635 | ; | |
27636 | return 0; | |
27637 | } | |
27638 | _ACEOF | |
27639 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27640 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27641 | (eval $ac_link) 2>&5 | |
27642 | ac_status=$? | |
27643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27644 | (exit $ac_status); } && | |
27645 | { ac_try='test -s conftest$ac_exeext' | |
27646 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27647 | (eval $ac_try) 2>&5 | |
27648 | ac_status=$? | |
27649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27650 | (exit $ac_status); }; }; then | |
27651 | eval "$as_ac_var=yes" | |
27652 | else | |
27653 | echo "$as_me: failed program was:" >&5 | |
27654 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27655 | ||
27656 | eval "$as_ac_var=no" | |
27657 | fi | |
27658 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27659 | fi | |
27660 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
27661 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
27662 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
27663 | cat >>confdefs.h <<_ACEOF | |
27664 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
27665 | _ACEOF | |
703e0a69 | 27666 | |
af15babd VZ |
27667 | fi |
27668 | done | |
27669 | ||
8284b0c5 | 27670 | |
e6cc62c6 VS |
27671 | |
27672 | ||
4f14bcd8 | 27673 | for ac_func in putenv setenv |
10f2d63a | 27674 | do |
e6cc62c6 VS |
27675 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
27676 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
27677 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
27678 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
27679 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
27680 | else | |
27681 | cat >conftest.$ac_ext <<_ACEOF | |
27682 | #line $LINENO "configure" | |
27683 | /* confdefs.h. */ | |
27684 | _ACEOF | |
27685 | cat confdefs.h >>conftest.$ac_ext | |
27686 | cat >>conftest.$ac_ext <<_ACEOF | |
27687 | /* end confdefs.h. */ | |
af15babd | 27688 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
27689 | which can conflict with char $ac_func (); below. |
27690 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
27691 | <limits.h> exists even on freestanding compilers. */ | |
27692 | #ifdef __STDC__ | |
27693 | # include <limits.h> | |
27694 | #else | |
27695 | # include <assert.h> | |
27696 | #endif | |
af15babd | 27697 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27698 | #ifdef __cplusplus |
27699 | extern "C" | |
27700 | { | |
27701 | #endif | |
af15babd | 27702 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27703 | builtin and then its argument prototype would still apply. */ |
27704 | char $ac_func (); | |
af15babd VZ |
27705 | /* The GNU C library defines this for functions which it implements |
27706 | to always fail with ENOSYS. Some functions are actually named | |
27707 | something starting with __ and the normal name is an alias. */ | |
27708 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
27709 | choke me | |
27710 | #else | |
e6cc62c6 VS |
27711 | char (*f) () = $ac_func; |
27712 | #endif | |
27713 | #ifdef __cplusplus | |
27714 | } | |
af15babd VZ |
27715 | #endif |
27716 | ||
e6cc62c6 VS |
27717 | int |
27718 | main () | |
27719 | { | |
27720 | return f != $ac_func; | |
27721 | ; | |
27722 | return 0; | |
27723 | } | |
27724 | _ACEOF | |
27725 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27726 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27727 | (eval $ac_link) 2>&5 | |
27728 | ac_status=$? | |
27729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27730 | (exit $ac_status); } && | |
27731 | { ac_try='test -s conftest$ac_exeext' | |
27732 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27733 | (eval $ac_try) 2>&5 | |
27734 | ac_status=$? | |
27735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27736 | (exit $ac_status); }; }; then | |
27737 | eval "$as_ac_var=yes" | |
27738 | else | |
27739 | echo "$as_me: failed program was:" >&5 | |
27740 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27741 | ||
27742 | eval "$as_ac_var=no" | |
27743 | fi | |
27744 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27745 | fi | |
27746 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
27747 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
27748 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
27749 | cat >>confdefs.h <<_ACEOF | |
27750 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
27751 | _ACEOF | |
4f14bcd8 | 27752 | break |
af15babd | 27753 | fi |
af15babd VZ |
27754 | done |
27755 | ||
8284b0c5 | 27756 | |
4f14bcd8 GD |
27757 | HAVE_SOME_SLEEP_FUNC=0 |
27758 | if test "$USE_BEOS" = 1; then | |
e6cc62c6 | 27759 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 27760 | #define HAVE_SLEEP 1 |
e6cc62c6 | 27761 | _ACEOF |
af15babd | 27762 | |
4f14bcd8 | 27763 | HAVE_SOME_SLEEP_FUNC=1 |
10f2d63a VZ |
27764 | fi |
27765 | ||
4f14bcd8 | 27766 | if test "$USE_DARWIN" = 1; then |
e6cc62c6 | 27767 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 27768 | #define HAVE_USLEEP 1 |
e6cc62c6 | 27769 | _ACEOF |
10f2d63a | 27770 | |
4f14bcd8 | 27771 | HAVE_SOME_SLEEP_FUNC=1 |
10f2d63a VZ |
27772 | fi |
27773 | ||
4f14bcd8 GD |
27774 | if test "$HAVE_SOME_SLEEP_FUNC" != 1; then |
27775 | POSIX4_LINK= | |
e6cc62c6 VS |
27776 | |
27777 | for ac_func in nanosleep | |
4f14bcd8 | 27778 | do |
e6cc62c6 VS |
27779 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
27780 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
27781 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
27782 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
27783 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
27784 | else | |
27785 | cat >conftest.$ac_ext <<_ACEOF | |
27786 | #line $LINENO "configure" | |
27787 | /* confdefs.h. */ | |
27788 | _ACEOF | |
27789 | cat confdefs.h >>conftest.$ac_ext | |
27790 | cat >>conftest.$ac_ext <<_ACEOF | |
27791 | /* end confdefs.h. */ | |
4f14bcd8 | 27792 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
27793 | which can conflict with char $ac_func (); below. |
27794 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
27795 | <limits.h> exists even on freestanding compilers. */ | |
27796 | #ifdef __STDC__ | |
27797 | # include <limits.h> | |
27798 | #else | |
27799 | # include <assert.h> | |
27800 | #endif | |
10f2d63a | 27801 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27802 | #ifdef __cplusplus |
27803 | extern "C" | |
27804 | { | |
27805 | #endif | |
10f2d63a | 27806 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27807 | builtin and then its argument prototype would still apply. */ |
27808 | char $ac_func (); | |
4f14bcd8 GD |
27809 | /* The GNU C library defines this for functions which it implements |
27810 | to always fail with ENOSYS. Some functions are actually named | |
27811 | something starting with __ and the normal name is an alias. */ | |
27812 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
27813 | choke me | |
27814 | #else | |
e6cc62c6 VS |
27815 | char (*f) () = $ac_func; |
27816 | #endif | |
27817 | #ifdef __cplusplus | |
27818 | } | |
4f14bcd8 GD |
27819 | #endif |
27820 | ||
e6cc62c6 VS |
27821 | int |
27822 | main () | |
27823 | { | |
27824 | return f != $ac_func; | |
27825 | ; | |
27826 | return 0; | |
27827 | } | |
27828 | _ACEOF | |
27829 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27830 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27831 | (eval $ac_link) 2>&5 | |
27832 | ac_status=$? | |
27833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27834 | (exit $ac_status); } && | |
27835 | { ac_try='test -s conftest$ac_exeext' | |
27836 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27837 | (eval $ac_try) 2>&5 | |
27838 | ac_status=$? | |
27839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27840 | (exit $ac_status); }; }; then | |
27841 | eval "$as_ac_var=yes" | |
27842 | else | |
27843 | echo "$as_me: failed program was:" >&5 | |
27844 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27845 | ||
27846 | eval "$as_ac_var=no" | |
27847 | fi | |
27848 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27849 | fi | |
27850 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
27851 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
27852 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
27853 | cat >>confdefs.h <<_ACEOF | |
27854 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
27855 | _ACEOF | |
27856 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 27857 | #define HAVE_NANOSLEEP 1 |
e6cc62c6 | 27858 | _ACEOF |
4f14bcd8 | 27859 | |
10f2d63a | 27860 | else |
e6cc62c6 VS |
27861 | |
27862 | echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5 | |
27863 | echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6 | |
27864 | if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then | |
27865 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 27866 | else |
e6cc62c6 | 27867 | ac_check_lib_save_LIBS=$LIBS |
4f14bcd8 | 27868 | LIBS="-lposix4 $LIBS" |
e6cc62c6 VS |
27869 | cat >conftest.$ac_ext <<_ACEOF |
27870 | #line $LINENO "configure" | |
27871 | /* confdefs.h. */ | |
27872 | _ACEOF | |
27873 | cat confdefs.h >>conftest.$ac_ext | |
27874 | cat >>conftest.$ac_ext <<_ACEOF | |
27875 | /* end confdefs.h. */ | |
27876 | ||
10f2d63a | 27877 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27878 | #ifdef __cplusplus |
27879 | extern "C" | |
27880 | #endif | |
10f2d63a | 27881 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27882 | builtin and then its argument prototype would still apply. */ |
27883 | char nanosleep (); | |
27884 | int | |
27885 | main () | |
27886 | { | |
27887 | nanosleep (); | |
27888 | ; | |
27889 | return 0; | |
27890 | } | |
27891 | _ACEOF | |
27892 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27893 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27894 | (eval $ac_link) 2>&5 | |
27895 | ac_status=$? | |
27896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27897 | (exit $ac_status); } && | |
27898 | { ac_try='test -s conftest$ac_exeext' | |
27899 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27900 | (eval $ac_try) 2>&5 | |
27901 | ac_status=$? | |
27902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27903 | (exit $ac_status); }; }; then | |
27904 | ac_cv_lib_posix4_nanosleep=yes | |
27905 | else | |
27906 | echo "$as_me: failed program was:" >&5 | |
27907 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27908 | ||
27909 | ac_cv_lib_posix4_nanosleep=no | |
27910 | fi | |
27911 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27912 | LIBS=$ac_check_lib_save_LIBS | |
27913 | fi | |
27914 | echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5 | |
27915 | echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6 | |
27916 | if test $ac_cv_lib_posix4_nanosleep = yes; then | |
27917 | ||
27918 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 27919 | #define HAVE_NANOSLEEP 1 |
e6cc62c6 | 27920 | _ACEOF |
4f14bcd8 | 27921 | |
3d63bc3a | 27922 | POSIX4_LINK=" -lposix4" |
e6cc62c6 | 27923 | |
10f2d63a | 27924 | else |
10f2d63a | 27925 | |
e6cc62c6 VS |
27926 | |
27927 | for ac_func in usleep | |
4f14bcd8 | 27928 | do |
e6cc62c6 VS |
27929 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
27930 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
27931 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
27932 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
27933 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
27934 | else | |
27935 | cat >conftest.$ac_ext <<_ACEOF | |
27936 | #line $LINENO "configure" | |
27937 | /* confdefs.h. */ | |
27938 | _ACEOF | |
27939 | cat confdefs.h >>conftest.$ac_ext | |
27940 | cat >>conftest.$ac_ext <<_ACEOF | |
27941 | /* end confdefs.h. */ | |
4f14bcd8 | 27942 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
27943 | which can conflict with char $ac_func (); below. |
27944 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
27945 | <limits.h> exists even on freestanding compilers. */ | |
27946 | #ifdef __STDC__ | |
27947 | # include <limits.h> | |
27948 | #else | |
27949 | # include <assert.h> | |
27950 | #endif | |
4f14bcd8 | 27951 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
27952 | #ifdef __cplusplus |
27953 | extern "C" | |
27954 | { | |
27955 | #endif | |
4f14bcd8 | 27956 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
27957 | builtin and then its argument prototype would still apply. */ |
27958 | char $ac_func (); | |
4f14bcd8 GD |
27959 | /* The GNU C library defines this for functions which it implements |
27960 | to always fail with ENOSYS. Some functions are actually named | |
27961 | something starting with __ and the normal name is an alias. */ | |
27962 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
27963 | choke me | |
27964 | #else | |
e6cc62c6 VS |
27965 | char (*f) () = $ac_func; |
27966 | #endif | |
27967 | #ifdef __cplusplus | |
27968 | } | |
4f14bcd8 GD |
27969 | #endif |
27970 | ||
e6cc62c6 VS |
27971 | int |
27972 | main () | |
27973 | { | |
27974 | return f != $ac_func; | |
27975 | ; | |
27976 | return 0; | |
27977 | } | |
27978 | _ACEOF | |
27979 | rm -f conftest.$ac_objext conftest$ac_exeext | |
27980 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
27981 | (eval $ac_link) 2>&5 | |
27982 | ac_status=$? | |
27983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27984 | (exit $ac_status); } && | |
27985 | { ac_try='test -s conftest$ac_exeext' | |
27986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
27987 | (eval $ac_try) 2>&5 | |
27988 | ac_status=$? | |
27989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
27990 | (exit $ac_status); }; }; then | |
27991 | eval "$as_ac_var=yes" | |
27992 | else | |
27993 | echo "$as_me: failed program was:" >&5 | |
27994 | sed 's/^/| /' conftest.$ac_ext >&5 | |
27995 | ||
27996 | eval "$as_ac_var=no" | |
27997 | fi | |
27998 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
27999 | fi | |
28000 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
28001 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
28002 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
28003 | cat >>confdefs.h <<_ACEOF | |
28004 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
28005 | _ACEOF | |
28006 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 28007 | #define HAVE_USLEEP 1 |
e6cc62c6 | 28008 | _ACEOF |
4f14bcd8 | 28009 | |
698dcdb6 | 28010 | else |
e6cc62c6 VS |
28011 | { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5 |
28012 | echo "$as_me: WARNING: wxSleep() function will not work" >&2;} | |
28013 | ||
10f2d63a | 28014 | fi |
4f14bcd8 | 28015 | done |
10f2d63a | 28016 | |
e6cc62c6 VS |
28017 | |
28018 | ||
6232543b | 28019 | fi |
10f2d63a | 28020 | |
e6cc62c6 VS |
28021 | |
28022 | ||
1e487827 | 28023 | fi |
4f14bcd8 | 28024 | done |
703e0a69 | 28025 | |
10f2d63a VZ |
28026 | fi |
28027 | ||
e6cc62c6 VS |
28028 | |
28029 | ||
4f14bcd8 | 28030 | for ac_func in uname gethostname |
70846f0a | 28031 | do |
e6cc62c6 VS |
28032 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
28033 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
28034 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
28035 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
28036 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
28037 | else | |
28038 | cat >conftest.$ac_ext <<_ACEOF | |
28039 | #line $LINENO "configure" | |
28040 | /* confdefs.h. */ | |
28041 | _ACEOF | |
28042 | cat confdefs.h >>conftest.$ac_ext | |
28043 | cat >>conftest.$ac_ext <<_ACEOF | |
28044 | /* end confdefs.h. */ | |
70846f0a | 28045 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
28046 | which can conflict with char $ac_func (); below. |
28047 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
28048 | <limits.h> exists even on freestanding compilers. */ | |
28049 | #ifdef __STDC__ | |
28050 | # include <limits.h> | |
28051 | #else | |
28052 | # include <assert.h> | |
28053 | #endif | |
70846f0a | 28054 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
28055 | #ifdef __cplusplus |
28056 | extern "C" | |
28057 | { | |
28058 | #endif | |
70846f0a | 28059 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
28060 | builtin and then its argument prototype would still apply. */ |
28061 | char $ac_func (); | |
70846f0a VZ |
28062 | /* The GNU C library defines this for functions which it implements |
28063 | to always fail with ENOSYS. Some functions are actually named | |
28064 | something starting with __ and the normal name is an alias. */ | |
28065 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
28066 | choke me | |
28067 | #else | |
e6cc62c6 VS |
28068 | char (*f) () = $ac_func; |
28069 | #endif | |
28070 | #ifdef __cplusplus | |
28071 | } | |
70846f0a VZ |
28072 | #endif |
28073 | ||
e6cc62c6 VS |
28074 | int |
28075 | main () | |
28076 | { | |
28077 | return f != $ac_func; | |
28078 | ; | |
28079 | return 0; | |
28080 | } | |
28081 | _ACEOF | |
28082 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28083 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28084 | (eval $ac_link) 2>&5 | |
28085 | ac_status=$? | |
28086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28087 | (exit $ac_status); } && | |
28088 | { ac_try='test -s conftest$ac_exeext' | |
28089 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28090 | (eval $ac_try) 2>&5 | |
28091 | ac_status=$? | |
28092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28093 | (exit $ac_status); }; }; then | |
28094 | eval "$as_ac_var=yes" | |
28095 | else | |
28096 | echo "$as_me: failed program was:" >&5 | |
28097 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28098 | ||
28099 | eval "$as_ac_var=no" | |
28100 | fi | |
28101 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28102 | fi | |
28103 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
28104 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
28105 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
28106 | cat >>confdefs.h <<_ACEOF | |
28107 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
28108 | _ACEOF | |
4f14bcd8 | 28109 | break |
70846f0a VZ |
28110 | fi |
28111 | done | |
28112 | ||
8284b0c5 MB |
28113 | |
28114 | ||
e6cc62c6 VS |
28115 | |
28116 | ac_ext=cc | |
4f14bcd8 | 28117 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
28118 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
28119 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
28120 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
28121 | ||
8284b0c5 | 28122 | |
4f14bcd8 GD |
28123 | |
28124 | for ac_func in strtok_r | |
10f2d63a | 28125 | do |
e6cc62c6 VS |
28126 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
28127 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
28128 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
28129 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
28130 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
28131 | else | |
28132 | cat >conftest.$ac_ext <<_ACEOF | |
28133 | #line $LINENO "configure" | |
28134 | /* confdefs.h. */ | |
28135 | _ACEOF | |
28136 | cat confdefs.h >>conftest.$ac_ext | |
28137 | cat >>conftest.$ac_ext <<_ACEOF | |
28138 | /* end confdefs.h. */ | |
4f14bcd8 | 28139 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
28140 | which can conflict with char $ac_func (); below. |
28141 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
28142 | <limits.h> exists even on freestanding compilers. */ | |
28143 | #ifdef __STDC__ | |
28144 | # include <limits.h> | |
28145 | #else | |
28146 | # include <assert.h> | |
28147 | #endif | |
4f14bcd8 GD |
28148 | /* Override any gcc2 internal prototype to avoid an error. */ |
28149 | #ifdef __cplusplus | |
28150 | extern "C" | |
e6cc62c6 | 28151 | { |
4f14bcd8 GD |
28152 | #endif |
28153 | /* We use char because int might match the return type of a gcc2 | |
e6cc62c6 VS |
28154 | builtin and then its argument prototype would still apply. */ |
28155 | char $ac_func (); | |
4f14bcd8 GD |
28156 | /* The GNU C library defines this for functions which it implements |
28157 | to always fail with ENOSYS. Some functions are actually named | |
28158 | something starting with __ and the normal name is an alias. */ | |
28159 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
28160 | choke me | |
28161 | #else | |
e6cc62c6 VS |
28162 | char (*f) () = $ac_func; |
28163 | #endif | |
28164 | #ifdef __cplusplus | |
28165 | } | |
4f14bcd8 GD |
28166 | #endif |
28167 | ||
e6cc62c6 VS |
28168 | int |
28169 | main () | |
28170 | { | |
28171 | return f != $ac_func; | |
28172 | ; | |
28173 | return 0; | |
28174 | } | |
28175 | _ACEOF | |
28176 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28177 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28178 | (eval $ac_link) 2>&5 | |
28179 | ac_status=$? | |
28180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28181 | (exit $ac_status); } && | |
28182 | { ac_try='test -s conftest$ac_exeext' | |
28183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28184 | (eval $ac_try) 2>&5 | |
28185 | ac_status=$? | |
28186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28187 | (exit $ac_status); }; }; then | |
28188 | eval "$as_ac_var=yes" | |
28189 | else | |
28190 | echo "$as_me: failed program was:" >&5 | |
28191 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28192 | ||
28193 | eval "$as_ac_var=no" | |
28194 | fi | |
28195 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28196 | fi | |
28197 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
28198 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
28199 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
28200 | cat >>confdefs.h <<_ACEOF | |
28201 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
28202 | _ACEOF | |
4f14bcd8 | 28203 | |
10f2d63a VZ |
28204 | fi |
28205 | done | |
28206 | ||
8284b0c5 | 28207 | |
4f14bcd8 | 28208 | ac_ext=c |
4f14bcd8 | 28209 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
28210 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
28211 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
28212 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
7b4a847f | 28213 | |
5c6fa7d2 | 28214 | |
8284b0c5 | 28215 | INET_LINK= |
e6cc62c6 | 28216 | |
4f14bcd8 GD |
28217 | for ac_func in inet_addr |
28218 | do | |
e6cc62c6 VS |
28219 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
28220 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
28221 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
28222 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
28223 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
28224 | else | |
28225 | cat >conftest.$ac_ext <<_ACEOF | |
28226 | #line $LINENO "configure" | |
28227 | /* confdefs.h. */ | |
28228 | _ACEOF | |
28229 | cat confdefs.h >>conftest.$ac_ext | |
28230 | cat >>conftest.$ac_ext <<_ACEOF | |
28231 | /* end confdefs.h. */ | |
4f14bcd8 | 28232 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
28233 | which can conflict with char $ac_func (); below. |
28234 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
28235 | <limits.h> exists even on freestanding compilers. */ | |
28236 | #ifdef __STDC__ | |
28237 | # include <limits.h> | |
28238 | #else | |
28239 | # include <assert.h> | |
28240 | #endif | |
10f2d63a | 28241 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
28242 | #ifdef __cplusplus |
28243 | extern "C" | |
28244 | { | |
28245 | #endif | |
10f2d63a | 28246 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
28247 | builtin and then its argument prototype would still apply. */ |
28248 | char $ac_func (); | |
4f14bcd8 GD |
28249 | /* The GNU C library defines this for functions which it implements |
28250 | to always fail with ENOSYS. Some functions are actually named | |
28251 | something starting with __ and the normal name is an alias. */ | |
28252 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
28253 | choke me | |
28254 | #else | |
e6cc62c6 VS |
28255 | char (*f) () = $ac_func; |
28256 | #endif | |
28257 | #ifdef __cplusplus | |
28258 | } | |
4f14bcd8 GD |
28259 | #endif |
28260 | ||
e6cc62c6 VS |
28261 | int |
28262 | main () | |
28263 | { | |
28264 | return f != $ac_func; | |
28265 | ; | |
28266 | return 0; | |
28267 | } | |
28268 | _ACEOF | |
28269 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28270 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28271 | (eval $ac_link) 2>&5 | |
28272 | ac_status=$? | |
28273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28274 | (exit $ac_status); } && | |
28275 | { ac_try='test -s conftest$ac_exeext' | |
28276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28277 | (eval $ac_try) 2>&5 | |
28278 | ac_status=$? | |
28279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28280 | (exit $ac_status); }; }; then | |
28281 | eval "$as_ac_var=yes" | |
28282 | else | |
28283 | echo "$as_me: failed program was:" >&5 | |
28284 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28285 | ||
28286 | eval "$as_ac_var=no" | |
28287 | fi | |
28288 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28289 | fi | |
28290 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
28291 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
28292 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
28293 | cat >>confdefs.h <<_ACEOF | |
28294 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
28295 | _ACEOF | |
28296 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 28297 | #define HAVE_INET_ADDR 1 |
e6cc62c6 | 28298 | _ACEOF |
10f2d63a VZ |
28299 | |
28300 | else | |
e6cc62c6 VS |
28301 | |
28302 | echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5 | |
28303 | echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6 | |
28304 | if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then | |
28305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 28306 | else |
e6cc62c6 | 28307 | ac_check_lib_save_LIBS=$LIBS |
4f14bcd8 | 28308 | LIBS="-lnsl $LIBS" |
e6cc62c6 VS |
28309 | cat >conftest.$ac_ext <<_ACEOF |
28310 | #line $LINENO "configure" | |
28311 | /* confdefs.h. */ | |
28312 | _ACEOF | |
28313 | cat confdefs.h >>conftest.$ac_ext | |
28314 | cat >>conftest.$ac_ext <<_ACEOF | |
28315 | /* end confdefs.h. */ | |
28316 | ||
10f2d63a | 28317 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
28318 | #ifdef __cplusplus |
28319 | extern "C" | |
28320 | #endif | |
10f2d63a | 28321 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
28322 | builtin and then its argument prototype would still apply. */ |
28323 | char inet_addr (); | |
28324 | int | |
28325 | main () | |
28326 | { | |
28327 | inet_addr (); | |
28328 | ; | |
28329 | return 0; | |
28330 | } | |
28331 | _ACEOF | |
28332 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28333 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28334 | (eval $ac_link) 2>&5 | |
28335 | ac_status=$? | |
28336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28337 | (exit $ac_status); } && | |
28338 | { ac_try='test -s conftest$ac_exeext' | |
28339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28340 | (eval $ac_try) 2>&5 | |
28341 | ac_status=$? | |
28342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28343 | (exit $ac_status); }; }; then | |
28344 | ac_cv_lib_nsl_inet_addr=yes | |
28345 | else | |
28346 | echo "$as_me: failed program was:" >&5 | |
28347 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28348 | ||
28349 | ac_cv_lib_nsl_inet_addr=no | |
28350 | fi | |
28351 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28352 | LIBS=$ac_check_lib_save_LIBS | |
28353 | fi | |
28354 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5 | |
28355 | echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6 | |
28356 | if test $ac_cv_lib_nsl_inet_addr = yes; then | |
4f14bcd8 | 28357 | INET_LINK="nsl" |
10f2d63a | 28358 | else |
0e012a93 VZ |
28359 | |
28360 | echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5 | |
e6cc62c6 VS |
28361 | echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6 |
28362 | if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then | |
28363 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 28364 | else |
e6cc62c6 | 28365 | ac_check_lib_save_LIBS=$LIBS |
4f14bcd8 | 28366 | LIBS="-lresolv $LIBS" |
e6cc62c6 VS |
28367 | cat >conftest.$ac_ext <<_ACEOF |
28368 | #line $LINENO "configure" | |
28369 | /* confdefs.h. */ | |
28370 | _ACEOF | |
28371 | cat confdefs.h >>conftest.$ac_ext | |
28372 | cat >>conftest.$ac_ext <<_ACEOF | |
28373 | /* end confdefs.h. */ | |
28374 | ||
5c6fa7d2 | 28375 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
28376 | #ifdef __cplusplus |
28377 | extern "C" | |
28378 | #endif | |
5c6fa7d2 | 28379 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
28380 | builtin and then its argument prototype would still apply. */ |
28381 | char inet_addr (); | |
28382 | int | |
28383 | main () | |
28384 | { | |
28385 | inet_addr (); | |
28386 | ; | |
28387 | return 0; | |
28388 | } | |
28389 | _ACEOF | |
28390 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28391 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28392 | (eval $ac_link) 2>&5 | |
28393 | ac_status=$? | |
28394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28395 | (exit $ac_status); } && | |
28396 | { ac_try='test -s conftest$ac_exeext' | |
28397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28398 | (eval $ac_try) 2>&5 | |
28399 | ac_status=$? | |
28400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28401 | (exit $ac_status); }; }; then | |
28402 | ac_cv_lib_resolv_inet_addr=yes | |
28403 | else | |
28404 | echo "$as_me: failed program was:" >&5 | |
28405 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28406 | ||
28407 | ac_cv_lib_resolv_inet_addr=no | |
28408 | fi | |
28409 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28410 | LIBS=$ac_check_lib_save_LIBS | |
28411 | fi | |
28412 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5 | |
28413 | echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6 | |
28414 | if test $ac_cv_lib_resolv_inet_addr = yes; then | |
4f14bcd8 | 28415 | INET_LINK="resolv" |
698dcdb6 | 28416 | else |
0e012a93 VZ |
28417 | |
28418 | echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5 | |
e6cc62c6 VS |
28419 | echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6 |
28420 | if test "${ac_cv_lib_socket_inet_addr+set}" = set; then | |
28421 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3c011993 | 28422 | else |
e6cc62c6 | 28423 | ac_check_lib_save_LIBS=$LIBS |
3c011993 | 28424 | LIBS="-lsocket $LIBS" |
e6cc62c6 VS |
28425 | cat >conftest.$ac_ext <<_ACEOF |
28426 | #line $LINENO "configure" | |
28427 | /* confdefs.h. */ | |
28428 | _ACEOF | |
28429 | cat confdefs.h >>conftest.$ac_ext | |
28430 | cat >>conftest.$ac_ext <<_ACEOF | |
28431 | /* end confdefs.h. */ | |
28432 | ||
3c011993 | 28433 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
28434 | #ifdef __cplusplus |
28435 | extern "C" | |
28436 | #endif | |
3c011993 | 28437 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
28438 | builtin and then its argument prototype would still apply. */ |
28439 | char inet_addr (); | |
28440 | int | |
28441 | main () | |
28442 | { | |
28443 | inet_addr (); | |
28444 | ; | |
28445 | return 0; | |
28446 | } | |
28447 | _ACEOF | |
28448 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28449 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28450 | (eval $ac_link) 2>&5 | |
28451 | ac_status=$? | |
28452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28453 | (exit $ac_status); } && | |
28454 | { ac_try='test -s conftest$ac_exeext' | |
28455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28456 | (eval $ac_try) 2>&5 | |
28457 | ac_status=$? | |
28458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28459 | (exit $ac_status); }; }; then | |
28460 | ac_cv_lib_socket_inet_addr=yes | |
28461 | else | |
28462 | echo "$as_me: failed program was:" >&5 | |
28463 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28464 | ||
28465 | ac_cv_lib_socket_inet_addr=no | |
28466 | fi | |
28467 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28468 | LIBS=$ac_check_lib_save_LIBS | |
28469 | fi | |
28470 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5 | |
28471 | echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6 | |
28472 | if test $ac_cv_lib_socket_inet_addr = yes; then | |
28473 | INET_LINK="socket" | |
4f14bcd8 | 28474 | |
8284b0c5 | 28475 | fi |
e6cc62c6 | 28476 | |
698dcdb6 | 28477 | |
0e012a93 | 28478 | |
7b4a847f | 28479 | fi |
e6cc62c6 VS |
28480 | |
28481 | ||
0e012a93 | 28482 | |
a0b9e27f | 28483 | fi |
579d8138 | 28484 | |
e6cc62c6 VS |
28485 | |
28486 | ||
5c6fa7d2 | 28487 | fi |
e6cc62c6 VS |
28488 | done |
28489 | ||
28490 | ||
28491 | ||
28492 | for ac_func in inet_aton | |
28493 | do | |
28494 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
28495 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
28496 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
28497 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
28498 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
28499 | else | |
28500 | cat >conftest.$ac_ext <<_ACEOF | |
28501 | #line $LINENO "configure" | |
28502 | /* confdefs.h. */ | |
28503 | _ACEOF | |
28504 | cat confdefs.h >>conftest.$ac_ext | |
28505 | cat >>conftest.$ac_ext <<_ACEOF | |
28506 | /* end confdefs.h. */ | |
28507 | /* System header to define __stub macros and hopefully few prototypes, | |
28508 | which can conflict with char $ac_func (); below. | |
28509 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
28510 | <limits.h> exists even on freestanding compilers. */ | |
28511 | #ifdef __STDC__ | |
28512 | # include <limits.h> | |
28513 | #else | |
28514 | # include <assert.h> | |
28515 | #endif | |
28516 | /* Override any gcc2 internal prototype to avoid an error. */ | |
28517 | #ifdef __cplusplus | |
28518 | extern "C" | |
28519 | { | |
28520 | #endif | |
28521 | /* We use char because int might match the return type of a gcc2 | |
28522 | builtin and then its argument prototype would still apply. */ | |
28523 | char $ac_func (); | |
28524 | /* The GNU C library defines this for functions which it implements | |
28525 | to always fail with ENOSYS. Some functions are actually named | |
28526 | something starting with __ and the normal name is an alias. */ | |
28527 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
28528 | choke me | |
28529 | #else | |
28530 | char (*f) () = $ac_func; | |
28531 | #endif | |
28532 | #ifdef __cplusplus | |
28533 | } | |
28534 | #endif | |
28535 | ||
28536 | int | |
28537 | main () | |
28538 | { | |
28539 | return f != $ac_func; | |
28540 | ; | |
28541 | return 0; | |
28542 | } | |
28543 | _ACEOF | |
28544 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28545 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28546 | (eval $ac_link) 2>&5 | |
28547 | ac_status=$? | |
28548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28549 | (exit $ac_status); } && | |
28550 | { ac_try='test -s conftest$ac_exeext' | |
28551 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28552 | (eval $ac_try) 2>&5 | |
28553 | ac_status=$? | |
28554 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28555 | (exit $ac_status); }; }; then | |
28556 | eval "$as_ac_var=yes" | |
28557 | else | |
28558 | echo "$as_me: failed program was:" >&5 | |
28559 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28560 | ||
28561 | eval "$as_ac_var=no" | |
28562 | fi | |
28563 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28564 | fi | |
28565 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
28566 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
28567 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
28568 | cat >>confdefs.h <<_ACEOF | |
28569 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
28570 | _ACEOF | |
28571 | cat >>confdefs.h <<\_ACEOF | |
28572 | #define HAVE_INET_ATON 1 | |
28573 | _ACEOF | |
28574 | ||
28575 | else | |
28576 | ||
28577 | as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh` | |
28578 | echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5 | |
28579 | echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6 | |
28580 | if eval "test \"\${$as_ac_Lib+set}\" = set"; then | |
28581 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
28582 | else | |
28583 | ac_check_lib_save_LIBS=$LIBS | |
28584 | LIBS="-l$INET_LINK $LIBS" | |
28585 | cat >conftest.$ac_ext <<_ACEOF | |
28586 | #line $LINENO "configure" | |
28587 | /* confdefs.h. */ | |
28588 | _ACEOF | |
28589 | cat confdefs.h >>conftest.$ac_ext | |
28590 | cat >>conftest.$ac_ext <<_ACEOF | |
28591 | /* end confdefs.h. */ | |
28592 | ||
28593 | /* Override any gcc2 internal prototype to avoid an error. */ | |
28594 | #ifdef __cplusplus | |
28595 | extern "C" | |
28596 | #endif | |
28597 | /* We use char because int might match the return type of a gcc2 | |
28598 | builtin and then its argument prototype would still apply. */ | |
28599 | char inet_aton (); | |
28600 | int | |
28601 | main () | |
28602 | { | |
28603 | inet_aton (); | |
28604 | ; | |
28605 | return 0; | |
28606 | } | |
28607 | _ACEOF | |
28608 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28609 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28610 | (eval $ac_link) 2>&5 | |
28611 | ac_status=$? | |
28612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28613 | (exit $ac_status); } && | |
28614 | { ac_try='test -s conftest$ac_exeext' | |
28615 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28616 | (eval $ac_try) 2>&5 | |
28617 | ac_status=$? | |
28618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28619 | (exit $ac_status); }; }; then | |
28620 | eval "$as_ac_Lib=yes" | |
28621 | else | |
28622 | echo "$as_me: failed program was:" >&5 | |
28623 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28624 | ||
28625 | eval "$as_ac_Lib=no" | |
28626 | fi | |
28627 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28628 | LIBS=$ac_check_lib_save_LIBS | |
28629 | fi | |
28630 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 | |
28631 | echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 | |
28632 | if test `eval echo '${'$as_ac_Lib'}'` = yes; then | |
28633 | cat >>confdefs.h <<\_ACEOF | |
28634 | #define HAVE_INET_ATON 1 | |
28635 | _ACEOF | |
52127426 | 28636 | |
a0b9e27f | 28637 | fi |
247f5006 | 28638 | |
8284b0c5 | 28639 | |
698dcdb6 | 28640 | fi |
4f14bcd8 GD |
28641 | done |
28642 | ||
8284b0c5 | 28643 | |
e6cc62c6 VS |
28644 | if test "x$INET_LINK" != "x"; then |
28645 | cat >>confdefs.h <<\_ACEOF | |
28646 | #define HAVE_INET_ADDR 1 | |
28647 | _ACEOF | |
28648 | ||
28649 | INET_LINK=" -l$INET_LINK" | |
28650 | fi | |
28651 | ||
28652 | fi | |
a0b9e27f | 28653 | |
a0b9e27f | 28654 | |
4f14bcd8 | 28655 | |
edd891e2 VS |
28656 | EXTRALIBS_ESD= |
28657 | echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5 | |
28658 | echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6 | |
28659 | if test "${ac_cv_lib_esd_esd_close+set}" = set; then | |
28660 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
28661 | else | |
28662 | ac_check_lib_save_LIBS=$LIBS | |
28663 | LIBS="-lesd $LIBS" | |
28664 | cat >conftest.$ac_ext <<_ACEOF | |
28665 | #line $LINENO "configure" | |
28666 | /* confdefs.h. */ | |
28667 | _ACEOF | |
28668 | cat confdefs.h >>conftest.$ac_ext | |
28669 | cat >>conftest.$ac_ext <<_ACEOF | |
28670 | /* end confdefs.h. */ | |
28671 | ||
28672 | /* Override any gcc2 internal prototype to avoid an error. */ | |
28673 | #ifdef __cplusplus | |
28674 | extern "C" | |
28675 | #endif | |
28676 | /* We use char because int might match the return type of a gcc2 | |
28677 | builtin and then its argument prototype would still apply. */ | |
28678 | char esd_close (); | |
28679 | int | |
28680 | main () | |
28681 | { | |
28682 | esd_close (); | |
28683 | ; | |
28684 | return 0; | |
28685 | } | |
28686 | _ACEOF | |
28687 | rm -f conftest.$ac_objext conftest$ac_exeext | |
28688 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
28689 | (eval $ac_link) 2>&5 | |
28690 | ac_status=$? | |
28691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28692 | (exit $ac_status); } && | |
28693 | { ac_try='test -s conftest$ac_exeext' | |
28694 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28695 | (eval $ac_try) 2>&5 | |
28696 | ac_status=$? | |
28697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28698 | (exit $ac_status); }; }; then | |
28699 | ac_cv_lib_esd_esd_close=yes | |
28700 | else | |
28701 | echo "$as_me: failed program was:" >&5 | |
28702 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28703 | ||
28704 | ac_cv_lib_esd_esd_close=no | |
28705 | fi | |
28706 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
28707 | LIBS=$ac_check_lib_save_LIBS | |
28708 | fi | |
28709 | echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5 | |
28710 | echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6 | |
28711 | if test $ac_cv_lib_esd_esd_close = yes; then | |
28712 | ||
28713 | ||
28714 | for ac_header in esd.h | |
28715 | do | |
28716 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
28717 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
28718 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
28719 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
28720 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
e6cc62c6 VS |
28721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
28722 | fi | |
edd891e2 VS |
28723 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
28724 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
e6cc62c6 VS |
28725 | else |
28726 | # Is the header compilable? | |
edd891e2 VS |
28727 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
28728 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
e6cc62c6 VS |
28729 | cat >conftest.$ac_ext <<_ACEOF |
28730 | #line $LINENO "configure" | |
28731 | /* confdefs.h. */ | |
28732 | _ACEOF | |
28733 | cat confdefs.h >>conftest.$ac_ext | |
28734 | cat >>conftest.$ac_ext <<_ACEOF | |
28735 | /* end confdefs.h. */ | |
28736 | $ac_includes_default | |
edd891e2 | 28737 | #include <$ac_header> |
e6cc62c6 VS |
28738 | _ACEOF |
28739 | rm -f conftest.$ac_objext | |
28740 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
28741 | (eval $ac_compile) 2>&5 | |
28742 | ac_status=$? | |
28743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28744 | (exit $ac_status); } && | |
28745 | { ac_try='test -s conftest.$ac_objext' | |
28746 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28747 | (eval $ac_try) 2>&5 | |
28748 | ac_status=$? | |
28749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28750 | (exit $ac_status); }; }; then | |
28751 | ac_header_compiler=yes | |
28752 | else | |
28753 | echo "$as_me: failed program was:" >&5 | |
28754 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28755 | ||
28756 | ac_header_compiler=no | |
28757 | fi | |
28758 | rm -f conftest.$ac_objext conftest.$ac_ext | |
28759 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
28760 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
28761 | ||
28762 | # Is the header present? | |
edd891e2 VS |
28763 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
28764 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
e6cc62c6 VS |
28765 | cat >conftest.$ac_ext <<_ACEOF |
28766 | #line $LINENO "configure" | |
28767 | /* confdefs.h. */ | |
28768 | _ACEOF | |
28769 | cat confdefs.h >>conftest.$ac_ext | |
28770 | cat >>conftest.$ac_ext <<_ACEOF | |
28771 | /* end confdefs.h. */ | |
edd891e2 | 28772 | #include <$ac_header> |
e6cc62c6 VS |
28773 | _ACEOF |
28774 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
28775 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
28776 | ac_status=$? | |
28777 | grep -v '^ *+' conftest.er1 >conftest.err | |
28778 | rm -f conftest.er1 | |
28779 | cat conftest.err >&5 | |
28780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28781 | (exit $ac_status); } >/dev/null; then | |
28782 | if test -s conftest.err; then | |
28783 | ac_cpp_err=$ac_c_preproc_warn_flag | |
28784 | else | |
28785 | ac_cpp_err= | |
28786 | fi | |
a0b9e27f | 28787 | else |
e6cc62c6 VS |
28788 | ac_cpp_err=yes |
28789 | fi | |
28790 | if test -z "$ac_cpp_err"; then | |
28791 | ac_header_preproc=yes | |
28792 | else | |
28793 | echo "$as_me: failed program was:" >&5 | |
28794 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28795 | ||
28796 | ac_header_preproc=no | |
28797 | fi | |
28798 | rm -f conftest.err conftest.$ac_ext | |
28799 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
28800 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
28801 | ||
28802 | # So? What about this header? | |
28803 | case $ac_header_compiler:$ac_header_preproc in | |
28804 | yes:no ) | |
edd891e2 VS |
28805 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
28806 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
28807 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
28808 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
e6cc62c6 VS |
28809 | ( |
28810 | cat <<\_ASBOX | |
28811 | ## ------------------------------------ ## | |
28812 | ## Report this to bug-autoconf@gnu.org. ## | |
28813 | ## ------------------------------------ ## | |
28814 | _ASBOX | |
28815 | ) | | |
28816 | sed "s/^/$as_me: WARNING: /" >&2 | |
28817 | ;; | |
28818 | no:yes ) | |
edd891e2 VS |
28819 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
28820 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
28821 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
28822 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
28823 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
28824 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
e6cc62c6 VS |
28825 | ( |
28826 | cat <<\_ASBOX | |
28827 | ## ------------------------------------ ## | |
28828 | ## Report this to bug-autoconf@gnu.org. ## | |
28829 | ## ------------------------------------ ## | |
28830 | _ASBOX | |
28831 | ) | | |
28832 | sed "s/^/$as_me: WARNING: /" >&2 | |
28833 | ;; | |
28834 | esac | |
edd891e2 VS |
28835 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
28836 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
28837 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
e6cc62c6 VS |
28838 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
28839 | else | |
edd891e2 | 28840 | eval "$as_ac_Header=$ac_header_preproc" |
a0b9e27f | 28841 | fi |
edd891e2 VS |
28842 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
28843 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
a0b9e27f | 28844 | |
e6cc62c6 | 28845 | fi |
edd891e2 VS |
28846 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
28847 | cat >>confdefs.h <<_ACEOF | |
28848 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
e6cc62c6 | 28849 | _ACEOF |
e6cc62c6 | 28850 | |
edd891e2 | 28851 | EXTRALIBS_ESD="-lesd" |
4f14bcd8 | 28852 | |
a0b9e27f | 28853 | fi |
247f5006 | 28854 | |
edd891e2 | 28855 | done |
8284b0c5 | 28856 | |
4f14bcd8 | 28857 | |
6232543b | 28858 | fi |
10f2d63a | 28859 | |
703e0a69 | 28860 | |
8284b0c5 | 28861 | |
d19d1899 MB |
28862 | echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5 |
28863 | echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6 | |
28864 | cat >conftest.$ac_ext <<_ACEOF | |
28865 | #line $LINENO "configure" | |
28866 | /* confdefs.h. */ | |
28867 | _ACEOF | |
28868 | cat confdefs.h >>conftest.$ac_ext | |
28869 | cat >>conftest.$ac_ext <<_ACEOF | |
28870 | /* end confdefs.h. */ | |
28871 | #ifdef __linux__ | |
28872 | #include <linux/cdrom.h> | |
28873 | #else | |
28874 | /* For Solaris */ | |
28875 | #include <sys/cdio.h> | |
28876 | #endif | |
28877 | ||
28878 | int | |
28879 | main () | |
28880 | { | |
28881 | struct cdrom_tocentry entry, old_entry; | |
28882 | ; | |
28883 | return 0; | |
28884 | } | |
28885 | _ACEOF | |
28886 | rm -f conftest.$ac_objext | |
28887 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
28888 | (eval $ac_compile) 2>&5 | |
28889 | ac_status=$? | |
28890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28891 | (exit $ac_status); } && | |
28892 | { ac_try='test -s conftest.$ac_objext' | |
28893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
28894 | (eval $ac_try) 2>&5 | |
28895 | ac_status=$? | |
28896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
28897 | (exit $ac_status); }; }; then | |
28898 | echo "$as_me:$LINENO: result: yes" >&5 | |
28899 | echo "${ECHO_T}yes" >&6 | |
28900 | cat >>confdefs.h <<\_ACEOF | |
28901 | #define HAVE_KNOWN_CDROM_INTERFACE 1 | |
28902 | _ACEOF | |
28903 | ||
28904 | else | |
28905 | echo "$as_me: failed program was:" >&5 | |
28906 | sed 's/^/| /' conftest.$ac_ext >&5 | |
28907 | ||
28908 | echo "$as_me:$LINENO: result: no" >&5 | |
28909 | echo "${ECHO_T}no" >&6 | |
28910 | fi | |
28911 | rm -f conftest.$ac_objext conftest.$ac_ext | |
e6cc62c6 VS |
28912 | |
28913 | ||
28914 | cat >confcache <<\_ACEOF | |
4f14bcd8 GD |
28915 | # This file is a shell script that caches the results of configure |
28916 | # tests run on this system so they can be shared between configure | |
e6cc62c6 VS |
28917 | # scripts and configure runs, see configure's option --config-cache. |
28918 | # It is not useful on other systems. If it contains results you don't | |
28919 | # want to keep, you may remove or edit it. | |
4f14bcd8 | 28920 | # |
e6cc62c6 VS |
28921 | # config.status only pays attention to the cache file if you give it |
28922 | # the --recheck option to rerun configure. | |
4f14bcd8 | 28923 | # |
e6cc62c6 VS |
28924 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
28925 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
28926 | # following values. | |
28927 | ||
28928 | _ACEOF | |
28929 | ||
4f14bcd8 GD |
28930 | # The following way of writing the cache mishandles newlines in values, |
28931 | # but we know of no workaround that is simple, portable, and efficient. | |
28932 | # So, don't put newlines in cache variables' values. | |
28933 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
28934 | # and sets the high bit in the cache file unless we assign to the vars. | |
e6cc62c6 VS |
28935 | { |
28936 | (set) 2>&1 | | |
28937 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
28938 | *ac_space=\ *) | |
28939 | # `set' does not quote correctly, so add quotes (double-quote | |
28940 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
28941 | sed -n \ | |
28942 | "s/'/'\\\\''/g; | |
28943 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
28944 | ;; | |
28945 | *) | |
28946 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
28947 | sed -n \ | |
28948 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
28949 | ;; | |
28950 | esac; | |
28951 | } | | |
28952 | sed ' | |
28953 | t clear | |
28954 | : clear | |
28955 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
28956 | t end | |
28957 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
28958 | : end' >>confcache | |
28959 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | |
4f14bcd8 | 28960 | if test -w $cache_file; then |
e6cc62c6 VS |
28961 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
28962 | cat confcache >$cache_file | |
f6bcfd97 | 28963 | else |
4f14bcd8 | 28964 | echo "not updating unwritable cache $cache_file" |
f6bcfd97 | 28965 | fi |
4f14bcd8 GD |
28966 | fi |
28967 | rm -f confcache | |
f6bcfd97 | 28968 | |
8284b0c5 | 28969 | |
009fead0 | 28970 | CPP_MT_FLAG= |
73d617c9 | 28971 | if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then |
4f14bcd8 | 28972 | |
e6cc62c6 | 28973 | |
7274f1c7 | 28974 | THREADS_LINK= |
009fead0 | 28975 | THREADS_CFLAGS= |
7274f1c7 RL |
28976 | |
28977 | if test "$wxUSE_THREADS" = "yes" ; then | |
89e6bf6d | 28978 | if test "$USE_BEOS" = 1; then |
e6cc62c6 VS |
28979 | { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5 |
28980 | echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;} | |
7274f1c7 RL |
28981 | wxUSE_THREADS="no" |
28982 | fi | |
4f14bcd8 | 28983 | fi |
4f14bcd8 | 28984 | |
7274f1c7 | 28985 | if test "$wxUSE_THREADS" = "yes" ; then |
e6cc62c6 VS |
28986 | |
28987 | ||
009fead0 VZ |
28988 | THREAD_OPTS="-pthread" |
28989 | case "${host}" in | |
28990 | *-*-solaris2* | *-*-sunos4* ) | |
28991 | if test "x$GCC" = "xyes"; then | |
126be6b4 | 28992 | THREAD_OPTS="-pthreads $THREAD_OPTS" |
009fead0 VZ |
28993 | else |
28994 | THREAD_OPTS="-mt $THREAD_OPTS" | |
28995 | fi | |
28996 | ;; | |
28997 | *-*-freebsd*) | |
28998 | THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r" | |
28999 | ;; | |
17234b26 MB |
29000 | *-*-darwin* | *-*-cygwin* ) |
29001 | THREAD_OPTS="" | |
4101db81 | 29002 | ;; |
8f4a9a10 | 29003 | *-*-aix*) |
009fead0 VZ |
29004 | THREAD_OPTS="pthreads" |
29005 | ;; | |
4f5a7f74 VZ |
29006 | *-hp-hpux* ) |
29007 | if test "x$GCC" != "xyes"; then | |
29008 | THREAD_OPTS="" | |
29009 | fi | |
89e3b3e4 VZ |
29010 | ;; |
29011 | ||
29012 | *-*-irix* ) | |
29013 | if test "x$GCC" = "xyes"; then | |
29014 | THREAD_OPTS="" | |
29015 | fi | |
29016 | ;; | |
29017 | ||
29018 | *-*-*UnixWare*) | |
29019 | if test "x$GCC" != "xyes"; then | |
29020 | THREAD_OPTS="-Ethread" | |
29021 | fi | |
29022 | ;; | |
009fead0 | 29023 | esac |
4f14bcd8 | 29024 | |
02a1dfba | 29025 | THREAD_OPTS="$THREAD_OPTS pthread none" |
595e0e44 | 29026 | |
009fead0 VZ |
29027 | THREADS_OK=no |
29028 | for flag in $THREAD_OPTS; do | |
29029 | case $flag in | |
29030 | none) | |
e6cc62c6 VS |
29031 | echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5 |
29032 | echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6 | |
009fead0 | 29033 | ;; |
698dcdb6 | 29034 | |
009fead0 | 29035 | -*) |
e6cc62c6 VS |
29036 | echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5 |
29037 | echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6 | |
009fead0 VZ |
29038 | THREADS_CFLAGS="$flag" |
29039 | ;; | |
698dcdb6 | 29040 | |
009fead0 | 29041 | *) |
e6cc62c6 VS |
29042 | echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5 |
29043 | echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6 | |
009fead0 VZ |
29044 | THREADS_LINK="-l$flag" |
29045 | ;; | |
29046 | esac | |
10f2d63a | 29047 | |
009fead0 VZ |
29048 | save_LIBS="$LIBS" |
29049 | save_CFLAGS="$CFLAGS" | |
29050 | LIBS="$THREADS_LINK $LIBS" | |
04727afd | 29051 | CFLAGS="$THREADS_CFLAGS $CFLAGS" |
10f2d63a | 29052 | |
e6cc62c6 VS |
29053 | cat >conftest.$ac_ext <<_ACEOF |
29054 | #line $LINENO "configure" | |
29055 | /* confdefs.h. */ | |
29056 | _ACEOF | |
29057 | cat confdefs.h >>conftest.$ac_ext | |
29058 | cat >>conftest.$ac_ext <<_ACEOF | |
29059 | /* end confdefs.h. */ | |
009fead0 | 29060 | #include <pthread.h> |
e6cc62c6 VS |
29061 | int |
29062 | main () | |
29063 | { | |
009fead0 | 29064 | pthread_create(0,0,0,0); |
e6cc62c6 VS |
29065 | ; |
29066 | return 0; | |
29067 | } | |
29068 | _ACEOF | |
29069 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29070 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29071 | (eval $ac_link) 2>&5 | |
29072 | ac_status=$? | |
29073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29074 | (exit $ac_status); } && | |
29075 | { ac_try='test -s conftest$ac_exeext' | |
29076 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29077 | (eval $ac_try) 2>&5 | |
29078 | ac_status=$? | |
29079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29080 | (exit $ac_status); }; }; then | |
009fead0 | 29081 | THREADS_OK=yes |
10f2d63a | 29082 | else |
e6cc62c6 VS |
29083 | echo "$as_me: failed program was:" >&5 |
29084 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29085 | ||
6232543b | 29086 | fi |
e6cc62c6 | 29087 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
698dcdb6 | 29088 | |
009fead0 VZ |
29089 | LIBS="$save_LIBS" |
29090 | CFLAGS="$save_CFLAGS" | |
d9b9876f | 29091 | |
e6cc62c6 VS |
29092 | echo "$as_me:$LINENO: result: $THREADS_OK" >&5 |
29093 | echo "${ECHO_T}$THREADS_OK" >&6 | |
009fead0 VZ |
29094 | if test "x$THREADS_OK" = "xyes"; then |
29095 | break; | |
29096 | fi | |
d9b9876f | 29097 | |
009fead0 VZ |
29098 | THREADS_LINK="" |
29099 | THREADS_CFLAGS="" | |
29100 | done | |
4f14bcd8 | 29101 | |
009fead0 VZ |
29102 | if test "x$THREADS_OK" != "xyes"; then |
29103 | wxUSE_THREADS=no | |
e6cc62c6 VS |
29104 | { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5 |
29105 | echo "$as_me: WARNING: No thread support on this system... disabled" >&2;} | |
009fead0 | 29106 | else |
db82f09e VZ |
29107 | LDFLAGS="$THREADS_CFLAGS $LDFLAGS" |
29108 | LIBS="$THREADS_LINK $LIBS" | |
fe5a9cab | 29109 | |
e6cc62c6 VS |
29110 | echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5 |
29111 | echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6 | |
009fead0 VZ |
29112 | flag=no |
29113 | case "${host}" in | |
2b5f62a0 VZ |
29114 | *-aix*) |
29115 | LDFLAGS="-L/usr/lib/threads $LDFLAGS" | |
29116 | flag="-D_THREAD_SAFE" | |
29117 | ;; | |
29118 | *-freebsd*) | |
009fead0 VZ |
29119 | flag="-D_THREAD_SAFE" |
29120 | ;; | |
06313569 GD |
29121 | *-hp-hpux* ) |
29122 | flag="-D_REENTRANT" | |
4f5a7f74 VZ |
29123 | if test "x$GCC" != "xyes"; then |
29124 | flag="$flag -D_RWSTD_MULTI_THREAD" | |
29125 | fi | |
06313569 | 29126 | ;; |
009fead0 VZ |
29127 | *solaris* | alpha*-osf*) |
29128 | flag="-D_REENTRANT" | |
29129 | ;; | |
29130 | esac | |
e6cc62c6 VS |
29131 | echo "$as_me:$LINENO: result: ${flag}" >&5 |
29132 | echo "${ECHO_T}${flag}" >&6 | |
009fead0 | 29133 | if test "x$flag" != xno; then |
04727afd | 29134 | THREADS_CFLAGS="$THREADS_CFLAGS $flag" |
009fead0 VZ |
29135 | fi |
29136 | ||
009fead0 | 29137 | if test "x$THREADS_CFLAGS" != "x"; then |
04727afd | 29138 | CFLAGS="$CFLAGS $THREADS_CFLAGS" |
009fead0 VZ |
29139 | CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS" |
29140 | fi | |
29141 | fi | |
4f14bcd8 | 29142 | fi |
4f14bcd8 | 29143 | |
7274f1c7 | 29144 | if test "$wxUSE_THREADS" = "yes" ; then |
e6cc62c6 VS |
29145 | |
29146 | for ac_func in thr_setconcurrency | |
4f14bcd8 | 29147 | do |
e6cc62c6 VS |
29148 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
29149 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
29150 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
29151 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
29152 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29153 | else | |
29154 | cat >conftest.$ac_ext <<_ACEOF | |
29155 | #line $LINENO "configure" | |
29156 | /* confdefs.h. */ | |
29157 | _ACEOF | |
29158 | cat confdefs.h >>conftest.$ac_ext | |
29159 | cat >>conftest.$ac_ext <<_ACEOF | |
29160 | /* end confdefs.h. */ | |
4f14bcd8 | 29161 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
29162 | which can conflict with char $ac_func (); below. |
29163 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
29164 | <limits.h> exists even on freestanding compilers. */ | |
29165 | #ifdef __STDC__ | |
29166 | # include <limits.h> | |
29167 | #else | |
29168 | # include <assert.h> | |
29169 | #endif | |
4f14bcd8 | 29170 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29171 | #ifdef __cplusplus |
29172 | extern "C" | |
29173 | { | |
29174 | #endif | |
4f14bcd8 | 29175 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29176 | builtin and then its argument prototype would still apply. */ |
29177 | char $ac_func (); | |
4f14bcd8 GD |
29178 | /* The GNU C library defines this for functions which it implements |
29179 | to always fail with ENOSYS. Some functions are actually named | |
29180 | something starting with __ and the normal name is an alias. */ | |
29181 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
29182 | choke me | |
29183 | #else | |
e6cc62c6 VS |
29184 | char (*f) () = $ac_func; |
29185 | #endif | |
29186 | #ifdef __cplusplus | |
29187 | } | |
4f14bcd8 GD |
29188 | #endif |
29189 | ||
e6cc62c6 VS |
29190 | int |
29191 | main () | |
29192 | { | |
29193 | return f != $ac_func; | |
29194 | ; | |
29195 | return 0; | |
29196 | } | |
29197 | _ACEOF | |
29198 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29199 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29200 | (eval $ac_link) 2>&5 | |
29201 | ac_status=$? | |
29202 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29203 | (exit $ac_status); } && | |
29204 | { ac_try='test -s conftest$ac_exeext' | |
29205 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29206 | (eval $ac_try) 2>&5 | |
29207 | ac_status=$? | |
29208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29209 | (exit $ac_status); }; }; then | |
29210 | eval "$as_ac_var=yes" | |
29211 | else | |
29212 | echo "$as_me: failed program was:" >&5 | |
29213 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29214 | ||
29215 | eval "$as_ac_var=no" | |
29216 | fi | |
29217 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29218 | fi | |
29219 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
29220 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
29221 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
29222 | cat >>confdefs.h <<_ACEOF | |
29223 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
29224 | _ACEOF | |
698dcdb6 | 29225 | |
10f2d63a | 29226 | fi |
4f14bcd8 | 29227 | done |
10f2d63a | 29228 | |
8284b0c5 | 29229 | |
e6cc62c6 VS |
29230 | |
29231 | for ac_header in sched.h | |
4f14bcd8 | 29232 | do |
e6cc62c6 VS |
29233 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
29234 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
29235 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
29236 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
29237 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
29238 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29239 | fi | |
29240 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
29241 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
29242 | else | |
29243 | # Is the header compilable? | |
29244 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
29245 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
29246 | cat >conftest.$ac_ext <<_ACEOF | |
29247 | #line $LINENO "configure" | |
29248 | /* confdefs.h. */ | |
29249 | _ACEOF | |
29250 | cat confdefs.h >>conftest.$ac_ext | |
29251 | cat >>conftest.$ac_ext <<_ACEOF | |
29252 | /* end confdefs.h. */ | |
29253 | $ac_includes_default | |
29254 | #include <$ac_header> | |
29255 | _ACEOF | |
29256 | rm -f conftest.$ac_objext | |
29257 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
29258 | (eval $ac_compile) 2>&5 | |
29259 | ac_status=$? | |
29260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29261 | (exit $ac_status); } && | |
29262 | { ac_try='test -s conftest.$ac_objext' | |
29263 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29264 | (eval $ac_try) 2>&5 | |
29265 | ac_status=$? | |
29266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29267 | (exit $ac_status); }; }; then | |
29268 | ac_header_compiler=yes | |
29269 | else | |
29270 | echo "$as_me: failed program was:" >&5 | |
29271 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29272 | ||
29273 | ac_header_compiler=no | |
29274 | fi | |
29275 | rm -f conftest.$ac_objext conftest.$ac_ext | |
29276 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
29277 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
29278 | ||
29279 | # Is the header present? | |
29280 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
29281 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
29282 | cat >conftest.$ac_ext <<_ACEOF | |
29283 | #line $LINENO "configure" | |
29284 | /* confdefs.h. */ | |
29285 | _ACEOF | |
29286 | cat confdefs.h >>conftest.$ac_ext | |
29287 | cat >>conftest.$ac_ext <<_ACEOF | |
29288 | /* end confdefs.h. */ | |
29289 | #include <$ac_header> | |
29290 | _ACEOF | |
29291 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
29292 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
29293 | ac_status=$? | |
29294 | grep -v '^ *+' conftest.er1 >conftest.err | |
29295 | rm -f conftest.er1 | |
29296 | cat conftest.err >&5 | |
29297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29298 | (exit $ac_status); } >/dev/null; then | |
29299 | if test -s conftest.err; then | |
29300 | ac_cpp_err=$ac_c_preproc_warn_flag | |
29301 | else | |
29302 | ac_cpp_err= | |
29303 | fi | |
29304 | else | |
29305 | ac_cpp_err=yes | |
29306 | fi | |
29307 | if test -z "$ac_cpp_err"; then | |
29308 | ac_header_preproc=yes | |
29309 | else | |
29310 | echo "$as_me: failed program was:" >&5 | |
29311 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29312 | ||
29313 | ac_header_preproc=no | |
29314 | fi | |
29315 | rm -f conftest.err conftest.$ac_ext | |
29316 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
29317 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
29318 | ||
29319 | # So? What about this header? | |
29320 | case $ac_header_compiler:$ac_header_preproc in | |
29321 | yes:no ) | |
29322 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
29323 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
29324 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
29325 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
29326 | ( | |
29327 | cat <<\_ASBOX | |
29328 | ## ------------------------------------ ## | |
29329 | ## Report this to bug-autoconf@gnu.org. ## | |
29330 | ## ------------------------------------ ## | |
29331 | _ASBOX | |
29332 | ) | | |
29333 | sed "s/^/$as_me: WARNING: /" >&2 | |
29334 | ;; | |
29335 | no:yes ) | |
29336 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
29337 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
29338 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
29339 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
29340 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
29341 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
29342 | ( | |
29343 | cat <<\_ASBOX | |
29344 | ## ------------------------------------ ## | |
29345 | ## Report this to bug-autoconf@gnu.org. ## | |
29346 | ## ------------------------------------ ## | |
29347 | _ASBOX | |
29348 | ) | | |
29349 | sed "s/^/$as_me: WARNING: /" >&2 | |
29350 | ;; | |
29351 | esac | |
29352 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
29353 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
29354 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
29355 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29356 | else | |
29357 | eval "$as_ac_Header=$ac_header_preproc" | |
13111b2a | 29358 | fi |
e6cc62c6 VS |
29359 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
29360 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
29361 | ||
10f2d63a | 29362 | fi |
e6cc62c6 VS |
29363 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
29364 | cat >>confdefs.h <<_ACEOF | |
29365 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
29366 | _ACEOF | |
29367 | ||
f6bcfd97 | 29368 | fi |
e6cc62c6 | 29369 | |
4f14bcd8 | 29370 | done |
f6bcfd97 | 29371 | |
009fead0 | 29372 | if test "$ac_cv_header_sched_h" = "yes"; then |
e6cc62c6 VS |
29373 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
29374 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 | |
29375 | if test "${ac_cv_func_sched_yield+set}" = set; then | |
29376 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29377 | else | |
29378 | cat >conftest.$ac_ext <<_ACEOF | |
29379 | #line $LINENO "configure" | |
29380 | /* confdefs.h. */ | |
29381 | _ACEOF | |
29382 | cat confdefs.h >>conftest.$ac_ext | |
29383 | cat >>conftest.$ac_ext <<_ACEOF | |
29384 | /* end confdefs.h. */ | |
009fead0 | 29385 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
29386 | which can conflict with char sched_yield (); below. |
29387 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
29388 | <limits.h> exists even on freestanding compilers. */ | |
29389 | #ifdef __STDC__ | |
29390 | # include <limits.h> | |
29391 | #else | |
29392 | # include <assert.h> | |
29393 | #endif | |
4f14bcd8 | 29394 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29395 | #ifdef __cplusplus |
29396 | extern "C" | |
29397 | { | |
29398 | #endif | |
4f14bcd8 | 29399 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29400 | builtin and then its argument prototype would still apply. */ |
29401 | char sched_yield (); | |
009fead0 VZ |
29402 | /* The GNU C library defines this for functions which it implements |
29403 | to always fail with ENOSYS. Some functions are actually named | |
29404 | something starting with __ and the normal name is an alias. */ | |
29405 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) | |
29406 | choke me | |
29407 | #else | |
e6cc62c6 VS |
29408 | char (*f) () = sched_yield; |
29409 | #endif | |
29410 | #ifdef __cplusplus | |
29411 | } | |
009fead0 VZ |
29412 | #endif |
29413 | ||
e6cc62c6 VS |
29414 | int |
29415 | main () | |
29416 | { | |
29417 | return f != sched_yield; | |
29418 | ; | |
29419 | return 0; | |
29420 | } | |
29421 | _ACEOF | |
29422 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29423 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29424 | (eval $ac_link) 2>&5 | |
29425 | ac_status=$? | |
29426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29427 | (exit $ac_status); } && | |
29428 | { ac_try='test -s conftest$ac_exeext' | |
29429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29430 | (eval $ac_try) 2>&5 | |
29431 | ac_status=$? | |
29432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29433 | (exit $ac_status); }; }; then | |
29434 | ac_cv_func_sched_yield=yes | |
29435 | else | |
29436 | echo "$as_me: failed program was:" >&5 | |
29437 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29438 | ||
29439 | ac_cv_func_sched_yield=no | |
29440 | fi | |
29441 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29442 | fi | |
29443 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 | |
29444 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 | |
29445 | if test $ac_cv_func_sched_yield = yes; then | |
29446 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 29447 | #define HAVE_SCHED_YIELD 1 |
e6cc62c6 | 29448 | _ACEOF |
10f2d63a | 29449 | |
4f14bcd8 | 29450 | else |
009fead0 | 29451 | |
e6cc62c6 VS |
29452 | echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5 |
29453 | echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6 | |
29454 | if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then | |
29455 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4f14bcd8 | 29456 | else |
e6cc62c6 | 29457 | ac_check_lib_save_LIBS=$LIBS |
4f14bcd8 | 29458 | LIBS="-lposix4 $LIBS" |
e6cc62c6 VS |
29459 | cat >conftest.$ac_ext <<_ACEOF |
29460 | #line $LINENO "configure" | |
29461 | /* confdefs.h. */ | |
29462 | _ACEOF | |
29463 | cat confdefs.h >>conftest.$ac_ext | |
29464 | cat >>conftest.$ac_ext <<_ACEOF | |
29465 | /* end confdefs.h. */ | |
29466 | ||
4f14bcd8 | 29467 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29468 | #ifdef __cplusplus |
29469 | extern "C" | |
29470 | #endif | |
4f14bcd8 | 29471 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29472 | builtin and then its argument prototype would still apply. */ |
29473 | char sched_yield (); | |
29474 | int | |
29475 | main () | |
29476 | { | |
29477 | sched_yield (); | |
29478 | ; | |
29479 | return 0; | |
29480 | } | |
29481 | _ACEOF | |
29482 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29483 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29484 | (eval $ac_link) 2>&5 | |
29485 | ac_status=$? | |
29486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29487 | (exit $ac_status); } && | |
29488 | { ac_try='test -s conftest$ac_exeext' | |
29489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29490 | (eval $ac_try) 2>&5 | |
29491 | ac_status=$? | |
29492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29493 | (exit $ac_status); }; }; then | |
29494 | ac_cv_lib_posix4_sched_yield=yes | |
29495 | else | |
29496 | echo "$as_me: failed program was:" >&5 | |
29497 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29498 | ||
29499 | ac_cv_lib_posix4_sched_yield=no | |
29500 | fi | |
29501 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29502 | LIBS=$ac_check_lib_save_LIBS | |
29503 | fi | |
29504 | echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5 | |
29505 | echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6 | |
29506 | if test $ac_cv_lib_posix4_sched_yield = yes; then | |
29507 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 29508 | #define HAVE_SCHED_YIELD 1 |
e6cc62c6 | 29509 | _ACEOF |
3d63bc3a | 29510 | POSIX4_LINK=" -lposix4" |
4f14bcd8 | 29511 | else |
e6cc62c6 VS |
29512 | { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5 |
29513 | echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;} | |
29514 | ||
54276ccf VZ |
29515 | fi |
29516 | ||
e6cc62c6 VS |
29517 | |
29518 | ||
4f14bcd8 | 29519 | fi |
698dcdb6 | 29520 | |
009fead0 | 29521 | fi |
10f2d63a | 29522 | |
7274f1c7 | 29523 | HAVE_PRIOR_FUNCS=0 |
e6cc62c6 VS |
29524 | echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5 |
29525 | echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6 | |
29526 | if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then | |
29527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29528 | else | |
29529 | cat >conftest.$ac_ext <<_ACEOF | |
29530 | #line $LINENO "configure" | |
29531 | /* confdefs.h. */ | |
29532 | _ACEOF | |
29533 | cat confdefs.h >>conftest.$ac_ext | |
29534 | cat >>conftest.$ac_ext <<_ACEOF | |
29535 | /* end confdefs.h. */ | |
009fead0 | 29536 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
29537 | which can conflict with char pthread_attr_getschedpolicy (); below. |
29538 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
29539 | <limits.h> exists even on freestanding compilers. */ | |
29540 | #ifdef __STDC__ | |
29541 | # include <limits.h> | |
29542 | #else | |
29543 | # include <assert.h> | |
29544 | #endif | |
4f14bcd8 | 29545 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29546 | #ifdef __cplusplus |
29547 | extern "C" | |
29548 | { | |
29549 | #endif | |
4f14bcd8 | 29550 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29551 | builtin and then its argument prototype would still apply. */ |
29552 | char pthread_attr_getschedpolicy (); | |
009fead0 VZ |
29553 | /* The GNU C library defines this for functions which it implements |
29554 | to always fail with ENOSYS. Some functions are actually named | |
29555 | something starting with __ and the normal name is an alias. */ | |
29556 | #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy) | |
29557 | choke me | |
29558 | #else | |
e6cc62c6 VS |
29559 | char (*f) () = pthread_attr_getschedpolicy; |
29560 | #endif | |
29561 | #ifdef __cplusplus | |
29562 | } | |
009fead0 VZ |
29563 | #endif |
29564 | ||
e6cc62c6 VS |
29565 | int |
29566 | main () | |
29567 | { | |
29568 | return f != pthread_attr_getschedpolicy; | |
29569 | ; | |
29570 | return 0; | |
29571 | } | |
29572 | _ACEOF | |
29573 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29574 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29575 | (eval $ac_link) 2>&5 | |
29576 | ac_status=$? | |
29577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29578 | (exit $ac_status); } && | |
29579 | { ac_try='test -s conftest$ac_exeext' | |
29580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29581 | (eval $ac_try) 2>&5 | |
29582 | ac_status=$? | |
29583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29584 | (exit $ac_status); }; }; then | |
29585 | ac_cv_func_pthread_attr_getschedpolicy=yes | |
29586 | else | |
29587 | echo "$as_me: failed program was:" >&5 | |
29588 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29589 | ||
29590 | ac_cv_func_pthread_attr_getschedpolicy=no | |
29591 | fi | |
29592 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29593 | fi | |
29594 | echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5 | |
29595 | echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6 | |
29596 | if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then | |
29597 | echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5 | |
29598 | echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6 | |
29599 | if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then | |
29600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29601 | else | |
29602 | cat >conftest.$ac_ext <<_ACEOF | |
29603 | #line $LINENO "configure" | |
29604 | /* confdefs.h. */ | |
29605 | _ACEOF | |
29606 | cat confdefs.h >>conftest.$ac_ext | |
29607 | cat >>conftest.$ac_ext <<_ACEOF | |
29608 | /* end confdefs.h. */ | |
a0b9e27f | 29609 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
29610 | which can conflict with char pthread_attr_setschedparam (); below. |
29611 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
29612 | <limits.h> exists even on freestanding compilers. */ | |
29613 | #ifdef __STDC__ | |
29614 | # include <limits.h> | |
29615 | #else | |
29616 | # include <assert.h> | |
29617 | #endif | |
422107f9 | 29618 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29619 | #ifdef __cplusplus |
29620 | extern "C" | |
29621 | { | |
29622 | #endif | |
422107f9 | 29623 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29624 | builtin and then its argument prototype would still apply. */ |
29625 | char pthread_attr_setschedparam (); | |
009fead0 VZ |
29626 | /* The GNU C library defines this for functions which it implements |
29627 | to always fail with ENOSYS. Some functions are actually named | |
29628 | something starting with __ and the normal name is an alias. */ | |
29629 | #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam) | |
29630 | choke me | |
29631 | #else | |
e6cc62c6 VS |
29632 | char (*f) () = pthread_attr_setschedparam; |
29633 | #endif | |
29634 | #ifdef __cplusplus | |
29635 | } | |
009fead0 VZ |
29636 | #endif |
29637 | ||
e6cc62c6 VS |
29638 | int |
29639 | main () | |
29640 | { | |
29641 | return f != pthread_attr_setschedparam; | |
29642 | ; | |
29643 | return 0; | |
29644 | } | |
29645 | _ACEOF | |
29646 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29647 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29648 | (eval $ac_link) 2>&5 | |
29649 | ac_status=$? | |
29650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29651 | (exit $ac_status); } && | |
29652 | { ac_try='test -s conftest$ac_exeext' | |
29653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29654 | (eval $ac_try) 2>&5 | |
29655 | ac_status=$? | |
29656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29657 | (exit $ac_status); }; }; then | |
29658 | ac_cv_func_pthread_attr_setschedparam=yes | |
29659 | else | |
29660 | echo "$as_me: failed program was:" >&5 | |
29661 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29662 | ||
29663 | ac_cv_func_pthread_attr_setschedparam=no | |
29664 | fi | |
29665 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29666 | fi | |
29667 | echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5 | |
29668 | echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6 | |
29669 | if test $ac_cv_func_pthread_attr_setschedparam = yes; then | |
29670 | echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5 | |
29671 | echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6 | |
29672 | if test "${ac_cv_func_sched_get_priority_max+set}" = set; then | |
29673 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29674 | else | |
29675 | cat >conftest.$ac_ext <<_ACEOF | |
29676 | #line $LINENO "configure" | |
29677 | /* confdefs.h. */ | |
29678 | _ACEOF | |
29679 | cat confdefs.h >>conftest.$ac_ext | |
29680 | cat >>conftest.$ac_ext <<_ACEOF | |
29681 | /* end confdefs.h. */ | |
ef33c576 | 29682 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
29683 | which can conflict with char sched_get_priority_max (); below. |
29684 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
29685 | <limits.h> exists even on freestanding compilers. */ | |
29686 | #ifdef __STDC__ | |
29687 | # include <limits.h> | |
29688 | #else | |
29689 | # include <assert.h> | |
29690 | #endif | |
4f14bcd8 | 29691 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29692 | #ifdef __cplusplus |
29693 | extern "C" | |
29694 | { | |
29695 | #endif | |
4f14bcd8 | 29696 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29697 | builtin and then its argument prototype would still apply. */ |
29698 | char sched_get_priority_max (); | |
009fead0 VZ |
29699 | /* The GNU C library defines this for functions which it implements |
29700 | to always fail with ENOSYS. Some functions are actually named | |
29701 | something starting with __ and the normal name is an alias. */ | |
29702 | #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max) | |
29703 | choke me | |
29704 | #else | |
e6cc62c6 VS |
29705 | char (*f) () = sched_get_priority_max; |
29706 | #endif | |
29707 | #ifdef __cplusplus | |
29708 | } | |
009fead0 VZ |
29709 | #endif |
29710 | ||
e6cc62c6 VS |
29711 | int |
29712 | main () | |
29713 | { | |
29714 | return f != sched_get_priority_max; | |
29715 | ; | |
29716 | return 0; | |
29717 | } | |
29718 | _ACEOF | |
29719 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29720 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29721 | (eval $ac_link) 2>&5 | |
29722 | ac_status=$? | |
29723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29724 | (exit $ac_status); } && | |
29725 | { ac_try='test -s conftest$ac_exeext' | |
29726 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29727 | (eval $ac_try) 2>&5 | |
29728 | ac_status=$? | |
29729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29730 | (exit $ac_status); }; }; then | |
29731 | ac_cv_func_sched_get_priority_max=yes | |
29732 | else | |
29733 | echo "$as_me: failed program was:" >&5 | |
29734 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29735 | ||
29736 | ac_cv_func_sched_get_priority_max=no | |
29737 | fi | |
29738 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29739 | fi | |
29740 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5 | |
29741 | echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6 | |
29742 | if test $ac_cv_func_sched_get_priority_max = yes; then | |
4f14bcd8 GD |
29743 | HAVE_PRIOR_FUNCS=1 |
29744 | else | |
e6cc62c6 VS |
29745 | echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5 |
29746 | echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6 | |
29747 | if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then | |
29748 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
422107f9 | 29749 | else |
e6cc62c6 | 29750 | ac_check_lib_save_LIBS=$LIBS |
4f14bcd8 | 29751 | LIBS="-lposix4 $LIBS" |
e6cc62c6 VS |
29752 | cat >conftest.$ac_ext <<_ACEOF |
29753 | #line $LINENO "configure" | |
29754 | /* confdefs.h. */ | |
29755 | _ACEOF | |
29756 | cat confdefs.h >>conftest.$ac_ext | |
29757 | cat >>conftest.$ac_ext <<_ACEOF | |
29758 | /* end confdefs.h. */ | |
29759 | ||
422107f9 | 29760 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29761 | #ifdef __cplusplus |
29762 | extern "C" | |
29763 | #endif | |
422107f9 | 29764 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29765 | builtin and then its argument prototype would still apply. */ |
29766 | char sched_get_priority_max (); | |
29767 | int | |
29768 | main () | |
29769 | { | |
29770 | sched_get_priority_max (); | |
29771 | ; | |
29772 | return 0; | |
29773 | } | |
29774 | _ACEOF | |
29775 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29776 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29777 | (eval $ac_link) 2>&5 | |
29778 | ac_status=$? | |
29779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29780 | (exit $ac_status); } && | |
29781 | { ac_try='test -s conftest$ac_exeext' | |
29782 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29783 | (eval $ac_try) 2>&5 | |
29784 | ac_status=$? | |
29785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29786 | (exit $ac_status); }; }; then | |
29787 | ac_cv_lib_posix4_sched_get_priority_max=yes | |
29788 | else | |
29789 | echo "$as_me: failed program was:" >&5 | |
29790 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29791 | ||
29792 | ac_cv_lib_posix4_sched_get_priority_max=no | |
29793 | fi | |
29794 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29795 | LIBS=$ac_check_lib_save_LIBS | |
29796 | fi | |
29797 | echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5 | |
29798 | echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6 | |
29799 | if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then | |
698dcdb6 | 29800 | |
7274f1c7 RL |
29801 | HAVE_PRIOR_FUNCS=1 |
29802 | POSIX4_LINK=" -lposix4" | |
e6cc62c6 | 29803 | |
4f14bcd8 | 29804 | fi |
463abc64 | 29805 | |
e6cc62c6 | 29806 | |
328a083c | 29807 | fi |
463abc64 | 29808 | |
e6cc62c6 | 29809 | |
7b4a847f | 29810 | fi |
579d8138 | 29811 | |
e6cc62c6 | 29812 | |
5c6fa7d2 | 29813 | fi |
52127426 | 29814 | |
8284b0c5 | 29815 | |
7274f1c7 | 29816 | if test "$HAVE_PRIOR_FUNCS" = 1; then |
e6cc62c6 | 29817 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 29818 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 |
e6cc62c6 | 29819 | _ACEOF |
463abc64 | 29820 | |
7274f1c7 | 29821 | else |
e6cc62c6 VS |
29822 | { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5 |
29823 | echo "$as_me: WARNING: Setting thread priority will not work" >&2;} | |
7274f1c7 | 29824 | fi |
463abc64 | 29825 | |
e6cc62c6 VS |
29826 | echo "$as_me:$LINENO: checking for pthread_cancel" >&5 |
29827 | echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6 | |
29828 | if test "${ac_cv_func_pthread_cancel+set}" = set; then | |
29829 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29830 | else | |
29831 | cat >conftest.$ac_ext <<_ACEOF | |
29832 | #line $LINENO "configure" | |
29833 | /* confdefs.h. */ | |
29834 | _ACEOF | |
29835 | cat confdefs.h >>conftest.$ac_ext | |
29836 | cat >>conftest.$ac_ext <<_ACEOF | |
29837 | /* end confdefs.h. */ | |
009fead0 | 29838 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
29839 | which can conflict with char pthread_cancel (); below. |
29840 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
29841 | <limits.h> exists even on freestanding compilers. */ | |
29842 | #ifdef __STDC__ | |
29843 | # include <limits.h> | |
29844 | #else | |
29845 | # include <assert.h> | |
29846 | #endif | |
422107f9 | 29847 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
29848 | #ifdef __cplusplus |
29849 | extern "C" | |
29850 | { | |
29851 | #endif | |
422107f9 | 29852 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
29853 | builtin and then its argument prototype would still apply. */ |
29854 | char pthread_cancel (); | |
009fead0 VZ |
29855 | /* The GNU C library defines this for functions which it implements |
29856 | to always fail with ENOSYS. Some functions are actually named | |
29857 | something starting with __ and the normal name is an alias. */ | |
29858 | #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel) | |
29859 | choke me | |
29860 | #else | |
e6cc62c6 VS |
29861 | char (*f) () = pthread_cancel; |
29862 | #endif | |
29863 | #ifdef __cplusplus | |
29864 | } | |
009fead0 VZ |
29865 | #endif |
29866 | ||
e6cc62c6 VS |
29867 | int |
29868 | main () | |
29869 | { | |
29870 | return f != pthread_cancel; | |
29871 | ; | |
29872 | return 0; | |
29873 | } | |
29874 | _ACEOF | |
29875 | rm -f conftest.$ac_objext conftest$ac_exeext | |
29876 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
29877 | (eval $ac_link) 2>&5 | |
29878 | ac_status=$? | |
29879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29880 | (exit $ac_status); } && | |
29881 | { ac_try='test -s conftest$ac_exeext' | |
29882 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29883 | (eval $ac_try) 2>&5 | |
29884 | ac_status=$? | |
29885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29886 | (exit $ac_status); }; }; then | |
29887 | ac_cv_func_pthread_cancel=yes | |
29888 | else | |
29889 | echo "$as_me: failed program was:" >&5 | |
29890 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29891 | ||
29892 | ac_cv_func_pthread_cancel=no | |
29893 | fi | |
29894 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
29895 | fi | |
29896 | echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5 | |
29897 | echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6 | |
29898 | if test $ac_cv_func_pthread_cancel = yes; then | |
29899 | cat >>confdefs.h <<\_ACEOF | |
4f14bcd8 | 29900 | #define HAVE_PTHREAD_CANCEL 1 |
e6cc62c6 | 29901 | _ACEOF |
4f14bcd8 | 29902 | |
698dcdb6 | 29903 | else |
e6cc62c6 VS |
29904 | { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5 |
29905 | echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;} | |
422107f9 VZ |
29906 | fi |
29907 | ||
5c6fa7d2 | 29908 | |
4f14bcd8 | 29909 | |
e6cc62c6 VS |
29910 | |
29911 | echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5 | |
29912 | echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6 | |
29913 | if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then | |
29914 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
698dcdb6 | 29915 | else |
e6cc62c6 VS |
29916 | |
29917 | cat >conftest.$ac_ext <<_ACEOF | |
29918 | #line $LINENO "configure" | |
29919 | /* confdefs.h. */ | |
29920 | _ACEOF | |
29921 | cat confdefs.h >>conftest.$ac_ext | |
29922 | cat >>conftest.$ac_ext <<_ACEOF | |
29923 | /* end confdefs.h. */ | |
4f14bcd8 | 29924 | #include <pthread.h> |
e6cc62c6 VS |
29925 | int |
29926 | main () | |
29927 | { | |
4f14bcd8 | 29928 | |
7274f1c7 RL |
29929 | pthread_mutexattr_t attr; |
29930 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); | |
e6cc62c6 VS |
29931 | |
29932 | ; | |
29933 | return 0; | |
29934 | } | |
29935 | _ACEOF | |
29936 | rm -f conftest.$ac_objext | |
29937 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
29938 | (eval $ac_compile) 2>&5 | |
29939 | ac_status=$? | |
29940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29941 | (exit $ac_status); } && | |
29942 | { ac_try='test -s conftest.$ac_objext' | |
29943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
29944 | (eval $ac_try) 2>&5 | |
29945 | ac_status=$? | |
29946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
29947 | (exit $ac_status); }; }; then | |
29948 | ||
7274f1c7 | 29949 | wx_cv_type_pthread_mutexattr_t=yes |
e6cc62c6 | 29950 | |
3fed1840 | 29951 | else |
e6cc62c6 VS |
29952 | echo "$as_me: failed program was:" >&5 |
29953 | sed 's/^/| /' conftest.$ac_ext >&5 | |
29954 | ||
29955 | ||
7274f1c7 | 29956 | wx_cv_type_pthread_mutexattr_t=no |
e6cc62c6 VS |
29957 | |
29958 | ||
247f5006 | 29959 | fi |
e6cc62c6 | 29960 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 29961 | |
e6cc62c6 VS |
29962 | fi |
29963 | echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5 | |
29964 | echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6 | |
4f14bcd8 | 29965 | |
7274f1c7 | 29966 | if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then |
e6cc62c6 | 29967 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 29968 | #define HAVE_PTHREAD_MUTEXATTR_T 1 |
e6cc62c6 | 29969 | _ACEOF |
4f14bcd8 | 29970 | |
7274f1c7 | 29971 | else |
e6cc62c6 VS |
29972 | echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5 |
29973 | echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6 | |
29974 | if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then | |
29975 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
29976 | else | |
29977 | ||
29978 | cat >conftest.$ac_ext <<_ACEOF | |
29979 | #line $LINENO "configure" | |
29980 | /* confdefs.h. */ | |
29981 | _ACEOF | |
29982 | cat confdefs.h >>conftest.$ac_ext | |
29983 | cat >>conftest.$ac_ext <<_ACEOF | |
29984 | /* end confdefs.h. */ | |
4f14bcd8 | 29985 | #include <pthread.h> |
e6cc62c6 VS |
29986 | int |
29987 | main () | |
29988 | { | |
4f14bcd8 | 29989 | |
7274f1c7 | 29990 | pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; |
e6cc62c6 VS |
29991 | |
29992 | ; | |
29993 | return 0; | |
29994 | } | |
29995 | _ACEOF | |
29996 | rm -f conftest.$ac_objext | |
29997 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
29998 | (eval $ac_compile) 2>&5 | |
29999 | ac_status=$? | |
30000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30001 | (exit $ac_status); } && | |
30002 | { ac_try='test -s conftest.$ac_objext' | |
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); }; }; then | |
30008 | ||
7274f1c7 | 30009 | wx_cv_type_pthread_rec_mutex_init=yes |
e6cc62c6 | 30010 | |
698dcdb6 | 30011 | else |
e6cc62c6 VS |
30012 | echo "$as_me: failed program was:" >&5 |
30013 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30014 | ||
30015 | ||
7274f1c7 | 30016 | wx_cv_type_pthread_rec_mutex_init=no |
e6cc62c6 VS |
30017 | |
30018 | ||
247f5006 | 30019 | fi |
e6cc62c6 | 30020 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 30021 | |
e6cc62c6 VS |
30022 | fi |
30023 | echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5 | |
30024 | echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6 | |
7274f1c7 | 30025 | if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then |
e6cc62c6 | 30026 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30027 | #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1 |
e6cc62c6 | 30028 | _ACEOF |
3fed1840 | 30029 | |
7274f1c7 | 30030 | else |
e6cc62c6 VS |
30031 | { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5 |
30032 | echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;} | |
7274f1c7 RL |
30033 | fi |
30034 | fi | |
7274f1c7 | 30035 | fi |
3fed1840 | 30036 | |
a0b9e27f MB |
30037 | else |
30038 | if test "$wxUSE_THREADS" = "yes" ; then | |
30039 | case "${host}" in | |
30040 | *-*-mingw32* ) | |
e6cc62c6 VS |
30041 | echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5 |
30042 | echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6 | |
30043 | if test "${wx_cv_cflags_mthread+set}" = set; then | |
30044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
ca8e52b3 | 30045 | else |
e6cc62c6 | 30046 | |
ca8e52b3 VZ |
30047 | CFLAGS_OLD="$CFLAGS" |
30048 | CFLAGS="$CFLAGS -mthreads" | |
e6cc62c6 VS |
30049 | cat >conftest.$ac_ext <<_ACEOF |
30050 | #line $LINENO "configure" | |
30051 | /* confdefs.h. */ | |
30052 | _ACEOF | |
30053 | cat confdefs.h >>conftest.$ac_ext | |
30054 | cat >>conftest.$ac_ext <<_ACEOF | |
30055 | /* end confdefs.h. */ | |
30056 | ||
30057 | int | |
30058 | main () | |
30059 | { | |
ca8e52b3 | 30060 | |
e6cc62c6 VS |
30061 | ; |
30062 | return 0; | |
30063 | } | |
30064 | _ACEOF | |
30065 | rm -f conftest.$ac_objext | |
30066 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
30067 | (eval $ac_compile) 2>&5 | |
30068 | ac_status=$? | |
30069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30070 | (exit $ac_status); } && | |
30071 | { ac_try='test -s conftest.$ac_objext' | |
30072 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30073 | (eval $ac_try) 2>&5 | |
30074 | ac_status=$? | |
30075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30076 | (exit $ac_status); }; }; then | |
ca8e52b3 VZ |
30077 | wx_cv_cflags_mthread=yes |
30078 | else | |
e6cc62c6 VS |
30079 | echo "$as_me: failed program was:" >&5 |
30080 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30081 | ||
30082 | wx_cv_cflags_mthread=no | |
30083 | ||
ca8e52b3 | 30084 | fi |
e6cc62c6 VS |
30085 | rm -f conftest.$ac_objext conftest.$ac_ext |
30086 | ||
ca8e52b3 | 30087 | |
e6cc62c6 VS |
30088 | fi |
30089 | echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5 | |
30090 | echo "${ECHO_T}$wx_cv_cflags_mthread" >&6 | |
ca8e52b3 VZ |
30091 | |
30092 | if test "$wx_cv_cflags_mthread" = "yes"; then | |
30093 | CXXFLAGS="$CXXFLAGS -mthreads" | |
30094 | TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads" | |
30095 | LDFLAGS="$LDFLAGS -mthreads" | |
30096 | else | |
30097 | CFLAGS="$CFLAGS_OLD" | |
30098 | fi | |
a0b9e27f | 30099 | ;; |
73d617c9 MB |
30100 | *-pc-os2*emx ) |
30101 | CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__" | |
30102 | CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__" | |
30103 | LDFLAGS="$LDFLAGS -Zmt" | |
30104 | ;; | |
a0b9e27f MB |
30105 | esac |
30106 | fi | |
4f14bcd8 GD |
30107 | fi |
30108 | ||
30109 | if test "$wxUSE_THREADS" = "yes"; then | |
e6cc62c6 | 30110 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30111 | #define wxUSE_THREADS 1 |
e6cc62c6 | 30112 | _ACEOF |
7b6058cd | 30113 | |
8284b0c5 | 30114 | |
4f14bcd8 | 30115 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread" |
698dcdb6 | 30116 | else |
4f14bcd8 | 30117 | if test "$ac_cv_func_strtok_r" = "yes"; then |
e6cc62c6 VS |
30118 | echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5 |
30119 | echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6 | |
4f14bcd8 GD |
30120 | if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then |
30121 | TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT" | |
e6cc62c6 VS |
30122 | echo "$as_me:$LINENO: result: yes" >&5 |
30123 | echo "${ECHO_T}yes" >&6 | |
4f14bcd8 | 30124 | else |
e6cc62c6 VS |
30125 | echo "$as_me:$LINENO: result: no" >&5 |
30126 | echo "${ECHO_T}no" >&6 | |
4f14bcd8 GD |
30127 | fi |
30128 | fi | |
30129 | fi | |
30130 | ||
30131 | if test "$WXGTK20" = 1 ; then | |
e6cc62c6 | 30132 | cat >>confdefs.h <<_ACEOF |
4f14bcd8 | 30133 | #define __WXGTK20__ $WXGTK20 |
e6cc62c6 | 30134 | _ACEOF |
4f14bcd8 GD |
30135 | |
30136 | WXGTK12=1 | |
10f2d63a | 30137 | fi |
4f14bcd8 GD |
30138 | |
30139 | if test "$WXGTK12" = 1 ; then | |
e6cc62c6 | 30140 | cat >>confdefs.h <<_ACEOF |
4f14bcd8 | 30141 | #define __WXGTK12__ $WXGTK12 |
e6cc62c6 | 30142 | _ACEOF |
4f14bcd8 | 30143 | |
10f2d63a | 30144 | fi |
698dcdb6 | 30145 | |
4f14bcd8 | 30146 | if test "$WXGTK127" = 1 ; then |
e6cc62c6 | 30147 | cat >>confdefs.h <<_ACEOF |
4f14bcd8 | 30148 | #define __WXGTK127__ $WXGTK127 |
e6cc62c6 | 30149 | _ACEOF |
4f14bcd8 | 30150 | |
698dcdb6 | 30151 | fi |
10f2d63a | 30152 | |
4f14bcd8 GD |
30153 | WXDEBUG= |
30154 | ||
30155 | if test "$wxUSE_DEBUG_INFO" = "yes" ; then | |
30156 | WXDEBUG="-g" | |
30157 | wxUSE_OPTIMISE=no | |
698dcdb6 | 30158 | fi |
4f14bcd8 GD |
30159 | |
30160 | if test "$wxUSE_DEBUG_GDB" = "yes" ; then | |
30161 | wxUSE_DEBUG_INFO=yes | |
30162 | WXDEBUG="-ggdb" | |
10f2d63a VZ |
30163 | fi |
30164 | ||
4f14bcd8 | 30165 | if test "$wxUSE_DEBUG_FLAG" = "yes" ; then |
e6cc62c6 | 30166 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30167 | #define WXDEBUG 1 |
e6cc62c6 | 30168 | _ACEOF |
4f14bcd8 GD |
30169 | |
30170 | WXDEBUG_DEFINE="-D__WXDEBUG__" | |
10f2d63a | 30171 | else |
4f14bcd8 GD |
30172 | if test "$wxUSE_GTK" = 1 ; then |
30173 | WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS" | |
30174 | fi | |
30175 | fi | |
30176 | ||
30177 | if test "$wxUSE_MEM_TRACING" = "yes" ; then | |
e6cc62c6 | 30178 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30179 | #define wxUSE_MEMORY_TRACING 1 |
e6cc62c6 | 30180 | _ACEOF |
4f14bcd8 | 30181 | |
e6cc62c6 | 30182 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30183 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 1 |
e6cc62c6 | 30184 | _ACEOF |
4f14bcd8 | 30185 | |
e6cc62c6 | 30186 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30187 | #define wxUSE_DEBUG_NEW_ALWAYS 1 |
e6cc62c6 | 30188 | _ACEOF |
4f14bcd8 GD |
30189 | |
30190 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck" | |
30191 | fi | |
30192 | ||
30193 | if test "$wxUSE_DMALLOC" = "yes" ; then | |
3d63bc3a | 30194 | DMALLOC_LIBS="-ldmalloc" |
4f14bcd8 GD |
30195 | fi |
30196 | ||
30197 | PROFILE= | |
30198 | if test "$wxUSE_PROFILE" = "yes" ; then | |
3d63bc3a | 30199 | PROFILE=" -pg" |
10f2d63a VZ |
30200 | fi |
30201 | ||
009fead0 VZ |
30202 | CODE_GEN_FLAGS= |
30203 | CODE_GEN_FLAGS_CXX= | |
88e30f2b | 30204 | if test "$GCC" = "yes" ; then |
4f14bcd8 GD |
30205 | if test "$wxUSE_NO_RTTI" = "yes" ; then |
30206 | CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti" | |
3a922bb4 | 30207 | fi |
4f14bcd8 GD |
30208 | if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then |
30209 | CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions" | |
30210 | fi | |
30211 | if test "$wxUSE_PERMISSIVE" = "yes" ; then | |
30212 | CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive" | |
30213 | fi | |
1d1b75ac | 30214 | |
2b5f62a0 | 30215 | case "${host}" in |
1d1b75ac VZ |
30216 | powerpc*-*-aix* ) |
30217 | CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc" | |
30218 | ;; | |
2b5f62a0 VZ |
30219 | *-hppa* ) |
30220 | CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections" | |
30221 | ;; | |
1d1b75ac | 30222 | esac |
4f14bcd8 GD |
30223 | fi |
30224 | ||
af7b5345 | 30225 | OPTIMISE= |
4f14bcd8 | 30226 | if test "$wxUSE_OPTIMISE" = "no" ; then |
af7b5345 VZ |
30227 | if test "$GCC" = yes ; then |
30228 | OPTIMISE="-O0" | |
30229 | fi | |
4f14bcd8 GD |
30230 | else |
30231 | if test "$GCC" = yes ; then | |
30232 | OPTIMISE="-O2" | |
af7b5345 VZ |
30233 | |
30234 | case "${host}" in | |
4f14bcd8 GD |
30235 | i586-*-*|i686-*-* ) |
30236 | OPTIMISE="${OPTIMISE} " | |
30237 | ;; | |
30238 | esac | |
30239 | else | |
30240 | OPTIMISE="-O" | |
30241 | fi | |
30242 | fi | |
30243 | ||
8d90d2f2 | 30244 | |
65d8ef1e | 30245 | if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then |
e6cc62c6 | 30246 | cat >>confdefs.h <<\_ACEOF |
4f14bcd8 | 30247 | #define WXWIN_COMPATIBILITY_2_2 1 |
e6cc62c6 | 30248 | _ACEOF |
4f14bcd8 | 30249 | |
8d90d2f2 VZ |
30250 | |
30251 | WXWIN_COMPATIBILITY_2_4="yes" | |
10f2d63a VZ |
30252 | fi |
30253 | ||
65d8ef1e | 30254 | if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then |
e6cc62c6 | 30255 | cat >>confdefs.h <<\_ACEOF |
65d8ef1e | 30256 | #define WXWIN_COMPATIBILITY_2_4 1 |
e6cc62c6 | 30257 | _ACEOF |
65d8ef1e VS |
30258 | |
30259 | fi | |
30260 | ||
8284b0c5 | 30261 | |
10f2d63a | 30262 | if test "$wxUSE_GUI" = "yes"; then |
e6cc62c6 | 30263 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30264 | #define wxUSE_GUI 1 |
e6cc62c6 | 30265 | _ACEOF |
10f2d63a | 30266 | |
8284b0c5 | 30267 | |
10f2d63a | 30268 | else |
e6cc62c6 | 30269 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30270 | #define wxUSE_NOGUI 1 |
e6cc62c6 | 30271 | _ACEOF |
10f2d63a VZ |
30272 | |
30273 | fi | |
30274 | ||
8284b0c5 | 30275 | |
10f2d63a | 30276 | if test "$wxUSE_UNIX" = "yes"; then |
e6cc62c6 | 30277 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30278 | #define wxUSE_UNIX 1 |
e6cc62c6 | 30279 | _ACEOF |
10f2d63a VZ |
30280 | |
30281 | fi | |
30282 | ||
8284b0c5 | 30283 | |
df5168c4 MB |
30284 | if test "$wxUSE_STL" = "yes"; then |
30285 | cat >>confdefs.h <<\_ACEOF | |
30286 | #define wxUSE_STL 1 | |
30287 | _ACEOF | |
30288 | ||
30289 | fi | |
30290 | ||
10f2d63a | 30291 | if test "$wxUSE_APPLE_IEEE" = "yes"; then |
e6cc62c6 | 30292 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30293 | #define wxUSE_APPLE_IEEE 1 |
e6cc62c6 | 30294 | _ACEOF |
10f2d63a VZ |
30295 | |
30296 | fi | |
30297 | ||
1e6feb95 | 30298 | if test "$wxUSE_TIMER" = "yes"; then |
e6cc62c6 | 30299 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 30300 | #define wxUSE_TIMER 1 |
e6cc62c6 | 30301 | _ACEOF |
1e6feb95 VZ |
30302 | |
30303 | fi | |
30304 | ||
10f2d63a | 30305 | if test "$wxUSE_WAVE" = "yes"; then |
e6cc62c6 | 30306 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30307 | #define wxUSE_WAVE 1 |
e6cc62c6 | 30308 | _ACEOF |
10f2d63a VZ |
30309 | |
30310 | fi | |
30311 | ||
1e6feb95 | 30312 | if test "$wxUSE_CMDLINE_PARSER" = "yes"; then |
e6cc62c6 | 30313 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 30314 | #define wxUSE_CMDLINE_PARSER 1 |
e6cc62c6 | 30315 | _ACEOF |
1e6feb95 VZ |
30316 | |
30317 | fi | |
30318 | ||
30319 | if test "$wxUSE_STOPWATCH" = "yes"; then | |
e6cc62c6 | 30320 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 30321 | #define wxUSE_STOPWATCH 1 |
e6cc62c6 | 30322 | _ACEOF |
1e6feb95 VZ |
30323 | |
30324 | fi | |
30325 | ||
30326 | if test "$wxUSE_DATETIME" = "yes"; then | |
e6cc62c6 | 30327 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 30328 | #define wxUSE_DATETIME 1 |
e6cc62c6 | 30329 | _ACEOF |
1e6feb95 VZ |
30330 | |
30331 | fi | |
30332 | ||
10f2d63a | 30333 | if test "$wxUSE_FILE" = "yes"; then |
e6cc62c6 | 30334 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30335 | #define wxUSE_FILE 1 |
e6cc62c6 | 30336 | _ACEOF |
10f2d63a VZ |
30337 | |
30338 | fi | |
30339 | ||
1e6feb95 | 30340 | if test "$wxUSE_FFILE" = "yes"; then |
e6cc62c6 | 30341 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 30342 | #define wxUSE_FFILE 1 |
e6cc62c6 | 30343 | _ACEOF |
1e6feb95 VZ |
30344 | |
30345 | fi | |
30346 | ||
24528b0c | 30347 | if test "$wxUSE_FILESYSTEM" = "yes"; then |
e6cc62c6 | 30348 | cat >>confdefs.h <<\_ACEOF |
24528b0c | 30349 | #define wxUSE_FILESYSTEM 1 |
e6cc62c6 | 30350 | _ACEOF |
24528b0c VS |
30351 | |
30352 | fi | |
30353 | ||
10f2d63a | 30354 | if test "$wxUSE_FS_ZIP" = "yes"; then |
e6cc62c6 | 30355 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30356 | #define wxUSE_FS_ZIP 1 |
e6cc62c6 | 30357 | _ACEOF |
10f2d63a VZ |
30358 | |
30359 | fi | |
30360 | ||
30361 | if test "$wxUSE_ZIPSTREAM" = "yes"; then | |
e6cc62c6 | 30362 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30363 | #define wxUSE_ZIPSTREAM 1 |
e6cc62c6 | 30364 | _ACEOF |
10f2d63a VZ |
30365 | |
30366 | fi | |
30367 | ||
7015ef3a VZ |
30368 | if test "$wxUSE_GZSTREAM" = "yes"; then |
30369 | cat >>confdefs.h <<\_ACEOF | |
30370 | #define wxUSE_GZSTREAM 1 | |
30371 | _ACEOF | |
30372 | ||
30373 | fi | |
30374 | ||
eb4efbdc | 30375 | if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then |
e6cc62c6 | 30376 | cat >>confdefs.h <<\_ACEOF |
eb4efbdc | 30377 | #define wxUSE_ON_FATAL_EXCEPTION 1 |
e6cc62c6 | 30378 | _ACEOF |
eb4efbdc VZ |
30379 | |
30380 | fi | |
30381 | ||
4f3c5f06 | 30382 | if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then |
e6cc62c6 | 30383 | cat >>confdefs.h <<\_ACEOF |
4f3c5f06 | 30384 | #define wxUSE_SNGLINST_CHECKER 1 |
e6cc62c6 | 30385 | _ACEOF |
4f3c5f06 VZ |
30386 | |
30387 | fi | |
30388 | ||
10f2d63a | 30389 | if test "$wxUSE_BUSYINFO" = "yes"; then |
e6cc62c6 | 30390 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30391 | #define wxUSE_BUSYINFO 1 |
e6cc62c6 | 30392 | _ACEOF |
10f2d63a VZ |
30393 | |
30394 | fi | |
30395 | ||
30396 | if test "$wxUSE_STD_IOSTREAM" = "yes"; then | |
e6cc62c6 | 30397 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30398 | #define wxUSE_STD_IOSTREAM 1 |
e6cc62c6 | 30399 | _ACEOF |
10f2d63a VZ |
30400 | |
30401 | fi | |
30402 | ||
a3a584a7 | 30403 | if test "$wxUSE_TEXTBUFFER" = "yes"; then |
e6cc62c6 | 30404 | cat >>confdefs.h <<\_ACEOF |
a3a584a7 | 30405 | #define wxUSE_TEXTBUFFER 1 |
e6cc62c6 | 30406 | _ACEOF |
a3a584a7 VZ |
30407 | |
30408 | fi | |
30409 | ||
10f2d63a | 30410 | if test "$wxUSE_TEXTFILE" = "yes"; then |
a3a584a7 | 30411 | if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then |
e6cc62c6 VS |
30412 | { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5 |
30413 | echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;} | |
10f2d63a | 30414 | else |
e6cc62c6 | 30415 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30416 | #define wxUSE_TEXTFILE 1 |
e6cc62c6 | 30417 | _ACEOF |
10f2d63a VZ |
30418 | |
30419 | fi | |
30420 | fi | |
30421 | ||
30422 | if test "$wxUSE_CONFIG" = "yes" ; then | |
30423 | if test "$wxUSE_TEXTFILE" != "yes"; then | |
e6cc62c6 VS |
30424 | { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5 |
30425 | echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;} | |
10f2d63a | 30426 | else |
e6cc62c6 | 30427 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30428 | #define wxUSE_CONFIG 1 |
e6cc62c6 | 30429 | _ACEOF |
10f2d63a VZ |
30430 | |
30431 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config" | |
30432 | fi | |
30433 | fi | |
30434 | ||
30435 | if test "$wxUSE_INTL" = "yes" ; then | |
30436 | if test "$wxUSE_FILE" != "yes"; then | |
e6cc62c6 VS |
30437 | { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5 |
30438 | echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;} | |
10f2d63a | 30439 | else |
e6cc62c6 | 30440 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30441 | #define wxUSE_INTL 1 |
e6cc62c6 | 30442 | _ACEOF |
10f2d63a VZ |
30443 | |
30444 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat" | |
f6bcfd97 | 30445 | GUIDIST="$GUIDIST INTL_DIST" |
10f2d63a VZ |
30446 | fi |
30447 | fi | |
30448 | ||
30449 | if test "$wxUSE_LOG" = "yes"; then | |
e6cc62c6 | 30450 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30451 | #define wxUSE_LOG 1 |
e6cc62c6 | 30452 | _ACEOF |
10f2d63a | 30453 | |
8284b0c5 | 30454 | |
d73be714 | 30455 | if test "$wxUSE_LOGGUI" = "yes"; then |
e6cc62c6 | 30456 | cat >>confdefs.h <<\_ACEOF |
d73be714 | 30457 | #define wxUSE_LOGGUI 1 |
e6cc62c6 | 30458 | _ACEOF |
d73be714 VZ |
30459 | |
30460 | fi | |
30461 | ||
30462 | if test "$wxUSE_LOGWINDOW" = "yes"; then | |
e6cc62c6 | 30463 | cat >>confdefs.h <<\_ACEOF |
d73be714 | 30464 | #define wxUSE_LOGWINDOW 1 |
e6cc62c6 | 30465 | _ACEOF |
69d27ff7 MB |
30466 | |
30467 | fi | |
30468 | ||
30469 | if test "$wxUSE_LOGDIALOG" = "yes"; then | |
e6cc62c6 | 30470 | cat >>confdefs.h <<\_ACEOF |
69d27ff7 | 30471 | #define wxUSE_LOG_DIALOG 1 |
e6cc62c6 | 30472 | _ACEOF |
d73be714 VZ |
30473 | |
30474 | fi | |
10f2d63a VZ |
30475 | fi |
30476 | ||
30477 | if test "$wxUSE_LONGLONG" = "yes"; then | |
e6cc62c6 | 30478 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30479 | #define wxUSE_LONGLONG 1 |
e6cc62c6 | 30480 | _ACEOF |
10f2d63a VZ |
30481 | |
30482 | fi | |
30483 | ||
e8f65ba6 | 30484 | if test "$wxUSE_GEOMETRY" = "yes"; then |
e6cc62c6 | 30485 | cat >>confdefs.h <<\_ACEOF |
e8f65ba6 | 30486 | #define wxUSE_GEOMETRY 1 |
e6cc62c6 | 30487 | _ACEOF |
e8f65ba6 RR |
30488 | |
30489 | fi | |
30490 | ||
10f2d63a | 30491 | if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then |
e6cc62c6 | 30492 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30493 | #define wxUSE_DIALUP_MANAGER 1 |
e6cc62c6 | 30494 | _ACEOF |
10f2d63a | 30495 | |
70f7a477 | 30496 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup" |
10f2d63a VZ |
30497 | fi |
30498 | ||
30499 | if test "$wxUSE_STREAMS" = "yes" ; then | |
e6cc62c6 | 30500 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 30501 | #define wxUSE_STREAMS 1 |
e6cc62c6 | 30502 | _ACEOF |
10f2d63a VZ |
30503 | |
30504 | fi | |
30505 | ||
5c6fa7d2 | 30506 | |
8284b0c5 | 30507 | if test "$wxUSE_DATETIME" = "yes"; then |
e6cc62c6 VS |
30508 | |
30509 | for ac_func in strptime | |
83307f33 | 30510 | do |
e6cc62c6 VS |
30511 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
30512 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
30513 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
30514 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
30515 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
30516 | else | |
30517 | cat >conftest.$ac_ext <<_ACEOF | |
30518 | #line $LINENO "configure" | |
30519 | /* confdefs.h. */ | |
30520 | _ACEOF | |
30521 | cat confdefs.h >>conftest.$ac_ext | |
30522 | cat >>conftest.$ac_ext <<_ACEOF | |
30523 | /* end confdefs.h. */ | |
83307f33 | 30524 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
30525 | which can conflict with char $ac_func (); below. |
30526 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
30527 | <limits.h> exists even on freestanding compilers. */ | |
30528 | #ifdef __STDC__ | |
30529 | # include <limits.h> | |
30530 | #else | |
30531 | # include <assert.h> | |
30532 | #endif | |
83307f33 | 30533 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
30534 | #ifdef __cplusplus |
30535 | extern "C" | |
30536 | { | |
30537 | #endif | |
83307f33 | 30538 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
30539 | builtin and then its argument prototype would still apply. */ |
30540 | char $ac_func (); | |
83307f33 VZ |
30541 | /* The GNU C library defines this for functions which it implements |
30542 | to always fail with ENOSYS. Some functions are actually named | |
30543 | something starting with __ and the normal name is an alias. */ | |
30544 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
30545 | choke me | |
30546 | #else | |
e6cc62c6 VS |
30547 | char (*f) () = $ac_func; |
30548 | #endif | |
30549 | #ifdef __cplusplus | |
30550 | } | |
83307f33 VZ |
30551 | #endif |
30552 | ||
e6cc62c6 VS |
30553 | int |
30554 | main () | |
30555 | { | |
30556 | return f != $ac_func; | |
30557 | ; | |
30558 | return 0; | |
30559 | } | |
30560 | _ACEOF | |
30561 | rm -f conftest.$ac_objext conftest$ac_exeext | |
30562 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
30563 | (eval $ac_link) 2>&5 | |
30564 | ac_status=$? | |
30565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30566 | (exit $ac_status); } && | |
30567 | { ac_try='test -s conftest$ac_exeext' | |
30568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30569 | (eval $ac_try) 2>&5 | |
30570 | ac_status=$? | |
30571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30572 | (exit $ac_status); }; }; then | |
30573 | eval "$as_ac_var=yes" | |
30574 | else | |
30575 | echo "$as_me: failed program was:" >&5 | |
30576 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30577 | ||
30578 | eval "$as_ac_var=no" | |
30579 | fi | |
30580 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
30581 | fi | |
30582 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
30583 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
30584 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
30585 | cat >>confdefs.h <<_ACEOF | |
30586 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
30587 | _ACEOF | |
83307f33 | 30588 | |
83307f33 VZ |
30589 | fi |
30590 | done | |
30591 | ||
5c6fa7d2 | 30592 | |
e6cc62c6 VS |
30593 | echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5 |
30594 | echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6 | |
30595 | if test "${wx_cv_var_timezone+set}" = set; then | |
30596 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8284b0c5 | 30597 | else |
e6cc62c6 VS |
30598 | |
30599 | cat >conftest.$ac_ext <<_ACEOF | |
30600 | #line $LINENO "configure" | |
30601 | /* confdefs.h. */ | |
30602 | _ACEOF | |
30603 | cat confdefs.h >>conftest.$ac_ext | |
30604 | cat >>conftest.$ac_ext <<_ACEOF | |
30605 | /* end confdefs.h. */ | |
360d6699 | 30606 | |
b4085ce6 | 30607 | #include <time.h> |
e6cc62c6 VS |
30608 | |
30609 | int | |
30610 | main () | |
30611 | { | |
360d6699 VZ |
30612 | |
30613 | int tz; | |
4f11a343 | 30614 | tz = timezone; |
e6cc62c6 VS |
30615 | |
30616 | ; | |
30617 | return 0; | |
30618 | } | |
30619 | _ACEOF | |
30620 | rm -f conftest.$ac_objext | |
30621 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
30622 | (eval $ac_compile) 2>&5 | |
30623 | ac_status=$? | |
30624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30625 | (exit $ac_status); } && | |
30626 | { ac_try='test -s conftest.$ac_objext' | |
30627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30628 | (eval $ac_try) 2>&5 | |
30629 | ac_status=$? | |
30630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30631 | (exit $ac_status); }; }; then | |
30632 | ||
4f11a343 | 30633 | wx_cv_var_timezone=timezone |
e6cc62c6 | 30634 | |
360d6699 | 30635 | else |
e6cc62c6 VS |
30636 | echo "$as_me: failed program was:" >&5 |
30637 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30638 | ||
30639 | ||
30640 | cat >conftest.$ac_ext <<_ACEOF | |
30641 | #line $LINENO "configure" | |
30642 | /* confdefs.h. */ | |
30643 | _ACEOF | |
30644 | cat confdefs.h >>conftest.$ac_ext | |
30645 | cat >>conftest.$ac_ext <<_ACEOF | |
30646 | /* end confdefs.h. */ | |
360d6699 | 30647 | |
b4085ce6 | 30648 | #include <time.h> |
e6cc62c6 VS |
30649 | |
30650 | int | |
30651 | main () | |
30652 | { | |
360d6699 VZ |
30653 | |
30654 | int tz; | |
30655 | tz = _timezone; | |
e6cc62c6 VS |
30656 | |
30657 | ; | |
30658 | return 0; | |
30659 | } | |
30660 | _ACEOF | |
30661 | rm -f conftest.$ac_objext | |
30662 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
30663 | (eval $ac_compile) 2>&5 | |
30664 | ac_status=$? | |
30665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30666 | (exit $ac_status); } && | |
30667 | { ac_try='test -s conftest.$ac_objext' | |
30668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30669 | (eval $ac_try) 2>&5 | |
30670 | ac_status=$? | |
30671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30672 | (exit $ac_status); }; }; then | |
30673 | ||
360d6699 | 30674 | wx_cv_var_timezone=_timezone |
e6cc62c6 | 30675 | |
5357c8e8 | 30676 | else |
e6cc62c6 VS |
30677 | echo "$as_me: failed program was:" >&5 |
30678 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30679 | ||
30680 | ||
30681 | cat >conftest.$ac_ext <<_ACEOF | |
30682 | #line $LINENO "configure" | |
30683 | /* confdefs.h. */ | |
30684 | _ACEOF | |
30685 | cat confdefs.h >>conftest.$ac_ext | |
30686 | cat >>conftest.$ac_ext <<_ACEOF | |
30687 | /* end confdefs.h. */ | |
5357c8e8 | 30688 | |
b4085ce6 | 30689 | #include <time.h> |
e6cc62c6 VS |
30690 | |
30691 | int | |
30692 | main () | |
30693 | { | |
5357c8e8 VZ |
30694 | |
30695 | int tz; | |
4f11a343 | 30696 | tz = __timezone; |
e6cc62c6 VS |
30697 | |
30698 | ; | |
30699 | return 0; | |
30700 | } | |
30701 | _ACEOF | |
30702 | rm -f conftest.$ac_objext | |
30703 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
30704 | (eval $ac_compile) 2>&5 | |
30705 | ac_status=$? | |
30706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30707 | (exit $ac_status); } && | |
30708 | { ac_try='test -s conftest.$ac_objext' | |
30709 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30710 | (eval $ac_try) 2>&5 | |
30711 | ac_status=$? | |
30712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30713 | (exit $ac_status); }; }; then | |
30714 | ||
4f11a343 | 30715 | wx_cv_var_timezone=__timezone |
e6cc62c6 | 30716 | |
360d6699 | 30717 | else |
e6cc62c6 VS |
30718 | echo "$as_me: failed program was:" >&5 |
30719 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30720 | ||
30721 | ||
f9bc1684 | 30722 | if test "$USE_DOS" = 0 ; then |
e6cc62c6 VS |
30723 | { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5 |
30724 | echo "$as_me: WARNING: no timezone variable" >&2;} | |
f9bc1684 | 30725 | fi |
e6cc62c6 VS |
30726 | |
30727 | ||
7b4a847f | 30728 | fi |
e6cc62c6 VS |
30729 | rm -f conftest.$ac_objext conftest.$ac_ext |
30730 | ||
30731 | ||
5c6fa7d2 | 30732 | fi |
e6cc62c6 VS |
30733 | rm -f conftest.$ac_objext conftest.$ac_ext |
30734 | ||
30735 | ||
247f5006 | 30736 | fi |
e6cc62c6 | 30737 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 30738 | |
e6cc62c6 VS |
30739 | |
30740 | fi | |
30741 | echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5 | |
30742 | echo "${ECHO_T}$wx_cv_var_timezone" >&6 | |
698dcdb6 | 30743 | |
f9bc1684 | 30744 | if test "x$wx_cv_var_timezone" != x ; then |
e6cc62c6 | 30745 | cat >>confdefs.h <<_ACEOF |
360d6699 | 30746 | #define WX_TIMEZONE $wx_cv_var_timezone |
e6cc62c6 | 30747 | _ACEOF |
360d6699 | 30748 | |
f9bc1684 | 30749 | fi |
698dcdb6 | 30750 | |
e6cc62c6 VS |
30751 | |
30752 | for ac_func in localtime | |
afc31813 | 30753 | do |
e6cc62c6 VS |
30754 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
30755 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
30756 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
30757 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
30758 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
30759 | else | |
30760 | cat >conftest.$ac_ext <<_ACEOF | |
30761 | #line $LINENO "configure" | |
30762 | /* confdefs.h. */ | |
30763 | _ACEOF | |
30764 | cat confdefs.h >>conftest.$ac_ext | |
30765 | cat >>conftest.$ac_ext <<_ACEOF | |
30766 | /* end confdefs.h. */ | |
afc31813 | 30767 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
30768 | which can conflict with char $ac_func (); below. |
30769 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
30770 | <limits.h> exists even on freestanding compilers. */ | |
30771 | #ifdef __STDC__ | |
30772 | # include <limits.h> | |
30773 | #else | |
30774 | # include <assert.h> | |
30775 | #endif | |
afc31813 | 30776 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
30777 | #ifdef __cplusplus |
30778 | extern "C" | |
30779 | { | |
30780 | #endif | |
afc31813 | 30781 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
30782 | builtin and then its argument prototype would still apply. */ |
30783 | char $ac_func (); | |
afc31813 VZ |
30784 | /* The GNU C library defines this for functions which it implements |
30785 | to always fail with ENOSYS. Some functions are actually named | |
30786 | something starting with __ and the normal name is an alias. */ | |
30787 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
30788 | choke me | |
30789 | #else | |
e6cc62c6 VS |
30790 | char (*f) () = $ac_func; |
30791 | #endif | |
30792 | #ifdef __cplusplus | |
30793 | } | |
afc31813 VZ |
30794 | #endif |
30795 | ||
e6cc62c6 VS |
30796 | int |
30797 | main () | |
30798 | { | |
30799 | return f != $ac_func; | |
30800 | ; | |
30801 | return 0; | |
30802 | } | |
30803 | _ACEOF | |
30804 | rm -f conftest.$ac_objext conftest$ac_exeext | |
30805 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
30806 | (eval $ac_link) 2>&5 | |
30807 | ac_status=$? | |
30808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30809 | (exit $ac_status); } && | |
30810 | { ac_try='test -s conftest$ac_exeext' | |
30811 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30812 | (eval $ac_try) 2>&5 | |
30813 | ac_status=$? | |
30814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30815 | (exit $ac_status); }; }; then | |
30816 | eval "$as_ac_var=yes" | |
30817 | else | |
30818 | echo "$as_me: failed program was:" >&5 | |
30819 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30820 | ||
30821 | eval "$as_ac_var=no" | |
30822 | fi | |
30823 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
30824 | fi | |
30825 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
30826 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
30827 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
30828 | cat >>confdefs.h <<_ACEOF | |
30829 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
30830 | _ACEOF | |
afc31813 | 30831 | |
afc31813 VZ |
30832 | fi |
30833 | done | |
30834 | ||
5c6fa7d2 | 30835 | |
8284b0c5 | 30836 | if test "$ac_cv_func_localtime" = "yes"; then |
e6cc62c6 VS |
30837 | echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 |
30838 | echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 | |
30839 | if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then | |
30840 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 30841 | else |
e6cc62c6 VS |
30842 | |
30843 | cat >conftest.$ac_ext <<_ACEOF | |
30844 | #line $LINENO "configure" | |
30845 | /* confdefs.h. */ | |
30846 | _ACEOF | |
30847 | cat confdefs.h >>conftest.$ac_ext | |
30848 | cat >>conftest.$ac_ext <<_ACEOF | |
30849 | /* end confdefs.h. */ | |
0470b1e6 | 30850 | |
b4085ce6 | 30851 | #include <time.h> |
e6cc62c6 VS |
30852 | |
30853 | int | |
30854 | main () | |
30855 | { | |
0470b1e6 VZ |
30856 | |
30857 | struct tm tm; | |
30858 | tm.tm_gmtoff++; | |
e6cc62c6 VS |
30859 | |
30860 | ; | |
30861 | return 0; | |
30862 | } | |
30863 | _ACEOF | |
30864 | rm -f conftest.$ac_objext | |
30865 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
30866 | (eval $ac_compile) 2>&5 | |
30867 | ac_status=$? | |
30868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30869 | (exit $ac_status); } && | |
30870 | { ac_try='test -s conftest.$ac_objext' | |
30871 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30872 | (eval $ac_try) 2>&5 | |
30873 | ac_status=$? | |
30874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30875 | (exit $ac_status); }; }; then | |
30876 | ||
f03a98d8 | 30877 | wx_cv_struct_tm_has_gmtoff=yes |
e6cc62c6 | 30878 | |
0470b1e6 | 30879 | else |
e6cc62c6 VS |
30880 | echo "$as_me: failed program was:" >&5 |
30881 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30882 | ||
30883 | wx_cv_struct_tm_has_gmtoff=no | |
30884 | ||
247f5006 | 30885 | fi |
e6cc62c6 | 30886 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 30887 | |
e6cc62c6 VS |
30888 | fi |
30889 | echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5 | |
30890 | echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6 | |
6232543b VS |
30891 | fi |
30892 | ||
30893 | if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then | |
e6cc62c6 | 30894 | cat >>confdefs.h <<\_ACEOF |
6232543b | 30895 | #define WX_GMTOFF_IN_TM 1 |
e6cc62c6 | 30896 | _ACEOF |
0470b1e6 | 30897 | |
3fcdd07b VZ |
30898 | fi |
30899 | ||
e6cc62c6 VS |
30900 | |
30901 | ||
30902 | for ac_func in gettimeofday ftime | |
3fcdd07b | 30903 | do |
e6cc62c6 VS |
30904 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
30905 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
30906 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
30907 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
30908 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
30909 | else | |
30910 | cat >conftest.$ac_ext <<_ACEOF | |
30911 | #line $LINENO "configure" | |
30912 | /* confdefs.h. */ | |
30913 | _ACEOF | |
30914 | cat confdefs.h >>conftest.$ac_ext | |
30915 | cat >>conftest.$ac_ext <<_ACEOF | |
30916 | /* end confdefs.h. */ | |
3fcdd07b | 30917 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
30918 | which can conflict with char $ac_func (); below. |
30919 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
30920 | <limits.h> exists even on freestanding compilers. */ | |
30921 | #ifdef __STDC__ | |
30922 | # include <limits.h> | |
30923 | #else | |
30924 | # include <assert.h> | |
30925 | #endif | |
3fcdd07b | 30926 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
30927 | #ifdef __cplusplus |
30928 | extern "C" | |
30929 | { | |
30930 | #endif | |
3fcdd07b | 30931 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
30932 | builtin and then its argument prototype would still apply. */ |
30933 | char $ac_func (); | |
3fcdd07b VZ |
30934 | /* The GNU C library defines this for functions which it implements |
30935 | to always fail with ENOSYS. Some functions are actually named | |
30936 | something starting with __ and the normal name is an alias. */ | |
30937 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
30938 | choke me | |
30939 | #else | |
e6cc62c6 VS |
30940 | char (*f) () = $ac_func; |
30941 | #endif | |
30942 | #ifdef __cplusplus | |
30943 | } | |
3fcdd07b VZ |
30944 | #endif |
30945 | ||
e6cc62c6 VS |
30946 | int |
30947 | main () | |
30948 | { | |
30949 | return f != $ac_func; | |
30950 | ; | |
30951 | return 0; | |
30952 | } | |
30953 | _ACEOF | |
30954 | rm -f conftest.$ac_objext conftest$ac_exeext | |
30955 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
30956 | (eval $ac_link) 2>&5 | |
30957 | ac_status=$? | |
30958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30959 | (exit $ac_status); } && | |
30960 | { ac_try='test -s conftest$ac_exeext' | |
30961 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
30962 | (eval $ac_try) 2>&5 | |
30963 | ac_status=$? | |
30964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
30965 | (exit $ac_status); }; }; then | |
30966 | eval "$as_ac_var=yes" | |
30967 | else | |
30968 | echo "$as_me: failed program was:" >&5 | |
30969 | sed 's/^/| /' conftest.$ac_ext >&5 | |
30970 | ||
30971 | eval "$as_ac_var=no" | |
30972 | fi | |
30973 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
30974 | fi | |
30975 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
30976 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
30977 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
30978 | cat >>confdefs.h <<_ACEOF | |
30979 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
30980 | _ACEOF | |
3fcdd07b | 30981 | break |
3fcdd07b VZ |
30982 | fi |
30983 | done | |
30984 | ||
698dcdb6 | 30985 | |
8284b0c5 | 30986 | if test "$ac_cv_func_gettimeofday" = "yes"; then |
e6cc62c6 VS |
30987 | echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5 |
30988 | echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6 | |
30989 | if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then | |
30990 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
30991 | else | |
30992 | ||
30993 | ||
30994 | ||
30995 | ac_ext=cc | |
5c6fa7d2 | 30996 | ac_cpp='$CXXCPP $CPPFLAGS' |
e6cc62c6 VS |
30997 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
30998 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
30999 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
52127426 | 31000 | |
8284b0c5 | 31001 | |
e6cc62c6 VS |
31002 | cat >conftest.$ac_ext <<_ACEOF |
31003 | #line $LINENO "configure" | |
31004 | /* confdefs.h. */ | |
31005 | _ACEOF | |
31006 | cat confdefs.h >>conftest.$ac_ext | |
31007 | cat >>conftest.$ac_ext <<_ACEOF | |
31008 | /* end confdefs.h. */ | |
afc31813 VZ |
31009 | |
31010 | #include <sys/time.h> | |
31011 | #include <unistd.h> | |
e6cc62c6 VS |
31012 | |
31013 | int | |
31014 | main () | |
31015 | { | |
afc31813 VZ |
31016 | |
31017 | struct timeval tv; | |
776862b4 | 31018 | gettimeofday(&tv, NULL); |
e6cc62c6 VS |
31019 | |
31020 | ; | |
31021 | return 0; | |
31022 | } | |
31023 | _ACEOF | |
31024 | rm -f conftest.$ac_objext | |
31025 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
31026 | (eval $ac_compile) 2>&5 | |
31027 | ac_status=$? | |
31028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31029 | (exit $ac_status); } && | |
31030 | { ac_try='test -s conftest.$ac_objext' | |
31031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31032 | (eval $ac_try) 2>&5 | |
31033 | ac_status=$? | |
31034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31035 | (exit $ac_status); }; }; then | |
afc31813 | 31036 | wx_cv_func_gettimeofday_has_2_args=yes |
10f2d63a | 31037 | else |
e6cc62c6 VS |
31038 | echo "$as_me: failed program was:" >&5 |
31039 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31040 | ||
31041 | cat >conftest.$ac_ext <<_ACEOF | |
31042 | #line $LINENO "configure" | |
31043 | /* confdefs.h. */ | |
31044 | _ACEOF | |
31045 | cat confdefs.h >>conftest.$ac_ext | |
31046 | cat >>conftest.$ac_ext <<_ACEOF | |
31047 | /* end confdefs.h. */ | |
afc31813 VZ |
31048 | |
31049 | #include <sys/time.h> | |
31050 | #include <unistd.h> | |
e6cc62c6 VS |
31051 | |
31052 | int | |
31053 | main () | |
31054 | { | |
afc31813 VZ |
31055 | |
31056 | struct timeval tv; | |
31057 | gettimeofday(&tv); | |
e6cc62c6 VS |
31058 | |
31059 | ; | |
31060 | return 0; | |
31061 | } | |
31062 | _ACEOF | |
31063 | rm -f conftest.$ac_objext | |
31064 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
31065 | (eval $ac_compile) 2>&5 | |
31066 | ac_status=$? | |
31067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31068 | (exit $ac_status); } && | |
31069 | { ac_try='test -s conftest.$ac_objext' | |
31070 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31071 | (eval $ac_try) 2>&5 | |
31072 | ac_status=$? | |
31073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31074 | (exit $ac_status); }; }; then | |
afc31813 | 31075 | wx_cv_func_gettimeofday_has_2_args=no |
10f2d63a | 31076 | else |
e6cc62c6 VS |
31077 | echo "$as_me: failed program was:" >&5 |
31078 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31079 | ||
31080 | ||
31081 | { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5 | |
31082 | echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;} | |
776862b4 | 31083 | wx_cv_func_gettimeofday_has_2_args=unknown |
e6cc62c6 VS |
31084 | |
31085 | ||
10f2d63a | 31086 | fi |
e6cc62c6 VS |
31087 | rm -f conftest.$ac_objext conftest.$ac_ext |
31088 | ||
10f2d63a | 31089 | fi |
e6cc62c6 | 31090 | rm -f conftest.$ac_objext conftest.$ac_ext |
afc31813 | 31091 | ac_ext=c |
10f2d63a | 31092 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
31093 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
31094 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
31095 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
8284b0c5 | 31096 | |
a0b9e27f | 31097 | |
e6cc62c6 VS |
31098 | fi |
31099 | echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5 | |
31100 | echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6 | |
c63c7106 | 31101 | |
afc31813 | 31102 | if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then |
e6cc62c6 | 31103 | cat >>confdefs.h <<\_ACEOF |
afc31813 | 31104 | #define WX_GETTIMEOFDAY_NO_TZ 1 |
e6cc62c6 | 31105 | _ACEOF |
afc31813 VZ |
31106 | |
31107 | fi | |
31108 | fi | |
31109 | ||
afc31813 VZ |
31110 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest" |
31111 | fi | |
31112 | ||
8284b0c5 | 31113 | |
52127426 | 31114 | if test "$wxUSE_SOCKETS" = "yes"; then |
6c657b52 | 31115 | if test "$wxUSE_MGL" = "1"; then |
e6cc62c6 VS |
31116 | { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5 |
31117 | echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;} | |
6c657b52 VS |
31118 | wxUSE_SOCKETS="no" |
31119 | fi | |
3879ecda VZ |
31120 | if test "$wxUSE_COCOA" = "1"; then |
31121 | { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5 | |
31122 | echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;} | |
31123 | wxUSE_SOCKETS="no" | |
31124 | fi | |
0feee163 | 31125 | fi |
b089607b | 31126 | |
0feee163 VZ |
31127 | if test "$wxUSE_SOCKETS" = "yes"; then |
31128 | if test "$TOOLKIT" != "MSW"; then | |
e6cc62c6 VS |
31129 | echo "$as_me:$LINENO: checking for socket" >&5 |
31130 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 | |
31131 | if test "${ac_cv_func_socket+set}" = set; then | |
31132 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
31133 | else | |
31134 | cat >conftest.$ac_ext <<_ACEOF | |
31135 | #line $LINENO "configure" | |
31136 | /* confdefs.h. */ | |
31137 | _ACEOF | |
31138 | cat confdefs.h >>conftest.$ac_ext | |
31139 | cat >>conftest.$ac_ext <<_ACEOF | |
31140 | /* end confdefs.h. */ | |
c63c7106 | 31141 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
31142 | which can conflict with char socket (); below. |
31143 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
31144 | <limits.h> exists even on freestanding compilers. */ | |
31145 | #ifdef __STDC__ | |
31146 | # include <limits.h> | |
31147 | #else | |
31148 | # include <assert.h> | |
31149 | #endif | |
c63c7106 | 31150 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
31151 | #ifdef __cplusplus |
31152 | extern "C" | |
31153 | { | |
31154 | #endif | |
c63c7106 | 31155 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
31156 | builtin and then its argument prototype would still apply. */ |
31157 | char socket (); | |
c63c7106 VZ |
31158 | /* The GNU C library defines this for functions which it implements |
31159 | to always fail with ENOSYS. Some functions are actually named | |
31160 | something starting with __ and the normal name is an alias. */ | |
31161 | #if defined (__stub_socket) || defined (__stub___socket) | |
31162 | choke me | |
31163 | #else | |
e6cc62c6 VS |
31164 | char (*f) () = socket; |
31165 | #endif | |
31166 | #ifdef __cplusplus | |
31167 | } | |
c63c7106 VZ |
31168 | #endif |
31169 | ||
e6cc62c6 VS |
31170 | int |
31171 | main () | |
31172 | { | |
31173 | return f != socket; | |
31174 | ; | |
31175 | return 0; | |
31176 | } | |
31177 | _ACEOF | |
31178 | rm -f conftest.$ac_objext conftest$ac_exeext | |
31179 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
31180 | (eval $ac_link) 2>&5 | |
31181 | ac_status=$? | |
31182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31183 | (exit $ac_status); } && | |
31184 | { ac_try='test -s conftest$ac_exeext' | |
31185 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31186 | (eval $ac_try) 2>&5 | |
31187 | ac_status=$? | |
31188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31189 | (exit $ac_status); }; }; then | |
31190 | ac_cv_func_socket=yes | |
31191 | else | |
31192 | echo "$as_me: failed program was:" >&5 | |
31193 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31194 | ||
31195 | ac_cv_func_socket=no | |
31196 | fi | |
31197 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
31198 | fi | |
31199 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | |
31200 | echo "${ECHO_T}$ac_cv_func_socket" >&6 | |
31201 | if test $ac_cv_func_socket = yes; then | |
c63c7106 VZ |
31202 | : |
31203 | else | |
0e012a93 VZ |
31204 | |
31205 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 | |
e6cc62c6 VS |
31206 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
31207 | if test "${ac_cv_lib_socket_socket+set}" = set; then | |
31208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
c63c7106 | 31209 | else |
e6cc62c6 | 31210 | ac_check_lib_save_LIBS=$LIBS |
c63c7106 | 31211 | LIBS="-lsocket $LIBS" |
e6cc62c6 VS |
31212 | cat >conftest.$ac_ext <<_ACEOF |
31213 | #line $LINENO "configure" | |
31214 | /* confdefs.h. */ | |
31215 | _ACEOF | |
31216 | cat confdefs.h >>conftest.$ac_ext | |
31217 | cat >>conftest.$ac_ext <<_ACEOF | |
31218 | /* end confdefs.h. */ | |
31219 | ||
c63c7106 | 31220 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
31221 | #ifdef __cplusplus |
31222 | extern "C" | |
31223 | #endif | |
c63c7106 | 31224 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
31225 | builtin and then its argument prototype would still apply. */ |
31226 | char socket (); | |
31227 | int | |
31228 | main () | |
31229 | { | |
31230 | socket (); | |
31231 | ; | |
31232 | return 0; | |
31233 | } | |
31234 | _ACEOF | |
31235 | rm -f conftest.$ac_objext conftest$ac_exeext | |
31236 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
31237 | (eval $ac_link) 2>&5 | |
31238 | ac_status=$? | |
31239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31240 | (exit $ac_status); } && | |
31241 | { ac_try='test -s conftest$ac_exeext' | |
31242 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31243 | (eval $ac_try) 2>&5 | |
31244 | ac_status=$? | |
31245 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31246 | (exit $ac_status); }; }; then | |
31247 | ac_cv_lib_socket_socket=yes | |
31248 | else | |
31249 | echo "$as_me: failed program was:" >&5 | |
31250 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31251 | ||
31252 | ac_cv_lib_socket_socket=no | |
31253 | fi | |
31254 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
31255 | LIBS=$ac_check_lib_save_LIBS | |
31256 | fi | |
31257 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 | |
31258 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 | |
31259 | if test $ac_cv_lib_socket_socket = yes; then | |
d558c907 | 31260 | if test "$INET_LINK" != " -lsocket"; then |
0e012a93 VZ |
31261 | INET_LINK="$INET_LINK -lsocket" |
31262 | fi | |
c63c7106 | 31263 | else |
afc31813 | 31264 | |
0e012a93 | 31265 | { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5 |
e6cc62c6 | 31266 | echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;} |
0e012a93 | 31267 | wxUSE_SOCKETS=no |
e6cc62c6 VS |
31268 | |
31269 | ||
6232543b | 31270 | fi |
b089607b | 31271 | |
e6cc62c6 | 31272 | |
0e012a93 | 31273 | |
1e487827 | 31274 | fi |
afc31813 | 31275 | |
3a922bb4 | 31276 | fi |
0feee163 | 31277 | fi |
51a9faba | 31278 | |
0feee163 VZ |
31279 | if test "$wxUSE_SOCKETS" = "yes" ; then |
31280 | if test "$TOOLKIT" != "MSW"; then | |
e6cc62c6 VS |
31281 | echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5 |
31282 | echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6 | |
31283 | if test "${wx_cv_type_getsockname3+set}" = set; then | |
31284 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a0b9e27f | 31285 | else |
e6cc62c6 VS |
31286 | |
31287 | cat >conftest.$ac_ext <<_ACEOF | |
31288 | #line $LINENO "configure" | |
31289 | /* confdefs.h. */ | |
31290 | _ACEOF | |
31291 | cat confdefs.h >>conftest.$ac_ext | |
31292 | cat >>conftest.$ac_ext <<_ACEOF | |
31293 | /* end confdefs.h. */ | |
51a9faba | 31294 | |
3a922bb4 RL |
31295 | #include <sys/types.h> |
31296 | #include <sys/socket.h> | |
e6cc62c6 VS |
31297 | |
31298 | int | |
31299 | main () | |
31300 | { | |
51a9faba | 31301 | |
3a922bb4 RL |
31302 | socklen_t len; |
31303 | getsockname(0, 0, &len); | |
e6cc62c6 VS |
31304 | |
31305 | ; | |
31306 | return 0; | |
31307 | } | |
31308 | _ACEOF | |
31309 | rm -f conftest.$ac_objext | |
31310 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
31311 | (eval $ac_compile) 2>&5 | |
31312 | ac_status=$? | |
31313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31314 | (exit $ac_status); } && | |
31315 | { ac_try='test -s conftest.$ac_objext' | |
31316 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31317 | (eval $ac_try) 2>&5 | |
31318 | ac_status=$? | |
31319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31320 | (exit $ac_status); }; }; then | |
51a9faba | 31321 | wx_cv_type_getsockname3=socklen_t |
afc31813 | 31322 | else |
e6cc62c6 VS |
31323 | echo "$as_me: failed program was:" >&5 |
31324 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31325 | ||
31326 | ||
9711d31e GD |
31327 | CFLAGS_OLD="$CFLAGS" |
31328 | if test "$GCC" = yes ; then | |
31329 | CFLAGS="$CFLAGS -Werror" | |
31330 | fi | |
31331 | ||
e6cc62c6 VS |
31332 | cat >conftest.$ac_ext <<_ACEOF |
31333 | #line $LINENO "configure" | |
31334 | /* confdefs.h. */ | |
31335 | _ACEOF | |
31336 | cat confdefs.h >>conftest.$ac_ext | |
31337 | cat >>conftest.$ac_ext <<_ACEOF | |
31338 | /* end confdefs.h. */ | |
51a9faba | 31339 | |
9711d31e GD |
31340 | #include <sys/types.h> |
31341 | #include <sys/socket.h> | |
e6cc62c6 VS |
31342 | |
31343 | int | |
31344 | main () | |
31345 | { | |
51a9faba | 31346 | |
9711d31e GD |
31347 | size_t len; |
31348 | getsockname(0, 0, &len); | |
e6cc62c6 VS |
31349 | |
31350 | ; | |
31351 | return 0; | |
31352 | } | |
31353 | _ACEOF | |
31354 | rm -f conftest.$ac_objext | |
31355 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
31356 | (eval $ac_compile) 2>&5 | |
31357 | ac_status=$? | |
31358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31359 | (exit $ac_status); } && | |
31360 | { ac_try='test -s conftest.$ac_objext' | |
31361 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31362 | (eval $ac_try) 2>&5 | |
31363 | ac_status=$? | |
31364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31365 | (exit $ac_status); }; }; then | |
51a9faba | 31366 | wx_cv_type_getsockname3=size_t |
afc31813 | 31367 | else |
e6cc62c6 VS |
31368 | echo "$as_me: failed program was:" >&5 |
31369 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31370 | ||
31371 | cat >conftest.$ac_ext <<_ACEOF | |
31372 | #line $LINENO "configure" | |
31373 | /* confdefs.h. */ | |
31374 | _ACEOF | |
31375 | cat confdefs.h >>conftest.$ac_ext | |
31376 | cat >>conftest.$ac_ext <<_ACEOF | |
31377 | /* end confdefs.h. */ | |
51a9faba | 31378 | |
9711d31e GD |
31379 | #include <sys/types.h> |
31380 | #include <sys/socket.h> | |
e6cc62c6 VS |
31381 | |
31382 | int | |
31383 | main () | |
31384 | { | |
51a9faba | 31385 | |
9711d31e GD |
31386 | int len; |
31387 | getsockname(0, 0, &len); | |
e6cc62c6 VS |
31388 | |
31389 | ; | |
31390 | return 0; | |
31391 | } | |
31392 | _ACEOF | |
31393 | rm -f conftest.$ac_objext | |
31394 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
31395 | (eval $ac_compile) 2>&5 | |
31396 | ac_status=$? | |
31397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31398 | (exit $ac_status); } && | |
31399 | { ac_try='test -s conftest.$ac_objext' | |
31400 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31401 | (eval $ac_try) 2>&5 | |
31402 | ac_status=$? | |
31403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31404 | (exit $ac_status); }; }; then | |
51a9faba | 31405 | wx_cv_type_getsockname3=int |
afc31813 | 31406 | else |
e6cc62c6 VS |
31407 | echo "$as_me: failed program was:" >&5 |
31408 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31409 | ||
31410 | wx_cv_type_getsockname3=unknown | |
31411 | ||
afc31813 | 31412 | fi |
e6cc62c6 VS |
31413 | rm -f conftest.$ac_objext conftest.$ac_ext |
31414 | ||
afc31813 | 31415 | fi |
e6cc62c6 | 31416 | rm -f conftest.$ac_objext conftest.$ac_ext |
9711d31e GD |
31417 | |
31418 | CFLAGS="$CFLAGS_OLD" | |
e6cc62c6 VS |
31419 | |
31420 | ||
247f5006 | 31421 | fi |
e6cc62c6 | 31422 | rm -f conftest.$ac_objext conftest.$ac_ext |
a0b9e27f | 31423 | |
e6cc62c6 VS |
31424 | fi |
31425 | echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5 | |
31426 | echo "${ECHO_T}$wx_cv_type_getsockname3" >&6 | |
51a9faba | 31427 | |
3a922bb4 RL |
31428 | if test "$wx_cv_type_getsockname3" = "unknown"; then |
31429 | wxUSE_SOCKETS=no | |
e6cc62c6 VS |
31430 | { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5 |
31431 | echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;} | |
3a922bb4 | 31432 | else |
e6cc62c6 | 31433 | cat >>confdefs.h <<_ACEOF |
51a9faba | 31434 | #define SOCKLEN_T $wx_cv_type_getsockname3 |
e6cc62c6 | 31435 | _ACEOF |
51a9faba | 31436 | |
3a922bb4 | 31437 | fi |
51a9faba VZ |
31438 | fi |
31439 | fi | |
afc31813 | 31440 | |
51a9faba | 31441 | if test "$wxUSE_SOCKETS" = "yes" ; then |
e6cc62c6 | 31442 | cat >>confdefs.h <<\_ACEOF |
afc31813 | 31443 | #define wxUSE_SOCKETS 1 |
e6cc62c6 | 31444 | _ACEOF |
afc31813 | 31445 | |
70f7a477 | 31446 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets" |
afc31813 VZ |
31447 | fi |
31448 | ||
3879ecda VZ |
31449 | if test "$wxUSE_PROTOCOL" = "yes"; then |
31450 | if test "$wxUSE_SOCKETS" != "yes"; then | |
31451 | { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5 | |
31452 | echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;} | |
31453 | wxUSE_PROTOCOL=no | |
31454 | fi | |
31455 | fi | |
31456 | ||
31457 | if test "$wxUSE_PROTOCOL" = "yes"; then | |
31458 | cat >>confdefs.h <<\_ACEOF | |
31459 | #define wxUSE_PROTOCOL 1 | |
31460 | _ACEOF | |
31461 | ||
31462 | ||
31463 | if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then | |
31464 | cat >>confdefs.h <<\_ACEOF | |
31465 | #define wxUSE_PROTOCOL_HTTP 1 | |
31466 | _ACEOF | |
31467 | ||
31468 | fi | |
31469 | if test "$wxUSE_PROTOCOL_FTP" = "yes"; then | |
31470 | cat >>confdefs.h <<\_ACEOF | |
31471 | #define wxUSE_PROTOCOL_FTP 1 | |
31472 | _ACEOF | |
31473 | ||
31474 | fi | |
31475 | if test "$wxUSE_PROTOCOL_FILE" = "yes"; then | |
31476 | cat >>confdefs.h <<\_ACEOF | |
31477 | #define wxUSE_PROTOCOL_FILE 1 | |
31478 | _ACEOF | |
31479 | ||
31480 | fi | |
31481 | else | |
31482 | if test "$wxUSE_FS_INET" = "yes"; then | |
31483 | { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5 | |
31484 | echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;} | |
31485 | wxUSE_FS_INET="no" | |
31486 | fi | |
31487 | fi | |
31488 | ||
31489 | if test "$wxUSE_URL" = "yes"; then | |
31490 | if test "$wxUSE_PROTOCOL" != "yes"; then | |
31491 | { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5 | |
31492 | echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;} | |
31493 | wxUSE_URL=no | |
31494 | fi | |
31495 | if test "$wxUSE_URL" = "yes"; then | |
31496 | cat >>confdefs.h <<\_ACEOF | |
31497 | #define wxUSE_URL 1 | |
31498 | _ACEOF | |
31499 | ||
31500 | fi | |
31501 | fi | |
31502 | ||
31503 | if test "$wxUSE_FS_INET" = "yes"; then | |
31504 | cat >>confdefs.h <<\_ACEOF | |
31505 | #define wxUSE_FS_INET 1 | |
31506 | _ACEOF | |
31507 | ||
31508 | fi | |
31509 | ||
8284b0c5 | 31510 | |
dc3d889d VZ |
31511 | if test "$wxUSE_GUI" = "yes"; then |
31512 | ||
ac0c4cc3 | 31513 | if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then |
e6cc62c6 VS |
31514 | { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5 |
31515 | echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;} | |
156b2523 | 31516 | wxUSE_JOYSTICK=no |
156b2523 GD |
31517 | fi |
31518 | ||
131f235d | 31519 | if test "$TOOLKIT" != "MSW"; then |
3a922bb4 | 31520 | if test "$wxUSE_JOYSTICK" = "yes"; then |
e6cc62c6 VS |
31521 | |
31522 | for ac_header in linux/joystick.h | |
10f2d63a | 31523 | do |
e6cc62c6 VS |
31524 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
31525 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
31526 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
31527 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
31528 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
31529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
31530 | fi | |
31531 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
31532 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
31533 | else | |
31534 | # Is the header compilable? | |
31535 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
31536 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
31537 | cat >conftest.$ac_ext <<_ACEOF | |
31538 | #line $LINENO "configure" | |
31539 | /* confdefs.h. */ | |
31540 | _ACEOF | |
31541 | cat confdefs.h >>conftest.$ac_ext | |
31542 | cat >>conftest.$ac_ext <<_ACEOF | |
31543 | /* end confdefs.h. */ | |
31544 | $ac_includes_default | |
31545 | #include <$ac_header> | |
31546 | _ACEOF | |
31547 | rm -f conftest.$ac_objext | |
31548 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
31549 | (eval $ac_compile) 2>&5 | |
31550 | ac_status=$? | |
31551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31552 | (exit $ac_status); } && | |
31553 | { ac_try='test -s conftest.$ac_objext' | |
31554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31555 | (eval $ac_try) 2>&5 | |
31556 | ac_status=$? | |
31557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31558 | (exit $ac_status); }; }; then | |
31559 | ac_header_compiler=yes | |
31560 | else | |
31561 | echo "$as_me: failed program was:" >&5 | |
31562 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31563 | ||
31564 | ac_header_compiler=no | |
31565 | fi | |
31566 | rm -f conftest.$ac_objext conftest.$ac_ext | |
31567 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
31568 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
31569 | ||
31570 | # Is the header present? | |
31571 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
31572 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
31573 | cat >conftest.$ac_ext <<_ACEOF | |
31574 | #line $LINENO "configure" | |
31575 | /* confdefs.h. */ | |
31576 | _ACEOF | |
31577 | cat confdefs.h >>conftest.$ac_ext | |
31578 | cat >>conftest.$ac_ext <<_ACEOF | |
31579 | /* end confdefs.h. */ | |
31580 | #include <$ac_header> | |
31581 | _ACEOF | |
31582 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
31583 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
31584 | ac_status=$? | |
31585 | grep -v '^ *+' conftest.er1 >conftest.err | |
31586 | rm -f conftest.er1 | |
31587 | cat conftest.err >&5 | |
31588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31589 | (exit $ac_status); } >/dev/null; then | |
31590 | if test -s conftest.err; then | |
31591 | ac_cpp_err=$ac_c_preproc_warn_flag | |
31592 | else | |
31593 | ac_cpp_err= | |
31594 | fi | |
31595 | else | |
31596 | ac_cpp_err=yes | |
31597 | fi | |
31598 | if test -z "$ac_cpp_err"; then | |
31599 | ac_header_preproc=yes | |
31600 | else | |
31601 | echo "$as_me: failed program was:" >&5 | |
31602 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31603 | ||
31604 | ac_header_preproc=no | |
31605 | fi | |
31606 | rm -f conftest.err conftest.$ac_ext | |
31607 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
31608 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
31609 | ||
31610 | # So? What about this header? | |
31611 | case $ac_header_compiler:$ac_header_preproc in | |
31612 | yes:no ) | |
31613 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
31614 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
31615 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
31616 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
31617 | ( | |
31618 | cat <<\_ASBOX | |
31619 | ## ------------------------------------ ## | |
31620 | ## Report this to bug-autoconf@gnu.org. ## | |
31621 | ## ------------------------------------ ## | |
31622 | _ASBOX | |
31623 | ) | | |
31624 | sed "s/^/$as_me: WARNING: /" >&2 | |
31625 | ;; | |
31626 | no:yes ) | |
31627 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
31628 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
31629 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
31630 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
31631 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
31632 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
31633 | ( | |
31634 | cat <<\_ASBOX | |
31635 | ## ------------------------------------ ## | |
31636 | ## Report this to bug-autoconf@gnu.org. ## | |
31637 | ## ------------------------------------ ## | |
31638 | _ASBOX | |
31639 | ) | | |
31640 | sed "s/^/$as_me: WARNING: /" >&2 | |
31641 | ;; | |
31642 | esac | |
31643 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
31644 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
31645 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
31646 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
31647 | else | |
31648 | eval "$as_ac_Header=$ac_header_preproc" | |
247f5006 | 31649 | fi |
e6cc62c6 VS |
31650 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
31651 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
31652 | ||
10f2d63a | 31653 | fi |
e6cc62c6 VS |
31654 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
31655 | cat >>confdefs.h <<_ACEOF | |
31656 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
31657 | _ACEOF | |
31658 | ||
247f5006 | 31659 | fi |
e6cc62c6 | 31660 | |
10f2d63a VZ |
31661 | done |
31662 | ||
3a922bb4 RL |
31663 | if test "$ac_cv_header_linux_joystick_h" != "yes"; then |
31664 | wxUSE_JOYSTICK=no | |
e6cc62c6 VS |
31665 | { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5 |
31666 | echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;} | |
3a922bb4 RL |
31667 | fi |
31668 | fi | |
31669 | fi | |
b089607b | 31670 | |
3a922bb4 | 31671 | if test "$wxUSE_JOYSTICK" = "yes"; then |
e6cc62c6 | 31672 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 31673 | #define wxUSE_JOYSTICK 1 |
e6cc62c6 | 31674 | _ACEOF |
10f2d63a | 31675 | |
3a922bb4 RL |
31676 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest" |
31677 | fi | |
dc3d889d VZ |
31678 | fi |
31679 | ||
8284b0c5 | 31680 | |
73d617c9 | 31681 | if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then |
b089607b | 31682 | |
3a922bb4 RL |
31683 | HAVE_DL_FUNCS=0 |
31684 | HAVE_SHL_FUNCS=0 | |
0b9ab0bd | 31685 | if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then |
3a922bb4 RL |
31686 | if test "$USE_DARWIN" = 1; then |
31687 | HAVE_DL_FUNCS=1 | |
31688 | else | |
e6cc62c6 VS |
31689 | |
31690 | for ac_func in dlopen | |
10f2d63a | 31691 | do |
e6cc62c6 VS |
31692 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
31693 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
31694 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
31695 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
31696 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
31697 | else | |
31698 | cat >conftest.$ac_ext <<_ACEOF | |
31699 | #line $LINENO "configure" | |
31700 | /* confdefs.h. */ | |
31701 | _ACEOF | |
31702 | cat confdefs.h >>conftest.$ac_ext | |
31703 | cat >>conftest.$ac_ext <<_ACEOF | |
31704 | /* end confdefs.h. */ | |
10f2d63a | 31705 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
31706 | which can conflict with char $ac_func (); below. |
31707 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
31708 | <limits.h> exists even on freestanding compilers. */ | |
31709 | #ifdef __STDC__ | |
31710 | # include <limits.h> | |
31711 | #else | |
31712 | # include <assert.h> | |
31713 | #endif | |
10f2d63a | 31714 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
31715 | #ifdef __cplusplus |
31716 | extern "C" | |
31717 | { | |
31718 | #endif | |
10f2d63a | 31719 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
31720 | builtin and then its argument prototype would still apply. */ |
31721 | char $ac_func (); | |
10f2d63a VZ |
31722 | /* The GNU C library defines this for functions which it implements |
31723 | to always fail with ENOSYS. Some functions are actually named | |
31724 | something starting with __ and the normal name is an alias. */ | |
31725 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
31726 | choke me | |
31727 | #else | |
e6cc62c6 VS |
31728 | char (*f) () = $ac_func; |
31729 | #endif | |
31730 | #ifdef __cplusplus | |
31731 | } | |
10f2d63a VZ |
31732 | #endif |
31733 | ||
e6cc62c6 VS |
31734 | int |
31735 | main () | |
31736 | { | |
31737 | return f != $ac_func; | |
31738 | ; | |
31739 | return 0; | |
31740 | } | |
31741 | _ACEOF | |
31742 | rm -f conftest.$ac_objext conftest$ac_exeext | |
31743 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
31744 | (eval $ac_link) 2>&5 | |
31745 | ac_status=$? | |
31746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31747 | (exit $ac_status); } && | |
31748 | { ac_try='test -s conftest$ac_exeext' | |
31749 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31750 | (eval $ac_try) 2>&5 | |
31751 | ac_status=$? | |
31752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31753 | (exit $ac_status); }; }; then | |
31754 | eval "$as_ac_var=yes" | |
31755 | else | |
31756 | echo "$as_me: failed program was:" >&5 | |
31757 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31758 | ||
31759 | eval "$as_ac_var=no" | |
31760 | fi | |
31761 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
31762 | fi | |
31763 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
31764 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
31765 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
31766 | cat >>confdefs.h <<_ACEOF | |
31767 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
31768 | _ACEOF | |
31769 | ||
31770 | cat >>confdefs.h <<\_ACEOF | |
10f2d63a | 31771 | #define HAVE_DLOPEN 1 |
e6cc62c6 | 31772 | _ACEOF |
10f2d63a | 31773 | |
3a922bb4 | 31774 | HAVE_DL_FUNCS=1 |
e6cc62c6 | 31775 | |
10f2d63a | 31776 | else |
e6cc62c6 VS |
31777 | |
31778 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | |
31779 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | |
31780 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | |
31781 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 31782 | else |
e6cc62c6 | 31783 | ac_check_lib_save_LIBS=$LIBS |
10f2d63a | 31784 | LIBS="-ldl $LIBS" |
e6cc62c6 VS |
31785 | cat >conftest.$ac_ext <<_ACEOF |
31786 | #line $LINENO "configure" | |
31787 | /* confdefs.h. */ | |
31788 | _ACEOF | |
31789 | cat confdefs.h >>conftest.$ac_ext | |
31790 | cat >>conftest.$ac_ext <<_ACEOF | |
31791 | /* end confdefs.h. */ | |
31792 | ||
10f2d63a | 31793 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
31794 | #ifdef __cplusplus |
31795 | extern "C" | |
31796 | #endif | |
10f2d63a | 31797 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
31798 | builtin and then its argument prototype would still apply. */ |
31799 | char dlopen (); | |
31800 | int | |
31801 | main () | |
31802 | { | |
31803 | dlopen (); | |
31804 | ; | |
31805 | return 0; | |
31806 | } | |
31807 | _ACEOF | |
31808 | rm -f conftest.$ac_objext conftest$ac_exeext | |
31809 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
31810 | (eval $ac_link) 2>&5 | |
31811 | ac_status=$? | |
31812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31813 | (exit $ac_status); } && | |
31814 | { ac_try='test -s conftest$ac_exeext' | |
31815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31816 | (eval $ac_try) 2>&5 | |
31817 | ac_status=$? | |
31818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31819 | (exit $ac_status); }; }; then | |
31820 | ac_cv_lib_dl_dlopen=yes | |
31821 | else | |
31822 | echo "$as_me: failed program was:" >&5 | |
31823 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31824 | ||
31825 | ac_cv_lib_dl_dlopen=no | |
31826 | fi | |
31827 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
31828 | LIBS=$ac_check_lib_save_LIBS | |
31829 | fi | |
31830 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | |
31831 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | |
31832 | if test $ac_cv_lib_dl_dlopen = yes; then | |
31833 | ||
31834 | cat >>confdefs.h <<\_ACEOF | |
10f2d63a | 31835 | #define HAVE_DLOPEN 1 |
e6cc62c6 | 31836 | _ACEOF |
10f2d63a | 31837 | |
3a922bb4 | 31838 | HAVE_DL_FUNCS=1 |
3d63bc3a | 31839 | DL_LINK=" -ldl$DL_LINK" |
e6cc62c6 | 31840 | |
10f2d63a | 31841 | else |
10f2d63a | 31842 | |
e6cc62c6 VS |
31843 | |
31844 | for ac_func in shl_load | |
10f2d63a | 31845 | do |
e6cc62c6 VS |
31846 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
31847 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
31848 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
31849 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
31850 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
31851 | else | |
31852 | cat >conftest.$ac_ext <<_ACEOF | |
31853 | #line $LINENO "configure" | |
31854 | /* confdefs.h. */ | |
31855 | _ACEOF | |
31856 | cat confdefs.h >>conftest.$ac_ext | |
31857 | cat >>conftest.$ac_ext <<_ACEOF | |
31858 | /* end confdefs.h. */ | |
10f2d63a | 31859 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
31860 | which can conflict with char $ac_func (); below. |
31861 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
31862 | <limits.h> exists even on freestanding compilers. */ | |
31863 | #ifdef __STDC__ | |
31864 | # include <limits.h> | |
31865 | #else | |
31866 | # include <assert.h> | |
31867 | #endif | |
10f2d63a | 31868 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
31869 | #ifdef __cplusplus |
31870 | extern "C" | |
31871 | { | |
31872 | #endif | |
10f2d63a | 31873 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
31874 | builtin and then its argument prototype would still apply. */ |
31875 | char $ac_func (); | |
10f2d63a VZ |
31876 | /* The GNU C library defines this for functions which it implements |
31877 | to always fail with ENOSYS. Some functions are actually named | |
31878 | something starting with __ and the normal name is an alias. */ | |
31879 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
31880 | choke me | |
31881 | #else | |
e6cc62c6 VS |
31882 | char (*f) () = $ac_func; |
31883 | #endif | |
31884 | #ifdef __cplusplus | |
31885 | } | |
10f2d63a VZ |
31886 | #endif |
31887 | ||
e6cc62c6 VS |
31888 | int |
31889 | main () | |
31890 | { | |
31891 | return f != $ac_func; | |
31892 | ; | |
31893 | return 0; | |
31894 | } | |
31895 | _ACEOF | |
31896 | rm -f conftest.$ac_objext conftest$ac_exeext | |
31897 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
31898 | (eval $ac_link) 2>&5 | |
31899 | ac_status=$? | |
31900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31901 | (exit $ac_status); } && | |
31902 | { ac_try='test -s conftest$ac_exeext' | |
31903 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31904 | (eval $ac_try) 2>&5 | |
31905 | ac_status=$? | |
31906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31907 | (exit $ac_status); }; }; then | |
31908 | eval "$as_ac_var=yes" | |
31909 | else | |
31910 | echo "$as_me: failed program was:" >&5 | |
31911 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31912 | ||
31913 | eval "$as_ac_var=no" | |
31914 | fi | |
31915 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
31916 | fi | |
31917 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
31918 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
31919 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
31920 | cat >>confdefs.h <<_ACEOF | |
31921 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
31922 | _ACEOF | |
31923 | ||
31924 | cat >>confdefs.h <<\_ACEOF | |
10f2d63a | 31925 | #define HAVE_SHL_LOAD 1 |
e6cc62c6 | 31926 | _ACEOF |
10f2d63a | 31927 | |
3a922bb4 | 31928 | HAVE_SHL_FUNCS=1 |
e6cc62c6 | 31929 | |
10f2d63a | 31930 | else |
e6cc62c6 VS |
31931 | |
31932 | echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5 | |
31933 | echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6 | |
31934 | if test "${ac_cv_lib_shl_load_dld+set}" = set; then | |
31935 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6bcfd97 | 31936 | else |
e6cc62c6 | 31937 | ac_check_lib_save_LIBS=$LIBS |
f6bcfd97 | 31938 | LIBS="-lshl_load $LIBS" |
e6cc62c6 VS |
31939 | cat >conftest.$ac_ext <<_ACEOF |
31940 | #line $LINENO "configure" | |
31941 | /* confdefs.h. */ | |
31942 | _ACEOF | |
31943 | cat confdefs.h >>conftest.$ac_ext | |
31944 | cat >>conftest.$ac_ext <<_ACEOF | |
31945 | /* end confdefs.h. */ | |
31946 | ||
8284b0c5 | 31947 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
31948 | #ifdef __cplusplus |
31949 | extern "C" | |
31950 | #endif | |
f6bcfd97 | 31951 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
31952 | builtin and then its argument prototype would still apply. */ |
31953 | char dld (); | |
31954 | int | |
31955 | main () | |
31956 | { | |
31957 | dld (); | |
31958 | ; | |
31959 | return 0; | |
31960 | } | |
31961 | _ACEOF | |
31962 | rm -f conftest.$ac_objext conftest$ac_exeext | |
31963 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
31964 | (eval $ac_link) 2>&5 | |
31965 | ac_status=$? | |
31966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31967 | (exit $ac_status); } && | |
31968 | { ac_try='test -s conftest$ac_exeext' | |
31969 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
31970 | (eval $ac_try) 2>&5 | |
31971 | ac_status=$? | |
31972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
31973 | (exit $ac_status); }; }; then | |
31974 | ac_cv_lib_shl_load_dld=yes | |
31975 | else | |
31976 | echo "$as_me: failed program was:" >&5 | |
31977 | sed 's/^/| /' conftest.$ac_ext >&5 | |
31978 | ||
31979 | ac_cv_lib_shl_load_dld=no | |
31980 | fi | |
31981 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
31982 | LIBS=$ac_check_lib_save_LIBS | |
31983 | fi | |
31984 | echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5 | |
31985 | echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6 | |
31986 | if test $ac_cv_lib_shl_load_dld = yes; then | |
f6bcfd97 | 31987 | |
3a922bb4 | 31988 | HAVE_SHL_FUNCS=1 |
3d63bc3a | 31989 | DL_LINK=" -ldld$DL_LINK" |
e6cc62c6 | 31990 | |
f6bcfd97 BP |
31991 | fi |
31992 | ||
e6cc62c6 | 31993 | |
10f2d63a VZ |
31994 | fi |
31995 | done | |
31996 | ||
e6cc62c6 | 31997 | |
10f2d63a VZ |
31998 | fi |
31999 | ||
e6cc62c6 | 32000 | |
10f2d63a VZ |
32001 | fi |
32002 | done | |
32003 | ||
5c6fa7d2 | 32004 | |
8284b0c5 | 32005 | if test "$HAVE_DL_FUNCS" = 1; then |
e6cc62c6 VS |
32006 | |
32007 | for ac_func in dlerror | |
f6bcfd97 | 32008 | do |
e6cc62c6 VS |
32009 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
32010 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
32011 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
32012 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
32013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
32014 | else | |
32015 | cat >conftest.$ac_ext <<_ACEOF | |
32016 | #line $LINENO "configure" | |
32017 | /* confdefs.h. */ | |
32018 | _ACEOF | |
32019 | cat confdefs.h >>conftest.$ac_ext | |
32020 | cat >>conftest.$ac_ext <<_ACEOF | |
32021 | /* end confdefs.h. */ | |
f6bcfd97 | 32022 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
32023 | which can conflict with char $ac_func (); below. |
32024 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
32025 | <limits.h> exists even on freestanding compilers. */ | |
32026 | #ifdef __STDC__ | |
32027 | # include <limits.h> | |
32028 | #else | |
32029 | # include <assert.h> | |
32030 | #endif | |
f6bcfd97 | 32031 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
32032 | #ifdef __cplusplus |
32033 | extern "C" | |
32034 | { | |
32035 | #endif | |
f6bcfd97 | 32036 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
32037 | builtin and then its argument prototype would still apply. */ |
32038 | char $ac_func (); | |
f6bcfd97 BP |
32039 | /* The GNU C library defines this for functions which it implements |
32040 | to always fail with ENOSYS. Some functions are actually named | |
32041 | something starting with __ and the normal name is an alias. */ | |
32042 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
32043 | choke me | |
32044 | #else | |
e6cc62c6 VS |
32045 | char (*f) () = $ac_func; |
32046 | #endif | |
32047 | #ifdef __cplusplus | |
32048 | } | |
f6bcfd97 BP |
32049 | #endif |
32050 | ||
e6cc62c6 VS |
32051 | int |
32052 | main () | |
32053 | { | |
32054 | return f != $ac_func; | |
32055 | ; | |
32056 | return 0; | |
32057 | } | |
32058 | _ACEOF | |
32059 | rm -f conftest.$ac_objext conftest$ac_exeext | |
32060 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
32061 | (eval $ac_link) 2>&5 | |
32062 | ac_status=$? | |
32063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32064 | (exit $ac_status); } && | |
32065 | { ac_try='test -s conftest$ac_exeext' | |
32066 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
32067 | (eval $ac_try) 2>&5 | |
32068 | ac_status=$? | |
32069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32070 | (exit $ac_status); }; }; then | |
32071 | eval "$as_ac_var=yes" | |
32072 | else | |
32073 | echo "$as_me: failed program was:" >&5 | |
32074 | sed 's/^/| /' conftest.$ac_ext >&5 | |
32075 | ||
32076 | eval "$as_ac_var=no" | |
32077 | fi | |
32078 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
32079 | fi | |
32080 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
32081 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
32082 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
32083 | cat >>confdefs.h <<_ACEOF | |
32084 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
32085 | _ACEOF | |
32086 | cat >>confdefs.h <<\_ACEOF | |
f6bcfd97 | 32087 | #define HAVE_DLERROR 1 |
e6cc62c6 | 32088 | _ACEOF |
f6bcfd97 BP |
32089 | |
32090 | else | |
0e012a93 VZ |
32091 | |
32092 | echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5 | |
e6cc62c6 VS |
32093 | echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6 |
32094 | if test "${ac_cv_lib_dl_dlerror+set}" = set; then | |
32095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6bcfd97 | 32096 | else |
e6cc62c6 | 32097 | ac_check_lib_save_LIBS=$LIBS |
f6bcfd97 | 32098 | LIBS="-ldl $LIBS" |
e6cc62c6 VS |
32099 | cat >conftest.$ac_ext <<_ACEOF |
32100 | #line $LINENO "configure" | |
32101 | /* confdefs.h. */ | |
32102 | _ACEOF | |
32103 | cat confdefs.h >>conftest.$ac_ext | |
32104 | cat >>conftest.$ac_ext <<_ACEOF | |
32105 | /* end confdefs.h. */ | |
32106 | ||
f6bcfd97 | 32107 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
32108 | #ifdef __cplusplus |
32109 | extern "C" | |
32110 | #endif | |
f6bcfd97 | 32111 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
32112 | builtin and then its argument prototype would still apply. */ |
32113 | char dlerror (); | |
32114 | int | |
32115 | main () | |
32116 | { | |
32117 | dlerror (); | |
32118 | ; | |
32119 | return 0; | |
32120 | } | |
32121 | _ACEOF | |
32122 | rm -f conftest.$ac_objext conftest$ac_exeext | |
32123 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
32124 | (eval $ac_link) 2>&5 | |
32125 | ac_status=$? | |
32126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32127 | (exit $ac_status); } && | |
32128 | { ac_try='test -s conftest$ac_exeext' | |
32129 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
32130 | (eval $ac_try) 2>&5 | |
32131 | ac_status=$? | |
32132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32133 | (exit $ac_status); }; }; then | |
32134 | ac_cv_lib_dl_dlerror=yes | |
32135 | else | |
32136 | echo "$as_me: failed program was:" >&5 | |
32137 | sed 's/^/| /' conftest.$ac_ext >&5 | |
32138 | ||
32139 | ac_cv_lib_dl_dlerror=no | |
32140 | fi | |
32141 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
32142 | LIBS=$ac_check_lib_save_LIBS | |
32143 | fi | |
32144 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5 | |
32145 | echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6 | |
32146 | if test $ac_cv_lib_dl_dlerror = yes; then | |
32147 | cat >>confdefs.h <<\_ACEOF | |
f6bcfd97 | 32148 | #define HAVE_DLERROR 1 |
e6cc62c6 | 32149 | _ACEOF |
f6bcfd97 | 32150 | |
f6bcfd97 BP |
32151 | fi |
32152 | ||
0e012a93 VZ |
32153 | |
32154 | ||
f6bcfd97 BP |
32155 | fi |
32156 | done | |
32157 | ||
3a922bb4 RL |
32158 | fi |
32159 | fi | |
f6bcfd97 | 32160 | |
3a922bb4 RL |
32161 | if test "$HAVE_DL_FUNCS" = 0; then |
32162 | if test "$HAVE_SHL_FUNCS" = 0; then | |
32163 | if test "$USE_UNIX" = 1; then | |
e6cc62c6 VS |
32164 | { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5 |
32165 | echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;} | |
0b9ab0bd | 32166 | wxUSE_DYNAMIC_LOADER=no |
3a922bb4 RL |
32167 | wxUSE_DYNLIB_CLASS=no |
32168 | else | |
e6cc62c6 VS |
32169 | { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5 |
32170 | echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;} | |
3a922bb4 RL |
32171 | fi |
32172 | fi | |
10f2d63a VZ |
32173 | fi |
32174 | fi | |
32175 | fi | |
32176 | ||
0b9ab0bd | 32177 | if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then |
e6cc62c6 | 32178 | cat >>confdefs.h <<\_ACEOF |
0b9ab0bd | 32179 | #define wxUSE_DYNAMIC_LOADER 1 |
e6cc62c6 | 32180 | _ACEOF |
0b9ab0bd | 32181 | |
1948bb32 VS |
32182 | fi |
32183 | if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then | |
e6cc62c6 | 32184 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32185 | #define wxUSE_DYNLIB_CLASS 1 |
e6cc62c6 | 32186 | _ACEOF |
10f2d63a VZ |
32187 | |
32188 | fi | |
32189 | ||
8284b0c5 | 32190 | |
1e6feb95 | 32191 | if test "$wxUSE_FONTMAP" = "yes" ; then |
e6cc62c6 | 32192 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 32193 | #define wxUSE_FONTMAP 1 |
e6cc62c6 | 32194 | _ACEOF |
1e6feb95 VZ |
32195 | |
32196 | fi | |
32197 | ||
10f2d63a | 32198 | if test "$wxUSE_UNICODE" = "yes" ; then |
e6cc62c6 | 32199 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32200 | #define wxUSE_UNICODE 1 |
e6cc62c6 | 32201 | _ACEOF |
10f2d63a | 32202 | |
8284b0c5 | 32203 | |
eb854003 | 32204 | if test "$USE_WIN32" != 1; then |
bbc3925a VS |
32205 | wxUSE_UNICODE_MSLU=no |
32206 | fi | |
a72a4bfa | 32207 | |
eb854003 | 32208 | if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then |
e6cc62c6 VS |
32209 | echo "$as_me:$LINENO: checking for main in -lunicows" >&5 |
32210 | echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6 | |
32211 | if test "${ac_cv_lib_unicows_main+set}" = set; then | |
32212 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
a72a4bfa | 32213 | else |
e6cc62c6 | 32214 | ac_check_lib_save_LIBS=$LIBS |
a72a4bfa | 32215 | LIBS="-lunicows $LIBS" |
e6cc62c6 VS |
32216 | cat >conftest.$ac_ext <<_ACEOF |
32217 | #line $LINENO "configure" | |
32218 | /* confdefs.h. */ | |
32219 | _ACEOF | |
32220 | cat confdefs.h >>conftest.$ac_ext | |
32221 | cat >>conftest.$ac_ext <<_ACEOF | |
32222 | /* end confdefs.h. */ | |
a72a4bfa | 32223 | |
8284b0c5 | 32224 | |
e6cc62c6 VS |
32225 | int |
32226 | main () | |
32227 | { | |
32228 | main (); | |
32229 | ; | |
32230 | return 0; | |
32231 | } | |
32232 | _ACEOF | |
32233 | rm -f conftest.$ac_objext conftest$ac_exeext | |
32234 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
32235 | (eval $ac_link) 2>&5 | |
32236 | ac_status=$? | |
32237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32238 | (exit $ac_status); } && | |
32239 | { ac_try='test -s conftest$ac_exeext' | |
32240 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
32241 | (eval $ac_try) 2>&5 | |
32242 | ac_status=$? | |
32243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32244 | (exit $ac_status); }; }; then | |
32245 | ac_cv_lib_unicows_main=yes | |
32246 | else | |
32247 | echo "$as_me: failed program was:" >&5 | |
32248 | sed 's/^/| /' conftest.$ac_ext >&5 | |
32249 | ||
32250 | ac_cv_lib_unicows_main=no | |
32251 | fi | |
32252 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
32253 | LIBS=$ac_check_lib_save_LIBS | |
32254 | fi | |
32255 | echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5 | |
32256 | echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6 | |
32257 | if test $ac_cv_lib_unicows_main = yes; then | |
32258 | ||
32259 | cat >>confdefs.h <<\_ACEOF | |
a72a4bfa | 32260 | #define wxUSE_UNICODE_MSLU 1 |
e6cc62c6 VS |
32261 | _ACEOF |
32262 | ||
a72a4bfa | 32263 | |
a72a4bfa | 32264 | else |
a72a4bfa | 32265 | |
e6cc62c6 VS |
32266 | { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled. |
32267 | Applications will only run on Windows NT/2000/XP!" >&5 | |
32268 | echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled. | |
32269 | Applications will only run on Windows NT/2000/XP!" >&2;} | |
a72a4bfa | 32270 | wxUSE_UNICODE_MSLU=no |
e6cc62c6 | 32271 | |
a72a4bfa VS |
32272 | fi |
32273 | ||
32274 | fi | |
10f2d63a VZ |
32275 | fi |
32276 | ||
10f2d63a | 32277 | if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then |
e6cc62c6 | 32278 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32279 | #define wxUSE_EXPERIMENTAL_PRINTF 1 |
e6cc62c6 | 32280 | _ACEOF |
10f2d63a VZ |
32281 | |
32282 | fi | |
32283 | ||
8284b0c5 | 32284 | |
10f2d63a | 32285 | if test "$wxUSE_POSTSCRIPT" = "yes" ; then |
e6cc62c6 | 32286 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32287 | #define wxUSE_POSTSCRIPT 1 |
e6cc62c6 | 32288 | _ACEOF |
10f2d63a VZ |
32289 | |
32290 | fi | |
32291 | ||
e6cc62c6 | 32292 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32293 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 |
e6cc62c6 | 32294 | _ACEOF |
10f2d63a | 32295 | |
8284b0c5 | 32296 | |
e6cc62c6 | 32297 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32298 | #define wxUSE_NORMALIZED_PS_FONTS 1 |
e6cc62c6 | 32299 | _ACEOF |
10f2d63a | 32300 | |
8284b0c5 MB |
32301 | |
32302 | ||
10f2d63a | 32303 | if test "$wxUSE_CONSTRAINTS" = "yes"; then |
e6cc62c6 | 32304 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32305 | #define wxUSE_CONSTRAINTS 1 |
e6cc62c6 | 32306 | _ACEOF |
10f2d63a VZ |
32307 | |
32308 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout" | |
32309 | fi | |
32310 | ||
3879ecda | 32311 | if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then |
1772d20c | 32312 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32313 | #define wxUSE_MDI_ARCHITECTURE 1 |
e6cc62c6 | 32314 | _ACEOF |
10f2d63a | 32315 | |
1772d20c | 32316 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi" |
10f2d63a VZ |
32317 | fi |
32318 | ||
32319 | if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then | |
e6cc62c6 | 32320 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32321 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 |
e6cc62c6 | 32322 | _ACEOF |
10f2d63a VZ |
32323 | |
32324 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview" | |
32325 | if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then | |
32326 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi" | |
32327 | fi | |
32328 | fi | |
32329 | ||
32330 | if test "$wxUSE_HELP" = "yes"; then | |
e6cc62c6 | 32331 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32332 | #define wxUSE_HELP 1 |
e6cc62c6 | 32333 | _ACEOF |
10f2d63a VZ |
32334 | |
32335 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help" | |
3379ed37 | 32336 | |
77e13408 | 32337 | if test "$wxUSE_MSW" = 1; then |
031d8228 | 32338 | if test "$wxUSE_MS_HTML_HELP" = "yes"; then |
e6cc62c6 | 32339 | cat >>confdefs.h <<\_ACEOF |
29fd3c0c | 32340 | #define wxUSE_MS_HTML_HELP 1 |
e6cc62c6 | 32341 | _ACEOF |
29fd3c0c | 32342 | |
3e44f09d | 32343 | fi |
3379ed37 | 32344 | fi |
031d8228 VS |
32345 | |
32346 | if test "$wxUSE_WXHTML_HELP" = "yes"; then | |
32347 | if test "$wxUSE_HTML" = "yes"; then | |
e6cc62c6 | 32348 | cat >>confdefs.h <<\_ACEOF |
031d8228 | 32349 | #define wxUSE_WXHTML_HELP 1 |
e6cc62c6 | 32350 | _ACEOF |
031d8228 VS |
32351 | |
32352 | else | |
e6cc62c6 VS |
32353 | { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5 |
32354 | echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;} | |
031d8228 VS |
32355 | wxUSE_WXHTML_HELP=no |
32356 | fi | |
32357 | fi | |
10f2d63a VZ |
32358 | fi |
32359 | ||
32360 | if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then | |
32361 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
e6cc62c6 VS |
32362 | { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5 |
32363 | echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;} | |
10f2d63a | 32364 | else |
e6cc62c6 | 32365 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32366 | #define wxUSE_PRINTING_ARCHITECTURE 1 |
e6cc62c6 | 32367 | _ACEOF |
10f2d63a VZ |
32368 | |
32369 | fi | |
32370 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing" | |
32371 | fi | |
32372 | ||
e6cc62c6 VS |
32373 | if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then |
32374 | { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5 | |
32375 | echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;} | |
32376 | { (exit 1); exit 1; }; } | |
32377 | fi | |
32378 | ||
32379 | ||
32380 | if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \ | |
32381 | -o "$wxUSE_CLIPBOARD" = "yes" \ | |
32382 | -o "$wxUSE_OLE" = "yes" \ | |
32383 | -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then | |
32384 | ||
32385 | for ac_header in ole2.h | |
32386 | do | |
32387 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
32388 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
32389 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
32390 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
32391 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
32392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
32393 | fi | |
32394 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
32395 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
32396 | else | |
32397 | # Is the header compilable? | |
32398 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
32399 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
32400 | cat >conftest.$ac_ext <<_ACEOF | |
32401 | #line $LINENO "configure" | |
32402 | /* confdefs.h. */ | |
32403 | _ACEOF | |
32404 | cat confdefs.h >>conftest.$ac_ext | |
32405 | cat >>conftest.$ac_ext <<_ACEOF | |
32406 | /* end confdefs.h. */ | |
32407 | $ac_includes_default | |
32408 | #include <$ac_header> | |
32409 | _ACEOF | |
32410 | rm -f conftest.$ac_objext | |
32411 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
32412 | (eval $ac_compile) 2>&5 | |
32413 | ac_status=$? | |
32414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32415 | (exit $ac_status); } && | |
32416 | { ac_try='test -s conftest.$ac_objext' | |
32417 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
32418 | (eval $ac_try) 2>&5 | |
32419 | ac_status=$? | |
32420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32421 | (exit $ac_status); }; }; then | |
32422 | ac_header_compiler=yes | |
32423 | else | |
32424 | echo "$as_me: failed program was:" >&5 | |
32425 | sed 's/^/| /' conftest.$ac_ext >&5 | |
32426 | ||
32427 | ac_header_compiler=no | |
32428 | fi | |
32429 | rm -f conftest.$ac_objext conftest.$ac_ext | |
32430 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
32431 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
32432 | ||
32433 | # Is the header present? | |
32434 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
32435 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
32436 | cat >conftest.$ac_ext <<_ACEOF | |
32437 | #line $LINENO "configure" | |
32438 | /* confdefs.h. */ | |
32439 | _ACEOF | |
32440 | cat confdefs.h >>conftest.$ac_ext | |
32441 | cat >>conftest.$ac_ext <<_ACEOF | |
32442 | /* end confdefs.h. */ | |
32443 | #include <$ac_header> | |
32444 | _ACEOF | |
32445 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
32446 | (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then | |
32453 | if test -s conftest.err; then | |
32454 | ac_cpp_err=$ac_c_preproc_warn_flag | |
32455 | else | |
32456 | ac_cpp_err= | |
32457 | fi | |
32458 | else | |
32459 | ac_cpp_err=yes | |
32460 | fi | |
32461 | if test -z "$ac_cpp_err"; then | |
32462 | ac_header_preproc=yes | |
32463 | else | |
32464 | echo "$as_me: failed program was:" >&5 | |
32465 | sed 's/^/| /' conftest.$ac_ext >&5 | |
32466 | ||
32467 | ac_header_preproc=no | |
32468 | fi | |
32469 | rm -f conftest.err conftest.$ac_ext | |
32470 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
32471 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
32472 | ||
32473 | # So? What about this header? | |
32474 | case $ac_header_compiler:$ac_header_preproc in | |
32475 | yes:no ) | |
32476 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
32477 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
32478 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
32479 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
32480 | ( | |
32481 | cat <<\_ASBOX | |
32482 | ## ------------------------------------ ## | |
32483 | ## Report this to bug-autoconf@gnu.org. ## | |
32484 | ## ------------------------------------ ## | |
32485 | _ASBOX | |
32486 | ) | | |
32487 | sed "s/^/$as_me: WARNING: /" >&2 | |
32488 | ;; | |
32489 | no:yes ) | |
32490 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
32491 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
32492 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
32493 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
32494 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
32495 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
32496 | ( | |
32497 | cat <<\_ASBOX | |
32498 | ## ------------------------------------ ## | |
32499 | ## Report this to bug-autoconf@gnu.org. ## | |
32500 | ## ------------------------------------ ## | |
32501 | _ASBOX | |
32502 | ) | | |
32503 | sed "s/^/$as_me: WARNING: /" >&2 | |
32504 | ;; | |
32505 | esac | |
32506 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
32507 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
32508 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
32509 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
32510 | else | |
32511 | eval "$as_ac_Header=$ac_header_preproc" | |
32512 | fi | |
32513 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
32514 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
32515 | ||
10f2d63a | 32516 | fi |
e6cc62c6 VS |
32517 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
32518 | cat >>confdefs.h <<_ACEOF | |
32519 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
32520 | _ACEOF | |
10f2d63a | 32521 | |
10f2d63a | 32522 | fi |
e6cc62c6 | 32523 | |
10f2d63a VZ |
32524 | done |
32525 | ||
8284b0c5 | 32526 | |
2b9bdf71 VZ |
32527 | if test "$ac_cv_header_ole2_h" = "yes" ; then |
32528 | if test "$GCC" = yes ; then | |
8284b0c5 MB |
32529 | |
32530 | ||
e6cc62c6 VS |
32531 | ac_ext=cc |
32532 | ac_cpp='$CXXCPP $CPPFLAGS' | |
32533 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
32534 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
32535 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
32536 | ||
32537 | ||
32538 | echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5 | |
32539 | echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6 | |
32540 | cat >conftest.$ac_ext <<_ACEOF | |
32541 | #line $LINENO "configure" | |
32542 | /* confdefs.h. */ | |
32543 | _ACEOF | |
32544 | cat confdefs.h >>conftest.$ac_ext | |
32545 | cat >>conftest.$ac_ext <<_ACEOF | |
32546 | /* end confdefs.h. */ | |
8284b0c5 MB |
32547 | #include <windows.h> |
32548 | #include <ole2.h> | |
e6cc62c6 VS |
32549 | int |
32550 | main () | |
32551 | { | |
8284b0c5 | 32552 | |
e6cc62c6 VS |
32553 | ; |
32554 | return 0; | |
32555 | } | |
32556 | _ACEOF | |
32557 | rm -f conftest.$ac_objext | |
32558 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
32559 | (eval $ac_compile) 2>&5 | |
32560 | ac_status=$? | |
32561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32562 | (exit $ac_status); } && | |
32563 | { ac_try='test -s conftest.$ac_objext' | |
32564 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
32565 | (eval $ac_try) 2>&5 | |
32566 | ac_status=$? | |
32567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
32568 | (exit $ac_status); }; }; then | |
32569 | echo "$as_me:$LINENO: result: no" >&5 | |
32570 | echo "${ECHO_T}no" >&6 | |
32571 | else | |
32572 | echo "$as_me: failed program was:" >&5 | |
32573 | sed 's/^/| /' conftest.$ac_ext >&5 | |
32574 | ||
32575 | echo "$as_me:$LINENO: result: yes" >&5 | |
32576 | echo "${ECHO_T}yes" >&6 | |
8284b0c5 MB |
32577 | CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks" |
32578 | fi | |
e6cc62c6 | 32579 | rm -f conftest.$ac_objext conftest.$ac_ext |
8284b0c5 | 32580 | ac_ext=c |
8284b0c5 | 32581 | ac_cpp='$CPP $CPPFLAGS' |
e6cc62c6 VS |
32582 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
32583 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
32584 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
8284b0c5 | 32585 | |
2b9bdf71 | 32586 | ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)" |
3d63bc3a | 32587 | LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS" |
e6cc62c6 | 32588 | cat >>confdefs.h <<\_ACEOF |
4f11a343 | 32589 | #define wxUSE_OLE 1 |
e6cc62c6 | 32590 | _ACEOF |
4f11a343 | 32591 | |
8284b0c5 | 32592 | |
2b9bdf71 VZ |
32593 | fi |
32594 | ||
e6cc62c6 | 32595 | cat >>confdefs.h <<\_ACEOF |
2b9bdf71 | 32596 | #define wxUSE_DATAOBJ 1 |
e6cc62c6 | 32597 | _ACEOF |
2b9bdf71 VZ |
32598 | |
32599 | else | |
e6cc62c6 VS |
32600 | { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5 |
32601 | echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;} | |
2b9bdf71 VZ |
32602 | |
32603 | wxUSE_CLIPBOARD=no | |
32604 | wxUSE_DRAG_AND_DROP=no | |
32605 | wxUSE_DATAOBJ=no | |
3bce6687 JS |
32606 | wxUSE_OLE=no |
32607 | fi | |
32608 | ||
32609 | if test "$wxUSE_METAFILE" = "yes"; then | |
e6cc62c6 | 32610 | cat >>confdefs.h <<\_ACEOF |
3bce6687 | 32611 | #define wxUSE_METAFILE 1 |
e6cc62c6 | 32612 | _ACEOF |
3bce6687 JS |
32613 | |
32614 | ||
e6cc62c6 | 32615 | cat >>confdefs.h <<\_ACEOF |
3bce6687 | 32616 | #define wxUSE_ENH_METAFILE 1 |
e6cc62c6 | 32617 | _ACEOF |
3bce6687 JS |
32618 | |
32619 | fi | |
32620 | fi | |
32621 | ||
2b9bdf71 VZ |
32622 | if test "$wxUSE_IPC" = "yes"; then |
32623 | if test "$wxUSE_SOCKETS" != "yes"; then | |
e6cc62c6 VS |
32624 | { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5 |
32625 | echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;} | |
2b9bdf71 VZ |
32626 | fi |
32627 | ||
e6cc62c6 | 32628 | cat >>confdefs.h <<\_ACEOF |
2b9bdf71 | 32629 | #define wxUSE_IPC 1 |
e6cc62c6 | 32630 | _ACEOF |
2b9bdf71 VZ |
32631 | |
32632 | fi | |
32633 | ||
32634 | if test "$wxUSE_CLIPBOARD" = "yes"; then | |
6c657b52 | 32635 | if test "$wxUSE_MGL" = 1; then |
e6cc62c6 VS |
32636 | { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5 |
32637 | echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;} | |
6c657b52 VS |
32638 | wxUSE_CLIPBOARD=no |
32639 | fi | |
32640 | ||
32641 | if test "$wxUSE_CLIPBOARD" = "yes"; then | |
e6cc62c6 | 32642 | cat >>confdefs.h <<\_ACEOF |
2b9bdf71 | 32643 | #define wxUSE_CLIPBOARD 1 |
e6cc62c6 | 32644 | _ACEOF |
2b9bdf71 | 32645 | |
8284b0c5 | 32646 | |
e6cc62c6 | 32647 | cat >>confdefs.h <<\_ACEOF |
673f4220 | 32648 | #define wxUSE_DATAOBJ 1 |
e6cc62c6 | 32649 | _ACEOF |
673f4220 | 32650 | |
6c657b52 | 32651 | fi |
2b9bdf71 VZ |
32652 | fi |
32653 | ||
32654 | if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then | |
32655 | if test "$wxUSE_GTK" = 1; then | |
32656 | if test "$WXGTK12" != 1; then | |
e6cc62c6 VS |
32657 | { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5 |
32658 | echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;} | |
10f2d63a VZ |
32659 | wxUSE_DRAG_AND_DROP=no |
32660 | fi | |
32661 | fi | |
32662 | ||
2b9bdf71 | 32663 | if test "$wxUSE_MOTIF" = 1; then |
e6cc62c6 VS |
32664 | { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5 |
32665 | echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;} | |
2b9bdf71 VZ |
32666 | wxUSE_DRAG_AND_DROP=no |
32667 | fi | |
32668 | ||
f79bd02d | 32669 | if test "$wxUSE_X11" = 1; then |
e6cc62c6 VS |
32670 | { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5 |
32671 | echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;} | |
f79bd02d JS |
32672 | wxUSE_DRAG_AND_DROP=no |
32673 | fi | |
32674 | ||
6c657b52 | 32675 | if test "$wxUSE_MGL" = 1; then |
e6cc62c6 VS |
32676 | { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5 |
32677 | echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;} | |
6c657b52 VS |
32678 | wxUSE_DRAG_AND_DROP=no |
32679 | fi | |
32680 | ||
10f2d63a | 32681 | if test "$wxUSE_DRAG_AND_DROP" = "yes"; then |
e6cc62c6 | 32682 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32683 | #define wxUSE_DRAG_AND_DROP 1 |
e6cc62c6 | 32684 | _ACEOF |
10f2d63a VZ |
32685 | |
32686 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd" | |
32687 | fi | |
32688 | ||
32689 | fi | |
32690 | ||
32691 | if test "$wxUSE_SPLINES" = "yes" ; then | |
e6cc62c6 | 32692 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32693 | #define wxUSE_SPLINES 1 |
e6cc62c6 | 32694 | _ACEOF |
10f2d63a VZ |
32695 | |
32696 | fi | |
32697 | ||
8284b0c5 | 32698 | |
1e6feb95 VZ |
32699 | USES_CONTROLS=0 |
32700 | if test "$wxUSE_CONTROLS" = "yes"; then | |
32701 | USES_CONTROLS=1 | |
32702 | fi | |
32703 | ||
10f2d63a | 32704 | if test "$wxUSE_ACCEL" = "yes"; then |
e6cc62c6 | 32705 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32706 | #define wxUSE_ACCEL 1 |
e6cc62c6 | 32707 | _ACEOF |
10f2d63a | 32708 | |
1e6feb95 VZ |
32709 | USES_CONTROLS=1 |
32710 | fi | |
32711 | ||
32712 | if test "$wxUSE_BUTTON" = "yes"; then | |
e6cc62c6 | 32713 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 32714 | #define wxUSE_BUTTON 1 |
e6cc62c6 | 32715 | _ACEOF |
1e6feb95 VZ |
32716 | |
32717 | USES_CONTROLS=1 | |
32718 | fi | |
32719 | ||
32720 | if test "$wxUSE_BMPBUTTON" = "yes"; then | |
e6cc62c6 | 32721 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 32722 | #define wxUSE_BMPBUTTON 1 |
e6cc62c6 | 32723 | _ACEOF |
1e6feb95 VZ |
32724 | |
32725 | USES_CONTROLS=1 | |
32726 | fi | |
32727 | ||
32728 | if test "$wxUSE_CALCTRL" = "yes"; then | |
e6cc62c6 | 32729 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 32730 | #define wxUSE_CALENDARCTRL 1 |
e6cc62c6 | 32731 | _ACEOF |
1e6feb95 VZ |
32732 | |
32733 | USES_CONTROLS=1 | |
32734 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar" | |
10f2d63a VZ |
32735 | fi |
32736 | ||
32737 | if test "$wxUSE_CARET" = "yes"; then | |
e6cc62c6 | 32738 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32739 | #define wxUSE_CARET 1 |
e6cc62c6 | 32740 | _ACEOF |
10f2d63a | 32741 | |
1e6feb95 | 32742 | USES_CONTROLS=1 |
10f2d63a VZ |
32743 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret" |
32744 | fi | |
32745 | ||
32746 | if test "$wxUSE_COMBOBOX" = "yes"; then | |
e6cc62c6 | 32747 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32748 | #define wxUSE_COMBOBOX 1 |
e6cc62c6 | 32749 | _ACEOF |
10f2d63a | 32750 | |
1e6feb95 | 32751 | USES_CONTROLS=1 |
10f2d63a VZ |
32752 | fi |
32753 | ||
32754 | if test "$wxUSE_CHOICE" = "yes"; then | |
e6cc62c6 | 32755 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32756 | #define wxUSE_CHOICE 1 |
e6cc62c6 | 32757 | _ACEOF |
10f2d63a | 32758 | |
1e6feb95 | 32759 | USES_CONTROLS=1 |
10f2d63a VZ |
32760 | fi |
32761 | ||
32762 | if test "$wxUSE_CHECKBOX" = "yes"; then | |
e6cc62c6 | 32763 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32764 | #define wxUSE_CHECKBOX 1 |
e6cc62c6 | 32765 | _ACEOF |
10f2d63a | 32766 | |
1e6feb95 | 32767 | USES_CONTROLS=1 |
10f2d63a VZ |
32768 | fi |
32769 | ||
32770 | if test "$wxUSE_CHECKLST" = "yes"; then | |
e6cc62c6 | 32771 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32772 | #define wxUSE_CHECKLISTBOX 1 |
e6cc62c6 | 32773 | _ACEOF |
10f2d63a | 32774 | |
1e6feb95 | 32775 | USES_CONTROLS=1 |
10f2d63a VZ |
32776 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst" |
32777 | fi | |
32778 | ||
da494b40 | 32779 | if test "$wxUSE_DISPLAY" = "yes"; then |
e6cc62c6 | 32780 | cat >>confdefs.h <<\_ACEOF |
da494b40 | 32781 | #define wxUSE_DISPLAY 1 |
e6cc62c6 | 32782 | _ACEOF |
da494b40 MB |
32783 | |
32784 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display" | |
32785 | fi | |
32786 | ||
10f2d63a | 32787 | if test "$wxUSE_GAUGE" = "yes"; then |
e6cc62c6 | 32788 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32789 | #define wxUSE_GAUGE 1 |
e6cc62c6 | 32790 | _ACEOF |
10f2d63a | 32791 | |
1e6feb95 | 32792 | USES_CONTROLS=1 |
10f2d63a VZ |
32793 | fi |
32794 | ||
d6a55c4b | 32795 | if test "$wxUSE_GRID" = "yes"; then |
e6cc62c6 | 32796 | cat >>confdefs.h <<\_ACEOF |
d6a55c4b | 32797 | #define wxUSE_GRID 1 |
e6cc62c6 | 32798 | _ACEOF |
10f2d63a | 32799 | |
1e6feb95 | 32800 | USES_CONTROLS=1 |
d6a55c4b | 32801 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid" |
10f2d63a VZ |
32802 | fi |
32803 | ||
32804 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
e6cc62c6 | 32805 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32806 | #define wxUSE_IMAGLIST 1 |
e6cc62c6 | 32807 | _ACEOF |
10f2d63a VZ |
32808 | |
32809 | fi | |
32810 | ||
0e012a93 VZ |
32811 | if test "$wxUSE_LISTBOOK" = "yes"; then |
32812 | cat >>confdefs.h <<\_ACEOF | |
32813 | #define wxUSE_LISTBOOK 1 | |
32814 | _ACEOF | |
32815 | ||
32816 | USES_CONTROLS=1 | |
32817 | fi | |
32818 | ||
10f2d63a | 32819 | if test "$wxUSE_LISTBOX" = "yes"; then |
e6cc62c6 | 32820 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32821 | #define wxUSE_LISTBOX 1 |
e6cc62c6 | 32822 | _ACEOF |
10f2d63a | 32823 | |
1e6feb95 | 32824 | USES_CONTROLS=1 |
10f2d63a VZ |
32825 | fi |
32826 | ||
32827 | if test "$wxUSE_LISTCTRL" = "yes"; then | |
32828 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
e6cc62c6 | 32829 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32830 | #define wxUSE_LISTCTRL 1 |
e6cc62c6 | 32831 | _ACEOF |
10f2d63a | 32832 | |
1e6feb95 | 32833 | USES_CONTROLS=1 |
10f2d63a VZ |
32834 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl" |
32835 | else | |
e6cc62c6 VS |
32836 | { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5 |
32837 | echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;} | |
10f2d63a VZ |
32838 | fi |
32839 | fi | |
32840 | ||
32841 | if test "$wxUSE_NOTEBOOK" = "yes"; then | |
e6cc62c6 | 32842 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32843 | #define wxUSE_NOTEBOOK 1 |
e6cc62c6 | 32844 | _ACEOF |
10f2d63a | 32845 | |
1e6feb95 | 32846 | USES_CONTROLS=1 |
10f2d63a VZ |
32847 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook" |
32848 | fi | |
32849 | ||
24176f2c | 32850 | |
10f2d63a | 32851 | if test "$wxUSE_RADIOBOX" = "yes"; then |
e6cc62c6 | 32852 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32853 | #define wxUSE_RADIOBOX 1 |
e6cc62c6 | 32854 | _ACEOF |
10f2d63a | 32855 | |
1e6feb95 | 32856 | USES_CONTROLS=1 |
10f2d63a VZ |
32857 | fi |
32858 | ||
32859 | if test "$wxUSE_RADIOBTN" = "yes"; then | |
e6cc62c6 | 32860 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32861 | #define wxUSE_RADIOBTN 1 |
e6cc62c6 | 32862 | _ACEOF |
10f2d63a | 32863 | |
1e6feb95 | 32864 | USES_CONTROLS=1 |
10f2d63a VZ |
32865 | fi |
32866 | ||
32867 | if test "$wxUSE_SASH" = "yes"; then | |
e6cc62c6 | 32868 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32869 | #define wxUSE_SASH 1 |
e6cc62c6 | 32870 | _ACEOF |
10f2d63a VZ |
32871 | |
32872 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest" | |
32873 | fi | |
32874 | ||
32875 | if test "$wxUSE_SCROLLBAR" = "yes"; then | |
e6cc62c6 | 32876 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32877 | #define wxUSE_SCROLLBAR 1 |
e6cc62c6 | 32878 | _ACEOF |
10f2d63a | 32879 | |
1e6feb95 | 32880 | USES_CONTROLS=1 |
741a9306 | 32881 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub" |
10f2d63a VZ |
32882 | fi |
32883 | ||
32884 | if test "$wxUSE_SLIDER" = "yes"; then | |
e6cc62c6 | 32885 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32886 | #define wxUSE_SLIDER 1 |
e6cc62c6 | 32887 | _ACEOF |
10f2d63a | 32888 | |
1e6feb95 | 32889 | USES_CONTROLS=1 |
10f2d63a VZ |
32890 | fi |
32891 | ||
32892 | if test "$wxUSE_SPINBTN" = "yes"; then | |
e6cc62c6 | 32893 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32894 | #define wxUSE_SPINBTN 1 |
e6cc62c6 | 32895 | _ACEOF |
10f2d63a | 32896 | |
1e6feb95 | 32897 | USES_CONTROLS=1 |
10f2d63a VZ |
32898 | fi |
32899 | ||
56cfaa52 | 32900 | if test "$wxUSE_SPINCTRL" = "yes"; then |
e6cc62c6 | 32901 | cat >>confdefs.h <<\_ACEOF |
56cfaa52 | 32902 | #define wxUSE_SPINCTRL 1 |
e6cc62c6 | 32903 | _ACEOF |
56cfaa52 | 32904 | |
1e6feb95 | 32905 | USES_CONTROLS=1 |
56cfaa52 RR |
32906 | fi |
32907 | ||
10f2d63a | 32908 | if test "$wxUSE_SPLITTER" = "yes"; then |
e6cc62c6 | 32909 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32910 | #define wxUSE_SPLITTER 1 |
e6cc62c6 | 32911 | _ACEOF |
10f2d63a VZ |
32912 | |
32913 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter" | |
32914 | fi | |
32915 | ||
32916 | if test "$wxUSE_STATBMP" = "yes"; then | |
e6cc62c6 | 32917 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32918 | #define wxUSE_STATBMP 1 |
e6cc62c6 | 32919 | _ACEOF |
10f2d63a | 32920 | |
1e6feb95 | 32921 | USES_CONTROLS=1 |
10f2d63a VZ |
32922 | fi |
32923 | ||
32924 | if test "$wxUSE_STATBOX" = "yes"; then | |
e6cc62c6 | 32925 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32926 | #define wxUSE_STATBOX 1 |
e6cc62c6 | 32927 | _ACEOF |
10f2d63a | 32928 | |
1e6feb95 VZ |
32929 | USES_CONTROLS=1 |
32930 | fi | |
32931 | ||
32932 | if test "$wxUSE_STATTEXT" = "yes"; then | |
e6cc62c6 | 32933 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 32934 | #define wxUSE_STATTEXT 1 |
e6cc62c6 | 32935 | _ACEOF |
1e6feb95 VZ |
32936 | |
32937 | USES_CONTROLS=1 | |
10f2d63a VZ |
32938 | fi |
32939 | ||
32940 | if test "$wxUSE_STATLINE" = "yes"; then | |
e6cc62c6 | 32941 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32942 | #define wxUSE_STATLINE 1 |
e6cc62c6 | 32943 | _ACEOF |
10f2d63a | 32944 | |
89e6bf6d | 32945 | USES_CONTROLS=1 |
10f2d63a VZ |
32946 | fi |
32947 | ||
32948 | if test "$wxUSE_STATUSBAR" = "yes"; then | |
e6cc62c6 | 32949 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32950 | #define wxUSE_STATUSBAR 1 |
e6cc62c6 | 32951 | _ACEOF |
10f2d63a | 32952 | |
1e6feb95 | 32953 | USES_CONTROLS=1 |
698dcdb6 | 32954 | |
2286341c | 32955 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar" |
10f2d63a VZ |
32956 | fi |
32957 | ||
32958 | if test "$wxUSE_TABDIALOG" = "yes"; then | |
e6cc62c6 | 32959 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 32960 | #define wxUSE_TAB_DIALOG 1 |
e6cc62c6 | 32961 | _ACEOF |
10f2d63a VZ |
32962 | |
32963 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab" | |
32964 | fi | |
32965 | ||
1e6feb95 | 32966 | if test "$wxUSE_TEXTCTRL" = "yes"; then |
e6cc62c6 | 32967 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 32968 | #define wxUSE_TEXTCTRL 1 |
e6cc62c6 | 32969 | _ACEOF |
1e6feb95 VZ |
32970 | |
32971 | USES_CONTROLS=1 | |
32972 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text" | |
32973 | fi | |
32974 | ||
1db8dc4a | 32975 | if test "$wxUSE_TOGGLEBTN" = "yes"; then |
ac0c4cc3 | 32976 | if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then |
e6cc62c6 VS |
32977 | { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5 |
32978 | echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;} | |
156b2523 GD |
32979 | wxUSE_TOGGLEBTN=no |
32980 | fi | |
32981 | if test "$wxUSE_UNIVERSAL" = "yes"; then | |
e6cc62c6 VS |
32982 | { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5 |
32983 | echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;} | |
a45d7ab7 GD |
32984 | wxUSE_TOGGLEBTN=no |
32985 | fi | |
32986 | ||
32987 | if test "$wxUSE_TOGGLEBTN" = "yes"; then | |
e6cc62c6 | 32988 | cat >>confdefs.h <<\_ACEOF |
1db8dc4a | 32989 | #define wxUSE_TOGGLEBTN 1 |
e6cc62c6 | 32990 | _ACEOF |
1db8dc4a | 32991 | |
1e6feb95 | 32992 | USES_CONTROLS=1 |
a45d7ab7 | 32993 | fi |
1db8dc4a VZ |
32994 | fi |
32995 | ||
360d6699 | 32996 | if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then |
e6cc62c6 | 32997 | cat >>confdefs.h <<\_ACEOF |
360d6699 | 32998 | #define wxUSE_TOOLBAR_SIMPLE 1 |
e6cc62c6 | 32999 | _ACEOF |
360d6699 VZ |
33000 | |
33001 | wxUSE_TOOLBAR="yes" | |
1e6feb95 | 33002 | USES_CONTROLS=1 |
360d6699 VZ |
33003 | fi |
33004 | ||
10f2d63a | 33005 | if test "$wxUSE_TOOLBAR" = "yes"; then |
e6cc62c6 | 33006 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 33007 | #define wxUSE_TOOLBAR 1 |
e6cc62c6 | 33008 | _ACEOF |
10f2d63a | 33009 | |
1e6feb95 | 33010 | USES_CONTROLS=1 |
698dcdb6 | 33011 | |
360d6699 VZ |
33012 | if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then |
33013 | wxUSE_TOOLBAR_NATIVE="yes" | |
33014 | fi | |
33015 | ||
1e6feb95 | 33016 | if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then |
e6cc62c6 | 33017 | cat >>confdefs.h <<\_ACEOF |
360d6699 | 33018 | #define wxUSE_TOOLBAR_NATIVE 1 |
e6cc62c6 | 33019 | _ACEOF |
360d6699 | 33020 | |
1e6feb95 VZ |
33021 | USES_CONTROLS=1 |
33022 | fi | |
33023 | ||
33024 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar" | |
360d6699 VZ |
33025 | fi |
33026 | ||
10f2d63a VZ |
33027 | if test "$wxUSE_TOOLTIPS" = "yes"; then |
33028 | if test "$wxUSE_MOTIF" = 1; then | |
e6cc62c6 VS |
33029 | { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5 |
33030 | echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;} | |
10f2d63a | 33031 | else |
89e6bf6d | 33032 | if test "$wxUSE_UNIVERSAL" = "yes"; then |
e6cc62c6 VS |
33033 | { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5 |
33034 | echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;} | |
10f2d63a | 33035 | else |
e6cc62c6 | 33036 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 33037 | #define wxUSE_TOOLTIPS 1 |
e6cc62c6 | 33038 | _ACEOF |
10f2d63a VZ |
33039 | |
33040 | fi | |
33041 | fi | |
33042 | fi | |
33043 | ||
33044 | if test "$wxUSE_TREECTRL" = "yes"; then | |
33045 | if test "$wxUSE_IMAGLIST" = "yes"; then | |
e6cc62c6 | 33046 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 33047 | #define wxUSE_TREECTRL 1 |
e6cc62c6 | 33048 | _ACEOF |
10f2d63a | 33049 | |
1e6feb95 | 33050 | USES_CONTROLS=1 |
10f2d63a VZ |
33051 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl" |
33052 | else | |
e6cc62c6 VS |
33053 | { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5 |
33054 | echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;} | |
10f2d63a VZ |
33055 | fi |
33056 | fi | |
33057 | ||
9f41d601 | 33058 | if test "$wxUSE_POPUPWIN" = "yes"; then |
ac0c4cc3 | 33059 | if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then |
e6cc62c6 VS |
33060 | { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5 |
33061 | echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;} | |
6abe4b65 | 33062 | else |
485cf710 | 33063 | if test "$wxUSE_MOTIF" = 1; then |
e6cc62c6 VS |
33064 | { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5 |
33065 | echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;} | |
485cf710 | 33066 | else |
3c011993 | 33067 | if test "$wxUSE_PM" = 1; then |
e6cc62c6 VS |
33068 | { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5 |
33069 | echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;} | |
3bd8fb5f | 33070 | else |
e6cc62c6 | 33071 | cat >>confdefs.h <<\_ACEOF |
9f41d601 | 33072 | #define wxUSE_POPUPWIN 1 |
e6cc62c6 | 33073 | _ACEOF |
9f41d601 | 33074 | |
8284b0c5 | 33075 | |
3c011993 VZ |
33076 | USES_CONTROLS=1 |
33077 | fi | |
485cf710 | 33078 | fi |
6abe4b65 | 33079 | fi |
9f41d601 RR |
33080 | fi |
33081 | ||
dd964dcc | 33082 | if test "$wxUSE_TIPWINDOW" = "yes"; then |
3c011993 | 33083 | if test "$wxUSE_PM" = 1; then |
e6cc62c6 VS |
33084 | { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5 |
33085 | echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;} | |
3bd8fb5f | 33086 | else |
e6cc62c6 | 33087 | cat >>confdefs.h <<\_ACEOF |
dd964dcc | 33088 | #define wxUSE_TIPWINDOW 1 |
e6cc62c6 | 33089 | _ACEOF |
dd964dcc | 33090 | |
3c011993 | 33091 | fi |
dd964dcc VZ |
33092 | fi |
33093 | ||
1e6feb95 | 33094 | if test "$USES_CONTROLS" = 1; then |
e6cc62c6 | 33095 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33096 | #define wxUSE_CONTROLS 1 |
e6cc62c6 | 33097 | _ACEOF |
10f2d63a | 33098 | |
10f2d63a VZ |
33099 | fi |
33100 | ||
8284b0c5 | 33101 | |
e46d2a18 VS |
33102 | if test "$wxUSE_ACCESSIBILITY" = "yes"; then |
33103 | cat >>confdefs.h <<\_ACEOF | |
33104 | #define wxUSE_ACCESSIBILITY 1 | |
33105 | _ACEOF | |
33106 | ||
33107 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access" | |
33108 | fi | |
1e6feb95 | 33109 | |
24fd6d87 | 33110 | if test "$wxUSE_DRAGIMAGE" = "yes"; then |
e6cc62c6 | 33111 | cat >>confdefs.h <<\_ACEOF |
24fd6d87 | 33112 | #define wxUSE_DRAGIMAGE 1 |
e6cc62c6 | 33113 | _ACEOF |
24fd6d87 VZ |
33114 | |
33115 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag" | |
33116 | fi | |
33117 | ||
e46d2a18 | 33118 | if test "$wxUSE_EXCEPTIONS" = "yes"; then |
e6cc62c6 | 33119 | cat >>confdefs.h <<\_ACEOF |
e46d2a18 | 33120 | #define wxUSE_EXCEPTIONS 1 |
e6cc62c6 | 33121 | _ACEOF |
7bb2947d | 33122 | |
e46d2a18 VS |
33123 | fi |
33124 | ||
33125 | USE_HTML=0 | |
33126 | if test "$wxUSE_HTML" = "yes"; then | |
33127 | cat >>confdefs.h <<\_ACEOF | |
33128 | #define wxUSE_HTML 1 | |
33129 | _ACEOF | |
33130 | ||
33131 | USE_HTML=1 | |
33132 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox" | |
7bb2947d MB |
33133 | fi |
33134 | ||
1e6feb95 | 33135 | if test "$wxUSE_MENUS" = "yes"; then |
e6cc62c6 | 33136 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33137 | #define wxUSE_MENUS 1 |
e6cc62c6 | 33138 | _ACEOF |
10f2d63a | 33139 | |
1e6feb95 | 33140 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu" |
10f2d63a VZ |
33141 | fi |
33142 | ||
1e6feb95 | 33143 | if test "$wxUSE_METAFILE" = "yes"; then |
e6cc62c6 | 33144 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33145 | #define wxUSE_METAFILE 1 |
e6cc62c6 | 33146 | _ACEOF |
10f2d63a | 33147 | |
10f2d63a VZ |
33148 | fi |
33149 | ||
1e6feb95 | 33150 | if test "$wxUSE_MIMETYPE" = "yes"; then |
e6cc62c6 | 33151 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33152 | #define wxUSE_MIMETYPE 1 |
e6cc62c6 | 33153 | _ACEOF |
10f2d63a | 33154 | |
10f2d63a VZ |
33155 | fi |
33156 | ||
33157 | if test "$wxUSE_MINIFRAME" = "yes"; then | |
e6cc62c6 | 33158 | cat >>confdefs.h <<\_ACEOF |
10f2d63a | 33159 | #define wxUSE_MINIFRAME 1 |
e6cc62c6 | 33160 | _ACEOF |
10f2d63a VZ |
33161 | |
33162 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram" | |
33163 | fi | |
33164 | ||
e46d2a18 | 33165 | if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then |
e6cc62c6 | 33166 | cat >>confdefs.h <<\_ACEOF |
e46d2a18 | 33167 | #define wxUSE_SYSTEM_OPTIONS 1 |
e6cc62c6 | 33168 | _ACEOF |
10f2d63a | 33169 | |
e46d2a18 VS |
33170 | if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \ |
33171 | "$TOOLKIT" = "MOTIF"; then | |
33172 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar" | |
33173 | fi | |
10f2d63a VZ |
33174 | fi |
33175 | ||
e46d2a18 | 33176 | |
10f2d63a | 33177 | if test "$wxUSE_VALIDATORS" = "yes"; then |
e6cc62c6 | 33178 | cat >>confdefs.h <<\_ACEOF |
1e487827 | 33179 | #define wxUSE_VALIDATORS 1 |
e6cc62c6 | 33180 | _ACEOF |
703e0a69 | 33181 | |
698dcdb6 VZ |
33182 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate" |
33183 | fi | |
33184 | ||
edae8572 | 33185 | if test "$wxUSE_PALETTE" = "yes" ; then |
e6cc62c6 | 33186 | cat >>confdefs.h <<\_ACEOF |
edae8572 | 33187 | #define wxUSE_PALETTE 1 |
e6cc62c6 | 33188 | _ACEOF |
edae8572 VZ |
33189 | |
33190 | fi | |
33191 | ||
e46d2a18 VS |
33192 | if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then |
33193 | LIBS=" -lunicows $LIBS" | |
33194 | fi | |
33195 | ||
33196 | ||
698dcdb6 | 33197 | if test "$wxUSE_IMAGE" = "yes" ; then |
e46d2a18 | 33198 | cat >>confdefs.h <<\_ACEOF |
698dcdb6 | 33199 | #define wxUSE_IMAGE 1 |
e6cc62c6 | 33200 | _ACEOF |
698dcdb6 | 33201 | |
698dcdb6 | 33202 | |
e46d2a18 VS |
33203 | if test "$wxUSE_GIF" = "yes" ; then |
33204 | cat >>confdefs.h <<\_ACEOF | |
698dcdb6 | 33205 | #define wxUSE_GIF 1 |
e6cc62c6 | 33206 | _ACEOF |
698dcdb6 | 33207 | |
e46d2a18 | 33208 | fi |
698dcdb6 | 33209 | |
e46d2a18 VS |
33210 | if test "$wxUSE_PCX" = "yes" ; then |
33211 | cat >>confdefs.h <<\_ACEOF | |
698dcdb6 | 33212 | #define wxUSE_PCX 1 |
e6cc62c6 | 33213 | _ACEOF |
698dcdb6 | 33214 | |
e46d2a18 | 33215 | fi |
698dcdb6 | 33216 | |
e46d2a18 VS |
33217 | if test "$wxUSE_IFF" = "yes" ; then |
33218 | cat >>confdefs.h <<\_ACEOF | |
4b6b4dfc | 33219 | #define wxUSE_IFF 1 |
e6cc62c6 | 33220 | _ACEOF |
4b6b4dfc | 33221 | |
e46d2a18 | 33222 | fi |
4b6b4dfc | 33223 | |
e46d2a18 VS |
33224 | if test "$wxUSE_PNM" = "yes" ; then |
33225 | cat >>confdefs.h <<\_ACEOF | |
698dcdb6 | 33226 | #define wxUSE_PNM 1 |
e6cc62c6 | 33227 | _ACEOF |
698dcdb6 | 33228 | |
e46d2a18 | 33229 | fi |
698dcdb6 | 33230 | |
e46d2a18 VS |
33231 | if test "$wxUSE_XPM" = "yes" ; then |
33232 | cat >>confdefs.h <<\_ACEOF | |
698dcdb6 | 33233 | #define wxUSE_XPM 1 |
e6cc62c6 | 33234 | _ACEOF |
698dcdb6 | 33235 | |
e46d2a18 | 33236 | fi |
698dcdb6 | 33237 | |
e46d2a18 VS |
33238 | if test "$wxUSE_ICO_CUR" = "yes" ; then |
33239 | cat >>confdefs.h <<\_ACEOF | |
658974ae | 33240 | #define wxUSE_ICO_CUR 1 |
e6cc62c6 | 33241 | _ACEOF |
658974ae | 33242 | |
e46d2a18 | 33243 | fi |
a72a4bfa VS |
33244 | fi |
33245 | ||
8284b0c5 | 33246 | |
1e6feb95 | 33247 | if test "$wxUSE_CHOICEDLG" = "yes"; then |
e6cc62c6 | 33248 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33249 | #define wxUSE_CHOICEDLG 1 |
e6cc62c6 | 33250 | _ACEOF |
1e6feb95 VZ |
33251 | |
33252 | fi | |
33253 | ||
33254 | if test "$wxUSE_COLOURDLG" = "yes"; then | |
e6cc62c6 | 33255 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33256 | #define wxUSE_COLOURDLG 1 |
e6cc62c6 | 33257 | _ACEOF |
1e6feb95 VZ |
33258 | |
33259 | fi | |
33260 | ||
33261 | if test "$wxUSE_FILEDLG" = "yes"; then | |
e6cc62c6 | 33262 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33263 | #define wxUSE_FILEDLG 1 |
e6cc62c6 | 33264 | _ACEOF |
1e6feb95 VZ |
33265 | |
33266 | fi | |
33267 | ||
8db37e06 | 33268 | if test "$wxUSE_FINDREPLDLG" = "yes"; then |
e6cc62c6 | 33269 | cat >>confdefs.h <<\_ACEOF |
8db37e06 | 33270 | #define wxUSE_FINDREPLDLG 1 |
e6cc62c6 | 33271 | _ACEOF |
8db37e06 VZ |
33272 | |
33273 | fi | |
33274 | ||
1e6feb95 | 33275 | if test "$wxUSE_FONTDLG" = "yes"; then |
e6cc62c6 | 33276 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33277 | #define wxUSE_FONTDLG 1 |
e6cc62c6 | 33278 | _ACEOF |
1e6feb95 VZ |
33279 | |
33280 | fi | |
33281 | ||
33282 | if test "$wxUSE_DIRDLG" = "yes"; then | |
ae1daed0 | 33283 | if test "$wxUSE_TREECTRL" != "yes"; then |
e6cc62c6 VS |
33284 | { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5 |
33285 | echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;} | |
1e6feb95 | 33286 | else |
e6cc62c6 | 33287 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33288 | #define wxUSE_DIRDLG 1 |
e6cc62c6 | 33289 | _ACEOF |
1e6feb95 | 33290 | |
1e6feb95 VZ |
33291 | fi |
33292 | fi | |
33293 | ||
33294 | if test "$wxUSE_MSGDLG" = "yes"; then | |
e6cc62c6 | 33295 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33296 | #define wxUSE_MSGDLG 1 |
e6cc62c6 | 33297 | _ACEOF |
1e6feb95 VZ |
33298 | |
33299 | fi | |
33300 | ||
33301 | if test "$wxUSE_NUMBERDLG" = "yes"; then | |
e6cc62c6 | 33302 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33303 | #define wxUSE_NUMBERDLG 1 |
e6cc62c6 | 33304 | _ACEOF |
1e6feb95 VZ |
33305 | |
33306 | fi | |
33307 | ||
33308 | if test "$wxUSE_PROGRESSDLG" = "yes"; then | |
33309 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
e6cc62c6 VS |
33310 | { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5 |
33311 | echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;} | |
1e6feb95 | 33312 | else |
e6cc62c6 | 33313 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33314 | #define wxUSE_PROGRESSDLG 1 |
e6cc62c6 | 33315 | _ACEOF |
1e6feb95 VZ |
33316 | |
33317 | fi | |
33318 | fi | |
33319 | ||
cbca9943 | 33320 | if test "$wxUSE_SPLASH" = "yes"; then |
e6cc62c6 | 33321 | cat >>confdefs.h <<\_ACEOF |
cbca9943 | 33322 | #define wxUSE_SPLASH 1 |
e6cc62c6 | 33323 | _ACEOF |
cbca9943 VZ |
33324 | |
33325 | fi | |
33326 | ||
1e6feb95 VZ |
33327 | if test "$wxUSE_STARTUP_TIPS" = "yes"; then |
33328 | if test "$wxUSE_CONSTRAINTS" != "yes"; then | |
e6cc62c6 VS |
33329 | { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5 |
33330 | echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;} | |
1e6feb95 | 33331 | else |
e6cc62c6 | 33332 | cat >>confdefs.h <<\_ACEOF |
1e6feb95 | 33333 | #define wxUSE_STARTUP_TIPS 1 |
e6cc62c6 | 33334 | _ACEOF |
1e6feb95 | 33335 | |
7b4a847f RR |
33336 | fi |
33337 | fi | |
579d8138 | 33338 | |
8284b0c5 | 33339 | if test "$wxUSE_TEXTDLG" = "yes"; then |
e6cc62c6 | 33340 | cat >>confdefs.h <<\_ACEOF |
8284b0c5 | 33341 | #define wxUSE_TEXTDLG 1 |
e6cc62c6 | 33342 | _ACEOF |
8284b0c5 MB |
33343 | |
33344 | fi | |
33345 | ||
33346 | if test "$wxUSE_WIZARDDLG" = "yes"; then | |
e6cc62c6 | 33347 | cat >>confdefs.h <<\_ACEOF |
8284b0c5 | 33348 | #define wxUSE_WIZARDDLG 1 |
e6cc62c6 | 33349 | _ACEOF |
8284b0c5 MB |
33350 | |
33351 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard" | |
33352 | fi | |
33353 | ||
33354 | ||
33355 | if test "$cross_compiling" = "yes"; then | |
33356 | OSINFO="\"$host\"" | |
33357 | else | |
33358 | OSINFO=`uname -s -r -m` | |
33359 | OSINFO="\"$OSINFO\"" | |
33360 | fi | |
33361 | ||
e6cc62c6 | 33362 | cat >>confdefs.h <<_ACEOF |
8284b0c5 | 33363 | #define WXWIN_OS_DESCRIPTION $OSINFO |
e6cc62c6 | 33364 | _ACEOF |
8284b0c5 MB |
33365 | |
33366 | ||
33367 | ||
33368 | if test "x$prefix" != "xNONE"; then | |
33369 | wxPREFIX=$prefix | |
33370 | else | |
33371 | wxPREFIX=$ac_default_prefix | |
33372 | fi | |
33373 | ||
e6cc62c6 | 33374 | cat >>confdefs.h <<_ACEOF |
8284b0c5 | 33375 | #define wxINSTALL_PREFIX "$wxPREFIX" |
e6cc62c6 | 33376 | _ACEOF |
8284b0c5 MB |
33377 | |
33378 | ||
e6cc62c6 | 33379 | top_builddir_wxconfig=`pwd` |
52c71b80 | 33380 | |
8284b0c5 MB |
33381 | |
33382 | ||
edd891e2 VS |
33383 | CORE_BASE_LIBS="net base" |
33384 | CORE_GUI_LIBS="adv core" | |
33385 | ||
33386 | if test "$wxUSE_XML" = "yes" ; then | |
33387 | CORE_BASE_LIBS="xml $CORE_BASE_LIBS" | |
33388 | fi | |
45293562 VS |
33389 | if test "$wxUSE_ODBC" != "no" ; then |
33390 | CORE_BASE_LIBS="odbc $CORE_BASE_LIBS" | |
33391 | CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS" | |
edd891e2 VS |
33392 | fi |
33393 | if test "$wxUSE_HTML" = "yes" ; then | |
33394 | CORE_GUI_LIBS="html $CORE_GUI_LIBS" | |
33395 | fi | |
33396 | ||
57e7d4ac VS |
33397 | if test "$wxUSE_GUI" != "yes"; then |
33398 | CORE_GUI_LIBS="" | |
33399 | fi | |
33400 | ||
edd891e2 VS |
33401 | |
33402 | ||
33403 | ||
33404 | ||
33405 | ||
33406 | ||
8284b0c5 MB |
33407 | |
33408 | if test "$wxUSE_MAC" = 1 ; then | |
33409 | LDFLAGS="$LDFLAGS -framework Carbon -framework System" | |
33410 | fi | |
ac0c4cc3 DE |
33411 | if test "$wxUSE_COCOA" = 1 ; then |
33412 | LDFLAGS="$LDFLAGS -framework Cocoa -framework System" | |
33413 | fi | |
8284b0c5 MB |
33414 | |
33415 | ||
2b5f62a0 VZ |
33416 | LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS" |
33417 | ||
33418 | have_cos=0 | |
33419 | have_floor=0 | |
e6cc62c6 | 33420 | |
2b5f62a0 VZ |
33421 | for ac_func in cos |
33422 | do | |
e6cc62c6 VS |
33423 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
33424 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
33425 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
33426 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
33427 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
33428 | else | |
33429 | cat >conftest.$ac_ext <<_ACEOF | |
33430 | #line $LINENO "configure" | |
33431 | /* confdefs.h. */ | |
33432 | _ACEOF | |
33433 | cat confdefs.h >>conftest.$ac_ext | |
33434 | cat >>conftest.$ac_ext <<_ACEOF | |
33435 | /* end confdefs.h. */ | |
2b5f62a0 | 33436 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
33437 | which can conflict with char $ac_func (); below. |
33438 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
33439 | <limits.h> exists even on freestanding compilers. */ | |
33440 | #ifdef __STDC__ | |
33441 | # include <limits.h> | |
33442 | #else | |
33443 | # include <assert.h> | |
33444 | #endif | |
2b5f62a0 | 33445 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
33446 | #ifdef __cplusplus |
33447 | extern "C" | |
33448 | { | |
33449 | #endif | |
2b5f62a0 | 33450 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
33451 | builtin and then its argument prototype would still apply. */ |
33452 | char $ac_func (); | |
2b5f62a0 VZ |
33453 | /* The GNU C library defines this for functions which it implements |
33454 | to always fail with ENOSYS. Some functions are actually named | |
33455 | something starting with __ and the normal name is an alias. */ | |
33456 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
33457 | choke me | |
33458 | #else | |
e6cc62c6 VS |
33459 | char (*f) () = $ac_func; |
33460 | #endif | |
33461 | #ifdef __cplusplus | |
33462 | } | |
2b5f62a0 VZ |
33463 | #endif |
33464 | ||
e6cc62c6 VS |
33465 | int |
33466 | main () | |
33467 | { | |
33468 | return f != $ac_func; | |
33469 | ; | |
33470 | return 0; | |
33471 | } | |
33472 | _ACEOF | |
33473 | rm -f conftest.$ac_objext conftest$ac_exeext | |
33474 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
33475 | (eval $ac_link) 2>&5 | |
33476 | ac_status=$? | |
33477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33478 | (exit $ac_status); } && | |
33479 | { ac_try='test -s conftest$ac_exeext' | |
33480 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
33481 | (eval $ac_try) 2>&5 | |
33482 | ac_status=$? | |
33483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33484 | (exit $ac_status); }; }; then | |
33485 | eval "$as_ac_var=yes" | |
33486 | else | |
33487 | echo "$as_me: failed program was:" >&5 | |
33488 | sed 's/^/| /' conftest.$ac_ext >&5 | |
33489 | ||
33490 | eval "$as_ac_var=no" | |
33491 | fi | |
33492 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
33493 | fi | |
33494 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
33495 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
33496 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
33497 | cat >>confdefs.h <<_ACEOF | |
33498 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
33499 | _ACEOF | |
2b5f62a0 | 33500 | have_cos=1 |
2b5f62a0 VZ |
33501 | fi |
33502 | done | |
33503 | ||
e6cc62c6 | 33504 | |
2b5f62a0 VZ |
33505 | for ac_func in floor |
33506 | do | |
e6cc62c6 VS |
33507 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
33508 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
33509 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
33510 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
33511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
33512 | else | |
33513 | cat >conftest.$ac_ext <<_ACEOF | |
33514 | #line $LINENO "configure" | |
33515 | /* confdefs.h. */ | |
33516 | _ACEOF | |
33517 | cat confdefs.h >>conftest.$ac_ext | |
33518 | cat >>conftest.$ac_ext <<_ACEOF | |
33519 | /* end confdefs.h. */ | |
2b5f62a0 | 33520 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
33521 | which can conflict with char $ac_func (); below. |
33522 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
33523 | <limits.h> exists even on freestanding compilers. */ | |
33524 | #ifdef __STDC__ | |
33525 | # include <limits.h> | |
33526 | #else | |
33527 | # include <assert.h> | |
33528 | #endif | |
2b5f62a0 | 33529 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
33530 | #ifdef __cplusplus |
33531 | extern "C" | |
33532 | { | |
33533 | #endif | |
2b5f62a0 | 33534 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
33535 | builtin and then its argument prototype would still apply. */ |
33536 | char $ac_func (); | |
2b5f62a0 VZ |
33537 | /* The GNU C library defines this for functions which it implements |
33538 | to always fail with ENOSYS. Some functions are actually named | |
33539 | something starting with __ and the normal name is an alias. */ | |
33540 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
33541 | choke me | |
33542 | #else | |
e6cc62c6 VS |
33543 | char (*f) () = $ac_func; |
33544 | #endif | |
33545 | #ifdef __cplusplus | |
33546 | } | |
2b5f62a0 VZ |
33547 | #endif |
33548 | ||
e6cc62c6 VS |
33549 | int |
33550 | main () | |
33551 | { | |
33552 | return f != $ac_func; | |
33553 | ; | |
33554 | return 0; | |
33555 | } | |
33556 | _ACEOF | |
33557 | rm -f conftest.$ac_objext conftest$ac_exeext | |
33558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
33559 | (eval $ac_link) 2>&5 | |
33560 | ac_status=$? | |
33561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33562 | (exit $ac_status); } && | |
33563 | { ac_try='test -s conftest$ac_exeext' | |
33564 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
33565 | (eval $ac_try) 2>&5 | |
33566 | ac_status=$? | |
33567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33568 | (exit $ac_status); }; }; then | |
33569 | eval "$as_ac_var=yes" | |
33570 | else | |
33571 | echo "$as_me: failed program was:" >&5 | |
33572 | sed 's/^/| /' conftest.$ac_ext >&5 | |
33573 | ||
33574 | eval "$as_ac_var=no" | |
33575 | fi | |
33576 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
33577 | fi | |
33578 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
33579 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
33580 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
33581 | cat >>confdefs.h <<_ACEOF | |
33582 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
33583 | _ACEOF | |
2b5f62a0 | 33584 | have_floor=1 |
2b5f62a0 VZ |
33585 | fi |
33586 | done | |
33587 | ||
e6cc62c6 VS |
33588 | echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5 |
33589 | echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6 | |
2b5f62a0 | 33590 | if test "$have_cos" = 1 -a "$have_floor" = 1; then |
e6cc62c6 VS |
33591 | echo "$as_me:$LINENO: result: yes" >&5 |
33592 | echo "${ECHO_T}yes" >&6 | |
2b5f62a0 | 33593 | else |
e6cc62c6 VS |
33594 | echo "$as_me:$LINENO: result: no" >&5 |
33595 | echo "${ECHO_T}no" >&6 | |
2b5f62a0 VZ |
33596 | LIBS="$LIBS -lm" |
33597 | # use different functions to avoid configure caching | |
33598 | have_sin=0 | |
33599 | have_ceil=0 | |
e6cc62c6 VS |
33600 | |
33601 | for ac_func in sin | |
2b5f62a0 | 33602 | do |
e6cc62c6 VS |
33603 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
33604 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
33605 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
33606 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
33607 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
33608 | else | |
33609 | cat >conftest.$ac_ext <<_ACEOF | |
33610 | #line $LINENO "configure" | |
33611 | /* confdefs.h. */ | |
33612 | _ACEOF | |
33613 | cat confdefs.h >>conftest.$ac_ext | |
33614 | cat >>conftest.$ac_ext <<_ACEOF | |
33615 | /* end confdefs.h. */ | |
2b5f62a0 | 33616 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
33617 | which can conflict with char $ac_func (); below. |
33618 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
33619 | <limits.h> exists even on freestanding compilers. */ | |
33620 | #ifdef __STDC__ | |
33621 | # include <limits.h> | |
33622 | #else | |
33623 | # include <assert.h> | |
33624 | #endif | |
2b5f62a0 | 33625 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
33626 | #ifdef __cplusplus |
33627 | extern "C" | |
33628 | { | |
33629 | #endif | |
2b5f62a0 | 33630 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
33631 | builtin and then its argument prototype would still apply. */ |
33632 | char $ac_func (); | |
2b5f62a0 VZ |
33633 | /* The GNU C library defines this for functions which it implements |
33634 | to always fail with ENOSYS. Some functions are actually named | |
33635 | something starting with __ and the normal name is an alias. */ | |
33636 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
33637 | choke me | |
33638 | #else | |
e6cc62c6 VS |
33639 | char (*f) () = $ac_func; |
33640 | #endif | |
33641 | #ifdef __cplusplus | |
33642 | } | |
2b5f62a0 VZ |
33643 | #endif |
33644 | ||
e6cc62c6 VS |
33645 | int |
33646 | main () | |
33647 | { | |
33648 | return f != $ac_func; | |
33649 | ; | |
33650 | return 0; | |
33651 | } | |
33652 | _ACEOF | |
33653 | rm -f conftest.$ac_objext conftest$ac_exeext | |
33654 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
33655 | (eval $ac_link) 2>&5 | |
33656 | ac_status=$? | |
33657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33658 | (exit $ac_status); } && | |
33659 | { ac_try='test -s conftest$ac_exeext' | |
33660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
33661 | (eval $ac_try) 2>&5 | |
33662 | ac_status=$? | |
33663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33664 | (exit $ac_status); }; }; then | |
33665 | eval "$as_ac_var=yes" | |
33666 | else | |
33667 | echo "$as_me: failed program was:" >&5 | |
33668 | sed 's/^/| /' conftest.$ac_ext >&5 | |
33669 | ||
33670 | eval "$as_ac_var=no" | |
33671 | fi | |
33672 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
33673 | fi | |
33674 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
33675 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
33676 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
33677 | cat >>confdefs.h <<_ACEOF | |
33678 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
33679 | _ACEOF | |
2b5f62a0 | 33680 | have_sin=1 |
2b5f62a0 VZ |
33681 | fi |
33682 | done | |
33683 | ||
e6cc62c6 VS |
33684 | |
33685 | for ac_func in ceil | |
2b5f62a0 | 33686 | do |
e6cc62c6 VS |
33687 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
33688 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
33689 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
33690 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
33691 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
33692 | else | |
33693 | cat >conftest.$ac_ext <<_ACEOF | |
33694 | #line $LINENO "configure" | |
33695 | /* confdefs.h. */ | |
33696 | _ACEOF | |
33697 | cat confdefs.h >>conftest.$ac_ext | |
33698 | cat >>conftest.$ac_ext <<_ACEOF | |
33699 | /* end confdefs.h. */ | |
2b5f62a0 | 33700 | /* System header to define __stub macros and hopefully few prototypes, |
e6cc62c6 VS |
33701 | which can conflict with char $ac_func (); below. |
33702 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
33703 | <limits.h> exists even on freestanding compilers. */ | |
33704 | #ifdef __STDC__ | |
33705 | # include <limits.h> | |
33706 | #else | |
33707 | # include <assert.h> | |
33708 | #endif | |
2b5f62a0 | 33709 | /* Override any gcc2 internal prototype to avoid an error. */ |
e6cc62c6 VS |
33710 | #ifdef __cplusplus |
33711 | extern "C" | |
33712 | { | |
33713 | #endif | |
2b5f62a0 | 33714 | /* We use char because int might match the return type of a gcc2 |
e6cc62c6 VS |
33715 | builtin and then its argument prototype would still apply. */ |
33716 | char $ac_func (); | |
2b5f62a0 VZ |
33717 | /* The GNU C library defines this for functions which it implements |
33718 | to always fail with ENOSYS. Some functions are actually named | |
33719 | something starting with __ and the normal name is an alias. */ | |
33720 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
33721 | choke me | |
33722 | #else | |
e6cc62c6 VS |
33723 | char (*f) () = $ac_func; |
33724 | #endif | |
33725 | #ifdef __cplusplus | |
33726 | } | |
2b5f62a0 VZ |
33727 | #endif |
33728 | ||
e6cc62c6 VS |
33729 | int |
33730 | main () | |
33731 | { | |
33732 | return f != $ac_func; | |
33733 | ; | |
33734 | return 0; | |
33735 | } | |
33736 | _ACEOF | |
33737 | rm -f conftest.$ac_objext conftest$ac_exeext | |
33738 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
33739 | (eval $ac_link) 2>&5 | |
33740 | ac_status=$? | |
33741 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33742 | (exit $ac_status); } && | |
33743 | { ac_try='test -s conftest$ac_exeext' | |
33744 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
33745 | (eval $ac_try) 2>&5 | |
33746 | ac_status=$? | |
33747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
33748 | (exit $ac_status); }; }; then | |
33749 | eval "$as_ac_var=yes" | |
33750 | else | |
33751 | echo "$as_me: failed program was:" >&5 | |
33752 | sed 's/^/| /' conftest.$ac_ext >&5 | |
33753 | ||
33754 | eval "$as_ac_var=no" | |
33755 | fi | |
33756 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
33757 | fi | |
33758 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
33759 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
33760 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
33761 | cat >>confdefs.h <<_ACEOF | |
33762 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
33763 | _ACEOF | |
2b5f62a0 | 33764 | have_ceil=1 |
2b5f62a0 VZ |
33765 | fi |
33766 | done | |
33767 | ||
e6cc62c6 VS |
33768 | echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5 |
33769 | echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6 | |
2b5f62a0 | 33770 | if test "$have_sin" = 1 -a "$have_ceil" = 1; then |
e6cc62c6 VS |
33771 | echo "$as_me:$LINENO: result: yes" >&5 |
33772 | echo "${ECHO_T}yes" >&6 | |
2b5f62a0 | 33773 | else |
e6cc62c6 VS |
33774 | echo "$as_me:$LINENO: result: no" >&5 |
33775 | echo "${ECHO_T}no" >&6 | |
2b5f62a0 VZ |
33776 | # not sure we should warn the user, crash, etc. |
33777 | fi | |
33778 | fi | |
8284b0c5 MB |
33779 | |
33780 | if test "$wxUSE_GUI" = "yes"; then | |
33781 | ||
e6cc62c6 | 33782 | |
8284b0c5 MB |
33783 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \ |
33784 | drawing dynamic erase event exec font image \ | |
1dd02ac0 | 33785 | minimal propsize rotate shaped widgets render" |
b625909c VS |
33786 | |
33787 | if test "$wxUSE_MONOLITHIC" != "yes"; then | |
33788 | SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console" | |
33789 | fi | |
8284b0c5 MB |
33790 | else |
33791 | SAMPLES_SUBDIRS="console" | |
33792 | fi | |
33793 | ||
33794 | ||
e6cc62c6 | 33795 | INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \ |
8284b0c5 MB |
33796 | -I\${top_srcdir}/include \ |
33797 | $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \ | |
33798 | $TOOLKIT_INCLUDE" | |
33799 | ||
fddeb06b VS |
33800 | if test "$GXX" = yes ; then |
33801 | CXXWARNINGS="-Wall" | |
33802 | fi | |
33803 | ||
33804 | EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE" | |
33805 | ||
95318f7d | 33806 | CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'` |
fddeb06b VS |
33807 | CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'` |
33808 | CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'` | |
c74dc163 VS |
33809 | |
33810 | ||
fddeb06b | 33811 | LIBS=`echo $LIBS | sed 's/ \+/ /g'` |
c74dc163 | 33812 | EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS" |
672abd7a | 33813 | EXTRALIBS_XML="$EXPAT_LINK" |
bb41dcbe | 33814 | EXTRALIBS_ODBC="$ODBC_LINK" |
c74dc163 VS |
33815 | if test "$wxUSE_GUI" = "yes"; then |
33816 | EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'` | |
33817 | fi | |
34b08d2c VS |
33818 | if test "$wxUSE_OPENGL" = "yes"; then |
33819 | EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS" | |
33820 | fi | |
fddeb06b VS |
33821 | |
33822 | LDFLAGS="$LDFLAGS $PROFILE" | |
33823 | ||
8284b0c5 MB |
33824 | if test "$wxUSE_GTK" = 1; then |
33825 | WXCONFIG_INCLUDE= | |
33826 | else | |
33827 | WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE" | |
33828 | fi | |
33829 | ||
67c13b6c VS |
33830 | WXCONFIG_EXTRALIBS="$LIBS" |
33831 | ||
33832 | if test "$wxUSE_REGEX" = "builtin" ; then | |
33833 | wxconfig_3rdparty="$wxconfig_3rdparty regex" | |
33834 | fi | |
33835 | if test "$wxUSE_EXPAT" = "builtin" ; then | |
33836 | wxconfig_3rdparty="$wxconfig_3rdparty expat" | |
33837 | fi | |
33838 | if test "$wxUSE_ODBC" = "builtin" ; then | |
33839 | wxconfig_3rdparty="$wxconfig_3rdparty odbc" | |
33840 | fi | |
33841 | if test "$wxUSE_LIBTIFF" = "builtin" ; then | |
33842 | wxconfig_3rdparty="$wxconfig_3rdparty tiff" | |
33843 | fi | |
33844 | if test "$wxUSE_LIBJPEG" = "builtin" ; then | |
33845 | wxconfig_3rdparty="$wxconfig_3rdparty jpeg" | |
33846 | fi | |
33847 | if test "$wxUSE_LIBPNG" = "builtin" ; then | |
33848 | wxconfig_3rdparty="$wxconfig_3rdparty png" | |
33849 | fi | |
33850 | if test "$wxUSE_ZLIB" = "builtin" ; then | |
33851 | wxconfig_3rdparty="$wxconfig_3rdparty zlib" | |
33852 | fi | |
bb41dcbe VS |
33853 | if test "$wxUSE_ODBC" = "builtin" ; then |
33854 | wxconfig_3rdparty="$wxconfig_3rdparty odbc" | |
33855 | fi | |
67c13b6c VS |
33856 | |
33857 | for i in $wxconfig_3rdparty ; do | |
33858 | WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}" | |
33859 | done | |
33860 | ||
33861 | ||
fe0895cf VS |
33862 | if test "x$wxUSE_UNIVERSAL" = "xyes" ; then |
33863 | WXUNIV=1 | |
33864 | else | |
33865 | WXUNIV=0 | |
8284b0c5 MB |
33866 | fi |
33867 | ||
8284b0c5 MB |
33868 | |
33869 | ||
33870 | ||
33871 | ||
33872 | ||
33873 | ||
33874 | ||
672abd7a | 33875 | |
9747f85d VS |
33876 | if test $wxUSE_MONOLITHIC = "yes" ; then |
33877 | MONOLITHIC=1 | |
33878 | else | |
33879 | MONOLITHIC=0 | |
33880 | fi | |
8284b0c5 | 33881 | |
bb41dcbe VS |
33882 | if test $wxUSE_ODBC != "no" ; then |
33883 | USE_ODBC=1 | |
33884 | else | |
33885 | USE_ODBC=0 | |
33886 | fi | |
33887 | ||
029b47ad VS |
33888 | if test $wxUSE_OFFICIAL_BUILD = "yes" ; then |
33889 | OFFICIAL_BUILD=1 | |
33890 | else | |
33891 | OFFICIAL_BUILD=0 | |
33892 | fi | |
33893 | ||
8ee2dd05 VS |
33894 | |
33895 | ||
33896 | ||
8284b0c5 MB |
33897 | |
33898 | ||
33899 | ||
33900 | ||
33901 | ||
33902 | ||
c74dc163 | 33903 | |
34b08d2c | 33904 | |
672abd7a | 33905 | |
cf615ebb | 33906 | |
6c67131a VS |
33907 | |
33908 | ||
bb41dcbe | 33909 | |
fe0895cf | 33910 | TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]` |
8284b0c5 MB |
33911 | |
33912 | ||
33913 | ||
33914 | ||
33915 | ||
ea66c762 | 33916 | |
0f1bc9c2 | 33917 | |
fe0895cf | 33918 | if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then |
e6cc62c6 VS |
33919 | |
33920 | if test -n "$ac_tool_prefix"; then | |
33921 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
33922 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
33923 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
33924 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
33925 | if test "${ac_cv_prog_RANLIB+set}" = set; then | |
33926 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10f2d63a | 33927 | else |
fe0895cf VS |
33928 | if test -n "$RANLIB"; then |
33929 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
10f2d63a | 33930 | else |
e6cc62c6 VS |
33931 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
33932 | for as_dir in $PATH | |
33933 | do | |
33934 | IFS=$as_save_IFS | |
33935 | test -z "$as_dir" && as_dir=. | |
33936 | for ac_exec_ext in '' $ac_executable_extensions; do | |
33937 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
33938 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
33939 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
33940 | break 2 | |
33941 | fi | |
33942 | done | |
33943 | done | |
33944 | ||
10f2d63a | 33945 | fi |
10f2d63a | 33946 | fi |
e6cc62c6 | 33947 | RANLIB=$ac_cv_prog_RANLIB |
fe0895cf | 33948 | if test -n "$RANLIB"; then |
e6cc62c6 VS |
33949 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
33950 | echo "${ECHO_T}$RANLIB" >&6 | |
33951 | else | |
33952 | echo "$as_me:$LINENO: result: no" >&5 | |
33953 | echo "${ECHO_T}no" >&6 | |
33954 | fi | |
33955 | ||
33956 | fi | |
33957 | if test -z "$ac_cv_prog_RANLIB"; then | |
33958 | ac_ct_RANLIB=$RANLIB | |
33959 | # Extract the first word of "ranlib", so it can be a program name with args. | |
33960 | set dummy ranlib; ac_word=$2 | |
33961 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
33962 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
33963 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | |
33964 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
33965 | else | |
33966 | if test -n "$ac_ct_RANLIB"; then | |
33967 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
33968 | else | |
33969 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
33970 | for as_dir in $PATH | |
33971 | do | |
33972 | IFS=$as_save_IFS | |
33973 | test -z "$as_dir" && as_dir=. | |
33974 | for ac_exec_ext in '' $ac_executable_extensions; do | |
33975 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
33976 | ac_cv_prog_ac_ct_RANLIB="ranlib" | |
33977 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
33978 | break 2 | |
33979 | fi | |
33980 | done | |
33981 | done | |
33982 | ||
33983 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | |
33984 | fi | |
33985 | fi | |
33986 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
33987 | if test -n "$ac_ct_RANLIB"; then | |
33988 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | |
33989 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | |
10f2d63a | 33990 | else |
e6cc62c6 VS |
33991 | echo "$as_me:$LINENO: result: no" >&5 |
33992 | echo "${ECHO_T}no" >&6 | |
33993 | fi | |
33994 | ||
33995 | RANLIB=$ac_ct_RANLIB | |
33996 | else | |
33997 | RANLIB="$ac_cv_prog_RANLIB" | |
00cf1208 | 33998 | fi |
665bbe97 | 33999 | |
fe0895cf VS |
34000 | # Find a good install program. We prefer a C program (faster), |
34001 | # so one script is as good as another. But avoid the broken or | |
34002 | # incompatible versions: | |
34003 | # SysV /etc/install, /usr/sbin/install | |
34004 | # SunOS /usr/etc/install | |
34005 | # IRIX /sbin/install | |
34006 | # AIX /bin/install | |
e6cc62c6 | 34007 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
fe0895cf VS |
34008 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
34009 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
34010 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
34011 | # ./install, which can be erroneously created by make from ./install.sh. | |
e6cc62c6 VS |
34012 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
34013 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | |
fe0895cf | 34014 | if test -z "$INSTALL"; then |
e6cc62c6 VS |
34015 | if test "${ac_cv_path_install+set}" = set; then |
34016 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34017 | else | |
34018 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
34019 | for as_dir in $PATH | |
34020 | do | |
34021 | IFS=$as_save_IFS | |
34022 | test -z "$as_dir" && as_dir=. | |
34023 | # Account for people who put trailing slashes in PATH elements. | |
34024 | case $as_dir/ in | |
34025 | ./ | .// | /cC/* | \ | |
34026 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
34027 | /usr/ucb/* ) ;; | |
34028 | *) | |
34029 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
34030 | # Don't use installbsd from OSF since it installs stuff as root | |
34031 | # by default. | |
34032 | for ac_prog in ginstall scoinst install; do | |
34033 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34034 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
34035 | if test $ac_prog = install && | |
34036 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
34037 | # AIX install. It has an incompatible calling convention. | |
34038 | : | |
34039 | elif test $ac_prog = install && | |
34040 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
34041 | # program-specific install script used by HP pwplus--don't use. | |
34042 | : | |
34043 | else | |
34044 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
34045 | break 3 | |
34046 | fi | |
34047 | fi | |
fe0895cf | 34048 | done |
e6cc62c6 VS |
34049 | done |
34050 | ;; | |
34051 | esac | |
34052 | done | |
34053 | ||
fe0895cf VS |
34054 | |
34055 | fi | |
34056 | if test "${ac_cv_path_install+set}" = set; then | |
e6cc62c6 | 34057 | INSTALL=$ac_cv_path_install |
fe0895cf VS |
34058 | else |
34059 | # As a last resort, use the slow shell script. We don't cache a | |
34060 | # path for INSTALL within a source directory, because that will | |
34061 | # break other packages using the cache if that directory is | |
34062 | # removed, or if the path is relative. | |
e6cc62c6 | 34063 | INSTALL=$ac_install_sh |
fe0895cf VS |
34064 | fi |
34065 | fi | |
e6cc62c6 VS |
34066 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
34067 | echo "${ECHO_T}$INSTALL" >&6 | |
fe0895cf VS |
34068 | |
34069 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
34070 | # It thinks the first close brace ends the variable substitution. | |
34071 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
34072 | ||
e6cc62c6 | 34073 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
fe0895cf VS |
34074 | |
34075 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
34076 | ||
e6cc62c6 VS |
34077 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
34078 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | |
34079 | LN_S=$as_ln_s | |
34080 | if test "$LN_S" = "ln -s"; then | |
34081 | echo "$as_me:$LINENO: result: yes" >&5 | |
34082 | echo "${ECHO_T}yes" >&6 | |
fe0895cf | 34083 | else |
e6cc62c6 VS |
34084 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
34085 | echo "${ECHO_T}no, using $LN_S" >&6 | |
fe0895cf VS |
34086 | fi |
34087 | ||
34088 | ||
e6cc62c6 VS |
34089 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
34090 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | |
34091 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | |
34092 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | |
34093 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf | 34094 | else |
e6cc62c6 | 34095 | cat >conftest.make <<\_ACEOF |
fe0895cf | 34096 | all: |
e6cc62c6 VS |
34097 | @echo 'ac_maketemp="$(MAKE)"' |
34098 | _ACEOF | |
fe0895cf | 34099 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
e6cc62c6 | 34100 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
fe0895cf VS |
34101 | if test -n "$ac_maketemp"; then |
34102 | eval ac_cv_prog_make_${ac_make}_set=yes | |
34103 | else | |
34104 | eval ac_cv_prog_make_${ac_make}_set=no | |
34105 | fi | |
e6cc62c6 | 34106 | rm -f conftest.make |
fe0895cf VS |
34107 | fi |
34108 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
e6cc62c6 VS |
34109 | echo "$as_me:$LINENO: result: yes" >&5 |
34110 | echo "${ECHO_T}yes" >&6 | |
fe0895cf VS |
34111 | SET_MAKE= |
34112 | else | |
e6cc62c6 VS |
34113 | echo "$as_me:$LINENO: result: no" >&5 |
34114 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
34115 | SET_MAKE="MAKE=${MAKE-make}" |
34116 | fi | |
34117 | ||
e6cc62c6 VS |
34118 | |
34119 | ||
874d12cf VS |
34120 | if test -n "$ac_tool_prefix"; then |
34121 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | |
34122 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | |
e6cc62c6 VS |
34123 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
34124 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34125 | if test "${ac_cv_prog_AR+set}" = set; then | |
34126 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf VS |
34127 | else |
34128 | if test -n "$AR"; then | |
34129 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
34130 | else | |
e6cc62c6 VS |
34131 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
34132 | for as_dir in $PATH | |
34133 | do | |
34134 | IFS=$as_save_IFS | |
34135 | test -z "$as_dir" && as_dir=. | |
34136 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34137 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
874d12cf | 34138 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
e6cc62c6 VS |
34139 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
34140 | break 2 | |
34141 | fi | |
34142 | done | |
34143 | done | |
34144 | ||
fe0895cf VS |
34145 | fi |
34146 | fi | |
e6cc62c6 | 34147 | AR=$ac_cv_prog_AR |
fe0895cf | 34148 | if test -n "$AR"; then |
e6cc62c6 VS |
34149 | echo "$as_me:$LINENO: result: $AR" >&5 |
34150 | echo "${ECHO_T}$AR" >&6 | |
fe0895cf | 34151 | else |
e6cc62c6 VS |
34152 | echo "$as_me:$LINENO: result: no" >&5 |
34153 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
34154 | fi |
34155 | ||
874d12cf VS |
34156 | fi |
34157 | if test -z "$ac_cv_prog_AR"; then | |
34158 | ac_ct_AR=$AR | |
34159 | # Extract the first word of "ar", so it can be a program name with args. | |
34160 | set dummy ar; ac_word=$2 | |
34161 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
34162 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34163 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then | |
34164 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34165 | else | |
34166 | if test -n "$ac_ct_AR"; then | |
34167 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | |
34168 | else | |
34169 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
34170 | for as_dir in $PATH | |
34171 | do | |
34172 | IFS=$as_save_IFS | |
34173 | test -z "$as_dir" && as_dir=. | |
34174 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34175 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
34176 | ac_cv_prog_ac_ct_AR="ar" | |
34177 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
34178 | break 2 | |
34179 | fi | |
34180 | done | |
34181 | done | |
34182 | ||
34183 | test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar" | |
34184 | fi | |
34185 | fi | |
34186 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | |
34187 | if test -n "$ac_ct_AR"; then | |
34188 | echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 | |
34189 | echo "${ECHO_T}$ac_ct_AR" >&6 | |
34190 | else | |
34191 | echo "$as_me:$LINENO: result: no" >&5 | |
34192 | echo "${ECHO_T}no" >&6 | |
34193 | fi | |
34194 | ||
34195 | AR=$ac_ct_AR | |
34196 | else | |
34197 | AR="$ac_cv_prog_AR" | |
34198 | fi | |
34199 | ||
34200 | if test -n "$ac_tool_prefix"; then | |
34201 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
34202 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
e6cc62c6 VS |
34203 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
34204 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34205 | if test "${ac_cv_prog_STRIP+set}" = set; then | |
34206 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf VS |
34207 | else |
34208 | if test -n "$STRIP"; then | |
34209 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
34210 | else | |
e6cc62c6 VS |
34211 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
34212 | for as_dir in $PATH | |
34213 | do | |
34214 | IFS=$as_save_IFS | |
34215 | test -z "$as_dir" && as_dir=. | |
34216 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34217 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
874d12cf | 34218 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
e6cc62c6 VS |
34219 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
34220 | break 2 | |
34221 | fi | |
34222 | done | |
34223 | done | |
34224 | ||
fe0895cf VS |
34225 | fi |
34226 | fi | |
e6cc62c6 | 34227 | STRIP=$ac_cv_prog_STRIP |
fe0895cf | 34228 | if test -n "$STRIP"; then |
e6cc62c6 VS |
34229 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
34230 | echo "${ECHO_T}$STRIP" >&6 | |
fe0895cf | 34231 | else |
e6cc62c6 VS |
34232 | echo "$as_me:$LINENO: result: no" >&5 |
34233 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
34234 | fi |
34235 | ||
874d12cf VS |
34236 | fi |
34237 | if test -z "$ac_cv_prog_STRIP"; then | |
34238 | ac_ct_STRIP=$STRIP | |
34239 | # Extract the first word of "strip", so it can be a program name with args. | |
34240 | set dummy strip; ac_word=$2 | |
34241 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
34242 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34243 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
34244 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34245 | else | |
34246 | if test -n "$ac_ct_STRIP"; then | |
34247 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
34248 | else | |
34249 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
34250 | for as_dir in $PATH | |
34251 | do | |
34252 | IFS=$as_save_IFS | |
34253 | test -z "$as_dir" && as_dir=. | |
34254 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34255 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
34256 | ac_cv_prog_ac_ct_STRIP="strip" | |
34257 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
34258 | break 2 | |
34259 | fi | |
34260 | done | |
34261 | done | |
34262 | ||
34263 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | |
34264 | fi | |
34265 | fi | |
34266 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
34267 | if test -n "$ac_ct_STRIP"; then | |
34268 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
34269 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | |
34270 | else | |
34271 | echo "$as_me:$LINENO: result: no" >&5 | |
34272 | echo "${ECHO_T}no" >&6 | |
34273 | fi | |
34274 | ||
34275 | STRIP=$ac_ct_STRIP | |
34276 | else | |
34277 | STRIP="$ac_cv_prog_STRIP" | |
34278 | fi | |
34279 | ||
34280 | if test -n "$ac_tool_prefix"; then | |
34281 | # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. | |
34282 | set dummy ${ac_tool_prefix}nm; ac_word=$2 | |
34283 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
34284 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34285 | if test "${ac_cv_prog_NM+set}" = set; then | |
34286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34287 | else | |
34288 | if test -n "$NM"; then | |
34289 | ac_cv_prog_NM="$NM" # Let the user override the test. | |
34290 | else | |
34291 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
34292 | for as_dir in $PATH | |
34293 | do | |
34294 | IFS=$as_save_IFS | |
34295 | test -z "$as_dir" && as_dir=. | |
34296 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34297 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
34298 | ac_cv_prog_NM="${ac_tool_prefix}nm" | |
34299 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
34300 | break 2 | |
34301 | fi | |
34302 | done | |
34303 | done | |
34304 | ||
34305 | fi | |
34306 | fi | |
34307 | NM=$ac_cv_prog_NM | |
34308 | if test -n "$NM"; then | |
34309 | echo "$as_me:$LINENO: result: $NM" >&5 | |
34310 | echo "${ECHO_T}$NM" >&6 | |
34311 | else | |
34312 | echo "$as_me:$LINENO: result: no" >&5 | |
34313 | echo "${ECHO_T}no" >&6 | |
34314 | fi | |
34315 | ||
34316 | fi | |
34317 | if test -z "$ac_cv_prog_NM"; then | |
34318 | ac_ct_NM=$NM | |
34319 | # Extract the first word of "nm", so it can be a program name with args. | |
34320 | set dummy nm; ac_word=$2 | |
34321 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
34322 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34323 | if test "${ac_cv_prog_ac_ct_NM+set}" = set; then | |
34324 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34325 | else | |
34326 | if test -n "$ac_ct_NM"; then | |
34327 | ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. | |
34328 | else | |
34329 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
34330 | for as_dir in $PATH | |
34331 | do | |
34332 | IFS=$as_save_IFS | |
34333 | test -z "$as_dir" && as_dir=. | |
34334 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34335 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
34336 | ac_cv_prog_ac_ct_NM="nm" | |
34337 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
34338 | break 2 | |
34339 | fi | |
34340 | done | |
34341 | done | |
34342 | ||
34343 | test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":" | |
34344 | fi | |
34345 | fi | |
34346 | ac_ct_NM=$ac_cv_prog_ac_ct_NM | |
34347 | if test -n "$ac_ct_NM"; then | |
34348 | echo "$as_me:$LINENO: result: $ac_ct_NM" >&5 | |
34349 | echo "${ECHO_T}$ac_ct_NM" >&6 | |
34350 | else | |
34351 | echo "$as_me:$LINENO: result: no" >&5 | |
34352 | echo "${ECHO_T}no" >&6 | |
34353 | fi | |
34354 | ||
34355 | NM=$ac_ct_NM | |
34356 | else | |
34357 | NM="$ac_cv_prog_NM" | |
34358 | fi | |
34359 | ||
fe0895cf VS |
34360 | |
34361 | case ${host} in | |
34362 | *-hp-hpux* ) | |
34363 | INSTALL_DIR="mkdir" | |
34364 | ;; | |
34365 | *) INSTALL_DIR="$INSTALL -d" | |
34366 | ;; | |
34367 | esac | |
e6cc62c6 | 34368 | |
fe0895cf | 34369 | |
6b9d41a5 VS |
34370 | LDFLAGS_GUI= |
34371 | case ${host} in | |
34372 | *-*-cygwin* | *-*-mingw32* ) | |
34373 | LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows" | |
34374 | esac | |
34375 | ||
34376 | ||
fe0895cf | 34377 | fi |
e6cc62c6 VS |
34378 | |
34379 | echo "$as_me:$LINENO: checking if make is GNU make" >&5 | |
34380 | echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6 | |
49b0a3aa | 34381 | if test "${bakefile_cv_prog_makeisgnu+set}" = set; then |
e6cc62c6 | 34382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
fe0895cf | 34383 | else |
e6cc62c6 | 34384 | |
fe0895cf VS |
34385 | if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | |
34386 | egrep -s GNU > /dev/null); then | |
34387 | bakefile_cv_prog_makeisgnu="yes" | |
34388 | else | |
34389 | bakefile_cv_prog_makeisgnu="no" | |
34390 | fi | |
fe0895cf | 34391 | |
e6cc62c6 | 34392 | fi |
49b0a3aa VS |
34393 | echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5 |
34394 | echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6 | |
fe0895cf VS |
34395 | |
34396 | if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then | |
34397 | IF_GNU_MAKE="" | |
34398 | else | |
34399 | IF_GNU_MAKE="#" | |
34400 | fi | |
fe0895cf | 34401 | |
e6cc62c6 VS |
34402 | |
34403 | ||
fe0895cf VS |
34404 | PLATFORM_UNIX=0 |
34405 | PLATFORM_WIN32=0 | |
34406 | PLATFORM_MSDOS=0 | |
34407 | PLATFORM_MAC=0 | |
34408 | PLATFORM_MACOSX=0 | |
96c1699d | 34409 | PLATFORM_OS2=0 |
e6cc62c6 | 34410 | |
fe0895cf VS |
34411 | case "${host}" in |
34412 | *-*-cygwin* | *-*-mingw32* ) | |
34413 | PLATFORM_WIN32=1 | |
34414 | ;; | |
96c1699d | 34415 | *-pc-msdosdjgpp ) |
fe0895cf VS |
34416 | PLATFORM_MSDOS=1 |
34417 | ;; | |
96c1699d VS |
34418 | *-pc-os2_emx | *-pc-os2-emx ) |
34419 | PLATFORM_OS2=1 | |
34420 | ;; | |
fe0895cf VS |
34421 | powerpc-*-darwin* ) |
34422 | PLATFORM_MAC=1 | |
34423 | PLATFORM_MACOSX=1 | |
34424 | ;; | |
34425 | * ) | |
34426 | PLATFORM_UNIX=1 | |
34427 | ;; | |
34428 | esac | |
34429 | ||
fe0895cf | 34430 | |
e6cc62c6 VS |
34431 | |
34432 | ||
34433 | ||
34434 | ||
34435 | ||
34436 | ||
96c1699d | 34437 | |
fe0895cf | 34438 | SO_SUFFIX="so" |
131f235d | 34439 | SO_SUFFIX_MODULE="so" |
fe0895cf | 34440 | EXEEXT="" |
4b1f6360 | 34441 | LIBPREFIX=lib |
fe0895cf | 34442 | DLLPREFIX=lib |
131f235d | 34443 | DLLPREFIX_MODULE= |
e6cc62c6 | 34444 | |
fe0895cf VS |
34445 | case "${host}" in |
34446 | *-hp-hpux* ) | |
34447 | SO_SUFFIX="sl" | |
131f235d | 34448 | SO_SUFFIX_MODULE="sl" |
fe0895cf VS |
34449 | ;; |
34450 | *-*-aix* ) | |
34451 | SO_SUFFIX="a" | |
131f235d | 34452 | SO_SUFFIX_MODULE="a" |
fe0895cf VS |
34453 | ;; |
34454 | *-*-cygwin* | *-*-mingw32* ) | |
34455 | SO_SUFFIX="dll" | |
131f235d | 34456 | SO_SUFFIX_MODULE="dll" |
fe0895cf VS |
34457 | EXEEXT=".exe" |
34458 | DLLPREFIX="" | |
34459 | ;; | |
4b1f6360 VS |
34460 | *-pc-msdosdjgpp ) |
34461 | EXEEXT=".exe" | |
34462 | DLLPREFIX="" | |
34463 | ;; | |
34464 | *-pc-os2_emx | *-pc-os2-emx ) | |
fe0895cf VS |
34465 | EXEEXT=".exe" |
34466 | DLLPREFIX="" | |
4b1f6360 | 34467 | LIBPREFIX="" |
fe0895cf VS |
34468 | ;; |
34469 | powerpc-*-darwin* ) | |
34470 | SO_SUFFIX="dylib" | |
131f235d | 34471 | SO_SUFFIX_MODULE="bundle" |
fe0895cf VS |
34472 | ;; |
34473 | esac | |
34474 | ||
fe0895cf | 34475 | |
e6cc62c6 VS |
34476 | |
34477 | ||
34478 | ||
34479 | ||
131f235d VS |
34480 | |
34481 | ||
4b1f6360 | 34482 | |
fe0895cf VS |
34483 | SHARED_LD_CC="\$(CC) -shared -o" |
34484 | SHARED_LD_CXX="\$(CXX) -shared -o" | |
34485 | ||
34486 | if test "x$GCC" = "xyes"; then | |
34487 | PIC_FLAG="-fPIC" | |
34488 | fi | |
34489 | ||
34490 | case "${host}" in | |
34491 | *-hp-hpux* ) | |
34492 | if test "x$GCC" = "xyes"; then | |
34493 | SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o" | |
34494 | SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o" | |
34495 | else | |
34496 | LDFLAGS="$LDFLAGS -L/usr/lib" | |
34497 | ||
34498 | SHARED_LD_CC="${CC} -b -o" | |
34499 | SHARED_LD_CXX="${CXX} -b -o" | |
34500 | PIC_FLAG="+Z" | |
34501 | fi | |
34502 | ;; | |
34503 | ||
34504 | *-*-linux* ) | |
34505 | if test "x$GCC" != "xyes"; then | |
e6cc62c6 VS |
34506 | echo "$as_me:$LINENO: checking for Intel compiler" >&5 |
34507 | echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6 | |
34508 | if test "${bakefile_cv_prog_icc+set}" = set; then | |
34509 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf | 34510 | else |
fe0895cf | 34511 | |
e6cc62c6 VS |
34512 | cat >conftest.$ac_ext <<_ACEOF |
34513 | #line $LINENO "configure" | |
34514 | /* confdefs.h. */ | |
34515 | _ACEOF | |
34516 | cat confdefs.h >>conftest.$ac_ext | |
34517 | cat >>conftest.$ac_ext <<_ACEOF | |
34518 | /* end confdefs.h. */ | |
34519 | ||
34520 | int | |
34521 | main () | |
34522 | { | |
fe0895cf VS |
34523 | |
34524 | #ifndef __INTEL_COMPILER | |
34525 | #error Not icc | |
34526 | #endif | |
e6cc62c6 VS |
34527 | |
34528 | ; | |
34529 | return 0; | |
34530 | } | |
34531 | _ACEOF | |
34532 | rm -f conftest.$ac_objext | |
34533 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
34534 | (eval $ac_compile) 2>&5 | |
34535 | ac_status=$? | |
34536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
34537 | (exit $ac_status); } && | |
34538 | { ac_try='test -s conftest.$ac_objext' | |
34539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
34540 | (eval $ac_try) 2>&5 | |
34541 | ac_status=$? | |
34542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
34543 | (exit $ac_status); }; }; then | |
fe0895cf VS |
34544 | bakefile_cv_prog_icc=yes |
34545 | else | |
e6cc62c6 VS |
34546 | echo "$as_me: failed program was:" >&5 |
34547 | sed 's/^/| /' conftest.$ac_ext >&5 | |
34548 | ||
34549 | bakefile_cv_prog_icc=no | |
34550 | ||
fe0895cf | 34551 | fi |
e6cc62c6 | 34552 | rm -f conftest.$ac_objext conftest.$ac_ext |
fe0895cf | 34553 | |
e6cc62c6 VS |
34554 | fi |
34555 | echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5 | |
34556 | echo "${ECHO_T}$bakefile_cv_prog_icc" >&6 | |
fe0895cf VS |
34557 | if test "$bakefile_cv_prog_icc" = "yes"; then |
34558 | PIC_FLAG="-KPIC" | |
34559 | fi | |
34560 | fi | |
34561 | ;; | |
34562 | ||
34563 | *-*-solaris2* ) | |
34564 | if test "x$GCC" != xyes ; then | |
34565 | SHARED_LD_CC="${CC} -G -o" | |
34566 | SHARED_LD_CXX="${CXX} -G -o" | |
34567 | PIC_FLAG="-KPIC" | |
34568 | fi | |
34569 | ;; | |
34570 | ||
34571 | *-*-darwin* ) | |
34572 | CFLAGS="$CFLAGS -fno-common" | |
34573 | CXXFLAGS="$CXXFLAGS -fno-common" | |
e6cc62c6 VS |
34574 | |
34575 | ||
2a879853 | 34576 | echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5 |
43948499 RD |
34577 | echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6 |
34578 | if test "${wx_cv_gcc31+set}" = set; then | |
34579 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34580 | else | |
34581 | ||
2a879853 | 34582 | cat >conftest.$ac_ext <<_ACEOF |
43948499 RD |
34583 | #line $LINENO "configure" |
34584 | /* confdefs.h. */ | |
34585 | _ACEOF | |
34586 | cat confdefs.h >>conftest.$ac_ext | |
34587 | cat >>conftest.$ac_ext <<_ACEOF | |
34588 | /* end confdefs.h. */ | |
34589 | ||
34590 | int | |
34591 | main () | |
34592 | { | |
34593 | ||
2a879853 VS |
34594 | #if (__GNUC__ < 3) || \ |
34595 | ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1)) | |
34596 | #error old gcc | |
34597 | #endif | |
43948499 RD |
34598 | |
34599 | ; | |
34600 | return 0; | |
34601 | } | |
34602 | _ACEOF | |
34603 | rm -f conftest.$ac_objext | |
34604 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
34605 | (eval $ac_compile) 2>&5 | |
34606 | ac_status=$? | |
34607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
34608 | (exit $ac_status); } && | |
34609 | { ac_try='test -s conftest.$ac_objext' | |
34610 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
34611 | (eval $ac_try) 2>&5 | |
34612 | ac_status=$? | |
34613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
34614 | (exit $ac_status); }; }; then | |
34615 | ||
2a879853 | 34616 | wx_cv_gcc31=yes |
43948499 RD |
34617 | |
34618 | else | |
34619 | echo "$as_me: failed program was:" >&5 | |
34620 | sed 's/^/| /' conftest.$ac_ext >&5 | |
34621 | ||
34622 | ||
2a879853 | 34623 | wx_cv_gcc31=no |
43948499 RD |
34624 | |
34625 | ||
34626 | fi | |
34627 | rm -f conftest.$ac_objext conftest.$ac_ext | |
34628 | ||
34629 | fi | |
34630 | echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5 | |
34631 | echo "${ECHO_T}$wx_cv_gcc31" >&6 | |
2a879853 | 34632 | if test "$wx_cv_gcc31" = "no"; then |
43948499 | 34633 | cat <<EOF >shared-ld-sh |
fe0895cf VS |
34634 | #!/bin/sh |
34635 | #----------------------------------------------------------------------------- | |
34636 | #-- Name: distrib/mac/shared-ld-sh | |
34637 | #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X | |
34638 | #-- Author: Gilles Depeyrot | |
34639 | #-- Copyright: (c) 2002 Gilles Depeyrot | |
34640 | #-- Licence: any use permitted | |
34641 | #----------------------------------------------------------------------------- | |
34642 | ||
34643 | verbose=0 | |
34644 | args="" | |
34645 | objects="" | |
131f235d | 34646 | linking_flag="-dynamiclib" |
fe0895cf VS |
34647 | |
34648 | while test \${#} -gt 0; do | |
34649 | case \${1} in | |
34650 | ||
34651 | -v) | |
34652 | verbose=1 | |
34653 | ;; | |
34654 | ||
34655 | -o|-compatibility_version|-current_version|-framework|-undefined|-install_name) | |
34656 | # collect these options and values | |
34657 | args="\${args} \${1} \${2}" | |
34658 | shift | |
34659 | ;; | |
34660 | ||
34661 | -l*|-L*|-flat_namespace) | |
34662 | # collect these options | |
34663 | args="\${args} \${1}" | |
34664 | ;; | |
34665 | ||
131f235d VS |
34666 | -dynamiclib|-bundle) |
34667 | linking_flag="\${1}" | |
fe0895cf VS |
34668 | ;; |
34669 | ||
34670 | -*) | |
34671 | echo "shared-ld: unhandled option '\${1}'" | |
34672 | exit 1 | |
34673 | ;; | |
34674 | ||
4d264332 | 34675 | *.o | *.a | *.dylib) |
fe0895cf VS |
34676 | # collect object files |
34677 | objects="\${objects} \${1}" | |
34678 | ;; | |
34679 | ||
34680 | *) | |
34681 | echo "shared-ld: unhandled argument '\${1}'" | |
34682 | exit 1 | |
34683 | ;; | |
34684 | ||
34685 | esac | |
34686 | shift | |
34687 | done | |
34688 | ||
34689 | # | |
34690 | # Link one module containing all the others | |
34691 | # | |
34692 | if test \${verbose} = 1; then | |
34693 | echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o" | |
34694 | fi | |
34695 | c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o | |
34696 | status=\$? | |
34697 | if test \${status} != 0; then | |
34698 | exit \${status} | |
34699 | fi | |
34700 | ||
34701 | # | |
34702 | # Link the shared library from the single module created | |
34703 | # | |
34704 | if test \${verbose} = 1; then | |
2a879853 | 34705 | echo "cc \${linking_flag} master.\$\$.o \${args}" |
fe0895cf | 34706 | fi |
131f235d | 34707 | c++ \${linking_flag} master.\$\$.o \${args} |
fe0895cf VS |
34708 | status=\$? |
34709 | if test \${status} != 0; then | |
34710 | exit \${status} | |
34711 | fi | |
34712 | ||
34713 | # | |
34714 | # Remove intermediate module | |
34715 | # | |
34716 | rm -f master.\$\$.o | |
34717 | ||
34718 | exit 0 | |
34719 | EOF | |
43948499 | 34720 | chmod +x shared-ld-sh |
fe0895cf | 34721 | |
2a879853 VS |
34722 | SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o" |
34723 | SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o" | |
34724 | SHARED_LD_CXX="$SHARED_LD_CC" | |
34725 | SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC" | |
34726 | else | |
34727 | SHARED_LD_CC="\${CC} -dynamiclib -single_module -o" | |
34728 | SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o" | |
34729 | SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o" | |
34730 | SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o" | |
34731 | fi | |
34732 | ||
fe0895cf | 34733 | PIC_FLAG="-dynamic -fPIC" |
2a879853 | 34734 | ;; |
fe0895cf VS |
34735 | |
34736 | *-*-aix* ) | |
34737 | if test "x$GCC" != "xyes"; then | |
34738 | # Extract the first word of "makeC++SharedLib", so it can be a program name with args. | |
34739 | set dummy makeC++SharedLib; ac_word=$2 | |
e6cc62c6 VS |
34740 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
34741 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34742 | if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then | |
34743 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf VS |
34744 | else |
34745 | if test -n "$AIX_CXX_LD"; then | |
34746 | ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test. | |
34747 | else | |
e6cc62c6 VS |
34748 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
34749 | for as_dir in $PATH | |
34750 | do | |
34751 | IFS=$as_save_IFS | |
34752 | test -z "$as_dir" && as_dir=. | |
34753 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34754 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
34755 | ac_cv_prog_AIX_CXX_LD="makeC++SharedLib" | |
34756 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
34757 | break 2 | |
34758 | fi | |
34759 | done | |
34760 | done | |
34761 | ||
fe0895cf VS |
34762 | test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib" |
34763 | fi | |
34764 | fi | |
e6cc62c6 | 34765 | AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD |
fe0895cf | 34766 | if test -n "$AIX_CXX_LD"; then |
e6cc62c6 VS |
34767 | echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5 |
34768 | echo "${ECHO_T}$AIX_CXX_LD" >&6 | |
fe0895cf | 34769 | else |
e6cc62c6 VS |
34770 | echo "$as_me:$LINENO: result: no" >&5 |
34771 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
34772 | fi |
34773 | ||
34774 | SHARED_LD_CC="$AIX_CC_LD -p 0 -o" | |
34775 | SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o" | |
34776 | fi | |
34777 | ;; | |
34778 | ||
34779 | *-*-beos* ) | |
34780 | SHARED_LD_CC="${LD} -shared -o" | |
34781 | SHARED_LD_CXX="${LD} -shared -o" | |
34782 | ;; | |
34783 | ||
34784 | *-*-irix* ) | |
34785 | if test "x$GCC" != "xyes"; then | |
34786 | PIC_FLAG="-KPIC" | |
34787 | fi | |
34788 | ;; | |
e6cc62c6 | 34789 | |
fe0895cf VS |
34790 | *-*-cygwin* | *-*-mingw32* ) |
34791 | PIC_FLAG="" | |
34792 | ;; | |
e6cc62c6 | 34793 | |
fe0895cf VS |
34794 | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ |
34795 | *-*-sunos4* | \ | |
34796 | *-*-osf* | \ | |
34797 | *-*-dgux5* | \ | |
4b1f6360 | 34798 | *-pc-os2_emx | *-pc-os2-emx | \ |
fe0895cf VS |
34799 | *-*-sysv5* ) |
34800 | ;; | |
34801 | ||
34802 | *) | |
e6cc62c6 VS |
34803 | { { echo "$as_me:$LINENO: error: unknown system type $host." >&5 |
34804 | echo "$as_me: error: unknown system type $host." >&2;} | |
34805 | { (exit 1); exit 1; }; } | |
fe0895cf VS |
34806 | esac |
34807 | ||
131f235d VS |
34808 | if test "x$SHARED_LD_MODULE_CC" = "x" ; then |
34809 | SHARED_LD_MODULE_CC="$SHARED_LD_CC" | |
34810 | fi | |
34811 | if test "x$SHARED_LD_MODULE_CXX" = "x" ; then | |
239394fb | 34812 | SHARED_LD_MODULE_CXX="$SHARED_LD_CXX" |
131f235d VS |
34813 | fi |
34814 | ||
34815 | ||
34816 | ||
fe0895cf | 34817 | |
e6cc62c6 VS |
34818 | |
34819 | ||
34820 | ||
34821 | ||
fe0895cf VS |
34822 | USE_SOVERSION=0 |
34823 | USE_SOVERLINUX=0 | |
34824 | USE_SOVERSOLARIS=0 | |
34825 | USE_SOSYMLINKS=0 | |
34826 | USE_MACVERSION=0 | |
34827 | SONAME_FLAG= | |
34828 | ||
34829 | case "${host}" in | |
34830 | *-*-linux* ) | |
34831 | SONAME_FLAG="-Wl,-soname," | |
34832 | USE_SOVERSION=1 | |
34833 | USE_SOVERLINUX=1 | |
34834 | USE_SOSYMLINKS=1 | |
34835 | ;; | |
34836 | ||
34837 | *-*-solaris2* ) | |
34838 | SONAME_FLAG="-h " | |
34839 | USE_SOVERSION=1 | |
34840 | USE_SOVERSOLARIS=1 | |
34841 | USE_SOSYMLINKS=1 | |
34842 | ;; | |
34843 | ||
34844 | *-*-darwin* ) | |
34845 | USE_MACVERSION=1 | |
34846 | USE_SOVERSION=1 | |
34847 | USE_SOSYMLINKS=1 | |
e6cc62c6 | 34848 | ;; |
fe0895cf VS |
34849 | esac |
34850 | ||
fe0895cf | 34851 | |
e6cc62c6 VS |
34852 | |
34853 | ||
34854 | ||
34855 | ||
34856 | ||
34857 | ||
34858 | ||
49b0a3aa VS |
34859 | echo "$as_me:$LINENO: checking for dependency tracking method" >&5 |
34860 | echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6 | |
34861 | DEPS_TRACKING=0 | |
34862 | ||
fe0895cf | 34863 | if test "x$GCC" = "xyes"; then |
49b0a3aa VS |
34864 | DEPSMODE=gcc |
34865 | DEPS_TRACKING=1 | |
3e5c3c83 VS |
34866 | case "${host}" in |
34867 | powerpc-*-darwin* ) | |
34868 | DEPSFLAG_GCC="-no-cpp-precomp -MMD" | |
34869 | ;; | |
34870 | * ) | |
34871 | DEPSFLAG_GCC="-MMD" | |
34872 | ;; | |
34873 | esac | |
49b0a3aa VS |
34874 | echo "$as_me:$LINENO: result: gcc" >&5 |
34875 | echo "${ECHO_T}gcc" >&6 | |
34876 | else | |
34877 | echo "$as_me:$LINENO: result: none" >&5 | |
34878 | echo "${ECHO_T}none" >&6 | |
34879 | fi | |
34880 | ||
34881 | if test $DEPS_TRACKING = 1 ; then | |
34882 | cat <<EOF >bk-deps | |
34883 | #!/bin/sh | |
34884 | ||
45842500 VS |
34885 | # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf |
34886 | # script. It is used to track C/C++ files dependencies in portable way. | |
49b0a3aa VS |
34887 | # |
34888 | # Permission is given to use this file in any way. | |
34889 | ||
34890 | DEPSMODE=$DEPSMODE | |
34891 | DEPSDIR=.deps | |
3e5c3c83 | 34892 | DEPSFLAG_GCC="$DEPSFLAG_GCC" |
49b0a3aa VS |
34893 | |
34894 | mkdir -p \$DEPSDIR | |
34895 | ||
34896 | if test \$DEPSMODE = gcc ; then | |
3e5c3c83 | 34897 | \${*} \${DEPSFLAG_GCC} |
49b0a3aa VS |
34898 | status=\${?} |
34899 | if test \${status} != 0 ; then | |
34900 | exit \${status} | |
34901 | fi | |
34902 | # move created file to the location we want it in: | |
34903 | while test \${#} -gt 0; do | |
34904 | case "\${1}" in | |
34905 | -o ) | |
34906 | shift | |
34907 | objfile=\${1} | |
34908 | ;; | |
34909 | -* ) | |
34910 | ;; | |
34911 | * ) | |
34912 | srcfile=\${1} | |
34913 | ;; | |
34914 | esac | |
34915 | shift | |
34916 | done | |
34917 | depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\` | |
34918 | depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\` | |
6b9d41a5 VS |
34919 | if test -f \$depfile ; then |
34920 | sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d | |
34921 | rm -f \$depfile | |
34922 | else | |
34923 | depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\` | |
34924 | if test -f \$depfile ; then | |
4c8b7f4b | 34925 | sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d |
6b9d41a5 VS |
34926 | rm -f \$depfile |
34927 | fi | |
34928 | fi | |
49b0a3aa VS |
34929 | exit 0 |
34930 | else | |
34931 | \${*} | |
34932 | exit \${?} | |
34933 | fi | |
34934 | EOF | |
34935 | chmod +x bk-deps | |
fe0895cf | 34936 | fi |
fe0895cf | 34937 | |
e6cc62c6 VS |
34938 | |
34939 | ||
34940 | ||
fe0895cf VS |
34941 | RESCOMP= |
34942 | SETFILE= | |
34943 | ||
e6cc62c6 | 34944 | case ${host} in |
fe0895cf VS |
34945 | *-*-cygwin* | *-*-mingw32* ) |
34946 | if test "$build" != "$host" ; then | |
34947 | RESCOMP=$host_alias-windres | |
34948 | else | |
34949 | # Extract the first word of "windres", so it can be a program name with args. | |
34950 | set dummy windres; ac_word=$2 | |
e6cc62c6 VS |
34951 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
34952 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34953 | if test "${ac_cv_prog_RESCOMP+set}" = set; then | |
34954 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf VS |
34955 | else |
34956 | if test -n "$RESCOMP"; then | |
34957 | ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test. | |
34958 | else | |
e6cc62c6 VS |
34959 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
34960 | for as_dir in $PATH | |
34961 | do | |
34962 | IFS=$as_save_IFS | |
34963 | test -z "$as_dir" && as_dir=. | |
34964 | for ac_exec_ext in '' $ac_executable_extensions; do | |
34965 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
34966 | ac_cv_prog_RESCOMP="windres" | |
34967 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
34968 | break 2 | |
34969 | fi | |
34970 | done | |
34971 | done | |
34972 | ||
fe0895cf VS |
34973 | test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres" |
34974 | fi | |
34975 | fi | |
e6cc62c6 | 34976 | RESCOMP=$ac_cv_prog_RESCOMP |
fe0895cf | 34977 | if test -n "$RESCOMP"; then |
e6cc62c6 VS |
34978 | echo "$as_me:$LINENO: result: $RESCOMP" >&5 |
34979 | echo "${ECHO_T}$RESCOMP" >&6 | |
fe0895cf | 34980 | else |
e6cc62c6 VS |
34981 | echo "$as_me:$LINENO: result: no" >&5 |
34982 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
34983 | fi |
34984 | ||
34985 | fi | |
34986 | ;; | |
e6cc62c6 | 34987 | |
fe0895cf VS |
34988 | *-*-darwin* ) |
34989 | # Extract the first word of "Rez", so it can be a program name with args. | |
34990 | set dummy Rez; ac_word=$2 | |
e6cc62c6 VS |
34991 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
34992 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
34993 | if test "${ac_cv_prog_RESCOMP+set}" = set; then | |
34994 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf VS |
34995 | else |
34996 | if test -n "$RESCOMP"; then | |
34997 | ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test. | |
34998 | else | |
e6cc62c6 VS |
34999 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
35000 | for as_dir in $PATH | |
35001 | do | |
35002 | IFS=$as_save_IFS | |
35003 | test -z "$as_dir" && as_dir=. | |
35004 | for ac_exec_ext in '' $ac_executable_extensions; do | |
35005 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
35006 | ac_cv_prog_RESCOMP="Rez" | |
35007 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
35008 | break 2 | |
35009 | fi | |
35010 | done | |
35011 | done | |
35012 | ||
fe0895cf VS |
35013 | test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez" |
35014 | fi | |
35015 | fi | |
e6cc62c6 | 35016 | RESCOMP=$ac_cv_prog_RESCOMP |
fe0895cf | 35017 | if test -n "$RESCOMP"; then |
e6cc62c6 VS |
35018 | echo "$as_me:$LINENO: result: $RESCOMP" >&5 |
35019 | echo "${ECHO_T}$RESCOMP" >&6 | |
fe0895cf | 35020 | else |
e6cc62c6 VS |
35021 | echo "$as_me:$LINENO: result: no" >&5 |
35022 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
35023 | fi |
35024 | ||
35025 | # Extract the first word of "SetFile", so it can be a program name with args. | |
35026 | set dummy SetFile; ac_word=$2 | |
e6cc62c6 VS |
35027 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
35028 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
35029 | if test "${ac_cv_prog_SETFILE+set}" = set; then | |
35030 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
fe0895cf VS |
35031 | else |
35032 | if test -n "$SETFILE"; then | |
35033 | ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test. | |
35034 | else | |
e6cc62c6 VS |
35035 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
35036 | for as_dir in $PATH | |
35037 | do | |
35038 | IFS=$as_save_IFS | |
35039 | test -z "$as_dir" && as_dir=. | |
35040 | for ac_exec_ext in '' $ac_executable_extensions; do | |
35041 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
35042 | ac_cv_prog_SETFILE="SetFile" | |
35043 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
35044 | break 2 | |
35045 | fi | |
35046 | done | |
35047 | done | |
35048 | ||
fe0895cf VS |
35049 | test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile" |
35050 | fi | |
35051 | fi | |
e6cc62c6 | 35052 | SETFILE=$ac_cv_prog_SETFILE |
fe0895cf | 35053 | if test -n "$SETFILE"; then |
e6cc62c6 VS |
35054 | echo "$as_me:$LINENO: result: $SETFILE" >&5 |
35055 | echo "${ECHO_T}$SETFILE" >&6 | |
fe0895cf | 35056 | else |
e6cc62c6 VS |
35057 | echo "$as_me:$LINENO: result: no" >&5 |
35058 | echo "${ECHO_T}no" >&6 | |
fe0895cf VS |
35059 | fi |
35060 | ||
35061 | ;; | |
35062 | esac | |
35063 | ||
fe0895cf VS |
35064 | |
35065 | ||
e6cc62c6 VS |
35066 | |
35067 | ||
35068 | ||
35069 | ||
45842500 | 35070 | |
57e7d4ac VS |
35071 | |
35072 | ||
45842500 VS |
35073 | # Check whether --enable-precomp-headers or --disable-precomp-headers was given. |
35074 | if test "${enable_precomp_headers+set}" = set; then | |
35075 | enableval="$enable_precomp_headers" | |
35076 | bk_use_pch="$enableval" | |
35077 | fi; | |
35078 | ||
35079 | GCC_PCH=0 | |
35080 | ||
35081 | if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then | |
35082 | if test "x$GCC" = "xyes"; then | |
35083 | echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5 | |
35084 | echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6 | |
35085 | cat >conftest.$ac_ext <<_ACEOF | |
35086 | #line $LINENO "configure" | |
35087 | /* confdefs.h. */ | |
35088 | _ACEOF | |
35089 | cat confdefs.h >>conftest.$ac_ext | |
35090 | cat >>conftest.$ac_ext <<_ACEOF | |
35091 | /* end confdefs.h. */ | |
35092 | ||
35093 | int | |
35094 | main () | |
35095 | { | |
35096 | ||
8bcf2d20 VS |
35097 | #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) |
35098 | #error "no pch support" | |
35099 | #endif | |
35100 | #if (__GNUC__ < 3) | |
35101 | #error "no pch support" | |
35102 | #endif | |
35103 | #if (__GNUC__ == 3) && \ | |
35104 | ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \ | |
35105 | ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) | |
35106 | #error "no pch support" | |
45842500 VS |
35107 | #endif |
35108 | ||
35109 | ; | |
35110 | return 0; | |
35111 | } | |
35112 | _ACEOF | |
35113 | rm -f conftest.$ac_objext | |
35114 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
35115 | (eval $ac_compile) 2>&5 | |
35116 | ac_status=$? | |
35117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
35118 | (exit $ac_status); } && | |
35119 | { ac_try='test -s conftest.$ac_objext' | |
35120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
35121 | (eval $ac_try) 2>&5 | |
35122 | ac_status=$? | |
35123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
35124 | (exit $ac_status); }; }; then | |
35125 | ||
35126 | echo "$as_me:$LINENO: result: yes" >&5 | |
35127 | echo "${ECHO_T}yes" >&6 | |
35128 | CPPFLAGS="-fpch-deps $CPPFLAGS" | |
35129 | GCC_PCH=1 | |
35130 | ||
35131 | else | |
35132 | echo "$as_me: failed program was:" >&5 | |
35133 | sed 's/^/| /' conftest.$ac_ext >&5 | |
35134 | ||
35135 | ||
35136 | echo "$as_me:$LINENO: result: no" >&5 | |
35137 | echo "${ECHO_T}no" >&6 | |
35138 | ||
35139 | fi | |
35140 | rm -f conftest.$ac_objext conftest.$ac_ext | |
35141 | if test $GCC_PCH = 1 ; then | |
35142 | cat <<EOF >bk-make-pch | |
35143 | #!/bin/sh | |
35144 | ||
35145 | # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf | |
35146 | # script. It is used to generated precompiled headers. | |
35147 | # | |
35148 | # Permission is given to use this file in any way. | |
35149 | ||
35150 | outfile="\${1}" | |
35151 | header="\${2}" | |
35152 | shift | |
35153 | shift | |
35154 | ||
35155 | compiler= | |
35156 | headerfile= | |
35157 | while test \${#} -gt 0; do | |
35158 | case "\${1}" in | |
35159 | -I* ) | |
35160 | incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\` | |
35161 | if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then | |
35162 | headerfile="\${incdir}/\${header}" | |
35163 | fi | |
35164 | ;; | |
35165 | esac | |
35166 | compiler="\${compiler} \${1}" | |
35167 | shift | |
35168 | done | |
35169 | ||
35170 | if test "x\${headerfile}" = "x" ; then | |
35171 | echo "error: can't find header \${header} in include paths" >2 | |
35172 | else | |
35173 | if test -f \${outfile} ; then | |
35174 | rm -f \${outfile} | |
35175 | else | |
35176 | mkdir -p \`dirname \${outfile}\` | |
35177 | fi | |
35178 | depsfile=".deps/\`basename \${outfile}\`.d" | |
35179 | mkdir -p .deps | |
35180 | # can do this because gcc is >= 3.4: | |
35181 | \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}" | |
35182 | exit \${?} | |
35183 | fi | |
35184 | EOF | |
35185 | chmod +x bk-make-pch | |
35186 | fi | |
35187 | fi | |
35188 | fi | |
35189 | ||
35190 | ||
35191 | ||
35192 | ||
35193 | ||
d78c94f2 | 35194 | COND_BUILD_DEBUG="#" |
6f628073 | 35195 | if test "x$BUILD" = "xdebug" ; then |
d78c94f2 | 35196 | COND_BUILD_DEBUG="" |
6f628073 VS |
35197 | fi |
35198 | ||
6c67131a VS |
35199 | COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#" |
35200 | if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then | |
35201 | COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="" | |
35202 | fi | |
35203 | ||
35204 | COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#" | |
35205 | if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then | |
35206 | COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="" | |
35207 | fi | |
35208 | ||
d78c94f2 | 35209 | COND_BUILD_RELEASE="#" |
6f628073 | 35210 | if test "x$BUILD" = "xrelease" ; then |
d78c94f2 | 35211 | COND_BUILD_RELEASE="" |
6b9d41a5 VS |
35212 | fi |
35213 | ||
6c67131a VS |
35214 | COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#" |
35215 | if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then | |
35216 | COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="" | |
35217 | fi | |
35218 | ||
35219 | COND_DEBUG_FLAG_1="#" | |
35220 | if test "x$DEBUG_FLAG" = "x1" ; then | |
35221 | COND_DEBUG_FLAG_1="" | |
35222 | fi | |
35223 | ||
35224 | COND_DEBUG_INFO_0="#" | |
35225 | if test "x$DEBUG_INFO" = "x0" ; then | |
35226 | COND_DEBUG_INFO_0="" | |
35227 | fi | |
35228 | ||
35229 | COND_DEBUG_INFO_1="#" | |
35230 | if test "x$DEBUG_INFO" = "x1" ; then | |
35231 | COND_DEBUG_INFO_1="" | |
35232 | fi | |
35233 | ||
f95cd8fa VS |
35234 | COND_DEPS_TRACKING_0="#" |
35235 | if test "x$DEPS_TRACKING" = "x0" ; then | |
35236 | COND_DEPS_TRACKING_0="" | |
6b9d41a5 VS |
35237 | fi |
35238 | ||
8ee2dd05 VS |
35239 | COND_DEPS_TRACKING_1="#" |
35240 | if test "x$DEPS_TRACKING" = "x1" ; then | |
35241 | COND_DEPS_TRACKING_1="" | |
35242 | fi | |
35243 | ||
45842500 VS |
35244 | COND_GCC_PCH_1="#" |
35245 | if test "x$GCC_PCH" = "x1" ; then | |
35246 | COND_GCC_PCH_1="" | |
35247 | fi | |
35248 | ||
6f628073 VS |
35249 | COND_MONOLITHIC_0="#" |
35250 | if test "x$MONOLITHIC" = "x0" ; then | |
35251 | COND_MONOLITHIC_0="" | |
6b9d41a5 VS |
35252 | fi |
35253 | ||
6f628073 VS |
35254 | COND_MONOLITHIC_0_SHARED_0="#" |
35255 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then | |
35256 | COND_MONOLITHIC_0_SHARED_0="" | |
35257 | fi | |
35258 | ||
35259 | COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#" | |
35260 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then | |
35261 | COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="" | |
fe0895cf | 35262 | fi |
e6cc62c6 | 35263 | |
8772a1a7 VS |
35264 | COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#" |
35265 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then | |
35266 | COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="" | |
35267 | fi | |
35268 | ||
250700e4 RD |
35269 | COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#" |
35270 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then | |
35271 | COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="" | |
35272 | fi | |
35273 | ||
eb69fda5 VS |
35274 | COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#" |
35275 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then | |
35276 | COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="" | |
35277 | fi | |
35278 | ||
8ee2dd05 VS |
35279 | COND_MONOLITHIC_0_SHARED_1="#" |
35280 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then | |
35281 | COND_MONOLITHIC_0_SHARED_1="" | |
fe0895cf | 35282 | fi |
e6cc62c6 | 35283 | |
6f628073 VS |
35284 | COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#" |
35285 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then | |
35286 | COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="" | |
35287 | fi | |
35288 | ||
8772a1a7 VS |
35289 | COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#" |
35290 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then | |
35291 | COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="" | |
35292 | fi | |
35293 | ||
250700e4 RD |
35294 | COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#" |
35295 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then | |
35296 | COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="" | |
35297 | fi | |
35298 | ||
eb69fda5 VS |
35299 | COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#" |
35300 | if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then | |
35301 | COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="" | |
35302 | fi | |
35303 | ||
3af038c0 VS |
35304 | COND_MONOLITHIC_1="#" |
35305 | if test "x$MONOLITHIC" = "x1" ; then | |
35306 | COND_MONOLITHIC_1="" | |
35307 | fi | |
35308 | ||
6f628073 VS |
35309 | COND_MONOLITHIC_1_SHARED_0="#" |
35310 | if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then | |
35311 | COND_MONOLITHIC_1_SHARED_0="" | |
35312 | fi | |
35313 | ||
35314 | COND_MONOLITHIC_1_SHARED_1="#" | |
35315 | if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then | |
35316 | COND_MONOLITHIC_1_SHARED_1="" | |
35317 | fi | |
35318 | ||
3af038c0 VS |
35319 | COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#" |
35320 | if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then | |
35321 | COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="" | |
35322 | fi | |
35323 | ||
35324 | COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#" | |
35325 | if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then | |
35326 | COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="" | |
35327 | fi | |
35328 | ||
6f628073 VS |
35329 | COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#" |
35330 | if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then | |
35331 | COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="" | |
35332 | fi | |
35333 | ||
3af038c0 VS |
35334 | COND_PLATFORM_MACOSX_1="#" |
35335 | if test "x$PLATFORM_MACOSX" = "x1" ; then | |
35336 | COND_PLATFORM_MACOSX_1="" | |
35337 | fi | |
35338 | ||
250700e4 RD |
35339 | COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#" |
35340 | if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then | |
35341 | COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="" | |
35342 | fi | |
35343 | ||
35344 | COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#" | |
35345 | if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then | |
35346 | COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="" | |
35347 | fi | |
35348 | ||
35349 | COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#" | |
35350 | if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then | |
35351 | COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="" | |
35352 | fi | |
35353 | ||
8ee2dd05 VS |
35354 | COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#" |
35355 | if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then | |
35356 | COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="" | |
35357 | fi | |
35358 | ||
45842500 VS |
35359 | COND_PLATFORM_MAC_1="#" |
35360 | if test "x$PLATFORM_MAC" = "x1" ; then | |
35361 | COND_PLATFORM_MAC_1="" | |
35362 | fi | |
35363 | ||
3d8c1de0 VS |
35364 | COND_PLATFORM_OS2_1="#" |
35365 | if test "x$PLATFORM_OS2" = "x1" ; then | |
35366 | COND_PLATFORM_OS2_1="" | |
35367 | fi | |
35368 | ||
8772a1a7 VS |
35369 | COND_PLATFORM_UNIX_0="#" |
35370 | if test "x$PLATFORM_UNIX" = "x0" ; then | |
35371 | COND_PLATFORM_UNIX_0="" | |
35372 | fi | |
35373 | ||
3af038c0 VS |
35374 | COND_PLATFORM_UNIX_1="#" |
35375 | if test "x$PLATFORM_UNIX" = "x1" ; then | |
35376 | COND_PLATFORM_UNIX_1="" | |
35377 | fi | |
35378 | ||
35379 | COND_PLATFORM_WIN32_0="#" | |
35380 | if test "x$PLATFORM_WIN32" = "x0" ; then | |
35381 | COND_PLATFORM_WIN32_0="" | |
35382 | fi | |
35383 | ||
35384 | COND_PLATFORM_WIN32_1="#" | |
35385 | if test "x$PLATFORM_WIN32" = "x1" ; then | |
35386 | COND_PLATFORM_WIN32_1="" | |
35387 | fi | |
35388 | ||
45842500 VS |
35389 | COND_SHARED_0="#" |
35390 | if test "x$SHARED" = "x0" ; then | |
35391 | COND_SHARED_0="" | |
35392 | fi | |
35393 | ||
250700e4 RD |
35394 | COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#" |
35395 | if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then | |
35396 | COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="" | |
35397 | fi | |
35398 | ||
52a5a009 VS |
35399 | COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#" |
35400 | if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then | |
35401 | COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="" | |
35402 | fi | |
35403 | ||
35404 | COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#" | |
35405 | if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then | |
35406 | COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="" | |
35407 | fi | |
35408 | ||
35409 | COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#" | |
35410 | if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then | |
35411 | COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="" | |
35412 | fi | |
35413 | ||
35414 | COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#" | |
35415 | if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then | |
35416 | COND_SHARED_0_WXUSE_EXPAT_BUILTIN="" | |
35417 | fi | |
35418 | ||
35419 | COND_SHARED_0_WXUSE_ODBC_BUILTIN="#" | |
35420 | if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then | |
35421 | COND_SHARED_0_WXUSE_ODBC_BUILTIN="" | |
35422 | fi | |
35423 | ||
35424 | COND_SHARED_0_WXUSE_REGEX_BUILTIN="#" | |
35425 | if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then | |
35426 | COND_SHARED_0_WXUSE_REGEX_BUILTIN="" | |
35427 | fi | |
35428 | ||
35429 | COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#" | |
35430 | if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then | |
35431 | COND_SHARED_0_WXUSE_ZLIB_BUILTIN="" | |
35432 | fi | |
35433 | ||
45842500 VS |
35434 | COND_SHARED_1="#" |
35435 | if test "x$SHARED" = "x1" ; then | |
35436 | COND_SHARED_1="" | |
35437 | fi | |
35438 | ||
250700e4 RD |
35439 | COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#" |
35440 | if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then | |
35441 | COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="" | |
35442 | fi | |
35443 | ||
6f628073 VS |
35444 | COND_TOOLKIT_COCOA="#" |
35445 | if test "x$TOOLKIT" = "xCOCOA" ; then | |
35446 | COND_TOOLKIT_COCOA="" | |
8ee2dd05 VS |
35447 | fi |
35448 | ||
6f628073 VS |
35449 | COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#" |
35450 | if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then | |
35451 | COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="" | |
8ee2dd05 VS |
35452 | fi |
35453 | ||
6f628073 VS |
35454 | COND_TOOLKIT_GTK="#" |
35455 | if test "x$TOOLKIT" = "xGTK" ; then | |
35456 | COND_TOOLKIT_GTK="" | |
f95cd8fa VS |
35457 | fi |
35458 | ||
6f628073 VS |
35459 | COND_TOOLKIT_GTK_USE_GUI_1="#" |
35460 | if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then | |
35461 | COND_TOOLKIT_GTK_USE_GUI_1="" | |
f95cd8fa VS |
35462 | fi |
35463 | ||
6f628073 VS |
35464 | COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#" |
35465 | if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then | |
35466 | COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="" | |
8ee2dd05 VS |
35467 | fi |
35468 | ||
3af038c0 VS |
35469 | COND_TOOLKIT_MAC="#" |
35470 | if test "x$TOOLKIT" = "xMAC" ; then | |
35471 | COND_TOOLKIT_MAC="" | |
35472 | fi | |
35473 | ||
8772a1a7 VS |
35474 | COND_TOOLKIT_MAC_USE_GUI_1="#" |
35475 | if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then | |
35476 | COND_TOOLKIT_MAC_USE_GUI_1="" | |
35477 | fi | |
35478 | ||
6f628073 VS |
35479 | COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#" |
35480 | if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then | |
35481 | COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="" | |
8ee2dd05 VS |
35482 | fi |
35483 | ||
6f628073 VS |
35484 | COND_TOOLKIT_MGL="#" |
35485 | if test "x$TOOLKIT" = "xMGL" ; then | |
35486 | COND_TOOLKIT_MGL="" | |
8ee2dd05 VS |
35487 | fi |
35488 | ||
6f628073 VS |
35489 | COND_TOOLKIT_MGL_USE_GUI_1="#" |
35490 | if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then | |
35491 | COND_TOOLKIT_MGL_USE_GUI_1="" | |
8ee2dd05 VS |
35492 | fi |
35493 | ||
6f628073 VS |
35494 | COND_TOOLKIT_MOTIF="#" |
35495 | if test "x$TOOLKIT" = "xMOTIF" ; then | |
35496 | COND_TOOLKIT_MOTIF="" | |
f95cd8fa VS |
35497 | fi |
35498 | ||
6f628073 VS |
35499 | COND_TOOLKIT_MOTIF_USE_GUI_1="#" |
35500 | if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then | |
35501 | COND_TOOLKIT_MOTIF_USE_GUI_1="" | |
fe0895cf | 35502 | fi |
e6cc62c6 | 35503 | |
6f628073 VS |
35504 | COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#" |
35505 | if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then | |
35506 | COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="" | |
8ee2dd05 VS |
35507 | fi |
35508 | ||
6f628073 VS |
35509 | COND_TOOLKIT_MSW="#" |
35510 | if test "x$TOOLKIT" = "xMSW" ; then | |
35511 | COND_TOOLKIT_MSW="" | |
8ee2dd05 VS |
35512 | fi |
35513 | ||
6f628073 VS |
35514 | COND_TOOLKIT_MSW_USE_GUI_1="#" |
35515 | if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then | |
35516 | COND_TOOLKIT_MSW_USE_GUI_1="" | |
fe0895cf | 35517 | fi |
e6cc62c6 | 35518 | |
6f628073 VS |
35519 | COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#" |
35520 | if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then | |
35521 | COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="" | |
fe0895cf | 35522 | fi |
e6cc62c6 | 35523 | |
96c1699d VS |
35524 | COND_TOOLKIT_PM="#" |
35525 | if test "x$TOOLKIT" = "xPM" ; then | |
35526 | COND_TOOLKIT_PM="" | |
35527 | fi | |
35528 | ||
35529 | COND_TOOLKIT_PM_USE_GUI_1="#" | |
35530 | if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then | |
35531 | COND_TOOLKIT_PM_USE_GUI_1="" | |
35532 | fi | |
35533 | ||
35534 | COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#" | |
35535 | if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then | |
35536 | COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="" | |
35537 | fi | |
35538 | ||
6f628073 VS |
35539 | COND_TOOLKIT_X11="#" |
35540 | if test "x$TOOLKIT" = "xX11" ; then | |
35541 | COND_TOOLKIT_X11="" | |
9747f85d VS |
35542 | fi |
35543 | ||
6f628073 VS |
35544 | COND_TOOLKIT_X11_USE_GUI_1="#" |
35545 | if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then | |
35546 | COND_TOOLKIT_X11_USE_GUI_1="" | |
f95cd8fa VS |
35547 | fi |
35548 | ||
3af038c0 VS |
35549 | COND_UNICODE_1="#" |
35550 | if test "x$UNICODE" = "x1" ; then | |
35551 | COND_UNICODE_1="" | |
35552 | fi | |
35553 | ||
7015ef3a VZ |
35554 | COND_USE_EXCEPTIONS_0="#" |
35555 | if test "x$USE_EXCEPTIONS" = "x0" ; then | |
35556 | COND_USE_EXCEPTIONS_0="" | |
35557 | fi | |
35558 | ||
35559 | COND_USE_EXCEPTIONS_1="#" | |
35560 | if test "x$USE_EXCEPTIONS" = "x1" ; then | |
35561 | COND_USE_EXCEPTIONS_1="" | |
35562 | fi | |
35563 | ||
3af038c0 VS |
35564 | COND_USE_GUI_0="#" |
35565 | if test "x$USE_GUI" = "x0" ; then | |
35566 | COND_USE_GUI_0="" | |
35567 | fi | |
35568 | ||
35569 | COND_USE_GUI_1="#" | |
35570 | if test "x$USE_GUI" = "x1" ; then | |
35571 | COND_USE_GUI_1="" | |
35572 | fi | |
35573 | ||
e6cc62c6 | 35574 | COND_USE_GUI_1_WXUNIV_0="#" |
c7dfb5bb VS |
35575 | if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then |
35576 | COND_USE_GUI_1_WXUNIV_0="" | |
fe0895cf | 35577 | fi |
e6cc62c6 VS |
35578 | |
35579 | COND_USE_GUI_1_WXUNIV_1="#" | |
c7dfb5bb VS |
35580 | if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then |
35581 | COND_USE_GUI_1_WXUNIV_1="" | |
e6cc62c6 VS |
35582 | fi |
35583 | ||
66a96744 VS |
35584 | COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#" |
35585 | if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then | |
35586 | COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="" | |
35587 | fi | |
35588 | ||
35589 | COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#" | |
35590 | if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then | |
35591 | COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="" | |
35592 | fi | |
35593 | ||
35594 | COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#" | |
35595 | if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then | |
35596 | COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="" | |
35597 | fi | |
35598 | ||
57e7d4ac VS |
35599 | COND_USE_ODBC_1="#" |
35600 | if test "x$USE_ODBC" = "x1" ; then | |
35601 | COND_USE_ODBC_1="" | |
35602 | fi | |
35603 | ||
6f628073 VS |
35604 | COND_USE_SOSYMLINKS_1="#" |
35605 | if test "x$USE_SOSYMLINKS" = "x1" ; then | |
35606 | COND_USE_SOSYMLINKS_1="" | |
b625909c VS |
35607 | fi |
35608 | ||
6f628073 VS |
35609 | COND_USE_SOVERLINUX_1="#" |
35610 | if test "x$USE_SOVERLINUX" = "x1" ; then | |
35611 | COND_USE_SOVERLINUX_1="" | |
b625909c VS |
35612 | fi |
35613 | ||
6f628073 VS |
35614 | COND_USE_SOVERSION_0="#" |
35615 | if test "x$USE_SOVERSION" = "x0" ; then | |
35616 | COND_USE_SOVERSION_0="" | |
fddeb06b | 35617 | fi |
fe0895cf | 35618 | |
6f628073 VS |
35619 | COND_USE_SOVERSOLARIS_1="#" |
35620 | if test "x$USE_SOVERSOLARIS" = "x1" ; then | |
35621 | COND_USE_SOVERSOLARIS_1="" | |
fddeb06b | 35622 | fi |
fe0895cf | 35623 | |
3af038c0 VS |
35624 | COND_WXUNIV_1="#" |
35625 | if test "x$WXUNIV" = "x1" ; then | |
35626 | COND_WXUNIV_1="" | |
35627 | fi | |
35628 | ||
66a96744 VS |
35629 | COND_WXUSE_EXPAT_BUILTIN="#" |
35630 | if test "x$wxUSE_EXPAT" = "xbuiltin" ; then | |
35631 | COND_WXUSE_EXPAT_BUILTIN="" | |
35632 | fi | |
35633 | ||
02980527 VS |
35634 | COND_WXUSE_LIBJPEG_BUILTIN="#" |
35635 | if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then | |
35636 | COND_WXUSE_LIBJPEG_BUILTIN="" | |
35637 | fi | |
35638 | ||
35639 | COND_WXUSE_LIBPNG_BUILTIN="#" | |
35640 | if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then | |
35641 | COND_WXUSE_LIBPNG_BUILTIN="" | |
35642 | fi | |
35643 | ||
35644 | COND_WXUSE_LIBTIFF_BUILTIN="#" | |
35645 | if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then | |
35646 | COND_WXUSE_LIBTIFF_BUILTIN="" | |
35647 | fi | |
35648 | ||
35649 | COND_WXUSE_ODBC_BUILTIN="#" | |
35650 | if test "x$wxUSE_ODBC" = "xbuiltin" ; then | |
35651 | COND_WXUSE_ODBC_BUILTIN="" | |
35652 | fi | |
35653 | ||
35654 | COND_WXUSE_REGEX_BUILTIN="#" | |
35655 | if test "x$wxUSE_REGEX" = "xbuiltin" ; then | |
35656 | COND_WXUSE_REGEX_BUILTIN="" | |
35657 | fi | |
35658 | ||
35659 | COND_WXUSE_ZLIB_BUILTIN="#" | |
35660 | if test "x$wxUSE_ZLIB" = "xbuiltin" ; then | |
35661 | COND_WXUSE_ZLIB_BUILTIN="" | |
35662 | fi | |
35663 | ||
1772d20c | 35664 | |
fe0895cf | 35665 | |
fe0895cf | 35666 | |
fe0895cf | 35667 | |
45842500 VS |
35668 | if test $GCC_PCH = 1 ; then |
35669 | CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS" | |
35670 | else | |
35671 | case "${host}" in | |
35672 | powerpc-*-darwin* ) | |
35673 | CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS" | |
35674 | ;; | |
45842500 VS |
35675 | esac |
35676 | fi | |
2c6f14e1 VS |
35677 | case "${host}" in |
35678 | powerpc-*-darwin* ) | |
35679 | CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX" | |
35680 | ;; | |
35681 | esac | |
fe0895cf VS |
35682 | |
35683 | ||
fddeb06b | 35684 | SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`" |
fe0895cf VS |
35685 | |
35686 | ||
35687 | ||
35688 | ||
35689 | ||
35690 | ||
35691 | ||
35692 | ||
35693 | ||
35694 | ||
35695 | ||
35696 | ||
35697 | ||
35698 | ||
35699 | ||
35700 | ||
35701 | ||
35702 | ||
35703 | ||
35704 | ||
35705 | ||
35706 | ||
35707 | ||
35708 | ||
35709 | ||
35710 | ||
35711 | ||
35712 | ||
35713 | ||
35714 | ||
35715 | ||
35716 | ||
35717 | ||
35718 | ||
35719 | ||
35720 | ||
35721 | ||
35722 | ||
35723 | ||
35724 | ||
35725 | ||
35726 | ||
35727 | ||
35728 | ||
35729 | ||
35730 | ||
35731 | ||
35732 | ||
35733 | ||
35734 | ||
35735 | ||
35736 | ||
35737 | ||
35738 | ||
35739 | ||
35740 | ||
35741 | ||
35742 | ||
35743 | ||
35744 | ||
35745 | ||
35746 | ||
35747 | ||
35748 | ||
35749 | ||
35750 | ||
35751 | ||
35752 | ||
35753 | ||
35754 | ||
35755 | ||
35756 | ||
35757 | ||
35758 | ||
35759 | ||
35760 | ||
35761 | ||
35762 | ||
35763 | ||
35764 | ||
35765 | ||
35766 | ||
35767 | ||
35768 | ||
35769 | ||
35770 | ||
35771 | ||
35772 | ||
35773 | ||
35774 | ||
35775 | ||
35776 | ||
35777 | ||
35778 | ||
fe0895cf | 35779 | |
f0290fca VS |
35780 | |
35781 | ||
67c13b6c | 35782 | |
e6cc62c6 VS |
35783 | |
35784 | ||
35785 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
35786 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | |
35787 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | |
35788 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | |
35789 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
35790 | else | |
35791 | cat >conftest.make <<\_ACEOF | |
35792 | all: | |
35793 | @echo 'ac_maketemp="$(MAKE)"' | |
35794 | _ACEOF | |
35795 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
35796 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | |
35797 | if test -n "$ac_maketemp"; then | |
35798 | eval ac_cv_prog_make_${ac_make}_set=yes | |
35799 | else | |
35800 | eval ac_cv_prog_make_${ac_make}_set=no | |
35801 | fi | |
35802 | rm -f conftest.make | |
35803 | fi | |
35804 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
35805 | echo "$as_me:$LINENO: result: yes" >&5 | |
35806 | echo "${ECHO_T}yes" >&6 | |
35807 | SET_MAKE= | |
35808 | else | |
35809 | echo "$as_me:$LINENO: result: no" >&5 | |
35810 | echo "${ECHO_T}no" >&6 | |
35811 | SET_MAKE="MAKE=${MAKE-make}" | |
35812 | fi | |
35813 | ||
35814 | ||
35815 | if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then | |
35816 | mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h | |
35817 | fi | |
35818 | ||
35819 | ac_config_headers="$ac_config_headers setup.h" | |
35820 | ||
35821 | ||
81345eef | 35822 | ac_config_files="$ac_config_files wx-config version-script Makefile" |
e6cc62c6 VS |
35823 | |
35824 | ||
35825 | ac_config_commands="$ac_config_commands default" | |
35826 | ||
35827 | ||
9de9b8f0 | 35828 | |
6c3e36af VZ |
35829 | if test "$wxUSE_GUI" = "yes"; then |
35830 | SUBDIRS="samples demos utils contrib" | |
35831 | else SUBDIRS="samples utils" | |
35832 | fi | |
e6cc62c6 | 35833 | |
166263e6 | 35834 | for subdir in `echo $SUBDIRS`; do |
9747f85d | 35835 | if test -d ${srcdir}/${subdir} ; then |
6c3e36af | 35836 | if test "$wxUSE_GUI" = "yes"; then |
166263e6 | 35837 | if test ${subdir} = "samples"; then |
8772a1a7 VS |
35838 | makefiles="samples/Makefile.in $makefiles" |
35839 | for sample in `echo $SAMPLES_SUBDIRS`; do | |
166263e6 VZ |
35840 | if test -d $srcdir/samples/$sample; then |
35841 | makefiles="samples/$sample/Makefile.in $makefiles" | |
35842 | fi | |
35843 | done | |
35844 | else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)` | |
35845 | fi | |
6c3e36af | 35846 | else if test ${subdir} = "samples"; then |
8772a1a7 | 35847 | makefiles="samples/Makefile.in samples/console/Makefile.in" |
6c3e36af | 35848 | else makefiles="utils/HelpGen/Makefile.in \ |
2bf8cafb VS |
35849 | utils/HelpGen/src/Makefile.in \ |
35850 | utils/tex2rtf/Makefile.in \ | |
35851 | utils/tex2rtf/src/Makefile.in" | |
6c3e36af VZ |
35852 | fi |
35853 | fi | |
35854 | ||
9747f85d VS |
35855 | for mkin in $makefiles ; do |
35856 | mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'` | |
35857 | ac_config_files="$ac_config_files $mk" | |
e6cc62c6 | 35858 | |
9747f85d VS |
35859 | done |
35860 | fi | |
35861 | done | |
e6cc62c6 | 35862 | |
9de9b8f0 | 35863 | |
e6cc62c6 VS |
35864 | cat >confcache <<\_ACEOF |
35865 | # This file is a shell script that caches the results of configure | |
35866 | # tests run on this system so they can be shared between configure | |
35867 | # scripts and configure runs, see configure's option --config-cache. | |
35868 | # It is not useful on other systems. If it contains results you don't | |
35869 | # want to keep, you may remove or edit it. | |
35870 | # | |
35871 | # config.status only pays attention to the cache file if you give it | |
35872 | # the --recheck option to rerun configure. | |
35873 | # | |
35874 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
35875 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
35876 | # following values. | |
35877 | ||
35878 | _ACEOF | |
35879 | ||
35880 | # The following way of writing the cache mishandles newlines in values, | |
35881 | # but we know of no workaround that is simple, portable, and efficient. | |
35882 | # So, don't put newlines in cache variables' values. | |
35883 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
35884 | # and sets the high bit in the cache file unless we assign to the vars. | |
35885 | { | |
35886 | (set) 2>&1 | | |
35887 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
35888 | *ac_space=\ *) | |
35889 | # `set' does not quote correctly, so add quotes (double-quote | |
35890 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
35891 | sed -n \ | |
35892 | "s/'/'\\\\''/g; | |
35893 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
35894 | ;; | |
35895 | *) | |
35896 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
35897 | sed -n \ | |
35898 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
35899 | ;; | |
35900 | esac; | |
35901 | } | | |
35902 | sed ' | |
35903 | t clear | |
35904 | : clear | |
35905 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
35906 | t end | |
35907 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
35908 | : end' >>confcache | |
35909 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | |
35910 | if test -w $cache_file; then | |
35911 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | |
35912 | cat confcache >$cache_file | |
35913 | else | |
35914 | echo "not updating unwritable cache $cache_file" | |
35915 | fi | |
35916 | fi | |
35917 | rm -f confcache | |
35918 | ||
35919 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
35920 | # Let make expand exec_prefix. | |
35921 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
35922 | ||
35923 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
35924 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
35925 | # trailing colons and then remove the whole line if VPATH becomes empty | |
35926 | # (actually we leave an empty line to preserve line numbers). | |
35927 | if test "x$srcdir" = x.; then | |
35928 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
35929 | s/:*\$(srcdir):*/:/; | |
35930 | s/:*\${srcdir}:*/:/; | |
35931 | s/:*@srcdir@:*/:/; | |
35932 | s/^\([^=]*=[ ]*\):*/\1/; | |
35933 | s/:*$//; | |
35934 | s/^[^=]*=[ ]*$//; | |
35935 | }' | |
35936 | fi | |
35937 | ||
35938 | DEFS=-DHAVE_CONFIG_H | |
35939 | ||
35940 | ac_libobjs= | |
35941 | ac_ltlibobjs= | |
35942 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
35943 | # 1. Remove the extension, and $U if already installed. | |
35944 | ac_i=`echo "$ac_i" | | |
35945 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | |
35946 | # 2. Add them. | |
35947 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | |
35948 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | |
35949 | done | |
35950 | LIBOBJS=$ac_libobjs | |
35951 | ||
35952 | LTLIBOBJS=$ac_ltlibobjs | |
35953 | ||
35954 | ||
35955 | ||
35956 | : ${CONFIG_STATUS=./config.status} | |
35957 | ac_clean_files_save=$ac_clean_files | |
35958 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
35959 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
35960 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
35961 | cat >$CONFIG_STATUS <<_ACEOF | |
35962 | #! $SHELL | |
35963 | # Generated by $as_me. | |
35964 | # Run this file to recreate the current configuration. | |
35965 | # Compiler output produced by configure, useful for debugging | |
35966 | # configure, is in config.log if it exists. | |
35967 | ||
35968 | debug=false | |
35969 | ac_cs_recheck=false | |
35970 | ac_cs_silent=false | |
35971 | SHELL=\${CONFIG_SHELL-$SHELL} | |
35972 | _ACEOF | |
35973 | ||
35974 | cat >>$CONFIG_STATUS <<\_ACEOF | |
35975 | ## --------------------- ## | |
35976 | ## M4sh Initialization. ## | |
35977 | ## --------------------- ## | |
35978 | ||
35979 | # Be Bourne compatible | |
35980 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
35981 | emulate sh | |
35982 | NULLCMD=: | |
35983 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
35984 | # is contrary to our usage. Disable this feature. | |
35985 | alias -g '${1+"$@"}'='"$@"' | |
35986 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
35987 | set -o posix | |
35988 | fi | |
35989 | ||
35990 | # Support unset when possible. | |
35991 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
35992 | as_unset=unset | |
35993 | else | |
35994 | as_unset=false | |
35995 | fi | |
35996 | ||
35997 | ||
35998 | # Work around bugs in pre-3.0 UWIN ksh. | |
35999 | $as_unset ENV MAIL MAILPATH | |
36000 | PS1='$ ' | |
36001 | PS2='> ' | |
36002 | PS4='+ ' | |
36003 | ||
36004 | # NLS nuisances. | |
36005 | for as_var in \ | |
36006 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
36007 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
36008 | LC_TELEPHONE LC_TIME | |
36009 | do | |
36010 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
36011 | eval $as_var=C; export $as_var | |
36012 | else | |
36013 | $as_unset $as_var | |
36014 | fi | |
36015 | done | |
36016 | ||
36017 | # Required to use basename. | |
36018 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
36019 | as_expr=expr | |
36020 | else | |
36021 | as_expr=false | |
36022 | fi | |
36023 | ||
36024 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
36025 | as_basename=basename | |
36026 | else | |
36027 | as_basename=false | |
36028 | fi | |
36029 | ||
36030 | ||
36031 | # Name of the executable. | |
36032 | as_me=`$as_basename "$0" || | |
36033 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
36034 | X"$0" : 'X\(//\)$' \| \ | |
36035 | X"$0" : 'X\(/\)$' \| \ | |
36036 | . : '\(.\)' 2>/dev/null || | |
36037 | echo X/"$0" | | |
36038 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
36039 | /^X\/\(\/\/\)$/{ s//\1/; q; } | |
36040 | /^X\/\(\/\).*/{ s//\1/; q; } | |
36041 | s/.*/./; q'` | |
36042 | ||
36043 | ||
36044 | # PATH needs CR, and LINENO needs CR and PATH. | |
36045 | # Avoid depending upon Character Ranges. | |
36046 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
36047 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
36048 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
36049 | as_cr_digits='0123456789' | |
36050 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
36051 | ||
36052 | # The user is always right. | |
36053 | if test "${PATH_SEPARATOR+set}" != set; then | |
36054 | echo "#! /bin/sh" >conf$$.sh | |
36055 | echo "exit 0" >>conf$$.sh | |
36056 | chmod +x conf$$.sh | |
36057 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
36058 | PATH_SEPARATOR=';' | |
36059 | else | |
36060 | PATH_SEPARATOR=: | |
36061 | fi | |
36062 | rm -f conf$$.sh | |
36063 | fi | |
36064 | ||
36065 | ||
36066 | as_lineno_1=$LINENO | |
36067 | as_lineno_2=$LINENO | |
36068 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
36069 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
36070 | test "x$as_lineno_3" = "x$as_lineno_2" || { | |
36071 | # Find who we are. Look in the path if we contain no path at all | |
36072 | # relative or not. | |
36073 | case $0 in | |
36074 | *[\\/]* ) as_myself=$0 ;; | |
36075 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
36076 | for as_dir in $PATH | |
36077 | do | |
36078 | IFS=$as_save_IFS | |
36079 | test -z "$as_dir" && as_dir=. | |
36080 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
36081 | done | |
36082 | ||
36083 | ;; | |
36084 | esac | |
36085 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
36086 | # in which case we are not to be found in the path. | |
36087 | if test "x$as_myself" = x; then | |
36088 | as_myself=$0 | |
36089 | fi | |
36090 | if test ! -f "$as_myself"; then | |
36091 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | |
36092 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | |
36093 | { (exit 1); exit 1; }; } | |
36094 | fi | |
36095 | case $CONFIG_SHELL in | |
36096 | '') | |
36097 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
36098 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
36099 | do | |
36100 | IFS=$as_save_IFS | |
36101 | test -z "$as_dir" && as_dir=. | |
36102 | for as_base in sh bash ksh sh5; do | |
36103 | case $as_dir in | |
36104 | /*) | |
36105 | if ("$as_dir/$as_base" -c ' | |
36106 | as_lineno_1=$LINENO | |
36107 | as_lineno_2=$LINENO | |
36108 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
36109 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
36110 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
36111 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
36112 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
36113 | CONFIG_SHELL=$as_dir/$as_base | |
36114 | export CONFIG_SHELL | |
36115 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
36116 | fi;; | |
36117 | esac | |
36118 | done | |
36119 | done | |
36120 | ;; | |
36121 | esac | |
36122 | ||
36123 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
36124 | # uniformly replaced by the line number. The first 'sed' inserts a | |
36125 | # line-number line before each line; the second 'sed' does the real | |
36126 | # work. The second script uses 'N' to pair each line-number line | |
36127 | # with the numbered line, and appends trailing '-' during | |
36128 | # substitution so that $LINENO is not a special case at line end. | |
36129 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
36130 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
36131 | sed '=' <$as_myself | | |
36132 | sed ' | |
36133 | N | |
36134 | s,$,-, | |
36135 | : loop | |
36136 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
36137 | t loop | |
36138 | s,-$,, | |
36139 | s,^['$as_cr_digits']*\n,, | |
36140 | ' >$as_me.lineno && | |
36141 | chmod +x $as_me.lineno || | |
36142 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | |
36143 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
36144 | { (exit 1); exit 1; }; } | |
36145 | ||
36146 | # Don't try to exec as it changes $[0], causing all sort of problems | |
36147 | # (the dirname of $[0] is not the place where we might find the | |
36148 | # original and so on. Autoconf is especially sensible to this). | |
36149 | . ./$as_me.lineno | |
36150 | # Exit status is that of the last command. | |
36151 | exit | |
36152 | } | |
36153 | ||
36154 | ||
36155 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
36156 | *c*,-n*) ECHO_N= ECHO_C=' | |
36157 | ' ECHO_T=' ' ;; | |
36158 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
36159 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
36160 | esac | |
36161 | ||
36162 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
36163 | as_expr=expr | |
36164 | else | |
36165 | as_expr=false | |
36166 | fi | |
36167 | ||
36168 | rm -f conf$$ conf$$.exe conf$$.file | |
36169 | echo >conf$$.file | |
36170 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
36171 | # We could just check for DJGPP; but this test a) works b) is more generic | |
36172 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
36173 | if test -f conf$$.exe; then | |
36174 | # Don't use ln at all; we don't have any links | |
36175 | as_ln_s='cp -p' | |
36176 | else | |
36177 | as_ln_s='ln -s' | |
36178 | fi | |
36179 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
36180 | as_ln_s=ln | |
36181 | else | |
36182 | as_ln_s='cp -p' | |
36183 | fi | |
36184 | rm -f conf$$ conf$$.exe conf$$.file | |
36185 | ||
36186 | if mkdir -p . 2>/dev/null; then | |
36187 | as_mkdir_p=: | |
36188 | else | |
36189 | as_mkdir_p=false | |
36190 | fi | |
36191 | ||
36192 | as_executable_p="test -f" | |
36193 | ||
36194 | # Sed expression to map a string onto a valid CPP name. | |
36195 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
36196 | ||
36197 | # Sed expression to map a string onto a valid variable name. | |
36198 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
36199 | ||
36200 | ||
36201 | # IFS | |
36202 | # We need space, tab and new line, in precisely that order. | |
36203 | as_nl=' | |
36204 | ' | |
36205 | IFS=" $as_nl" | |
36206 | ||
36207 | # CDPATH. | |
36208 | $as_unset CDPATH | |
36209 | ||
36210 | exec 6>&1 | |
36211 | ||
36212 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | |
36213 | # report actual input values of CONFIG_FILES etc. instead of their | |
36214 | # values after options handling. Logging --version etc. is OK. | |
36215 | exec 5>>config.log | |
36216 | { | |
36217 | echo | |
36218 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
36219 | ## Running $as_me. ## | |
36220 | _ASBOX | |
36221 | } >&5 | |
36222 | cat >&5 <<_CSEOF | |
36223 | ||
e46d2a18 | 36224 | This file was extended by wxWindows $as_me 2.5.1, which was |
e6cc62c6 VS |
36225 | generated by GNU Autoconf 2.57. Invocation command line was |
36226 | ||
36227 | CONFIG_FILES = $CONFIG_FILES | |
36228 | CONFIG_HEADERS = $CONFIG_HEADERS | |
36229 | CONFIG_LINKS = $CONFIG_LINKS | |
36230 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
36231 | $ $0 $@ | |
36232 | ||
36233 | _CSEOF | |
36234 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | |
36235 | echo >&5 | |
36236 | _ACEOF | |
36237 | ||
36238 | # Files that config.status was made for. | |
36239 | if test -n "$ac_config_files"; then | |
36240 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
36241 | fi | |
36242 | ||
36243 | if test -n "$ac_config_headers"; then | |
36244 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
36245 | fi | |
36246 | ||
36247 | if test -n "$ac_config_links"; then | |
36248 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
36249 | fi | |
36250 | ||
36251 | if test -n "$ac_config_commands"; then | |
36252 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
36253 | fi | |
36254 | ||
36255 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36256 | ||
36257 | ac_cs_usage="\ | |
36258 | \`$as_me' instantiates files from templates according to the | |
36259 | current configuration. | |
36260 | ||
36261 | Usage: $0 [OPTIONS] [FILE]... | |
36262 | ||
36263 | -h, --help print this help, then exit | |
36264 | -V, --version print version number, then exit | |
36265 | -q, --quiet do not print progress messages | |
36266 | -d, --debug don't remove temporary files | |
36267 | --recheck update $as_me by reconfiguring in the same conditions | |
36268 | --file=FILE[:TEMPLATE] | |
36269 | instantiate the configuration file FILE | |
36270 | --header=FILE[:TEMPLATE] | |
36271 | instantiate the configuration header FILE | |
36272 | ||
36273 | Configuration files: | |
36274 | $config_files | |
36275 | ||
36276 | Configuration headers: | |
36277 | $config_headers | |
36278 | ||
36279 | Configuration commands: | |
36280 | $config_commands | |
36281 | ||
36282 | Report bugs to <bug-autoconf@gnu.org>." | |
36283 | _ACEOF | |
36284 | ||
36285 | cat >>$CONFIG_STATUS <<_ACEOF | |
36286 | ac_cs_version="\\ | |
e46d2a18 | 36287 | wxWindows config.status 2.5.1 |
e6cc62c6 VS |
36288 | configured by $0, generated by GNU Autoconf 2.57, |
36289 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | |
36290 | ||
36291 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
36292 | Free Software Foundation, Inc. | |
36293 | This config.status script is free software; the Free Software Foundation | |
36294 | gives unlimited permission to copy, distribute and modify it." | |
36295 | srcdir=$srcdir | |
36296 | INSTALL="$INSTALL" | |
36297 | _ACEOF | |
36298 | ||
36299 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36300 | # If no file are specified by the user, then we need to provide default | |
36301 | # value. By we need to know if files were specified by the user. | |
36302 | ac_need_defaults=: | |
36303 | while test $# != 0 | |
36304 | do | |
36305 | case $1 in | |
36306 | --*=*) | |
36307 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
36308 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
36309 | ac_shift=: | |
36310 | ;; | |
36311 | -*) | |
36312 | ac_option=$1 | |
36313 | ac_optarg=$2 | |
36314 | ac_shift=shift | |
36315 | ;; | |
36316 | *) # This is not an option, so the user has probably given explicit | |
36317 | # arguments. | |
36318 | ac_option=$1 | |
36319 | ac_need_defaults=false;; | |
36320 | esac | |
36321 | ||
36322 | case $ac_option in | |
36323 | # Handling of the options. | |
36324 | _ACEOF | |
36325 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36326 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
36327 | ac_cs_recheck=: ;; | |
36328 | --version | --vers* | -V ) | |
36329 | echo "$ac_cs_version"; exit 0 ;; | |
36330 | --he | --h) | |
36331 | # Conflict between --help and --header | |
36332 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
36333 | Try \`$0 --help' for more information." >&5 | |
36334 | echo "$as_me: error: ambiguous option: $1 | |
36335 | Try \`$0 --help' for more information." >&2;} | |
36336 | { (exit 1); exit 1; }; };; | |
36337 | --help | --hel | -h ) | |
36338 | echo "$ac_cs_usage"; exit 0 ;; | |
36339 | --debug | --d* | -d ) | |
36340 | debug=: ;; | |
36341 | --file | --fil | --fi | --f ) | |
36342 | $ac_shift | |
36343 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
36344 | ac_need_defaults=false;; | |
36345 | --header | --heade | --head | --hea ) | |
36346 | $ac_shift | |
36347 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
36348 | ac_need_defaults=false;; | |
36349 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
36350 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
36351 | ac_cs_silent=: ;; | |
36352 | ||
36353 | # This is an error. | |
36354 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | |
36355 | Try \`$0 --help' for more information." >&5 | |
36356 | echo "$as_me: error: unrecognized option: $1 | |
36357 | Try \`$0 --help' for more information." >&2;} | |
36358 | { (exit 1); exit 1; }; } ;; | |
36359 | ||
36360 | *) ac_config_targets="$ac_config_targets $1" ;; | |
36361 | ||
36362 | esac | |
36363 | shift | |
36364 | done | |
36365 | ||
36366 | ac_configure_extra_args= | |
36367 | ||
36368 | if $ac_cs_silent; then | |
36369 | exec 6>/dev/null | |
36370 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
fe0895cf VS |
36371 | fi |
36372 | ||
e6cc62c6 VS |
36373 | _ACEOF |
36374 | cat >>$CONFIG_STATUS <<_ACEOF | |
36375 | if \$ac_cs_recheck; then | |
36376 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
36377 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
fe0895cf VS |
36378 | fi |
36379 | ||
e6cc62c6 | 36380 | _ACEOF |
fe0895cf | 36381 | |
e6cc62c6 | 36382 | cat >>$CONFIG_STATUS <<_ACEOF |
10f2d63a | 36383 | # |
e6cc62c6 | 36384 | # INIT-COMMANDS section. |
10f2d63a | 36385 | # |
10f2d63a | 36386 | |
a0b9e27f | 36387 | |
e6cc62c6 VS |
36388 | TOOLCHAIN_NAME="${TOOLCHAIN_NAME}" |
36389 | LN_S="${LN_S}" | |
10f2d63a | 36390 | |
10f2d63a | 36391 | |
10f2d63a | 36392 | |
e6cc62c6 | 36393 | _ACEOF |
8284b0c5 | 36394 | |
52127426 | 36395 | |
247f5006 | 36396 | |
e6cc62c6 VS |
36397 | cat >>$CONFIG_STATUS <<\_ACEOF |
36398 | for ac_config_target in $ac_config_targets | |
247f5006 | 36399 | do |
e6cc62c6 VS |
36400 | case "$ac_config_target" in |
36401 | # Handling of arguments. | |
81345eef VZ |
36402 | "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;; |
36403 | "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;; | |
36404 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
9747f85d | 36405 | "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;; |
e6cc62c6 VS |
36406 | "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
36407 | "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;; | |
36408 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
36409 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
36410 | { (exit 1); exit 1; }; };; | |
247f5006 VZ |
36411 | esac |
36412 | done | |
36413 | ||
e6cc62c6 VS |
36414 | # If the user did not use the arguments to specify the items to instantiate, |
36415 | # then the envvar interface is used. Set only those that are not. | |
36416 | # We use the long form for the default assignment because of an extremely | |
36417 | # bizarre bug on SunOS 4.1.3. | |
36418 | if $ac_need_defaults; then | |
36419 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
36420 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
36421 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
36422 | fi | |
36423 | ||
36424 | # Have a temporary directory for convenience. Make it in the build tree | |
36425 | # simply because there is no reason to put it here, and in addition, | |
36426 | # creating and moving files from /tmp can sometimes cause problems. | |
36427 | # Create a temporary directory, and hook for its removal unless debugging. | |
36428 | $debug || | |
36429 | { | |
36430 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | |
36431 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
36432 | } | |
247f5006 | 36433 | |
e6cc62c6 | 36434 | # Create a (secure) tmp directory for tmp files. |
247f5006 | 36435 | |
e6cc62c6 VS |
36436 | { |
36437 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | |
36438 | test -n "$tmp" && test -d "$tmp" | |
36439 | } || | |
36440 | { | |
36441 | tmp=./confstat$$-$RANDOM | |
36442 | (umask 077 && mkdir $tmp) | |
36443 | } || | |
36444 | { | |
36445 | echo "$me: cannot create a temporary directory in ." >&2 | |
36446 | { (exit 1); exit 1; } | |
36447 | } | |
36448 | ||
36449 | _ACEOF | |
36450 | ||
36451 | cat >>$CONFIG_STATUS <<_ACEOF | |
36452 | ||
36453 | # | |
36454 | # CONFIG_FILES section. | |
36455 | # | |
247f5006 | 36456 | |
e6cc62c6 VS |
36457 | # No need to generate the scripts if there are no CONFIG_FILES. |
36458 | # This happens for instance when ./config.status config.h | |
36459 | if test -n "\$CONFIG_FILES"; then | |
36460 | # Protect against being on the right side of a sed subst in config.status. | |
36461 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
36462 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
36463 | s,@SHELL@,$SHELL,;t t | |
36464 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | |
36465 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
36466 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
36467 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
36468 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
36469 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
36470 | s,@exec_prefix@,$exec_prefix,;t t | |
36471 | s,@prefix@,$prefix,;t t | |
36472 | s,@program_transform_name@,$program_transform_name,;t t | |
36473 | s,@bindir@,$bindir,;t t | |
36474 | s,@sbindir@,$sbindir,;t t | |
36475 | s,@libexecdir@,$libexecdir,;t t | |
36476 | s,@datadir@,$datadir,;t t | |
36477 | s,@sysconfdir@,$sysconfdir,;t t | |
36478 | s,@sharedstatedir@,$sharedstatedir,;t t | |
36479 | s,@localstatedir@,$localstatedir,;t t | |
36480 | s,@libdir@,$libdir,;t t | |
36481 | s,@includedir@,$includedir,;t t | |
36482 | s,@oldincludedir@,$oldincludedir,;t t | |
36483 | s,@infodir@,$infodir,;t t | |
36484 | s,@mandir@,$mandir,;t t | |
36485 | s,@build_alias@,$build_alias,;t t | |
36486 | s,@host_alias@,$host_alias,;t t | |
36487 | s,@target_alias@,$target_alias,;t t | |
36488 | s,@DEFS@,$DEFS,;t t | |
36489 | s,@ECHO_C@,$ECHO_C,;t t | |
36490 | s,@ECHO_N@,$ECHO_N,;t t | |
36491 | s,@ECHO_T@,$ECHO_T,;t t | |
36492 | s,@LIBS@,$LIBS,;t t | |
36493 | s,@build@,$build,;t t | |
36494 | s,@build_cpu@,$build_cpu,;t t | |
36495 | s,@build_vendor@,$build_vendor,;t t | |
36496 | s,@build_os@,$build_os,;t t | |
36497 | s,@host@,$host,;t t | |
36498 | s,@host_cpu@,$host_cpu,;t t | |
36499 | s,@host_vendor@,$host_vendor,;t t | |
36500 | s,@host_os@,$host_os,;t t | |
36501 | s,@target@,$target,;t t | |
36502 | s,@target_cpu@,$target_cpu,;t t | |
36503 | s,@target_vendor@,$target_vendor,;t t | |
36504 | s,@target_os@,$target_os,;t t | |
36505 | s,@CC@,$CC,;t t | |
36506 | s,@CFLAGS@,$CFLAGS,;t t | |
36507 | s,@LDFLAGS@,$LDFLAGS,;t t | |
36508 | s,@CPPFLAGS@,$CPPFLAGS,;t t | |
36509 | s,@ac_ct_CC@,$ac_ct_CC,;t t | |
36510 | s,@EXEEXT@,$EXEEXT,;t t | |
36511 | s,@OBJEXT@,$OBJEXT,;t t | |
36512 | s,@CPP@,$CPP,;t t | |
36513 | s,@EGREP@,$EGREP,;t t | |
36514 | s,@CXX@,$CXX,;t t | |
36515 | s,@CXXFLAGS@,$CXXFLAGS,;t t | |
36516 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | |
36517 | s,@RANLIB@,$RANLIB,;t t | |
36518 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | |
36519 | s,@AR@,$AR,;t t | |
36520 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | |
36521 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | |
36522 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | |
36523 | s,@STRIP@,$STRIP,;t t | |
36524 | s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t | |
e6cc62c6 VS |
36525 | s,@LN_S@,$LN_S,;t t |
36526 | s,@CXXCPP@,$CXXCPP,;t t | |
672abd7a | 36527 | s,@subdirs@,$subdirs,;t t |
e6cc62c6 VS |
36528 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
36529 | s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | |
36530 | s,@GTK_LIBS@,$GTK_LIBS,;t t | |
36531 | s,@GTK_CONFIG@,$GTK_CONFIG,;t t | |
36532 | s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t | |
36533 | s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t | |
36534 | s,@X_CFLAGS@,$X_CFLAGS,;t t | |
36535 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t | |
36536 | s,@X_LIBS@,$X_LIBS,;t t | |
36537 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t | |
36538 | s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t | |
36539 | s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t | |
36540 | s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t | |
36541 | s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t | |
e6cc62c6 VS |
36542 | s,@RESCOMP@,$RESCOMP,;t t |
36543 | s,@DEREZ@,$DEREZ,;t t | |
36544 | s,@SETFILE@,$SETFILE,;t t | |
36545 | s,@LIBICONV@,$LIBICONV,;t t | |
edd891e2 VS |
36546 | s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t |
36547 | s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t | |
36548 | s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t | |
e6cc62c6 VS |
36549 | s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t |
36550 | s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t | |
672abd7a | 36551 | s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t |
e6cc62c6 VS |
36552 | s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t |
36553 | s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t | |
36554 | s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t | |
36555 | s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t | |
8ee2dd05 VS |
36556 | s,@VENDOR@,$VENDOR,;t t |
36557 | s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t | |
e6cc62c6 VS |
36558 | s,@WXUNIV@,$WXUNIV,;t t |
36559 | s,@MONOLITHIC@,$MONOLITHIC,;t t | |
36560 | s,@EXTRALIBS@,$EXTRALIBS,;t t | |
672abd7a | 36561 | s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t |
bb41dcbe | 36562 | s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t |
c74dc163 | 36563 | s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t |
34b08d2c | 36564 | s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t |
e6cc62c6 VS |
36565 | s,@UNICODE@,$UNICODE,;t t |
36566 | s,@BUILD@,$BUILD,;t t | |
6c67131a VS |
36567 | s,@DEBUG_INFO@,$DEBUG_INFO,;t t |
36568 | s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t | |
e6cc62c6 VS |
36569 | s,@SHARED@,$SHARED,;t t |
36570 | s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t | |
36571 | s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t | |
36572 | s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t | |
0f1bc9c2 | 36573 | s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t |
ea66c762 | 36574 | s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t |
e6cc62c6 VS |
36575 | s,@SET_MAKE@,$SET_MAKE,;t t |
36576 | s,@MAKE_SET@,$MAKE_SET,;t t | |
874d12cf VS |
36577 | s,@ac_ct_AR@,$ac_ct_AR,;t t |
36578 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | |
36579 | s,@NM@,$NM,;t t | |
36580 | s,@ac_ct_NM@,$ac_ct_NM,;t t | |
e6cc62c6 | 36581 | s,@INSTALL_DIR@,$INSTALL_DIR,;t t |
6b9d41a5 | 36582 | s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t |
e6cc62c6 VS |
36583 | s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t |
36584 | s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t | |
36585 | s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t | |
36586 | s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t | |
36587 | s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t | |
96c1699d | 36588 | s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t |
e6cc62c6 | 36589 | s,@SO_SUFFIX@,$SO_SUFFIX,;t t |
131f235d | 36590 | s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t |
4b1f6360 | 36591 | s,@LIBPREFIX@,$LIBPREFIX,;t t |
e6cc62c6 | 36592 | s,@DLLPREFIX@,$DLLPREFIX,;t t |
131f235d | 36593 | s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t |
dc838d98 | 36594 | s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t |
e6cc62c6 VS |
36595 | s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t |
36596 | s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t | |
131f235d VS |
36597 | s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t |
36598 | s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t | |
e6cc62c6 VS |
36599 | s,@PIC_FLAG@,$PIC_FLAG,;t t |
36600 | s,@USE_SOVERSION@,$USE_SOVERSION,;t t | |
36601 | s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t | |
36602 | s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t | |
36603 | s,@USE_MACVERSION@,$USE_MACVERSION,;t t | |
36604 | s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t | |
36605 | s,@SONAME_FLAG@,$SONAME_FLAG,;t t | |
49b0a3aa | 36606 | s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t |
45842500 | 36607 | s,@GCC_PCH@,$GCC_PCH,;t t |
d78c94f2 | 36608 | s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t |
6c67131a VS |
36609 | s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t |
36610 | s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t | |
d78c94f2 | 36611 | s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t |
6c67131a VS |
36612 | s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t |
36613 | s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t | |
36614 | s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t | |
36615 | s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t | |
f95cd8fa | 36616 | s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t |
8ee2dd05 | 36617 | s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t |
45842500 | 36618 | s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t |
6f628073 | 36619 | s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t |
6f628073 VS |
36620 | s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t |
36621 | s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t | |
8772a1a7 | 36622 | 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 |
250700e4 | 36623 | s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t |
eb69fda5 | 36624 | s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t |
8ee2dd05 | 36625 | s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t |
6f628073 | 36626 | s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t |
8772a1a7 | 36627 | 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 |
250700e4 | 36628 | s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t |
eb69fda5 | 36629 | s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t |
3af038c0 | 36630 | s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t |
6f628073 VS |
36631 | s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t |
36632 | s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t | |
3af038c0 VS |
36633 | s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t |
36634 | s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t | |
6f628073 | 36635 | s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t |
3af038c0 | 36636 | s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t |
250700e4 RD |
36637 | s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t |
36638 | s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t | |
36639 | s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t | |
8ee2dd05 | 36640 | s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t |
45842500 | 36641 | s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t |
3d8c1de0 | 36642 | s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t |
8772a1a7 | 36643 | s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t |
3af038c0 VS |
36644 | s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t |
36645 | s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t | |
36646 | s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t | |
45842500 | 36647 | s,@COND_SHARED_0@,$COND_SHARED_0,;t t |
250700e4 | 36648 | s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t |
52a5a009 VS |
36649 | s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t |
36650 | s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t | |
36651 | s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t | |
36652 | s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t | |
36653 | s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t | |
36654 | s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t | |
36655 | s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t | |
45842500 | 36656 | s,@COND_SHARED_1@,$COND_SHARED_1,;t t |
250700e4 | 36657 | s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t |
6f628073 VS |
36658 | s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t |
36659 | s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t | |
36660 | s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t | |
36661 | s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t | |
8ee2dd05 | 36662 | s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t |
3af038c0 | 36663 | s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t |
8772a1a7 | 36664 | s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t |
6f628073 VS |
36665 | s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t |
36666 | s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t | |
36667 | s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t | |
6f628073 VS |
36668 | s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t |
36669 | s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t | |
36670 | s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t | |
8ee2dd05 | 36671 | s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t |
6f628073 VS |
36672 | s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t |
36673 | s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t | |
96c1699d VS |
36674 | s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t |
36675 | s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t | |
36676 | s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t | |
6f628073 VS |
36677 | s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t |
36678 | s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t | |
3af038c0 | 36679 | s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t |
7015ef3a VZ |
36680 | s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t |
36681 | s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t | |
3af038c0 VS |
36682 | s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t |
36683 | s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t | |
9747f85d VS |
36684 | s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t |
36685 | s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t | |
66a96744 VS |
36686 | s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t |
36687 | s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t | |
36688 | s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t | |
57e7d4ac | 36689 | s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t |
6f628073 VS |
36690 | s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t |
36691 | s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t | |
36692 | s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t | |
36693 | s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t | |
3af038c0 | 36694 | s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t |
66a96744 | 36695 | s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t |
3af038c0 VS |
36696 | s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t |
36697 | s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t | |
36698 | s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t | |
36699 | s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t | |
36700 | s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t | |
36701 | s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t | |
e6cc62c6 VS |
36702 | s,@PATH_IFS@,$PATH_IFS,;t t |
36703 | s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t | |
36704 | s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t | |
36705 | s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t | |
36706 | s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t | |
36707 | s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t | |
cf615ebb VS |
36708 | s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t |
36709 | s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t | |
e6cc62c6 VS |
36710 | s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t |
36711 | s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t | |
36712 | s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t | |
36713 | s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t | |
36714 | s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t | |
36715 | s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t | |
36716 | s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t | |
36717 | s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t | |
36718 | s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t | |
36719 | s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t | |
36720 | s,@WX_ALL@,$WX_ALL,;t t | |
36721 | s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t | |
36722 | s,@SHARED_LD@,$SHARED_LD,;t t | |
e6cc62c6 VS |
36723 | s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t |
36724 | s,@STATIC_FLAG@,$STATIC_FLAG,;t t | |
36725 | s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t | |
36726 | s,@USE_GUI@,$USE_GUI,;t t | |
36727 | s,@AFMINSTALL@,$AFMINSTALL,;t t | |
36728 | s,@WIN32INSTALL@,$WIN32INSTALL,;t t | |
36729 | s,@TOOLKIT@,$TOOLKIT,;t t | |
36730 | s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t | |
36731 | s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t | |
36732 | s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t | |
36733 | s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t | |
36734 | s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t | |
36735 | s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t | |
36736 | s,@cross_compiling@,$cross_compiling,;t t | |
67c13b6c | 36737 | s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t |
e6cc62c6 VS |
36738 | s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t |
36739 | s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t | |
36740 | s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t | |
36741 | s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t | |
36742 | s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t | |
36743 | s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t | |
ffef10f6 | 36744 | s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t |
e6cc62c6 | 36745 | s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t |
f0290fca VS |
36746 | s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t |
36747 | s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t | |
e6cc62c6 VS |
36748 | s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t |
36749 | s,@ALL_HEADERS@,$ALL_HEADERS,;t t | |
36750 | s,@ALL_SOURCES@,$ALL_SOURCES,;t t | |
36751 | s,@GUIDIST@,$GUIDIST,;t t | |
36752 | s,@PORT_FILES@,$PORT_FILES,;t t | |
36753 | s,@DISTDIR@,$DISTDIR,;t t | |
36754 | s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t | |
36755 | s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t | |
36756 | s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t | |
36757 | s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t | |
36758 | s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t | |
36759 | s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t | |
36760 | s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t | |
36761 | s,@RESFLAGS@,$RESFLAGS,;t t | |
36762 | s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t | |
36763 | s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t | |
36764 | s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t | |
36765 | s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t | |
36766 | s,@LIBWXMACRES@,$LIBWXMACRES,;t t | |
36767 | s,@MACRESCOMP@,$MACRESCOMP,;t t | |
36768 | s,@MACSETFILE@,$MACSETFILE,;t t | |
36769 | s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t | |
36770 | s,@GCC@,$GCC,;t t | |
36771 | s,@DLLTOOL@,$DLLTOOL,;t t | |
36772 | s,@AS@,$AS,;t t | |
e6cc62c6 VS |
36773 | s,@LD@,$LD,;t t |
36774 | s,@MAKEINFO@,$MAKEINFO,;t t | |
36775 | s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t | |
e6cc62c6 VS |
36776 | s,@LIBOBJS@,$LIBOBJS,;t t |
36777 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | |
247f5006 VZ |
36778 | CEOF |
36779 | ||
e6cc62c6 VS |
36780 | _ACEOF |
36781 | ||
36782 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36783 | # Split the substitutions into bite-sized pieces for seds with | |
36784 | # small command number limits, like on Digital OSF/1 and HP-UX. | |
36785 | ac_max_sed_lines=48 | |
36786 | ac_sed_frag=1 # Number of current file. | |
36787 | ac_beg=1 # First line for current file. | |
36788 | ac_end=$ac_max_sed_lines # Line after last line for current file. | |
36789 | ac_more_lines=: | |
36790 | ac_sed_cmds= | |
36791 | while $ac_more_lines; do | |
36792 | if test $ac_beg -gt 1; then | |
36793 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
247f5006 | 36794 | else |
e6cc62c6 VS |
36795 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
36796 | fi | |
36797 | if test ! -s $tmp/subs.frag; then | |
36798 | ac_more_lines=false | |
36799 | else | |
36800 | # The purpose of the label and of the branching condition is to | |
36801 | # speed up the sed processing (if there are no `@' at all, there | |
36802 | # is no need to browse any of the substitutions). | |
36803 | # These are the two extra sed commands mentioned above. | |
36804 | (echo ':t | |
36805 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
36806 | if test -z "$ac_sed_cmds"; then | |
36807 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
36808 | else | |
36809 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
36810 | fi | |
36811 | ac_sed_frag=`expr $ac_sed_frag + 1` | |
36812 | ac_beg=$ac_end | |
36813 | ac_end=`expr $ac_end + $ac_max_sed_lines` | |
247f5006 | 36814 | fi |
e6cc62c6 VS |
36815 | done |
36816 | if test -z "$ac_sed_cmds"; then | |
36817 | ac_sed_cmds=cat | |
10f2d63a | 36818 | fi |
e6cc62c6 | 36819 | fi # test -n "$CONFIG_FILES" |
10f2d63a | 36820 | |
e6cc62c6 VS |
36821 | _ACEOF |
36822 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36823 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
a0b9e27f | 36824 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
e6cc62c6 VS |
36825 | case $ac_file in |
36826 | - | *:- | *:-:* ) # input from stdin | |
36827 | cat >$tmp/stdin | |
36828 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
36829 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
36830 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
36831 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
36832 | * ) ac_file_in=$ac_file.in ;; | |
10f2d63a | 36833 | esac |
247f5006 | 36834 | |
e6cc62c6 VS |
36835 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
36836 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
36837 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
36838 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
36839 | X"$ac_file" : 'X\(//\)$' \| \ | |
36840 | X"$ac_file" : 'X\(/\)' \| \ | |
36841 | . : '\(.\)' 2>/dev/null || | |
36842 | echo X"$ac_file" | | |
36843 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
36844 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
36845 | /^X\(\/\/\)$/{ s//\1/; q; } | |
36846 | /^X\(\/\).*/{ s//\1/; q; } | |
36847 | s/.*/./; q'` | |
36848 | { if $as_mkdir_p; then | |
36849 | mkdir -p "$ac_dir" | |
a0b9e27f | 36850 | else |
e6cc62c6 VS |
36851 | as_dir="$ac_dir" |
36852 | as_dirs= | |
36853 | while test ! -d "$as_dir"; do | |
36854 | as_dirs="$as_dir $as_dirs" | |
36855 | as_dir=`(dirname "$as_dir") 2>/dev/null || | |
36856 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
36857 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
36858 | X"$as_dir" : 'X\(//\)$' \| \ | |
36859 | X"$as_dir" : 'X\(/\)' \| \ | |
36860 | . : '\(.\)' 2>/dev/null || | |
36861 | echo X"$as_dir" | | |
36862 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
36863 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
36864 | /^X\(\/\/\)$/{ s//\1/; q; } | |
36865 | /^X\(\/\).*/{ s//\1/; q; } | |
36866 | s/.*/./; q'` | |
36867 | done | |
36868 | test ! -n "$as_dirs" || mkdir $as_dirs | |
36869 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
36870 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
36871 | { (exit 1); exit 1; }; }; } | |
36872 | ||
36873 | ac_builddir=. | |
36874 | ||
36875 | if test "$ac_dir" != .; then | |
36876 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
36877 | # A "../" for each directory in $ac_dir_suffix. | |
36878 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
36879 | else | |
36880 | ac_dir_suffix= ac_top_builddir= | |
36881 | fi | |
247f5006 | 36882 | |
e6cc62c6 VS |
36883 | case $srcdir in |
36884 | .) # No --srcdir option. We are building in place. | |
36885 | ac_srcdir=. | |
36886 | if test -z "$ac_top_builddir"; then | |
36887 | ac_top_srcdir=. | |
36888 | else | |
36889 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
36890 | fi ;; | |
36891 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
36892 | ac_srcdir=$srcdir$ac_dir_suffix; | |
36893 | ac_top_srcdir=$srcdir ;; | |
247f5006 | 36894 | *) # Relative path. |
e6cc62c6 VS |
36895 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
36896 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
36897 | esac | |
36898 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
36899 | # absolute. | |
36900 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
36901 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
36902 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
36903 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
10f2d63a | 36904 | |
247f5006 | 36905 | |
e6cc62c6 VS |
36906 | case $INSTALL in |
36907 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
36908 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | |
a0b9e27f | 36909 | esac |
247f5006 | 36910 | |
e6cc62c6 VS |
36911 | if test x"$ac_file" != x-; then |
36912 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
36913 | echo "$as_me: creating $ac_file" >&6;} | |
36914 | rm -f "$ac_file" | |
36915 | fi | |
36916 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
36917 | # use $as_me), people would be surprised to read: | |
36918 | # /* config.h. Generated by config.status. */ | |
36919 | if test x"$ac_file" = x-; then | |
36920 | configure_input= | |
36921 | else | |
36922 | configure_input="$ac_file. " | |
36923 | fi | |
36924 | configure_input=$configure_input"Generated from `echo $ac_file_in | | |
36925 | sed 's,.*/,,'` by configure." | |
36926 | ||
36927 | # First look for the input files in the build tree, otherwise in the | |
36928 | # src tree. | |
36929 | ac_file_inputs=`IFS=: | |
36930 | for f in $ac_file_in; do | |
36931 | case $f in | |
36932 | -) echo $tmp/stdin ;; | |
36933 | [\\/$]*) | |
36934 | # Absolute (can't be DOS-style, as IFS=:) | |
36935 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
36936 | echo "$as_me: error: cannot find input file: $f" >&2;} | |
36937 | { (exit 1); exit 1; }; } | |
36938 | echo $f;; | |
36939 | *) # Relative | |
36940 | if test -f "$f"; then | |
36941 | # Build tree | |
36942 | echo $f | |
36943 | elif test -f "$srcdir/$f"; then | |
36944 | # Source tree | |
36945 | echo $srcdir/$f | |
36946 | else | |
36947 | # /dev/null tree | |
36948 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
36949 | echo "$as_me: error: cannot find input file: $f" >&2;} | |
36950 | { (exit 1); exit 1; }; } | |
36951 | fi;; | |
36952 | esac | |
36953 | done` || { (exit 1); exit 1; } | |
36954 | _ACEOF | |
36955 | cat >>$CONFIG_STATUS <<_ACEOF | |
36956 | sed "$ac_vpsub | |
36957 | $extrasub | |
36958 | _ACEOF | |
36959 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36960 | :t | |
36961 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
36962 | s,@configure_input@,$configure_input,;t t | |
36963 | s,@srcdir@,$ac_srcdir,;t t | |
36964 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | |
36965 | s,@top_srcdir@,$ac_top_srcdir,;t t | |
36966 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | |
36967 | s,@builddir@,$ac_builddir,;t t | |
36968 | s,@abs_builddir@,$ac_abs_builddir,;t t | |
36969 | s,@top_builddir@,$ac_top_builddir,;t t | |
36970 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | |
36971 | s,@INSTALL@,$ac_INSTALL,;t t | |
36972 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | |
36973 | rm -f $tmp/stdin | |
36974 | if test x"$ac_file" != x-; then | |
36975 | mv $tmp/out $ac_file | |
36976 | else | |
36977 | cat $tmp/out | |
36978 | rm -f $tmp/out | |
36979 | fi | |
36980 | ||
36981 | done | |
36982 | _ACEOF | |
36983 | cat >>$CONFIG_STATUS <<\_ACEOF | |
36984 | ||
36985 | # | |
36986 | # CONFIG_HEADER section. | |
36987 | # | |
10f2d63a VZ |
36988 | |
36989 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
36990 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
36991 | # | |
36992 | # ac_d sets the value in "#define NAME VALUE" lines. | |
e6cc62c6 VS |
36993 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
36994 | ac_dB='[ ].*$,\1#\2' | |
36995 | ac_dC=' ' | |
36996 | ac_dD=',;t' | |
36997 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
36998 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
36999 | ac_uB='$,\1#\2define\3' | |
10f2d63a | 37000 | ac_uC=' ' |
e6cc62c6 VS |
37001 | ac_uD=',;t' |
37002 | ||
37003 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |
10f2d63a | 37004 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
e6cc62c6 VS |
37005 | case $ac_file in |
37006 | - | *:- | *:-:* ) # input from stdin | |
37007 | cat >$tmp/stdin | |
37008 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
37009 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
37010 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
37011 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
37012 | * ) ac_file_in=$ac_file.in ;; | |
10f2d63a VZ |
37013 | esac |
37014 | ||
e6cc62c6 VS |
37015 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
37016 | echo "$as_me: creating $ac_file" >&6;} | |
37017 | ||
37018 | # First look for the input files in the build tree, otherwise in the | |
37019 | # src tree. | |
37020 | ac_file_inputs=`IFS=: | |
37021 | for f in $ac_file_in; do | |
37022 | case $f in | |
37023 | -) echo $tmp/stdin ;; | |
37024 | [\\/$]*) | |
37025 | # Absolute (can't be DOS-style, as IFS=:) | |
37026 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
37027 | echo "$as_me: error: cannot find input file: $f" >&2;} | |
37028 | { (exit 1); exit 1; }; } | |
37029 | echo $f;; | |
37030 | *) # Relative | |
37031 | if test -f "$f"; then | |
37032 | # Build tree | |
37033 | echo $f | |
37034 | elif test -f "$srcdir/$f"; then | |
37035 | # Source tree | |
37036 | echo $srcdir/$f | |
37037 | else | |
37038 | # /dev/null tree | |
37039 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
37040 | echo "$as_me: error: cannot find input file: $f" >&2;} | |
37041 | { (exit 1); exit 1; }; } | |
37042 | fi;; | |
37043 | esac | |
37044 | done` || { (exit 1); exit 1; } | |
37045 | # Remove the trailing spaces. | |
37046 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
37047 | ||
37048 | _ACEOF | |
37049 | ||
37050 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
37051 | # `conftest.undefs', that substitutes the proper values into | |
37052 | # config.h.in to produce config.h. The first handles `#define' | |
37053 | # templates, and the second `#undef' templates. | |
37054 | # And first: Protect against being on the right side of a sed subst in | |
37055 | # config.status. Protect against being in an unquoted here document | |
37056 | # in config.status. | |
37057 | rm -f conftest.defines conftest.undefs | |
37058 | # Using a here document instead of a string reduces the quoting nightmare. | |
37059 | # Putting comments in sed scripts is not portable. | |
37060 | # | |
37061 | # `end' is used to avoid that the second main sed command (meant for | |
37062 | # 0-ary CPP macros) applies to n-ary macro definitions. | |
37063 | # See the Autoconf documentation for `clear'. | |
37064 | cat >confdef2sed.sed <<\_ACEOF | |
37065 | s/[\\&,]/\\&/g | |
37066 | s,[\\$`],\\&,g | |
37067 | t clear | |
37068 | : clear | |
37069 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | |
37070 | t end | |
37071 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
37072 | : end | |
37073 | _ACEOF | |
37074 | # If some macros were called several times there might be several times | |
37075 | # the same #defines, which is useless. Nevertheless, we may not want to | |
37076 | # sort them, since we want the *last* AC-DEFINE to be honored. | |
37077 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
37078 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
37079 | rm -f confdef2sed.sed | |
10f2d63a VZ |
37080 | |
37081 | # This sed command replaces #undef with comments. This is necessary, for | |
37082 | # example, in the case of _POSIX_SOURCE, which is predefined and required | |
37083 | # on some systems where configure will not decide to define it. | |
e6cc62c6 VS |
37084 | cat >>conftest.undefs <<\_ACEOF |
37085 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | |
37086 | _ACEOF | |
37087 | ||
37088 | # Break up conftest.defines because some shells have a limit on the size | |
37089 | # of here documents, and old seds have small limits too (100 cmds). | |
37090 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | |
37091 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | |
37092 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | |
37093 | echo ' :' >>$CONFIG_STATUS | |
37094 | rm -f conftest.tail | |
37095 | while grep . conftest.defines >/dev/null | |
37096 | do | |
37097 | # Write a limited-size here document to $tmp/defines.sed. | |
37098 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | |
37099 | # Speed up: don't consider the non `#define' lines. | |
37100 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | |
37101 | # Work around the forget-to-reset-the-flag bug. | |
37102 | echo 't clr' >>$CONFIG_STATUS | |
37103 | echo ': clr' >>$CONFIG_STATUS | |
37104 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | |
37105 | echo 'CEOF | |
37106 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | |
37107 | rm -f $tmp/in | |
37108 | mv $tmp/out $tmp/in | |
37109 | ' >>$CONFIG_STATUS | |
37110 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
37111 | rm -f conftest.defines | |
37112 | mv conftest.tail conftest.defines | |
37113 | done | |
37114 | rm -f conftest.defines | |
37115 | echo ' fi # grep' >>$CONFIG_STATUS | |
37116 | echo >>$CONFIG_STATUS | |
10f2d63a | 37117 | |
e6cc62c6 VS |
37118 | # Break up conftest.undefs because some shells have a limit on the size |
37119 | # of here documents, and old seds have small limits too (100 cmds). | |
37120 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
10f2d63a | 37121 | rm -f conftest.tail |
e6cc62c6 | 37122 | while grep . conftest.undefs >/dev/null |
10f2d63a | 37123 | do |
e6cc62c6 VS |
37124 | # Write a limited-size here document to $tmp/undefs.sed. |
37125 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
37126 | # Speed up: don't consider the non `#undef' | |
37127 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
37128 | # Work around the forget-to-reset-the-flag bug. | |
37129 | echo 't clr' >>$CONFIG_STATUS | |
37130 | echo ': clr' >>$CONFIG_STATUS | |
37131 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
10f2d63a | 37132 | echo 'CEOF |
e6cc62c6 VS |
37133 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
37134 | rm -f $tmp/in | |
37135 | mv $tmp/out $tmp/in | |
37136 | ' >>$CONFIG_STATUS | |
37137 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
37138 | rm -f conftest.undefs | |
37139 | mv conftest.tail conftest.undefs | |
10f2d63a | 37140 | done |
e6cc62c6 VS |
37141 | rm -f conftest.undefs |
37142 | ||
37143 | cat >>$CONFIG_STATUS <<\_ACEOF | |
37144 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
37145 | # use $as_me), people would be surprised to read: | |
37146 | # /* config.h. Generated by config.status. */ | |
37147 | if test x"$ac_file" = x-; then | |
37148 | echo "/* Generated by configure. */" >$tmp/config.h | |
10f2d63a | 37149 | else |
e6cc62c6 | 37150 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
247f5006 | 37151 | fi |
e6cc62c6 VS |
37152 | cat $tmp/in >>$tmp/config.h |
37153 | rm -f $tmp/in | |
37154 | if test x"$ac_file" != x-; then | |
37155 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | |
37156 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | |
37157 | echo "$as_me: $ac_file is unchanged" >&6;} | |
37158 | else | |
37159 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
37160 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
37161 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
37162 | X"$ac_file" : 'X\(//\)$' \| \ | |
37163 | X"$ac_file" : 'X\(/\)' \| \ | |
37164 | . : '\(.\)' 2>/dev/null || | |
37165 | echo X"$ac_file" | | |
37166 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
37167 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
37168 | /^X\(\/\/\)$/{ s//\1/; q; } | |
37169 | /^X\(\/\).*/{ s//\1/; q; } | |
37170 | s/.*/./; q'` | |
37171 | { if $as_mkdir_p; then | |
37172 | mkdir -p "$ac_dir" | |
37173 | else | |
37174 | as_dir="$ac_dir" | |
37175 | as_dirs= | |
37176 | while test ! -d "$as_dir"; do | |
37177 | as_dirs="$as_dir $as_dirs" | |
37178 | as_dir=`(dirname "$as_dir") 2>/dev/null || | |
37179 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
37180 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
37181 | X"$as_dir" : 'X\(//\)$' \| \ | |
37182 | X"$as_dir" : 'X\(/\)' \| \ | |
37183 | . : '\(.\)' 2>/dev/null || | |
37184 | echo X"$as_dir" | | |
37185 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
37186 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
37187 | /^X\(\/\/\)$/{ s//\1/; q; } | |
37188 | /^X\(\/\).*/{ s//\1/; q; } | |
37189 | s/.*/./; q'` | |
37190 | done | |
37191 | test ! -n "$as_dirs" || mkdir $as_dirs | |
37192 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
37193 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
37194 | { (exit 1); exit 1; }; }; } | |
a0b9e27f | 37195 | |
e6cc62c6 VS |
37196 | rm -f $ac_file |
37197 | mv $tmp/config.h $ac_file | |
37198 | fi | |
37199 | else | |
37200 | cat $tmp/config.h | |
37201 | rm -f $tmp/config.h | |
37202 | fi | |
37203 | done | |
37204 | _ACEOF | |
37205 | cat >>$CONFIG_STATUS <<\_ACEOF | |
10f2d63a | 37206 | |
e6cc62c6 VS |
37207 | # |
37208 | # CONFIG_COMMANDS section. | |
37209 | # | |
37210 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | |
37211 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | |
37212 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
37213 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || | |
37214 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
37215 | X"$ac_dest" : 'X\(//\)[^/]' \| \ | |
37216 | X"$ac_dest" : 'X\(//\)$' \| \ | |
37217 | X"$ac_dest" : 'X\(/\)' \| \ | |
37218 | . : '\(.\)' 2>/dev/null || | |
37219 | echo X"$ac_dest" | | |
37220 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
37221 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
37222 | /^X\(\/\/\)$/{ s//\1/; q; } | |
37223 | /^X\(\/\).*/{ s//\1/; q; } | |
37224 | s/.*/./; q'` | |
37225 | ac_builddir=. | |
37226 | ||
37227 | if test "$ac_dir" != .; then | |
37228 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
37229 | # A "../" for each directory in $ac_dir_suffix. | |
37230 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
37231 | else | |
37232 | ac_dir_suffix= ac_top_builddir= | |
37233 | fi | |
37234 | ||
37235 | case $srcdir in | |
37236 | .) # No --srcdir option. We are building in place. | |
37237 | ac_srcdir=. | |
37238 | if test -z "$ac_top_builddir"; then | |
37239 | ac_top_srcdir=. | |
37240 | else | |
37241 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
37242 | fi ;; | |
37243 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
37244 | ac_srcdir=$srcdir$ac_dir_suffix; | |
37245 | ac_top_srcdir=$srcdir ;; | |
37246 | *) # Relative path. | |
37247 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
37248 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
37249 | esac | |
37250 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
37251 | # absolute. | |
37252 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
37253 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
37254 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
37255 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
37256 | ||
37257 | ||
37258 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | |
37259 | echo "$as_me: executing $ac_dest commands" >&6;} | |
37260 | case $ac_dest in | |
37261 | default ) | |
652d930d | 37262 | if test ! -h wx-config; then |
991a5759 | 37263 | chmod +x wx-config |
3a922bb4 RL |
37264 | mv wx-config wx${TOOLCHAIN_NAME}-config |
37265 | ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config | |
991a5759 | 37266 | fi |
665bbe97 | 37267 | |
00cf1208 RR |
37268 | if test ! -d lib; then |
37269 | mkdir lib | |
37270 | fi | |
37271 | if test ! -d lib/wx; then | |
37272 | mkdir lib/wx | |
37273 | fi | |
37274 | if test ! -d lib/wx/include; then | |
37275 | mkdir lib/wx/include | |
37276 | fi | |
3a922bb4 RL |
37277 | if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then |
37278 | mkdir lib/wx/include/${TOOLCHAIN_NAME} | |
00cf1208 | 37279 | fi |
3a922bb4 RL |
37280 | if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then |
37281 | mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx | |
00cf1208 RR |
37282 | fi |
37283 | if test -f setup.h; then | |
3a922bb4 | 37284 | mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h |
00cf1208 | 37285 | fi |
e6cc62c6 VS |
37286 | ;; |
37287 | esac | |
37288 | done | |
37289 | _ACEOF | |
2224580a | 37290 | |
e6cc62c6 | 37291 | cat >>$CONFIG_STATUS <<\_ACEOF |
2224580a | 37292 | |
e6cc62c6 VS |
37293 | { (exit 0); exit 0; } |
37294 | _ACEOF | |
37295 | chmod +x $CONFIG_STATUS | |
37296 | ac_clean_files=$ac_clean_files_save | |
37297 | ||
37298 | ||
37299 | # configure is writing to config.log, and then calls config.status. | |
37300 | # config.status does its own redirection, appending to config.log. | |
37301 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
37302 | # by configure, so config.status won't be able to write to it; its | |
37303 | # output is simply discarded. So we exec the FD to /dev/null, | |
37304 | # effectively closing config.log, so it can be properly (re)opened and | |
37305 | # appended to by config.status. When coming back to configure, we | |
37306 | # need to make the FD available again. | |
37307 | if test "$no_create" != yes; then | |
37308 | ac_cs_success=: | |
37309 | ac_config_status_args= | |
37310 | test "$silent" = yes && | |
37311 | ac_config_status_args="$ac_config_status_args --quiet" | |
37312 | exec 5>/dev/null | |
37313 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
37314 | exec 5>>config.log | |
37315 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
37316 | # would make configure fail if this is the last instruction. | |
37317 | $ac_cs_success || { (exit 1); exit 1; } | |
2224580a VZ |
37318 | fi |
37319 | ||
672abd7a VS |
37320 | # |
37321 | # CONFIG_SUBDIRS section. | |
37322 | # | |
37323 | if test "$no_recursion" != yes; then | |
37324 | ||
37325 | # Remove --cache-file and --srcdir arguments so they do not pile up. | |
37326 | ac_sub_configure_args= | |
37327 | ac_prev= | |
37328 | for ac_arg in $ac_configure_args; do | |
37329 | if test -n "$ac_prev"; then | |
37330 | ac_prev= | |
37331 | continue | |
37332 | fi | |
37333 | case $ac_arg in | |
37334 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
37335 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
37336 | ac_prev=cache_file ;; | |
37337 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
37338 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | |
37339 | | --c=*) | |
37340 | ;; | |
37341 | --config-cache | -C) | |
37342 | ;; | |
37343 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
37344 | ac_prev=srcdir ;; | |
37345 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
37346 | ;; | |
37347 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
37348 | ac_prev=prefix ;; | |
37349 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
37350 | ;; | |
37351 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; | |
37352 | esac | |
37353 | done | |
37354 | ||
37355 | # Always prepend --prefix to ensure using the same prefix | |
37356 | # in subdir configurations. | |
37357 | ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" | |
37358 | ||
37359 | ac_popdir=`pwd` | |
37360 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | |
37361 | ||
37362 | # Do not complain, so a configure script can configure whichever | |
37363 | # parts of a large source tree are present. | |
37364 | test -d $srcdir/$ac_dir || continue | |
37365 | ||
37366 | { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 | |
37367 | echo "$as_me: configuring in $ac_dir" >&6;} | |
37368 | { if $as_mkdir_p; then | |
37369 | mkdir -p "$ac_dir" | |
37370 | else | |
37371 | as_dir="$ac_dir" | |
37372 | as_dirs= | |
37373 | while test ! -d "$as_dir"; do | |
37374 | as_dirs="$as_dir $as_dirs" | |
37375 | as_dir=`(dirname "$as_dir") 2>/dev/null || | |
37376 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
37377 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
37378 | X"$as_dir" : 'X\(//\)$' \| \ | |
37379 | X"$as_dir" : 'X\(/\)' \| \ | |
37380 | . : '\(.\)' 2>/dev/null || | |
37381 | echo X"$as_dir" | | |
37382 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
37383 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
37384 | /^X\(\/\/\)$/{ s//\1/; q; } | |
37385 | /^X\(\/\).*/{ s//\1/; q; } | |
37386 | s/.*/./; q'` | |
37387 | done | |
37388 | test ! -n "$as_dirs" || mkdir $as_dirs | |
37389 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
37390 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
37391 | { (exit 1); exit 1; }; }; } | |
37392 | ||
37393 | ac_builddir=. | |
37394 | ||
37395 | if test "$ac_dir" != .; then | |
37396 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
37397 | # A "../" for each directory in $ac_dir_suffix. | |
37398 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
37399 | else | |
37400 | ac_dir_suffix= ac_top_builddir= | |
37401 | fi | |
37402 | ||
37403 | case $srcdir in | |
37404 | .) # No --srcdir option. We are building in place. | |
37405 | ac_srcdir=. | |
37406 | if test -z "$ac_top_builddir"; then | |
37407 | ac_top_srcdir=. | |
37408 | else | |
37409 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
37410 | fi ;; | |
37411 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
37412 | ac_srcdir=$srcdir$ac_dir_suffix; | |
37413 | ac_top_srcdir=$srcdir ;; | |
37414 | *) # Relative path. | |
37415 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
37416 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
37417 | esac | |
37418 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
37419 | # absolute. | |
37420 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
37421 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
37422 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
37423 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
37424 | ||
37425 | ||
37426 | cd $ac_dir | |
37427 | ||
37428 | # Check for guested configure; otherwise get Cygnus style configure. | |
37429 | if test -f $ac_srcdir/configure.gnu; then | |
37430 | ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" | |
37431 | elif test -f $ac_srcdir/configure; then | |
37432 | ac_sub_configure="$SHELL '$ac_srcdir/configure'" | |
37433 | elif test -f $ac_srcdir/configure.in; then | |
37434 | ac_sub_configure=$ac_configure | |
37435 | else | |
37436 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 | |
37437 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | |
37438 | ac_sub_configure= | |
37439 | fi | |
37440 | ||
37441 | # The recursion is here. | |
37442 | if test -n "$ac_sub_configure"; then | |
37443 | # Make the cache file name correct relative to the subdirectory. | |
37444 | case $cache_file in | |
37445 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | |
37446 | *) # Relative path. | |
37447 | ac_sub_cache_file=$ac_top_builddir$cache_file ;; | |
37448 | esac | |
37449 | ||
37450 | { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | |
37451 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | |
37452 | # The eval makes quoting arguments work. | |
37453 | eval $ac_sub_configure $ac_sub_configure_args \ | |
37454 | --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || | |
37455 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 | |
37456 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | |
37457 | { (exit 1); exit 1; }; } | |
37458 | fi | |
37459 | ||
37460 | cd $ac_popdir | |
37461 | done | |
37462 | fi | |
37463 | ||
8284b0c5 | 37464 | |
2b5f62a0 VZ |
37465 | echo |
37466 | echo "Configured wxWindows ${WX_VERSION} for \`${host}'" | |
37467 | echo "" | |
37468 | echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}" | |
9747f85d | 37469 | echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}" |
2b5f62a0 VZ |
37470 | |
37471 | echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}" | |
37472 | echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}" | |
37473 | echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}" | |
37474 | ||
0c98a14e | 37475 | echo " What level of wxWindows compatibility should be enabled?" |
65d8ef1e VS |
37476 | echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}" |
37477 | echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}" | |
0c98a14e | 37478 | |
2b5f62a0 VZ |
37479 | echo " Which libraries should wxWindows use?" |
37480 | echo " jpeg ${wxUSE_LIBJPEG-none}" | |
37481 | echo " png ${wxUSE_LIBPNG-none}" | |
37482 | echo " regex ${wxUSE_REGEX}" | |
37483 | echo " tiff ${wxUSE_LIBTIFF-none}" | |
37484 | echo " zlib ${wxUSE_ZLIB}" | |
fd3d7534 | 37485 | echo " odbc ${wxUSE_ODBC}" |
5f0b6dff | 37486 | echo " expat ${wxUSE_EXPAT}" |
2b5f62a0 VZ |
37487 | |
37488 | echo "" | |
37489 |