summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-20 18:42:22 +0000
committermidipix <writeonce@midipix.org>2019-10-20 18:43:40 +0000
commit5874317a34a866b23efe37a821c36387143d3d13 (patch)
tree55c0f1b0322efc52b4f80054186344f0eaac6945
parentde6be6f4b6763621173b6b8355dea78784348b98 (diff)
downloadu16ports-5874317a34a866b23efe37a821c36387143d3d13.tar.bz2
u16ports-5874317a34a866b23efe37a821c36387143d3d13.tar.xz
build system: configure: semantic compatibility: --srcdir <--> --source-dir.
-rw-r--r--config.usage1
-rwxr-xr-xconfigure3
2 files changed, 4 insertions, 0 deletions
diff --git a/config.usage b/config.usage
index f29f27c..09a6a58 100644
--- a/config.usage
+++ b/config.usage
@@ -8,6 +8,7 @@ supported switches:
--program-prefix
--avoid-version
--source-dir
+ --srcdir
--pkgname
--pkgdesc
diff --git a/configure b/configure
index 92d1bd8..f01191b 100755
--- a/configure
+++ b/configure
@@ -686,6 +686,9 @@ for arg ; do
--source-dir=*)
mb_source_dir=${arg#*=}
;;
+ --srcdir=*)
+ mb_source_dir=${arg#*=}
+ ;;
# pkgconfig
--pkgname=*)