Changeset 7e06bd9 in rtems


Ignore:
Timestamp:
Oct 22, 2015, 7:53:36 PM (5 years ago)
Author:
Ben Gras <beng@…>
Branches:
5, master
Children:
7d59bb6
Parents:
5c337d7e
git-author:
Ben Gras <beng@…> (10/22/15 19:53:36)
git-committer:
Ben Gras <ben@…> (10/22/15 19:56:50)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/configure.ac

    r5c337d7e r7e06bd9  
    3131
    3232AC_PROG_LN_S
    33 AC_PATH_PROG([PAX],[pax])
     33AC_PATH_PROG([PAX],[pax],no)
     34
     35AS_IF([test "x$PAX" = "xno"],[
     36        AC_MSG_ERROR([pax is missing.])
     37])
    3438
    3539AC_CHECK_HEADERS([complex.h])
Note: See TracChangeset for help on using the changeset viewer.