Revision: mange@freemail.hu--2005/emacs-jabber--cvs-head--0--patch-481

Creator:  Magnus Henoch <mange@freemail.hu>

Use AC_RUN_LOG when trying emacs code
This commit is contained in:
Magnus Henoch 2008-04-23 12:10:22 +00:00 committed by Kirill A. Korinskiy
parent 3897ddf044
commit 1ec08b18d0
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ AC_DEFUN([AX_EMACS_RUN_IFELSE],
[cat >conftest.el <<EOF
$1
EOF
AS_IF([$EMACS -batch -l conftest.el >/dev/null 2>&1], [$2], [$3])])
AC_RUN_LOG([$EMACS -batch -l conftest.el])
AS_IF([test $ac_status -eq 0], [$2], [$3])])
# AX_CHECK_EMACS_LIB(LIBRARY, ACTION-IF-PRESENT, ACTION-IF-NOT)
# -------------------------------------------------------------