]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac (EMACS_CHECK_MODULES): Fix typo and simplify.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 May 2014 19:03:07 +0000 (12:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 May 2014 19:03:07 +0000 (12:03 -0700)
configure.ac

index 03b85a5ffa0b4b47bd7fba54d77b8c6655fef995..55e5b8c0b5faf67f9df4c911eaf09cb4f52b0692 100644 (file)
@@ -1375,13 +1375,8 @@ dnl actions.
 AC_DEFUN([EMACS_CHECK_MODULES],
   [PKG_CHECK_MODULES([$1], [$2],
      [$1_CFLAGS=`AS_ECHO(["$$1_CFLAGS"]) | sed -e "$edit_cflags"`
-      emacs_check_module_ok=:],
-     [:])
-   if $emacs_check_module_ok; then
-     m4_default([$3], [HAVE_$1=yes])
-   else
-     m4_default([$4], [HAVE_$1=no])
-   fi])
+      m4_default([$3], [HAVE_$1=yes])],
+     [m4_default([$4], [HAVE_$1=no])])])
 
 HAVE_SOUND=no
 if test "${with_sound}" != "no"; then