build: make ./configure report which global nanorc file will be used
This addresses https://savannah.gnu.org/bugs/?57061. Requested-by: Robert Johnson <aloha@blastpuppy.com>
Этот коммит содержится в:
родитель
af5010c96f
Коммит
bbdbf4586f
@ -10,3 +10,9 @@ EXTRA_DIST = ChangeLog.1999-2006 ChangeLog.2007-2015 \
|
|||||||
IMPROVEMENTS README.GIT
|
IMPROVEMENTS README.GIT
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
showinfo:
|
||||||
|
@ echo
|
||||||
|
@ echo " The global nanorc file is: @sysconfdir@/nanorc"
|
||||||
|
@ echo " Syntaxes get installed in: @PKGDATADIR@/"
|
||||||
|
@ echo
|
||||||
|
@ -596,7 +596,7 @@ if eval "test x$CURSES_LIB_NAME = x"; then
|
|||||||
*** from libncursesw5-dev (Debian), ncurses-devel (Fedora), or similar.
|
*** from libncursesw5-dev (Debian), ncurses-devel (Fedora), or similar.
|
||||||
*** (Or install ncurses from https://ftp.gnu.org/gnu/ncurses/.)])
|
*** (Or install ncurses from https://ftp.gnu.org/gnu/ncurses/.)])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([Using $CURSES_LIB_NAME as the curses library])
|
AC_MSG_RESULT([ The curses library to be used is: $CURSES_LIB_NAME])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_LIB([$CURSES_LIB_NAME], [use_default_colors],
|
AC_CHECK_LIB([$CURSES_LIB_NAME], [use_default_colors],
|
||||||
@ -741,3 +741,5 @@ syntax/Makefile
|
|||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
make showinfo
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user