aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--configure.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 9309d9e1..e36f15bf 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@
fetchmail-4.7.5 ():
* Issue proper logout after running fetchmail -c
* Fix prefix problem with internationalized version.
+* Attempted fix for Harry McGavran's VPATH bug.
There are 249 people on fetchmail-friends and 334 on fetchmail-announce.
diff --git a/configure.in b/configure.in
index 90d96b03..39c0e214 100644
--- a/configure.in
+++ b/configure.in
@@ -35,11 +35,11 @@ AC_SUBST(LDEFLAGS)
AC_SUBST(LIBOBJS)
AC_SUBST(POMAKE)
-PACKAGE=`sed -n '/PACKAGE *= *\(.*\)/s//\1/p' <Makefile.in`
+PACKAGE=`sed -n '/PACKAGE *= *\(.*\)/s//\1/p' <$srcdir/Makefile.in`
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_SUBST(PACKAGE)
-VERSION=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile.in`
+VERSION=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <$srcdir/Makefile.in`
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(VERSION)