mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 04:40:39 +00:00
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:
parent
dce6b01258
commit
826b7bfe73
13
configure
vendored
13
configure
vendored
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user