git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31386
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_REGEX 0
+_ACEOF
+
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_ZLIB 0
+_ACEOF
+
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_LIBPNG 0
+_ACEOF
+
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_LIBJPEG 0
+_ACEOF
+
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_LIBTIFF 0
+_ACEOF
+
subdirs="$subdirs src/expat"
fi
subdirs="$subdirs src/expat"
fi
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_EXPAT 0
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_XML 0
+_ACEOF
+
fi
if test "$wxUSE_LIBMSPACK" != "no"; then
fi
if test "$wxUSE_LIBMSPACK" != "no"; then
if test "${ac_cv_header_mspack_h+set}" = set; then
echo "$as_me:$LINENO: checking for mspack.h" >&5
echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
if test "${ac_cv_header_mspack_h+set}" = set; then
echo "$as_me:$LINENO: checking for mspack.h" >&5
echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
fi
if test "x$MSPACK_LINK" = "x" ; then
wxUSE_LIBMSPACK=no
fi
if test "x$MSPACK_LINK" = "x" ; then
wxUSE_LIBMSPACK=no
- else
- cat >>confdefs.h <<\_ACEOF
+ fi
+fi
+
+if test "$wxUSE_LIBMSPACK" != "no"; then
+ cat >>confdefs.h <<\_ACEOF
#define wxUSE_LIBMSPACK 1
_ACEOF
#define wxUSE_LIBMSPACK 1
_ACEOF
+else
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_LIBMSPACK 0
+_ACEOF
+
AC_DEFINE(WX_NO_REGEX_ADVANCED)
fi
fi
AC_DEFINE(WX_NO_REGEX_ADVANCED)
fi
fi
+else
+ AC_DEFINE(wxUSE_REGEX, 0)
fi
dnl ------------------------------------------------------------------------
fi
dnl ------------------------------------------------------------------------
+else
+ AC_DEFINE(wxUSE_ZLIB, 0)
fi
dnl ------------------------------------------------------------------------
fi
dnl ------------------------------------------------------------------------
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
+else
+ AC_DEFINE(wxUSE_LIBPNG, 0)
fi
dnl ------------------------------------------------------------------------
fi
dnl ------------------------------------------------------------------------
+else
+ AC_DEFINE(wxUSE_LIBJPEG, 0)
fi
dnl ------------------------------------------------------------------------
fi
dnl ------------------------------------------------------------------------
+else
+ AC_DEFINE(wxUSE_LIBTIFF, 0)
fi
dnl ------------------------------------------------------------------------
fi
dnl ------------------------------------------------------------------------
dnl Expat needs this:
AC_CONFIG_SUBDIRS([src/expat])
fi
dnl Expat needs this:
AC_CONFIG_SUBDIRS([src/expat])
fi
+else
+ AC_DEFINE(wxUSE_EXPAT, 0)
+ AC_DEFINE(wxUSE_XML, 0)
dnl ------------------------------------------------------------------------
if test "$wxUSE_LIBMSPACK" != "no"; then
dnl ------------------------------------------------------------------------
if test "$wxUSE_LIBMSPACK" != "no"; then
AC_CHECK_HEADER([mspack.h], [found_mspack_h=1])
if test "x$found_mspack_h" = "x1"; then
AC_CHECK_LIB(mspack, mspack_create_chm_decompressor,
AC_CHECK_HEADER([mspack.h], [found_mspack_h=1])
if test "x$found_mspack_h" = "x1"; then
AC_CHECK_LIB(mspack, mspack_create_chm_decompressor,
fi
if test "x$MSPACK_LINK" = "x" ; then
wxUSE_LIBMSPACK=no
fi
if test "x$MSPACK_LINK" = "x" ; then
wxUSE_LIBMSPACK=no
- else
- AC_DEFINE(wxUSE_LIBMSPACK)
+if test "$wxUSE_LIBMSPACK" != "no"; then
+ AC_DEFINE(wxUSE_LIBMSPACK)
+else
+ AC_DEFINE(wxUSE_LIBMSPACK, 0)
+fi
+
dnl ----------------------------------------------------------------
dnl search for toolkit (widget sets)
dnl ----------------------------------------------------------------
dnl search for toolkit (widget sets)