From 6ffabe6a361f086c419b6d46852be06951e906e8 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 27 Aug 2003 01:17:40 +0000 Subject: [PATCH] * configure.ac: + Generate the doc/* Makefiles. + Export XAW_LIBS and so on to the Makefiles. git-svn-id: svn://svn.zoy.org/elk/trunk@56 55e467fa-43c5-0310-a8a2-de718669efc6 --- configure.ac | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/configure.ac b/configure.ac index 62a6902..2d65a87 100644 --- a/configure.ac +++ b/configure.ac @@ -363,14 +363,42 @@ fi CFLAGS="${CFLAGS_save}" INCLUDES="${INCLUDES} -I\$(top_srcdir)/include" +X_CFLAGS="-I/usr/X11R6/include" +X_LIBS="-L/usr/X11R6/lib -lX11" + +XAW_CFLAGS="-I/usr/X11R6/include" +XAW_LIBS="-L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11" + +XM_CFLAGS="-I/usr/X11R6/include -I/usr/include/Xm" +XM_LIBS="-L/usr/X11R6/lib -lXm -lXmu -lXt -lSM -lICE -lXext -lX11" + + dnl Export variables AC_SUBST(INCLUDES) +AC_SUBST(X_CFLAGS) +AC_SUBST(X_LIBS) +AC_SUBST(XAW_CFLAGS) +AC_SUBST(XAW_LIBS) +AC_SUBST(XM_CFLAGS) +AC_SUBST(XM_LIBS) AC_OUTPUT([ Makefile autotools/Makefile debian/Makefile doc/Makefile + doc/bitstring/Makefile + doc/cprog/Makefile + doc/kernel/Makefile + doc/man/Makefile + doc/oops/Makefile + doc/record/Makefile + doc/regexp/Makefile + doc/unix/Makefile + doc/usenix/Makefile + doc/util/Makefile + doc/xlib/Makefile + doc/xt/Makefile examples/Makefile include/Makefile lib/Makefile