From 34b36d3ac13a3762cd10a3297fd66844e856afe6 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Sat, 14 Jun 2003 23:34:24 +0000
Subject: [PATCH] Fix libdir and includedir reference.

---
 m4/check-package.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/check-package.m4 b/m4/check-package.m4
index 241d3d2..527205b 100644
--- a/m4/check-package.m4
+++ b/m4/check-package.m4
@@ -12,10 +12,10 @@ dnl $5: header name
 dnl $6: include path (-I$6)
 dnl $7 \in \{optional, required\}, bail out if required, warning otherwise
 dnl
-AC_DEFUN(ALBERT_CHECK_PKG,
+AC_DEFUN(ALBERT_CHECK_PACKAGE,
 [AC_REQUIRE([AC_SET_PREFIX])
 if test -z "$3"; then
-	DEFAULT_LIBDIR=${libdir}
+	DEFAULT_LIBDIR=`eval eval echo ${libdir}`
 else
 	DEFAULT_LIBDIR=$3
 fi
@@ -35,7 +35,7 @@ dnl
 dnl now for the header file
 dnl
 if test -z "$6"; then
-	DEFAULT_INCDIR=${libdir}
+	DEFAULT_INCDIR=`eval eval echo ${includedir}`
 else
 	DEFAULT_INCDIR=$6
 fi
-- 
GitLab