aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2021-01-18 19:01:30 +0100
committerMarvin W <git@larma.de>2021-01-18 19:01:30 +0100
commitf2662b21c194e40d31d5ffc6d9e826a439526e6c (patch)
tree08c3eb3e9447d5b30e93378f4aea96785497994a
parente4b2f0c04979bf3075e2545fa950af9b76787279 (diff)
downloaddino-f2662b21c194e40d31d5ffc6d9e826a439526e6c.tar.gz
dino-f2662b21c194e40d31d5ffc6d9e826a439526e6c.zip
Ignore unrecognized options in ./configure
This is so that systems that except configure to be autoconf don't complain.
-rwxr-xr-xconfigure11
1 files changed, 2 insertions, 9 deletions
diff --git a/configure b/configure
index 8d274e10..974a54df 100755
--- a/configure
+++ b/configure
@@ -7,10 +7,8 @@ prefix:,program-prefix:,exec-prefix:,lib-suffix:,\
bindir:,libdir:,includedir:,datadir:,\
host:,build:,\
sbindir:,sysconfdir:,libexecdir:,localstatedir:,sharedstatedir:,mandir:,infodir:,\
-enable-dependency-tracking,disable-dependency-tracking,\
-disable-silent-rules,disable-maintainer-mode\
-n './configure' -- "$@"`
-if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
+if [ $? != 0 ] ; then echo "-- Ignoring unrecognized options." >&2 ; fi
eval set -- "$OPTS"
@@ -87,8 +85,7 @@ Fine tuning of the installation directories:
For compatibility with autotools, these options will be silently ignored:
--host, --build, --sbindir, --sysconfdir, --libexecdir, --sharedstatedir,
---localstatedir, --mandir, --infodir, --enable-dependency-tracking,
---disable-dependency-tracking
+--localstatedir, --mandir, --infodir
Some influential environment variables:
CC C compiler command
@@ -134,11 +131,7 @@ while true; do
--sharedstatedir ) SHAREDSTATEDIR="$2"; shift; shift ;;
--mandir ) MANDIR="$2"; shift; shift ;;
--infodir ) INFODIR="$2"; shift; shift ;;
- # Ignore for autotools compat
--host | --build ) shift; shift ;;
- --disable-dependency-tracking | --enable-dependency-tracking ) shift ;;
- # Ignore for debian compat
- --disable-silent-rules | --disable-maintainer-mode ) shift ;;
-h | --help ) help; exit 0 ;;
-- ) shift; break ;;
* ) break ;;