[Scummvm-git-logs] scummvm-tools master -> 7a68e7088dfbcd18868ecceec58cbfbf9ef6e89a

sev- sev at scummvm.org
Mon Feb 24 08:15:10 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .

Summary:
7a68e7088d CONFIGURE: Ignore options valid for Autotools configure


Commit: 7a68e7088dfbcd18868ecceec58cbfbf9ef6e89a
    https://github.com/scummvm/scummvm-tools/commit/7a68e7088dfbcd18868ecceec58cbfbf9ef6e89a
Author: Björn Esser (besser82 at fedoraproject.org)
Date: 2020-02-24T09:15:07+01:00

Commit Message:
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.

Backported (and slightly modified) from scummvm/scummvm at 826b7bfe7

Changed paths:
    configure


diff --git a/configure b/configure
index 0865366..5910f57 100755
--- a/configure
+++ b/configure
@@ -429,6 +429,21 @@ done # for parm in ...
 
 for ac_option in $@; do
 	case "$ac_option" in
+	# Silently ignore options valid for Autotools configure.
+	--build=*)                                ;;
+	--host=*)                                 ;;
+	--exec-prefix=*)                          ;;
+	--program-prefix=*)                       ;;
+	--sbindir=*)                              ;;
+	--sysconfdir=*)                           ;;
+	--includedir=*)                           ;;
+	--libexecdir=*)                           ;;
+	--localstatedir=*)                        ;;
+	--sharedstatedir=*)                       ;;
+	--infodir=*)                              ;;
+	--disable-dependency-tracking)            ;;
+	--enable-dependency-tracking)             ;;
+	# End of ignored options.
 	--enable-vorbis)          _vorbis=yes     ;;
 	--disable-vorbis)         _vorbis=no      ;;
 	--enable-tremor)          _tremor=yes     ;;




More information about the Scummvm-git-logs mailing list