summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index d1f940d..b11679d 100755
--- a/configure
+++ b/configure
@@ -22,6 +22,14 @@ defvar() {
 
 exec >config.mk
 
+for opt; do
+	case "${opt}" in
+		(--prefix=*) echo "PREFIX = ${opt#*=}" ;;
+		(--mandir=*) echo "MANDIR = ${opt#*=}" ;;
+		(*) echo "warning: unsupported option ${opt}" >&2 ;;
+	esac
+done
+
 case "$(uname)" in
 	(FreeBSD)
 		ldlibs -lncursesw