add check for xmhtml

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1291 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-10-11 03:32:14 +00:00
parent d6a7019f7b
commit 1a2da7a1f6

View File

@ -45,6 +45,10 @@ AC_ARG_WITH( motif-libraries,
[ --with-motif-libraries=DIR specify where to look for motif libs],
X_LIBS="${X_LIBS} -L$with_motif_libraries" )
AC_ARG_WITH( xmhtml-libraries,
[ --with-xmhtml-libraries=DIR specify where to look for xmhtml libs],
X_LIBS="${X_LIBS} -L$with_xmhtml_libraries" )
# Let the user specify gnome paths:
# -I...libgnomesupport is to fix bug in gnome-1.3 release
AC_ARG_WITH( gnome,
@ -90,7 +94,11 @@ AC_CHECK_LIB(png, png_read_image,
AC_CHECK_LIB(Xpm, XpmReadFileToXpmImage,
AC_DEFINE(HAVE_XPM,1) X_LIBS="-lXpm $X_LIBS",
AC_DEFINE(HAVE_XPM,0), -L $x_libraries -lX11)
AC_DEFINE(HAVE_XPM,0), -L $x_libraries -lX11)
AC_CHECK_LIB(XmHTML, XmHTMLTextScrollToLine,
AC_DEFINE(HAVE_XMHTML,1) X_LIBS="-lXmHTML $X_LIBS",
AC_DEFINE(HAVE_XMHTML,0), -lXm -L $x_libraries -lXext -lX11)
# Set GUILELIBS according to the set of libraries needed to link
# with guile.