[Mesa-dev] [PATCH kmscube 2/5] configure.ac: remove useless AC_CONFIG_* macros

Emil Velikov emil.l.velikov at gmail.com
Tue Mar 14 12:10:49 UTC 2017


Namely:
AC_CONFIG_SRCDIR - it's used to "help" people who deliberatelly override
--srcdir. Nobody should be doing this to begin with, so just let them
get what they're asking for.

AC_CONFIG_HEADERS - we don't have any conditionals, function or macro
checks. Hence we don't need the header.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 configure.ac | 2 --
 1 file changed, 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 785cd76..9b92d0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,8 +24,6 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([kmscube], [0.0.1], [https://cgit.freedesktop.org/mesa/kmscube/], [kmscube])
-AC_CONFIG_SRCDIR([Makefile.am])
-AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 
-- 
2.11.1



More information about the mesa-dev mailing list