1553 |
# prefix or datadir. If datadir not explicitly given, we |
# prefix or datadir. If datadir not explicitly given, we |
1554 |
# use prefix. |
# use prefix. |
1555 |
if test "x$datadir" = 'x${prefix}/share'; then |
if test "x$datadir" = 'x${prefix}/share'; then |
1556 |
INSTALL_SHARE="$prefix" |
INSTALL_ASCDATA="$prefix" |
1557 |
else |
else |
1558 |
INSTALL_SHARE="$datadir" |
INSTALL_ASCDATA="$datadir" |
1559 |
fi |
fi |
1560 |
DEFAULT_ASCENDLIBRARY="$INSTALL_SHARE/models" |
DEFAULT_ASCENDLIBRARY="$INSTALL_ASCDATA/models" |
1561 |
ASCEND_DEFAULTLIBRARY="$INSTALL_SHARE/models" |
ASCEND_DEFAULTLIBRARY="$INSTALL_ASCDATA/models" |
1562 |
ASC_ENV_TK_DEFAULT="$INSTALL_SHARE/TK" |
ASC_ENV_TK_DEFAULT="\$ASCENDDIST/TK" |
1563 |
|
|
1564 |
|
|
1565 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1598 |
AC_SUBST(ASC_TK_LIBRARY) |
AC_SUBST(ASC_TK_LIBRARY) |
1599 |
AC_SUBST(ASC_TCL_LIBRARY) |
AC_SUBST(ASC_TCL_LIBRARY) |
1600 |
AC_SUBST(ASC_DISTDIR_REL_BIN) |
AC_SUBST(ASC_DISTDIR_REL_BIN) |
1601 |
AC_SUBST(INSTALL_SHARE) |
AC_SUBST(INSTALL_ASCDATA) |
1602 |
AC_SUBST(ASC_ENV_TK_DEFAULT) |
AC_SUBST(ASC_ENV_TK_DEFAULT) |
1603 |
AC_SUBST(TK_LD_HACK) |
AC_SUBST(TK_LD_HACK) |
1604 |
AC_SUBST(HAVE_TKTABLE) |
AC_SUBST(HAVE_TKTABLE) |