Ignore some autotool options.

This commit is contained in:
Roy Marples 2009-07-26 17:26:18 +00:00
parent 924c228eb3
commit 850da3dc4b

4
configure vendored
View File

@ -17,7 +17,7 @@ for x; do
--sysconfdir) SYSCONFDIR=$var;; --sysconfdir) SYSCONFDIR=$var;;
--bindir) BINDIR=$var;; --bindir) BINDIR=$var;;
--libexecdir) LIBEXECDIR=$var;; --libexecdir) LIBEXECDIR=$var;;
--statedir) STATEDIR=$var;; --statedir|--localstatedir) STATEDIR=$var;;
--dbdir) DBDIR=$var;; --dbdir) DBDIR=$var;;
--rundir) RUNDIR=$var;; --rundir) RUNDIR=$var;;
--mandir) MANDIR=$var;; --mandir) MANDIR=$var;;
@ -25,6 +25,8 @@ for x; do
CPPFLAGS) CPPFLAGS=$var;; CPPFLAGS) CPPFLAGS=$var;;
--with-hook|--with-hooks) HOOKSCRIPTS="$HOOKSCRIPTS $var";; --with-hook|--with-hooks) HOOKSCRIPTS="$HOOKSCRIPTS $var";;
HOOKSCRIPTS) HOOKSCRIPTS=$var;; HOOKSCRIPTS) HOOKSCRIPTS=$var;;
--build) ;; # Should we extract platform from --build?
--data-dir|--info-dir|--lib-dir|--host) ;; # ignore autotools
*) echo "$0: WARNING: unknown option $opt" >&2;; *) echo "$0: WARNING: unknown option $opt" >&2;;
esac esac
done done