1 dnl ---------------------------------------------------------------------------
3 dnl Macros for configure.in for wxWindows by Robert Roebling, Phil Blecker,
4 dnl Vadim Zeitlin and Ron Lee
6 dnl This script is under the wxWindows licence.
9 dnl ---------------------------------------------------------------------------
12 dnl ===========================================================================
13 dnl Objective-C(++) related macros
14 dnl ===========================================================================
15 m4_define([AC_WX_LANG_OBJECTIVEC],
20 m4_define([AC_WX_LANG_OBJECTIVECPLUSPLUS],
25 dnl ===========================================================================
26 dnl macros to find a file in the list of include/lib paths
27 dnl ===========================================================================
29 dnl ---------------------------------------------------------------------------
30 dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
31 dnl to the full name of the file that was found or leaves it empty if not found
32 dnl ---------------------------------------------------------------------------
33 AC_DEFUN([WX_PATH_FIND_INCLUDES],
36 for ac_dir in $1 /usr/include
38 if test -f "$ac_dir/$2"; then
39 ac_find_includes=$ac_dir
45 dnl ---------------------------------------------------------------------------
46 dnl call WX_PATH_FIND_LIBRARIES(lib name, [optional extra search paths])
47 dnl sets ac_find_libraries to the full name of the file that was found
48 dnl or leaves it empty if not found
49 dnl ---------------------------------------------------------------------------
50 AC_DEFUN([WX_PATH_FIND_LIBRARIES],
53 for ac_dir in $2 $SEARCH_LIB
55 for ac_extension in a so sl dylib dll.a; do
56 if test -f "$ac_dir/lib$1.$ac_extension"; then
57 ac_find_libraries=$ac_dir
64 dnl ---------------------------------------------------------------------------
65 dnl return list of standard library paths
66 dnl ---------------------------------------------------------------------------
67 dnl return all default locations:
68 dnl - /usr/lib: standard
69 dnl - /usr/lib32: n32 ABI on IRIX
70 dnl - /usr/lib64: n64 ABI on IRIX
71 dnl - /usr/lib/64: 64 bit ABI on Solaris and Linux x86-64
73 dnl NB: if any of directories in the list is not a subdir of /usr, code setting
74 dnl wx_cv_std_libpath needs to be updated
75 AC_DEFUN([WX_STD_LIBPATH], [/usr/lib /usr/lib32 /usr/lib/64 /usr/lib64])
77 dnl ---------------------------------------------------------------------------
78 dnl Path to include, already defined
79 dnl ---------------------------------------------------------------------------
80 AC_DEFUN([WX_INCLUDE_PATH_EXIST],
82 dnl never add -I/usr/include to the CPPFLAGS
83 if test "x$1" = "x/usr/include"; then
86 echo "$2" | grep "\-I$1" > /dev/null
88 if test $result = 0; then
91 ac_path_to_include=" -I$1"
96 dnl ---------------------------------------------------------------------------
97 dnl Usage: WX_LINK_PATH_EXIST(path, libpath)
99 dnl Set ac_path_to_link to nothing if path is already in libpath, or to -Lpath
100 dnl if it is not, so that libpath can be set to "$libpath$ac_path_to_link"
101 dnl after calling this function
102 dnl ---------------------------------------------------------------------------
103 AC_DEFUN([WX_LINK_PATH_EXIST],
105 dnl never add -L/usr/libXXX explicitly to libpath
106 if test "$1" = "default location"; then
109 echo "$2" | grep "\-L$1" > /dev/null
111 if test $result = 0; then
114 ac_path_to_link=" -L$1"
119 dnl ---------------------------------------------------------------------------
120 dnl Usage: WX_FIND_LIB(lib-name, [lib-function to test], [extra search paths])
122 dnl Tests in a variety of ways for the presence of lib-name
124 dnl On success, returns any novel path found in ac_find_libraries; else "std"
125 dnl and any cflags in ac_find_cflags
126 dnl On failure, ac_find_libraries will be empty
127 dnl ---------------------------------------------------------------------------
128 AC_DEFUN([WX_FIND_LIB],
132 dnl Try with pkg-config first. It requires its lib-name parameter lowercase
133 fl_pkgname=`echo "$1" | tr [[:upper:]] [[:lower:]]`
134 dnl suppress PKG_PROG_PKG_CONFIG output; we don't want to keep seeing it
135 PKG_PROG_PKG_CONFIG() AS_MESSAGE_FD> /dev/null
136 PKG_CHECK_MODULES([$1], [$fl_pkgname],
138 dnl Start by assuming there are no novel lib paths
139 ac_find_libraries="std"
141 dnl A simple copy of the internal vars $1_CFLAGS $1_LIBS doesn't work
144 dnl TODO: When we stop being autoconf 2.61 compatible, the next 2 lines
146 dnl AS_VAR_COPY([ac_find_cflags], [$1_CFLAGS])
147 dnl AS_VAR_COPY([fl_libs], [$1_LIBS])
148 eval ac_find_cflags=\$$1_CFLAGS
149 eval fl_libs=\$$1_LIBS
151 dnl fl_libs may now contain -Lfoopath -lfoo (only non-standard paths are
152 dnl added) We only want the path bit, not the lib names
153 for fl_path in $fl_libs
155 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
156 dnl there shouldn't be >1 novel path
157 dnl return it without the -L, ready for WX_LINK_PATH_EXIST
158 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
163 if test "x$ac_find_libraries" = "x"; then
164 dnl Next with AC_CHECK_LIB, if a test function was provided
165 if test "x$2" != "x"; then
166 AC_CHECK_LIB([$1], [$2], [ac_find_libraries="std"])
170 if test "x$ac_find_libraries" = "x"; then
171 dnl Finally try the search path
172 dnl Output a message again, as AC_CHECK_LIB will just have said "no"
173 AC_MSG_CHECKING([elsewhere])
174 dnl $3 will occasionally hold extra path(s) to search
175 WX_PATH_FIND_LIBRARIES([$1], [$3])
176 if test "x$ac_find_libraries" != "x"; then
185 dnl ===========================================================================
186 dnl C++ features test
187 dnl ===========================================================================
189 dnl ---------------------------------------------------------------------------
190 dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
191 dnl or only the old <iostream.h> one - it may be generally assumed that if
192 dnl <iostream> exists, the other "new" headers (without .h) exist too.
194 dnl call WX_CPP_NEW_HEADERS(action-if-true, action-if-false)
195 dnl ---------------------------------------------------------------------------
197 AC_DEFUN([WX_CPP_NEW_HEADERS],
202 AC_CHECK_HEADERS([iostream],,, [ ])
204 if test "$ac_cv_header_iostream" = "yes" ; then
205 ifelse([$1], , :, [$1])
207 ifelse([$2], , :, [$2])
213 dnl ---------------------------------------------------------------------------
214 dnl WX_CPP_EXPLICIT checks whether the C++ compiler support the explicit
215 dnl keyword and defines HAVE_EXPLICIT if this is the case
216 dnl ---------------------------------------------------------------------------
218 AC_DEFUN([WX_CPP_EXPLICIT],
220 AC_CACHE_CHECK([if C++ compiler supports the explicit keyword],
226 dnl do the test in 2 steps: first check that the compiler knows about the
227 dnl explicit keyword at all and then verify that it really honours it
230 class Foo { public: explicit Foo(int) {} };
238 class Foo { public: explicit Foo(int) {} };
239 static void TakeFoo(const Foo& foo) { }
255 if test "$wx_cv_explicit" = "yes"; then
256 AC_DEFINE(HAVE_EXPLICIT)
260 dnl ---------------------------------------------------------------------------
261 dnl WX_CHECK_FUNCS(FUNCTIONS...,
262 dnl [ACTION-IF-FOUND],
263 dnl [ACTION-IF-NOT-FOUND],
264 dnl [EXTRA-DEFINES-AND-INCLUDES],
265 dnl [EXTRA-TEST-CODE])
267 dnl Checks that the functions listed in FUNCTIONS exist in the headers and the
268 dnl libs. For each function, if it is found then defines 'HAVE_FUNCTION' and
269 dnl executes ACTION-IF-FOUND, otherwise executes ACTION-IF-NOT-FOUND.
271 dnl The code from EXTRA-DEFINES-AND-INCLUDES is inserted into the test before
272 dnl the default headers are included, and EXTRA-TEST-CODE is inserted into
273 dnl the main() function after the default test for existence.
276 dnl # the simple case
277 dnl WX_CHECK_FUNCS(stat)
278 dnl # use break to finish the loop early
279 dnl WX_CHECK_FUNCS(mkstemp mktemp, break)
281 dnl WX_CHECK_FUNCS(strtok_r, [], [], [#define _RREENTRANT])
283 dnl WX_CHECK_FUNCS(swprintf, [], [], [#include <wchar.h>])
284 dnl # checking the signature with extra test code
285 dnl WX_CHECK_FUNCS(gettimeofday, [], [], [#include <sys/time.h>]
286 dnl [struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz)])
287 dnl ---------------------------------------------------------------------------
289 AC_DEFUN([WX_CHECK_FUNCS],
295 [wx_cv_func_$wx_func],
311 [eval wx_cv_func_$wx_func=yes],
312 [eval wx_cv_func_$wx_func=no])
315 if eval test \$wx_cv_func_$wx_func = yes
317 AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$wx_func]))
326 dnl ---------------------------------------------------------------------------
327 dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
328 dnl ---------------------------------------------------------------------------
330 AC_DEFUN([WX_C_BIGENDIAN],
331 [AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian,
332 [ac_cv_c_bigendian=unknown
333 # See if sys/param.h defines the BYTE_ORDER macro.
334 AC_TRY_COMPILE([#include <sys/types.h>
335 #include <sys/param.h>], [
336 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
338 #endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
339 AC_TRY_COMPILE([#include <sys/types.h>
340 #include <sys/param.h>], [
341 #if BYTE_ORDER != BIG_ENDIAN
343 #endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
344 if test $ac_cv_c_bigendian = unknown; then
345 AC_TRY_RUN([main () {
346 /* Are we little or big endian? From Harbison&Steele. */
350 char c[sizeof (long)];
353 exit (u.c[sizeof (long) - 1] == 1);
354 }], [ac_cv_c_bigendian=no], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=unknown])
356 if test $ac_cv_c_bigendian = unknown; then
357 AC_MSG_WARN([Assuming little-endian target machine - this may be overridden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file])
359 if test $ac_cv_c_bigendian = yes; then
360 AC_DEFINE(WORDS_BIGENDIAN)
364 dnl ---------------------------------------------------------------------------
365 dnl override AC_ARG_ENABLE/WITH to handle options defaults
366 dnl ---------------------------------------------------------------------------
368 dnl this macro checks for a three-valued command line --with argument:
369 dnl possible arguments are 'yes', 'no', 'sys', or 'builtin'
370 dnl usage: WX_ARG_SYS_WITH(option, helpmessage, variable-name)
372 dnl the default value (used if the option is not specified at all) is the value
373 dnl of wxUSE_ALL_FEATURES (which is "yes" by default but can be changed by
374 dnl giving configure --disable-all-features option)
375 AC_DEFUN([WX_ARG_SYS_WITH],
377 AC_MSG_CHECKING([for --with-$1])
378 AC_ARG_WITH($1, [$2],
380 if test "$withval" = yes; then
381 AS_TR_SH(wx_cv_use_$1)='$3=yes'
382 elif test "$withval" = no; then
383 AS_TR_SH(wx_cv_use_$1)='$3=no'
384 elif test "$withval" = sys; then
385 AS_TR_SH(wx_cv_use_$1)='$3=sys'
386 elif test "$withval" = builtin; then
387 AS_TR_SH(wx_cv_use_$1)='$3=builtin'
389 AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
393 AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$wxUSE_ALL_FEATURES}"
396 eval "$AS_TR_SH(wx_cv_use_$1)"
398 if test "$$3" = yes; then
400 elif test "$$3" = no; then
402 elif test "$$3" = sys; then
403 AC_MSG_RESULT([system version])
404 elif test "$$3" = builtin; then
405 AC_MSG_RESULT([builtin version])
407 AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
411 dnl this macro simply checks for a command line argument
412 dnl usage: WX_ARG_WITH(option, helpmessage, variable-name, [withstring])
413 AC_DEFUN([WX_ARG_WITH],
416 defaultval=$wxUSE_ALL_FEATURES
417 if test -z "$defaultval"; then
418 if test x"$withstring" = xwithout; then
424 AC_MSG_CHECKING([for --${withstring:-with}-$1])
425 AC_ARG_WITH($1, [$2],
427 if test "$withval" = yes; then
428 AS_TR_SH(wx_cv_use_$1)='$3=yes'
430 AS_TR_SH(wx_cv_use_$1)='$3=no'
434 AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$defaultval}"
437 eval "$AS_TR_SH(wx_cv_use_$1)"
439 if test x"$withstring" = xwithout; then
440 if test $$3 = yes; then
449 AC_MSG_RESULT($result)
452 dnl same as WX_ARG_WITH but makes it clear that the option is enabled by default
453 AC_DEFUN([WX_ARG_WITHOUT], [WX_ARG_WITH($1, [$2], $3, without)])
455 dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
456 dnl usage: WX_ARG_ENABLE(option, helpmessage, var, [enablestring], [default])
458 dnl enablestring can be omitted or a literal string "disable" and allows to
459 dnl show "checking for --disable-foo" message when running configure instead of
460 dnl the default "checking for --enable-foo" one whih is useful for the options
461 dnl enabled by default
463 dnl the "default" argument can be omitted or contain the default value to use
464 dnl for the option if it's unspecified
465 AC_DEFUN([WX_ARG_ENABLE],
469 if test -z "$defaultval"; then
470 if test x"$enablestring" = xdisable; then
477 AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
478 AC_ARG_ENABLE($1, [$2],
480 if test "$enableval" = yes; then
481 AS_TR_SH(wx_cv_use_$1)='$3=yes'
483 AS_TR_SH(wx_cv_use_$1)='$3=no'
487 AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$defaultval}"
490 eval "$AS_TR_SH(wx_cv_use_$1)"
492 if test x"$enablestring" = xdisable; then
493 if test $$3 = no; then
502 AC_MSG_RESULT($result)
505 dnl the same as WX_ARG_ENABLE but makes it more clear that the option is
506 dnl enabled by default
507 AC_DEFUN([WX_ARG_DISABLE], [WX_ARG_ENABLE($1, [$2], $3, disable)])
509 dnl same as WX_ARG_ENABLE but defaults to wxUSE_ALL_FEATURES instead of "yes"
510 AC_DEFUN([WX_ARG_FEATURE], [WX_ARG_ENABLE($1, [$2], $3,, $wxUSE_ALL_FEATURES)])
512 dnl Like WX_ARG_ENABLE but accepts a parameter.
515 dnl WX_ARG_ENABLE_PARAM(option, helpmessage, variable-name, enablestring)
518 dnl WX_ARG_ENABLE_PARAM(foo, [[ --enable-foo[=bar] use foo]], wxUSE_FOO)
520 dnl --enable-foo wxUSE_FOO=yes
521 dnl --disable-foo wxUSE_FOO=no
522 dnl --enable-foo=bar wxUSE_FOO=bar
523 dnl <not given> wxUSE_FOO=$DEFAULT_wxUSE_FOO
525 AC_DEFUN([WX_ARG_ENABLE_PARAM],
528 AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
529 AC_ARG_ENABLE($1, [$2],
531 wx_cv_use_$1="$3='$enableval'"
534 wx_cv_use_$1='$3='$DEFAULT_$3
542 dnl ===========================================================================
543 dnl Linker features test
544 dnl ===========================================================================
546 dnl ---------------------------------------------------------------------------
547 dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
548 dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
549 dnl version script file named versionfile
551 dnl call WX_VERSIONED_SYMBOLS(versionfile)
552 dnl ---------------------------------------------------------------------------
553 AC_DEFUN([WX_VERSIONED_SYMBOLS],
556 *-*-cygwin* | *-*-mingw* )
557 dnl although ld does support version script option on these
558 dnl platforms, it doesn't make much sense to use it under Win32
559 dnl and, moreover, this breaks linking because of a bug in handling
560 dnl paths in -Wl,--version-script,path option (if we ever do need
561 dnl to use it for cygwin/mingw32, keep in mind that replacing last
562 dnl comma with the equal sign works) so
563 dnl simply disable it
564 wx_cv_version_script=no
568 AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
570 echo "VER_1 { *; };" >conftest.sym
571 echo "int main() { return 0; }" >conftest.cpp
574 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
575 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
576 if test -s conftest.stderr ; then
577 wx_cv_version_script=no
579 wx_cv_version_script=yes
582 wx_cv_version_script=no
585 dnl There's a problem in some old linkers with --version-script that
586 dnl can cause linking to fail when you have objects with vtables in
587 dnl libs 3 deep. This is known to happen in netbsd and openbsd with
590 dnl To test for this we need to make some shared libs and
591 dnl unfortunately we can't be sure of the right way to do that. If the
592 dnl first two compiles don't succeed then it looks like the test isn't
593 dnl working and the result is ignored, but if OTOH the first two
594 dnl succeed but the third does not then the bug has been detected and
595 dnl the --version-script flag is dropped.
596 if test $wx_cv_version_script = yes
598 echo "struct B { virtual ~B() { } }; \
599 struct D : public B { }; \
600 void F() { D d; }" > conftest.cpp
603 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
604 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null]) &&
606 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
607 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null])
610 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
611 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null])
613 wx_cv_version_script=yes
615 wx_cv_version_script=no
620 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
621 rm -f conftest1.output conftest2.output conftest3.output
624 if test $wx_cv_version_script = yes ; then
625 LDFLAGS_VERSIONING="-Wl,--version-script,$1"
632 dnl ===========================================================================
633 dnl "3rd party" macros included here because they are not widely available
634 dnl ===========================================================================
636 dnl ---------------------------------------------------------------------------
637 dnl test for availability of iconv()
638 dnl ---------------------------------------------------------------------------
640 dnl From Bruno Haible.
644 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
645 dnl those with the standalone portable GNU libiconv installed).
647 AC_ARG_WITH([libiconv-prefix],
648 [ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [
649 for dir in `echo "$withval" | tr : ' '`; do
650 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
651 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
655 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
656 am_cv_func_iconv="no, consider installing GNU libiconv"
658 AC_TRY_LINK([#include <stdlib.h>
660 [iconv_t cd = iconv_open("","");
661 iconv(cd,NULL,NULL,NULL,NULL);
663 am_cv_func_iconv=yes)
664 if test "$am_cv_func_iconv" != yes; then
667 AC_TRY_LINK([#include <stdlib.h>
669 [iconv_t cd = iconv_open("","");
670 iconv(cd,NULL,NULL,NULL,NULL);
673 am_cv_func_iconv=yes)
677 if test "$am_cv_func_iconv" = yes; then
678 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
679 AC_CACHE_CHECK([if iconv needs const], wx_cv_func_iconv_const,
687 #if defined(__STDC__) || defined(__cplusplus)
688 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
694 wx_cv_func_iconv_const="no",
695 wx_cv_func_iconv_const="yes"
700 if test "x$wx_cv_func_iconv_const" = "xyes"; then
704 AC_DEFINE_UNQUOTED(ICONV_CONST, $iconv_const,
705 [Define as const if the declaration of iconv() needs const.])
708 if test "$am_cv_lib_iconv" = yes; then
714 dnl ---------------------------------------------------------------------------
715 dnl AC_SYS_LARGEFILE (partly based on the code from autoconf 2.5x)
716 dnl ---------------------------------------------------------------------------
718 dnl WX_SYS_LARGEFILE_TEST
720 dnl NB: original autoconf test was checking if compiler supported 6 bit off_t
721 dnl arithmetic properly but this failed miserably with gcc under Linux
722 dnl whereas the system still supports 64 bit files, so now simply check
723 dnl that off_t is big enough
724 define(WX_SYS_LARGEFILE_TEST,
726 unsigned int field: sizeof(off_t) == 8;
731 dnl WX_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR)
732 define(WX_SYS_LARGEFILE_MACRO_VALUE,
734 AC_CACHE_CHECK([for $1 value needed for large files], [$3],
736 AC_TRY_COMPILE([#define $1 $2
737 #include <sys/types.h>],
738 WX_SYS_LARGEFILE_TEST,
744 if test "$$3" != no; then
746 AC_DEFINE_UNQUOTED([$1], [$$3])
753 dnl By default, many hosts won't let programs access large files;
754 dnl one must use special compiler options to get large-file access to work.
755 dnl For more details about this brain damage please see:
756 dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
757 AC_DEFUN([AC_SYS_LARGEFILE],
758 [AC_ARG_ENABLE(largefile,
759 [ --disable-largefile omit support for large files])
760 if test "$enable_largefile" != no; then
761 dnl _FILE_OFFSET_BITS==64 is needed for Linux, Solaris, ...
762 dnl _LARGE_FILES -- for AIX
764 WX_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits)
765 if test "x$wx_largefile" != "xyes"; then
766 WX_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files)
769 AC_MSG_CHECKING(if large file support is available)
770 if test "x$wx_largefile" = "xyes"; then
771 AC_DEFINE(HAVE_LARGEFILE_SUPPORT)
773 AC_MSG_RESULT($wx_largefile)