From ba1352350f6c1c5929c0bf3dcbdf5a6d4bdaa02c Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sun, 15 Jun 2003 16:19:47 +0000 Subject: [PATCH] 2003-06-15 Jens Elkner (tiny change) * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with POSIXLY_CORRECT=1. --- ChangeLog | 5 +++++ THANKS | 1 + m4/lispdir.m4 | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc20e14f..d60acbe9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-15 Jens Elkner (tiny change) + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with + POSIXLY_CORRECT=1. + 2003-06-14 Karl Berry Alexandre Duret-Lutz diff --git a/THANKS b/THANKS index 43987c2a..90b2301f 100644 --- a/THANKS +++ b/THANKS @@ -89,6 +89,7 @@ Jason Molenda crash@cygnus.co.jp Jeff Bailey Jbailey@phn.ca Jeff Garzik jgarzik@pobox.com Jeff Squyres jsquyres@lam-mpi.org +Jens Elkner elkner@imsgroup.de Jens Krüger jens_krueger@physik.tu-muenchen.de Jeremy Nimmer jwnimmer@alum.mit.edu Jerome Lovy jlovy@multimania.com diff --git a/m4/lispdir.m4 b/m4/lispdir.m4 index 170b7ee6..5ef87173 100644 --- a/m4/lispdir.m4 +++ b/m4/lispdir.m4 @@ -22,7 +22,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 6 +# serial 7 # AM_PATH_LISPDIR # --------------- @@ -50,8 +50,8 @@ AC_DEFUN([AM_PATH_LISPDIR], AC_RUN_LOG([$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' conftest.out]) am_cv_lispdir=`sed -n \ -e 's,/$,,' \ - -e '/.*\/lib\/\(x\?emacs\/site-lisp\)$/{s,,${libdir}/\1,;p;q;}' \ - -e '/.*\/share\/\(x\?emacs\/site-lisp\)$/{s,,${datadir}/\1,;p;q;}' \ + -e '/.*\/lib\/x\?emacs\/site-lisp$/{s,.*/lib/\(x\?emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \ + -e '/.*\/share\/x\?emacs\/site-lisp$/{s,.*/share/\(x\?emacs/site-lisp\),${datadir}/\1,;p;q;}' \ conftest.out` rm conftest.out if test -z "$am_cv_lispdir"; then -- 2.43.5