Changeset 9c31e9 in git for m4/ntl-check.m4


Ignore:
Timestamp:
Jul 30, 2018, 9:22:38 PM (5 years ago)
Author:
Timo Kaufmann <timokau@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
bc738210c79399a9d692a374048434a9a4f8df9d
Parents:
cadc8982276b61186daf2b1af182e715450e71df
Message:
Fail hard when ntl is missing although it was specified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/ntl-check.m4

    rcadc89 r9c31e9  
    3030              elif test "$withval" != no ; then
    3131                        NTL_HOME_PATH="$withval"
     32                        NTL_SHOULD_BE_PRESENT="yes"
    3233             fi],
    3334             [NTL_HOME_PATH="${DEFAULT_CHECKING_PATH}"])
     
    116117        ifelse([$3], , :, [$3])
    117118elif test   "x$ntl_found" = "xno";  then
     119        if test "x$NTL_SHOULD_BE_PRESENT" = "xyes"; then
     120                AC_MSG_ERROR([NTL support was requested but NTL could not be detected])
     121        fi
    118122        AC_MSG_RESULT(not found)
    119123        ifelse([$3], , :, [$3])
Note: See TracChangeset for help on using the changeset viewer.