Skip to content

Commit 87ebb28

Browse files
committed
at: Re-order program checks alphabetically
Signed-off-by: Mark Grant <[email protected]>
1 parent 2500d7f commit 87ebb28

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

Diff for: configure.ac

+18-18
Original file line numberDiff line numberDiff line change
@@ -219,26 +219,16 @@ if test "x$BASH" = "xno" ; then
219219
fi
220220

221221
AC_MSG_NOTICE(checking for particular programs required at run time)
222+
AC_CHECK_PROG(DNSMASQ, dnsmasq, yes, no)
223+
if test "x$DNSMASQ" = "xno" ; then
224+
AC_MSG_WARN(dnsmasq not found - needed at run time)
225+
fi
226+
222227
AC_CHECK_PROG(ECHO, echo, yes, no)
223228
if test "x$ECHO" = "xno" ; then
224229
AC_MSG_WARN(echo not found - needed at run time)
225230
fi
226231

227-
AC_CHECK_PROG(PRINTF, printf, yes, no)
228-
if test "x$PRINTF" = "xno" ; then
229-
AC_MSG_WARN(printf not found - needed at run time)
230-
fi
231-
232-
AC_CHECK_PROG(PS, ps, yes, no)
233-
if test "x$PS" = "xno" ; then
234-
AC_MSG_WARN(ps not found - needed at run time)
235-
fi
236-
237-
AC_CHECK_PROG(KILL, kill, yes, no)
238-
if test "x$KILL" = "xno" ; then
239-
AC_MSG_WARN(kill not found - needed at run time)
240-
fi
241-
242232
AC_CHECK_PROG(FIND, find, yes, no)
243233
if test "x$FIND" = "xno" ; then
244234
AC_MSG_WARN(find not found - needed at run time)
@@ -249,14 +239,24 @@ if test "x$GETOPT" = "xno" ; then
249239
AC_MSG_WARN(getopt not found - needed at run time)
250240
fi
251241

242+
AC_CHECK_PROG(KILL, kill, yes, no)
243+
if test "x$KILL" = "xno" ; then
244+
AC_MSG_WARN(kill not found - needed at run time)
245+
fi
246+
252247
AC_CHECK_PROG(LOGGER, logger, yes, no)
253248
if test "x$LOGGER" = "xno" ; then
254249
AC_MSG_WARN(logger not found - needed at run time)
255250
fi
256251

257-
AC_CHECK_PROG(DNSMASQ, dnsmasq, yes, no)
258-
if test "x$DNSMASQ" = "xno" ; then
259-
AC_MSG_WARN(dnsmasq not found - needed at run time)
252+
AC_CHECK_PROG(PRINTF, printf, yes, no)
253+
if test "x$PRINTF" = "xno" ; then
254+
AC_MSG_WARN(printf not found - needed at run time)
255+
fi
256+
257+
AC_CHECK_PROG(PS, ps, yes, no)
258+
if test "x$PS" = "xno" ; then
259+
AC_MSG_WARN(ps not found - needed at run time)
260260
fi
261261

262262

0 commit comments

Comments
 (0)