Robin Clark's fixes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@208 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1997-12-01 02:33:00 +00:00
parent 604cc91f40
commit 45ca4ab3a2
2 changed files with 11 additions and 13 deletions

1
README
View File

@ -27,6 +27,7 @@ Normally, to build and install xacc, all you have to do is:
# ./configure
# make
# make depend
# make install
You can also build xacc in a seperate directory, which is

View File

@ -33,22 +33,19 @@ AC_C_BIGENDIAN
# *******************************************
# check for UI libs:
LIBS="-lXmu -lXext -lX11 -lSM -lICE"
#AC_CHECK_LIB(SM, ???)
#AC_CHECK_LIB(ICE, ???)
AC_CHECK_LIB(Xt, XtVaCreateWidget,
LIBS="-lXt $LIBS",
AC_MSG_ERROR(Must have libXt) )
AC_CHECK_LIB(Xm, XmCreateMainWindow,
LIBS="-lXm $LIBS",
AC_MSG_ERROR(Must have libXm) )
AC_CHECK_LIB(Xpm, XpmReadFileToXpmImage,
AC_DEFINE(HAVE_XPM,1) LIBS="-lXpm $LIBS",
AC_DEFINE(HAVE_XPM,0) )
AC_PATH_X
AC_PATH_XTRA
AC_SUBST(x_includes)
AC_SUBST(x_libraries)
LIBS="-lXm -lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
AC_CHECK_LIB(Xpm, XpmReadFileToXpmImage,
AC_DEFINE(HAVE_XPM,1) LIBS="-lXpm $LIBS",
AC_DEFINE(HAVE_XPM,0) )
AC_SUBST(LIBS)
AC_CONFIG_HEADER(config.h)
AC_OUTPUT(Makefile src/Makefile lib/Makefile lib/libhtmlw/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile)
AC_OUTPUT(Makefile src/Makefile lib/Makefile lib/libhtmlw/Makefile
lib/Xbae-4.6.
2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile
lib/ComboBox-1.33/Makefile)