From 1a2da7a1f67b0efa0ba521f0cabc46ca58fd7d73 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Sun, 11 Oct 1998 03:32:14 +0000 Subject: [PATCH] add check for xmhtml git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1291 57a11ea4-9604-0410-9ed3-97b8803252fd --- configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index def2495341..83e07f2a5e 100644 --- a/configure.in +++ b/configure.in @@ -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.