From e483db7e7f4f25a051c4de3ec71121b4693ba65e Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 18 Jun 2001 14:11:34 +0000 Subject: [PATCH] * loginpaths.h: If _PATH_DEFPATH is defined, undefine LPATH and RPATH before redefining. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13362 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/loginpaths.h | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index f7afdf6d2..11b20cce5 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +2001-06-18 Ezra Peisach + + * loginpaths.h: If _PATH_DEFPATH is defined, undefine LPATH and + RPATH before redefining. + 2001-06-11 Ezra Peisach * configure.in (SETENVOBJ): If setenv is not present on system, diff --git a/src/appl/bsd/loginpaths.h b/src/appl/bsd/loginpaths.h index 41683ee38..95c868829 100644 --- a/src/appl/bsd/loginpaths.h +++ b/src/appl/bsd/loginpaths.h @@ -96,7 +96,13 @@ #endif #ifdef _PATH_DEFPATH +#ifdef LPATH +#undef LPATH +#endif #define LPATH _PATH_DEFPATH +#ifdef RPATH +#undef RPATH +#endif #define RPATH _PATH_DEFPATH #endif -- 2.26.2