diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | configure.ac | 10 | ||||
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/Makefile.in | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 2 |
5 files changed, 20 insertions, 7 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-02-08 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Port to platforms lacking test -a and -o | ||
| 4 | * configure.ac (HAVE_LIBXML2): | ||
| 5 | Prefer '&&' and '||' to 'test -a' and 'test -o'. | ||
| 6 | |||
| 1 | 2015-02-08 Ulrich Müller <ulm@gentoo.org> | 7 | 2015-02-08 Ulrich Müller <ulm@gentoo.org> |
| 2 | 8 | ||
| 3 | * configure.ac (--with-gameuser): Default to 'games' group instead | 9 | * configure.ac (--with-gameuser): Default to 'games' group instead |
diff --git a/configure.ac b/configure.ac index 192634bdc45..6a5c73eda5c 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3491,7 +3491,7 @@ if test "${with_xml2}" != "no"; then | |||
| 3491 | ### I'm not sure what the version number should be, so I just guessed. | 3491 | ### I'm not sure what the version number should be, so I just guessed. |
| 3492 | EMACS_CHECK_MODULES([LIBXML2], [libxml-2.0 > 2.6.17]) | 3492 | EMACS_CHECK_MODULES([LIBXML2], [libxml-2.0 > 2.6.17]) |
| 3493 | # Built-in libxml2 on OS X 10.8 lacks libxml-2.0.pc. | 3493 | # Built-in libxml2 on OS X 10.8 lacks libxml-2.0.pc. |
| 3494 | if test "${HAVE_LIBXML2}" != "yes" -a "$opsys" = "darwin"; then | 3494 | if test "${HAVE_LIBXML2}" != "yes" && test "$opsys" = "darwin"; then |
| 3495 | SAVE_CPPFLAGS="$CPPFLAGS" | 3495 | SAVE_CPPFLAGS="$CPPFLAGS" |
| 3496 | CPPFLAGS="$CPPFLAGS -I$xcsdkdir/usr/include/libxml2" | 3496 | CPPFLAGS="$CPPFLAGS -I$xcsdkdir/usr/include/libxml2" |
| 3497 | AC_CHECK_HEADER(libxml/HTMLparser.h, | 3497 | AC_CHECK_HEADER(libxml/HTMLparser.h, |
| @@ -4508,10 +4508,10 @@ if test $emacs_cv_func_sigsetjmp = yes; then | |||
| 4508 | fi | 4508 | fi |
| 4509 | 4509 | ||
| 4510 | # We need all of these features to handle C stack overflows. | 4510 | # We need all of these features to handle C stack overflows. |
| 4511 | if test "$ac_cv_header_sys_resource_h" = "yes" -a \ | 4511 | if test "$ac_cv_header_sys_resource_h" = "yes" && |
| 4512 | "$ac_cv_func_getrlimit" = "yes" -a \ | 4512 | test "$ac_cv_func_getrlimit" = "yes" && |
| 4513 | "$emacs_cv_func_sigsetjmp" = "yes" -a \ | 4513 | test "$emacs_cv_func_sigsetjmp" = "yes" && |
| 4514 | "$emacs_cv_alternate_stack" = yes; then | 4514 | test "$emacs_cv_alternate_stack" = yes; then |
| 4515 | AC_DEFINE([HAVE_STACK_OVERFLOW_HANDLING], 1, | 4515 | AC_DEFINE([HAVE_STACK_OVERFLOW_HANDLING], 1, |
| 4516 | [Define to 1 if C stack overflow can be handled in some cases.]) | 4516 | [Define to 1 if C stack overflow can be handled in some cases.]) |
| 4517 | fi | 4517 | fi |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ad4f3b9a7f3..ce381315b40 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2015-02-08 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Port to platforms lacking test -a and -o | ||
| 4 | * Makefile.in (compile-clean): | ||
| 5 | * net/tramp-sh.el (tramp-find-executable): | ||
| 6 | Prefer '&&' and '||' to 'test -a' and 'test -o'. | ||
| 7 | |||
| 1 | 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com> | 8 | 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com> |
| 2 | 9 | ||
| 3 | * newcomment.el (comment-line): Fix missing paren. | 10 | * newcomment.el (comment-line): Fix missing paren. |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 7bf53861e71..e5cfc6326e1 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -324,7 +324,7 @@ compile-clean: | |||
| 324 | @cd $(lisp) && $(setwins); \ | 324 | @cd $(lisp) && $(setwins); \ |
| 325 | elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ | 325 | elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ |
| 326 | for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \ | 326 | for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \ |
| 327 | if test -f "$$el" -o \! -f "$${el}c"; then :; else \ | 327 | if test -f "$$el" || test ! -f "$${el}c"; then :; else \ |
| 328 | echo rm "$${el}c"; \ | 328 | echo rm "$${el}c"; \ |
| 329 | rm "$${el}c"; \ | 329 | rm "$${el}c"; \ |
| 330 | fi \ | 330 | fi \ |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 9c8a222285c..45050cdd77a 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -3796,7 +3796,7 @@ This function expects to be in the right *tramp* buffer." | |||
| 3796 | (tramp-send-command | 3796 | (tramp-send-command |
| 3797 | vec | 3797 | vec |
| 3798 | (format (concat "while read d; " | 3798 | (format (concat "while read d; " |
| 3799 | "do if test -x $d/%s -a -f $d/%s; " | 3799 | "do if test -x $d/%s && test -f $d/%s; " |
| 3800 | "then echo tramp_executable $d/%s; " | 3800 | "then echo tramp_executable $d/%s; " |
| 3801 | "break; fi; done <<'%s'\n" | 3801 | "break; fi; done <<'%s'\n" |
| 3802 | "%s\n%s") | 3802 | "%s\n%s") |