X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/881bfcd609e494c3a34ef0729ceaff874c1d7e1c..b4b76d6115da3c1c1d7bae6e2c98ff88ad35f2a0:/configure.in diff --git a/configure.in b/configure.in index 1c4ddd880b..2f4a3e338a 100644 --- a/configure.in +++ b/configure.in @@ -2375,7 +2375,6 @@ dnl Check for libmspack 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, @@ -2383,11 +2382,13 @@ if test "$wxUSE_LIBMSPACK" != "no"; then fi if test "x$MSPACK_LINK" = "x" ; then wxUSE_LIBMSPACK=no - else - AC_DEFINE(wxUSE_LIBMSPACK) fi fi +if test "$wxUSE_LIBMSPACK" != "no"; then + AC_DEFINE(wxUSE_LIBMSPACK) +fi + dnl ---------------------------------------------------------------- dnl search for toolkit (widget sets) @@ -4509,8 +4510,6 @@ if test "$wxUSE_GUI" = "yes"; then dnl need the dcs, pens, brushes, ...), this just can't be done now dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem dnl 5. misc stuff: timers, settings, message box -else - AC_DEFINE(wxUSE_GUI, 0) fi dnl ---------------------------------------------------------------------------