Skip to content

Commit

Permalink
Fix a couple of typos in configure.ac
Browse files Browse the repository at this point in the history
Issue #843 identified a couple of small typos in configure.ac

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
  • Loading branch information
pqarmitage committed Apr 23, 2018
1 parent 27f7e51 commit d8d0661
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -7286,7 +7286,7 @@ _ACEOF
NEED_NL3=Yes
fi

if test $disable_vrrp != .no; then
if test .$enable_vrrp != .no; then
NEED_NL3=Yes

SAV_CPPFLAGS="$CPPFLAGS"
Expand Down Expand Up @@ -10569,12 +10569,13 @@ else
INIT_TYPE=$init_type
fi

if test $INIT_TYPE = systemd; then
if test -z $INIT_TYPE; then
INIT_TYPE=undetected
elif test $INIT_TYPE = systemd; then
systemdsystemunitdir=$with_systemdsystemunitdir

fi

if test -z $INIT_TYPE; then INIT_TYPE=undetected; fi
if test $INIT_TYPE = upstart; then
INIT_UPSTART_TRUE=
INIT_UPSTART_FALSE='#'
Expand Down
7 changes: 4 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ if test .${enable_libnl} != .no; then
NEED_NL3=Yes
fi
if test $disable_vrrp != .no; then
if test .$enable_vrrp != .no; then
NEED_NL3=Yes
dnl ----[Check have IPV4_DEVCONF defines - since Linux 3.11]----
Expand Down Expand Up @@ -1472,11 +1472,12 @@ else
INIT_TYPE=$init_type
fi
if test $INIT_TYPE = systemd; then
if test -z $INIT_TYPE; then
INIT_TYPE=undetected
elif test $INIT_TYPE = systemd; then
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
fi
if test -z $INIT_TYPE; then INIT_TYPE=undetected; fi
AM_CONDITIONAL([INIT_UPSTART], [test $INIT_TYPE = upstart])
AM_CONDITIONAL([INIT_SYSTEMD], [test $INIT_TYPE = systemd])
AM_CONDITIONAL([INIT_SYSV], [test $INIT_TYPE = SYSV])
Expand Down

0 comments on commit d8d0661

Please sign in to comment.