Printing the correct --enable/--disable option for libmagic.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4764 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
5c7a6d7dd5
commit
b988132343
|
@ -8,6 +8,7 @@
|
||||||
* doc/syntax/{changelog,c,po}.nanorc: Some small extra colourings.
|
* doc/syntax/{changelog,c,po}.nanorc: Some small extra colourings.
|
||||||
* configure.ac, doc/texinfo/nano.texi: Make --enable-tiny disable
|
* configure.ac, doc/texinfo/nano.texi: Make --enable-tiny disable
|
||||||
the use of libmagic, and document the --disable-libmagic flag.
|
the use of libmagic, and document the --disable-libmagic flag.
|
||||||
|
* src/nano.c (version): Print the correct --enable/--disable option.
|
||||||
|
|
||||||
2014-04-10 Benno Schulenberg <bensberg@justemail.net>
|
2014-04-10 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* doc/syntax/Makefile.am: Add four recent syntaxes to the packlist.
|
* doc/syntax/Makefile.am: Add four recent syntaxes to the packlist.
|
||||||
|
|
|
@ -986,6 +986,9 @@ void version(void)
|
||||||
#ifndef DISABLE_JUSTIFY
|
#ifndef DISABLE_JUSTIFY
|
||||||
printf(" --enable-justify");
|
printf(" --enable-justify");
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_LIBMAGIC
|
||||||
|
printf(" --enable-libmagic");
|
||||||
|
#endif
|
||||||
#ifndef DISABLE_MOUSE
|
#ifndef DISABLE_MOUSE
|
||||||
printf(" --enable-mouse");
|
printf(" --enable-mouse");
|
||||||
#endif
|
#endif
|
||||||
|
@ -1020,6 +1023,9 @@ void version(void)
|
||||||
#ifdef DISABLE_JUSTIFY
|
#ifdef DISABLE_JUSTIFY
|
||||||
printf(" --disable-justify");
|
printf(" --disable-justify");
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef HAVE_LIBMAGIC
|
||||||
|
printf(" --disable-libmagic");
|
||||||
|
#endif
|
||||||
#ifdef DISABLE_MOUSE
|
#ifdef DISABLE_MOUSE
|
||||||
printf(" --disable-mouse");
|
printf(" --disable-mouse");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue