]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
m4: readline: Fix indentation
authorAndrea Bolognani <abologna@redhat.com>
Tue, 9 Apr 2019 13:38:23 +0000 (15:38 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 12 Apr 2019 14:22:18 +0000 (16:22 +0200)
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
m4/virt-readline.m4

index 34b3ff3c4aa67a74119393714bc0437a18535e87..4823a27788a0f0f17a061d872ec8f3b7b429bed0 100644 (file)
@@ -32,8 +32,7 @@ AC_DEFUN([LIBVIRT_CHECK_READLINE],[
     AC_SEARCH_LIBS([tgetent], [ncurses curses termcap termlib])
     case $LIBS in
       no*) ;;  # handle "no" and "none required"
-      *) # anything else is a -lLIBRARY
-       extra_LIBS=$LIBS ;;
+      *) extra_LIBS=$LIBS ;; # anything else is a -lLIBRARY
     esac
     LIBS="$lv_saved_libs $extra_LIBS"
   fi
@@ -41,7 +40,7 @@ AC_DEFUN([LIBVIRT_CHECK_READLINE],[
   AC_CHECK_DECLS([rl_completion_quote_character],
                  [], [],
                  [[#include <stdio.h>
-                  #include <readline/readline.h>]])
+                   #include <readline/readline.h>]])
 
   if test "$ac_cv_have_decl_rl_completion_quote_character" = "no" ; then
     if test "$with_readline" = "yes" ; then
@@ -58,9 +57,9 @@ AC_DEFUN([LIBVIRT_CHECK_READLINE],[
   # function, to ensure we aren't being confused by caching.
   LIBS=$lv_saved_libs
   AC_CHECK_LIB([readline], [rl_initialize],
-    [READLINE_CFLAGS="-D_FUNCTION_DEF $READLINE_CFLAGS"
-     AC_SUBST(READLINE_CFLAGS)],
-    [READLINE_LIBS="$READLINE_LIBS $extra_LIBS"])
+               [READLINE_CFLAGS="-D_FUNCTION_DEF $READLINE_CFLAGS"
+                AC_SUBST(READLINE_CFLAGS)],
+               [READLINE_LIBS="$READLINE_LIBS $extra_LIBS"])
   LIBS=$lv_saved_libs
 ])