--disable-rpath is not working
authorEzra Peisach <epeisach@mit.edu>
Wed, 11 Feb 2009 13:01:11 +0000 (13:01 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 11 Feb 2009 13:01:11 +0000 (13:01 +0000)
AC_ARG_ENABLE returns its value in enableval not withval.  --disable-rpath
was not working - or dependent on some previous setting...

ticket: 6390
tags: pullup
target_version: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21968 dc483132-0cff-0310-8789-dd5450dbe970

src/aclocal.m4

index 2d818a362d815fe40634ab245f0ba3f973bd7b44..3dcc298af7470654c4f1e944a940605eee33b5d4 100644 (file)
@@ -1215,7 +1215,7 @@ AC_ARG_ENABLE([shared], ,
 fi])
 AC_ARG_ENABLE([rpath],
 AC_HELP_STRING([--disable-rpath],[suppress run path flags in link lines]),
-[enable_rpath=$withval],
+[enable_rpath=$enableval],
 [enable_rpath=yes])
 
 if test "x$enable_rpath" != xyes ; then