summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/m/sparc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/m/sparc.h b/src/m/sparc.h
index f1634032992..7e4a6801f9a 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -83,9 +83,12 @@ NOTE-END */
#define HAVE_ALLOCA
#include <alloca.h>
-/* Must use the system's termcap. It does special things. */
+/* Must use the system's termcap, if we use any termcap.
+ It does special things. */
+#ifndef TERMINFO
#define LIBS_TERMCAP -ltermcap
+#endif
/* Mask for address bits within a memory segment */