Skip to contentSkip to conversation

configure: remove unneeded AC_SUBST statements

PATCH In review Emil Velikov 2 participants 2 messages Jul 21, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: remove unneeded AC_SUBST statements

The variables are already set/substituted by the PKG_CHECK_MODULES macro.

---
 configure.ac | 4 ----
 1 file changed, 4 deletions(-)
configure.ac +0 -4
index 03563c1..6048c5a 100644
@@ -82,8 +82,6 @@ XORG_DRIVER_CHECK_EXT(DRI2, [dri2proto >= 2.6])
 # Checks for pkg-config packages
 PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.4.60])
 PKG_CHECK_MODULES(LIBDRM_NOUVEAU, [libdrm_nouveau >= 2.4.25])
-AC_SUBST(LIBDRM_NOUVEAU_CFLAGS)
-AC_SUBST(LIBDRM_NOUVEAU_LIBS)
 
 PKG_CHECK_MODULES(XORG, [xorg-server >= 1.8] xproto fontsproto libdrm $REQUIRED_MODULES)
 PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
@@ -100,8 +98,6 @@ if test "x$LIBUDEV" = xyes; then
 	AC_DEFINE(HAVE_LIBUDEV, 1, [libudev support])
 fi
 AM_CONDITIONAL(LIBUDEV, [ test "x$LIBUDEV" = "xyes" ] )
-AC_SUBST([LIBUDEV_CFLAGS])
-AC_SUBST([LIBUDEV_LIBS])
 
 # Checks for header files.
 AC_HEADER_STDC
Signature · 6 lines
2.4.4

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1437515506-17699-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 33 lines · Emil Velikov

The variables are already set/substituted by the PKG_CHECK_MODULES macro.

---
 configure.ac | 4 ----
 1 file changed, 4 deletions(-)
configure.ac +0 -5
index 03563c1..6048c5a 100644
@@ -82,8 +82,6 @@ XORG_DRIVER_CHECK_EXT(DRI2, [dri2proto >= 2.6])
 # Checks for pkg-config packages
 PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.4.60])
 PKG_CHECK_MODULES(LIBDRM_NOUVEAU, [libdrm_nouveau >= 2.4.25])
-AC_SUBST(LIBDRM_NOUVEAU_CFLAGS)
-AC_SUBST(LIBDRM_NOUVEAU_LIBS)
 
 PKG_CHECK_MODULES(XORG, [xorg-server >= 1.8] xproto fontsproto libdrm $REQUIRED_MODULES)
 PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
@@ -100,8 +98,6 @@ if test "x$LIBUDEV" = xyes; then
        AC_DEFINE(HAVE_LIBUDEV, 1, [libudev support])
 fi
 AM_CONDITIONAL(LIBUDEV, [ test "x$LIBUDEV" = "xyes" ] )
-AC_SUBST([LIBUDEV_CFLAGS])
-AC_SUBST([LIBUDEV_LIBS])
 
 # Checks for header files.
 AC_HEADER_STDC
--

2.4.4

Quoted 4 lines

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau