mirror of
https://github.com/nasa/trick.git
synced 2024-12-30 09:58:53 +00:00
c588520727
Refactor autoconf, use best practices
11 lines
391 B
Plaintext
11 lines
391 B
Plaintext
|
|
|
|
dnl test if we want to use er7_utils, default to yes
|
|
AC_DEFUN([TR_ER7_UTILS],[
|
|
AC_ARG_ENABLE([er7utils],
|
|
AS_HELP_STRING([--enable-er7utils], [use er7_utils (default is yes)]),
|
|
AS_IF([test "x$enable_er7utils" = xyes], [USE_ER7_UTILS="1"], [USE_ER7_UTILS="0"]),
|
|
[USE_ER7_UTILS="1"]
|
|
)
|
|
AC_SUBST([USE_ER7_UTILS])
|
|
]) |