Skip to content

Commit

Permalink
build: Normalize HAVE_CONTRIB_INSTALL
Browse files Browse the repository at this point in the history
Added on commit 8d8686a ("Make installation of contrib scripts
configurable", 2017-04-13).

Remove redundant argument to AS_IF and make it look more like the other
nearby AS_IF calls.
  • Loading branch information
kmk3 committed Nov 25, 2021
1 parent 6d42e13 commit 8344145
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3812,9 +3812,8 @@ if test "${enable_contrib_install+set}" = set; then :
fi
if test "x$enable_contrib_install" = "xno"; then :
HAVE_CONTRIB_INSTALL="no"
else
HAVE_CONTRIB_INSTALL="yes"
HAVE_CONTRIB_INSTALL="no"
fi
Expand Down
7 changes: 3 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,9 @@ HAVE_CONTRIB_INSTALL="yes"
AC_SUBST([HAVE_CONTRIB_INSTALL])
AC_ARG_ENABLE([contrib-install],
[AS_HELP_STRING([--enable-contrib-install], [install contrib scripts])])
AS_IF([test "x$enable_contrib_install" = "xno"],
[HAVE_CONTRIB_INSTALL="no"],
[HAVE_CONTRIB_INSTALL="yes"]
)
AS_IF([test "x$enable_contrib_install" = "xno"], [
HAVE_CONTRIB_INSTALL="no"
])

HAVE_FORCE_NONEWPRIVS=""
AC_SUBST([HAVE_FORCE_NONEWPRIVS])
Expand Down

0 comments on commit 8344145

Please sign in to comment.