Skip to content
Permalink
Browse files

Use AM_SUBST_NOTMAKE directly

I don't remember how I ended up with its private counterpart,
conditionally even, but this has been part of automake since
version 1.10 so there's no reason to beat around the bush.
  • Loading branch information
Dridi committed Feb 13, 2020
1 parent cee2d1a commit 1f1234827d315c6678c97d448253f53489367ae4
Showing with 3 additions and 6 deletions.
  1. +3 −6 varnish.m4
@@ -226,8 +226,7 @@ clean-vmod-$1:
"
AC_SUBST(m4_toupper(BUILD_VMOD_$1), [$VMOD_RULES])
m4_ifdef([_AM_SUBST_NOTMAKE],
[_AM_SUBST_NOTMAKE(m4_toupper(BUILD_VMOD_$1))])
AM_SUBST_NOTMAKE(m4_toupper(BUILD_VMOD_$1))
])

# VARNISH_VMODS(NAMES)
@@ -418,8 +417,7 @@ clean-vsc-$1:
"
AC_SUBST(m4_toupper(BUILD_VSC_$1), [$VSC_RULES])
m4_ifdef([_AM_SUBST_NOTMAKE],
[_AM_SUBST_NOTMAKE(m4_toupper(BUILD_VSC_$1))])
AM_SUBST_NOTMAKE(m4_toupper(BUILD_VSC_$1))
])

# VARNISH_COUNTERS(NAMES)
@@ -488,8 +486,7 @@ clean-vut-$1:
"
AC_SUBST(m4_toupper(GENERATE_$1_DOCS), [$VUT_RULES])
m4_ifdef([_AM_SUBST_NOTMAKE],
[_AM_SUBST_NOTMAKE(m4_toupper(GENERATE_$1_DOCS))])
AM_SUBST_NOTMAKE(m4_toupper(GENERATE_$1_DOCS))
])

0 comments on commit 1f12348

Please sign in to comment.
You can’t perform that action at this time.