summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-12-17 06:26:55 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-12-17 06:26:55 +0000
commit5bc02be9b34f06bb646355433848d762318fe76a (patch)
tree0c71c9025e4fef35f07f825aff146d237662097f
parenta115b3b8f4c2c624b53a6c3234bdb66e7e3fbb39 (diff)
downloaddropbear-5bc02be9b34f06bb646355433848d762318fe76a.tar.gz
Pristine compilation works.
-rw-r--r--Makefile.in5
-rw-r--r--configure.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 9feee84..4cad5bf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -54,6 +54,9 @@ dropbearkeyobjs=$(COMMONOBJS) $(KEYOBJS)
dropbearconvertobjs=$(COMMONOBJS) $(CONVERTOBJS)
scpobjs=$(SCPOBJS)
+VPATH=@srcdir@
+srcdir=@srcdir@
+
prefix=@prefix@
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
@@ -65,7 +68,7 @@ AR=@AR@
RANLIB=@RANLIB@
STRIP=@STRIP@
INSTALL=@INSTALL@
-CFLAGS=-Ilibtomcrypt @CFLAGS@
+CFLAGS=-I. -I$(srcdir)/libtomcrypt @CFLAGS@
LIBS=$(LTC) $(LTM) @LIBS@
LDFLAGS=@LDFLAGS@
diff --git a/configure.in b/configure.in
index 05b1ba0..17b267a 100644
--- a/configure.in
+++ b/configure.in
@@ -610,5 +610,7 @@ fi
AC_EXEEXT
AC_CONFIG_HEADER(config.h)
AC_OUTPUT(Makefile)
+AC_OUTPUT(libtomcrypt/Makefile)
+AC_OUTPUT(libtommath/Makefile)
AC_MSG_RESULT()
AC_MSG_RESULT(Now edit options.h to choose features.)