File:
[Coherent Logic Development] /
freem /
m4 /
ax_lib_motif.m4
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs
Sun Jan 19 02:04:04 2025 UTC (2 months, 2 weeks ago) by
snw
Branches:
MAIN,
CoherentLogicDevelopment
CVS tags:
v0-63-1-rc1,
v0-63-0-rc1,
v0-63-0,
v0-62-3,
v0-62-2,
v0-62-1,
v0-62-0,
start,
HEAD
FreeM
AC_DEFUN([AX_LIB_MOTIF],
[
AC_CHECK_LIB([X11], [XTextWidth], [ax_have_x11="yes" && LIBS="-lX11 $LIBS"], [])
AC_CHECK_LIB([Xt], [XtWindow], [ax_have_xt="yes" && LIBS="-lXt $LIBS"], [])
AC_CHECK_LIB([ICE], [IceFlush], [ax_have_ice="yes" && LIBS="-lICE $LIBS"], [])
AC_CHECK_LIB([Xm], [XmActivateProtocol], [ax_have_xm="yes" && LIBS="-lXm $LIBS"], [])
if test -n $ax_have_x11 -a -n $ax_have_xt -a -n $ax_have_ice -a -n ax_have_xm; then
AC_DEFINE(HAVE_MWAPI_MOTIF, 1, [Define if OSF/Motif libraries available for MWAPI])
AC_CHECK_HEADERS(Xm/Xm.h)
AC_CHECK_HEADERS(Xm/MainW.h)
AC_CHECK_HEADERS(Xm/PushB.h)
else
echo "* * * FATAL * * *"
echo " libX11, libXt, libICE, and libXm must be present in order to build MWAPI support."
exit -1
fi
])
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>