summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:48 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:48 +0000
commit118a5e95e00908ec20759a240416c3775fddbf57 (patch)
treeb1245d80a73581fa3225f14a569a8707fd4be7ec /configure.in
parentd7bccc73c61de8be73c71c4447b9a007ffb80834 (diff)
New make changes
Author: jgg Date: 1998-07-14 03:31:31 GMT New make changes
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2ecd0b15d..b3f6c57f4 100644
--- a/configure.in
+++ b/configure.in
@@ -33,16 +33,17 @@ AC_SUBST(X11LIB)
X11LIB=
if test "$no_x" != "yes"; then
X11LIB="-lx11"
+ AC_DEFINE(HAVE_X11)
fi
dnl Checks for Slang
-AC_CHECK_LIB(slang, init_SLang,SLANGLIB="-lslang")
+AC_CHECK_LIB(slang, init_SLang,[AC_DEFINE(HAVE_LIBSLANG) SLANGLIB="-lslang"])
AC_SUBST(SLANGLIB)
dnl Checks for GPM
AC_ARG_WITH(gpm,[ --without-gpm do not use GPM mouse support])
if test "$with_gpm" != "no"; then
- AC_CHECK_LIB(gpm, Gpm_Open,GPMLIB="-lgpm")
+ AC_CHECK_LIB(gpm, Gpm_Open,[AC_DEFINE(HAVE_LIBGPM) GPMLIB="-lgpm"])
AC_SUBST(GPMLIB)
fi
@@ -84,3 +85,6 @@ AC_CHECK_PROG(DEBIANDOC_HTML,debiandoc2html,"yes","")
AC_CHECK_PROG(DEBIANDOC_TEXT,debiandoc2text,"yes","")
AC_OUTPUT(environment.mak:buildlib/environment.mak.in)
+
+dnl Setup the directories
+mkdir doc bin obj include/apt-pkg include/deity