summaryrefslogtreecommitdiff
path: root/m4/fp_curses.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fp_curses.m4')
-rw-r--r--m4/fp_curses.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/fp_curses.m4 b/m4/fp_curses.m4
index a0c30637cb..36303f8937 100644
--- a/m4/fp_curses.m4
+++ b/m4/fp_curses.m4
@@ -6,10 +6,16 @@ AC_DEFUN([FP_CURSES],
dnl * Deal with arguments telling us curses is somewhere odd
dnl--------------------------------------------------------------------
+ AC_ARG_WITH([curses-includes],
+ [AS_HELP_STRING([--with-curses-includes],
+ [directory containing curses headers])],
+ [CURSES_INCLUDE_DIRS=$withval])
+
AC_ARG_WITH([curses-libraries],
[AS_HELP_STRING([--with-curses-libraries],
[directory containing curses libraries])],
[CURSES_LIB_DIRS=$withval])
+ AC_SUBST(CURSES_INCLUDE_DIRS)
AC_SUBST(CURSES_LIB_DIRS)
])# FP_CURSES