mirror of
https://github.com/nasa/trick.git
synced 2024-12-29 17:38:54 +00:00
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])
|
||
|
])
|