summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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.)