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
1 changed files with 13 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue