forked from Imagelibrary/rtems
Fail gracefully if pax is not found
The $(PAX) variable is used unconditionally so it shouldn't be left empty if not found at configure time. Fixes #2437.
This commit is contained in:
@@ -30,7 +30,11 @@ RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
|
||||
RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
|
||||
|
||||
AC_PROG_LN_S
|
||||
AC_PATH_PROG([PAX],[pax])
|
||||
AC_PATH_PROG([PAX],[pax],no)
|
||||
|
||||
AS_IF([test "x$PAX" = "xno"],[
|
||||
AC_MSG_ERROR([pax is missing.])
|
||||
])
|
||||
|
||||
AC_CHECK_HEADERS([complex.h])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user