Rename NO_DOC to HAVE_DISABLE_DOC for consistency sake

This commit is contained in:
Curtis Gedak 2009-11-03 10:57:15 -07:00
parent c2d19a8ab4
commit e2ef2ca671
2 changed files with 3 additions and 3 deletions

View File

@ -117,8 +117,8 @@ if test ${enable_doc} = yes; then
else
dnl Do not care if GDU is not found
GNOME_DOC_INIT(,,[:])
dnl Set #define NO_DOC 1 to indicate documentation not wanted
AC_DEFINE([NO_DOC], [1], [Define to 1 if --disable-doc specified])
dnl Set #define HAVE_DISABLE_DOC 1 to indicate documentation not wanted
AC_DEFINE([HAVE_DISABLE_DOC], [1], [Define to 1 if --disable-doc specified])
fi
AM_CONDITIONAL(DISABLE_DOC, test ${enable_doc} = no)

View File

@ -1239,7 +1239,7 @@ void Win_GParted::show_help_dialog( const Glib::ustring & filename /* E.g., gpar
void Win_GParted::menu_help_contents()
{
#ifdef NO_DOC
#ifdef HAVE_DISABLE_DOC
//GParted was configured with --disable-doc
Gtk::MessageDialog dialog( *this,
_( "Documentation is not available." ),