From 763920f123823cfc8012c438b2f458f6bd79ef18 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 05 2018 12:21:55 +0000 Subject: build system: configure: added initial --program-prefix support. --- 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