]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Move member m_ variables to be protected rather than public to force usage of Set...
[wxWidgets.git] / configure.in
index 1c4ddd880beea54b915431e05a835050e9f38666..2f4a3e338a2fb4e958f75939acd8bede2d33989a 100644 (file)
@@ -2375,7 +2375,6 @@ dnl Check for libmspack
 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,
@@ -2383,11 +2382,13 @@ if test "$wxUSE_LIBMSPACK" != "no"; then
     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)
     fi
 fi
 
     fi
 fi
 
+if test "$wxUSE_LIBMSPACK" != "no"; then
+    AC_DEFINE(wxUSE_LIBMSPACK)
+fi
+
 
 dnl ----------------------------------------------------------------
 dnl search for toolkit (widget sets)
 
 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
     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 ---------------------------------------------------------------------------
 fi
 
 dnl ---------------------------------------------------------------------------