CONFIGURE: Ignore options valid for Autotools configure

RPM-based distributions come with a configure macro, that sets up the
whole build environment.  In order to be able to use this macro, some
options, which are valid for the configure script generated by GNU
Autotools, should not error-out when preparing the build stage.
This commit is contained in:
Björn Esser 2020-02-21 23:16:45 +01:00 committed by Eugene Sandulenko
parent dce6b01258
commit 826b7bfe73

13
configure vendored
View File

@ -1192,6 +1192,19 @@ EOF
for ac_option in $@; do
case "$ac_option" in
# Silently ignore options valid for Autotools configure.
--build=*) ;;
--program-prefix=*) ;;
--sbindir=*) ;;
--sysconfdir=*) ;;
--includedir=*) ;;
--libexecdir=*) ;;
--localstatedir=*) ;;
--sharedstatedir=*) ;;
--infodir=*) ;;
--disable-dependency-tracking) ;;
--enable-dependency-tracking) ;;
# End of ignored options.
--enable-static) _static_build=yes ;;
--disable-16bit) _16bit=no ;;
--enable-highres) _highres=yes ;;