From f98c2f01d041d5de6f6d81f9ad9b7553c1015c74 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 3 Jun 2018 20:34:30 -0400 Subject: build system: configure: added initial --program-prefix support. --- config.usage | 1 + configure | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/config.usage b/config.usage index d93852d..6d2efc4 100644 --- a/config.usage +++ b/config.usage @@ -5,6 +5,7 @@ supported switches: --help --nickname + --program-prefix --avoid-version --source-dir diff --git a/configure b/configure index c7bb6ff..cf72976 100755 --- a/configure +++ b/configure @@ -737,6 +737,9 @@ for arg ; do --nickname=*) mb_nickname=${arg#*=} ;; + --program-prefix=*) + mb_program_prefix=${arg#*=} + ;; --avoid-version) mb_avoid_version='yes' ;; @@ -756,6 +759,10 @@ done # three: validation verify_source_directory +if ! [ -z "$mb_program_prefix" ]; then + error_msg "--program-prefix is not yet fully support (must be null)." +fi + # four: defaults -- cgit v1.2.3