summaryrefslogtreecommitdiffhomepage
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
commit8f14a1cc3823b09897dccb0aeece8db09bfa8b73 (patch)
tree0c71c9025e4fef35f07f825aff146d237662097f
parent3e53f28f6ea9a35291b7917eca3657059f1b8d0b (diff)
Pristine compilation works.
--HG-- extra : convert_revision : 64faed12a3a33720986786db602714dfaa4bc599
-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.)