Add compile-time option MSGHANDLER

This was a feature request from a blind player; he wanted to
play a sound whenever a pline message was given.
This commit is contained in:
Pasi Kallinen
2016-01-10 13:01:46 +02:00
parent e7d65a44cd
commit 65d780dc3d
4 changed files with 56 additions and 0 deletions

View File

@@ -1350,6 +1350,9 @@ static const char *build_opts[] = {
#ifdef HOLD_LOCKFILE_OPEN
"exclusive lock on level 0 file",
#endif
#if defined(MSGHANDLER) && (defined(POSIX_TYPES) || defined(__GNUC__))
"external program as a message handler",
#endif
#ifdef LOGFILE
"log file",
#endif