On 12/4/07, Michael Halcrow <[EMAIL PROTECTED]> wrote:
> Also note that Karsten Hopp <[EMAIL PROTECTED]> recently fixed a bug
> that kept ecryptfs-utils from installing correctly in ia64:

Please CC me on build modifications... I will be happy to review.
Also please push updates...

This was taken from the old build system... But if it had troubles I
think the attached one is better.

Regards,
Alon.
diff --git a/configure.ac b/configure.ac
index 6778105..7aaaa76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,22 +97,11 @@ AC_ARG_WITH(
 	[AC_HELP_STRING([--with-pamdir=PATH], [Specify the directory where PAM modules are stored])],
 	[pamdir="${withval}"],
 	[
-		case $target in
-			*64* | *s390x)
-				if test "${prefix}" != "/usr" ; then
-					pamdir="\$(prefix)/lib64/security"
-				else
-					pamdir="/lib64/security"
-				fi
-			;;
-			*)
-				if test "${prefix}" != "/usr" ; then
-					pamdir="\$(prefix)/lib/security"
-				else
-					pamdir="/lib/security"
-				fi
-			;;
-		esac
+		if test "${prefix}" = "/usr"; then
+			pamdir="/lib${libdir##*/lib}/security"
+		else
+			pamdir="\$(libdir)/security"
+		fi
 	]
 )
 
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel

Reply via email to