summaryrefslogtreecommitdiff
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:38 +0000
commitfa09acdbbab4f4c0274335ff88a642fd02c1710a (patch)
treece91e8f45f74183db3c993965d495ce39f03d230
parentf85e0c3316b8e324af3fa8206fb6c6235d768a10 (diff)
downloadapimagic-fa09acdbbab4f4c0274335ff88a642fd02c1710a.tar.bz2
apimagic-fa09acdbbab4f4c0274335ff88a642fd02c1710a.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=*)