[Nouveau] [PATCH xf86-video-nouveau 15/17] config: Set automake options consistently in one location
Rhys Kidd
rhyskidd at gmail.com
Mon Jan 21 05:52:21 UTC 2019
Avoid use of two manners of setting automake configuration options,
and consolidate them into AM_INIT_AUTOMAKE macro.
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
Makefile.am | 2 --
configure.ac | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 05e9ec6..f40ae43 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,8 +18,6 @@
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-AUTOMAKE_OPTIONS = foreign
-
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src man
diff --git a/configure.ac b/configure.ac
index d1bd8b4..bcbb8ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR(.)
# Initialize Automake
-AM_INIT_AUTOMAKE([dist-bzip2])
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
--
2.19.1
More information about the Nouveau
mailing list