Rename NO_DOC to HAVE_DISABLE_DOC for consistency sake
This commit is contained in:
parent
c2d19a8ab4
commit
e2ef2ca671
|
@ -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)
|
||||
|
|
|
@ -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." ),
|
||||
|
|
Loading…
Reference in New Issue