- if (maintainer[0] == '\0') {
- puts("Gripes not supported at this site. Sorry.");
- return;
- }
- puts("Type control-D to end your message. Be sure to include");
- puts("your name and the name of the file you are debugging.");
- putchar('\n');
- old = signal(SIGINT, SIG_DFL);
- sprintf(subject, "dbx (version 3.%d) gripe", versionNumber);
- pid = back("Mail", stdin, stdout, "-s", subject, maintainer, nil);
- signal(SIGINT, SIG_IGN);
- pwait(pid, &status);
- signal(SIGINT, old);
- if (status == 0) {
- puts("Thank you.");
- } else {
- puts("\nMail not sent.");
- }
+# ifdef MAINTAINER
+ puts("Type control-D to end your message. Be sure to include");
+ puts("your name and the name of the file you are debugging.");
+ putchar('\n');
+ old = signal(SIGINT, SIG_DFL);
+ sprintf(subject, "dbx (version 3.%d) gripe", versionNumber);
+ pid = back("Mail", stdin, stdout, "-s", subject, MAINTAINER, nil);
+ signal(SIGINT, SIG_IGN);
+ pwait(pid, &status);
+ signal(SIGINT, old);
+ if (status == 0) {
+ puts("Thank you.");
+ } else {
+ puts("\nMail not sent.");
+ }
+# else
+ puts("Sorry, no dbx maintainer available to gripe to.");
+ puts("Try contacting your system manager.");
+# endif