mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
c588520727
Refactor autoconf, use best practices
16 lines
462 B
Plaintext
16 lines
462 B
Plaintext
|
|
|
|
dnl if fermi-ware directory exists, test for motif.
|
|
AC_DEFUN([TR_JSC_DIRS],[
|
|
AC_CHECK_FILE([trick_source/data_products/fermi-ware],
|
|
[
|
|
AC_CHECK_HEADER(Xm/Xm.h, [MOTIF_HOME="/usr"],
|
|
AC_CHECK_FILE(/usr/local/include/Xm/Xm.h, [MOTIF_HOME="/usr/local"],
|
|
AC_CHECK_FILE(/sw/include/Xm/Xm.h, [MOTIF_HOME="/sw"],AC_MSG_ERROR([could not find Xm/Xm.h]))))
|
|
],
|
|
[
|
|
MOTIF_HOME=""
|
|
]
|
|
)
|
|
AC_SUBST([MOTIF_HOME])
|
|
]) |