[Pkg-libvirt-commits] [libguestfs] 24/26: configure: supermin should be listed as AC_PATH_PROG, since it is used at run time.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 2 13:37:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag upstream/1.25.39
in repository libguestfs.

commit 0c4fae7cb31243c49fa319f0102dbe61b97b7601
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sat Mar 1 15:49:54 2014 +0000

    configure: supermin should be listed as AC_PATH_PROG, since it is used at run time.
    
    See top of configure.ac:
    
     > # NB: AC_CHECK_PROG(S) or AC_PATH_PROG(S)?
     > # Use AC_CHECK_PROG(S) for programs which are only used during build.
     > # Use AC_PATH_PROG(S) for program names which are compiled into the
     > # binary and used at run time.  The reason is so that we know which
     > # programs the binary actually uses.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index d52a52b..f908cca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -448,7 +448,7 @@ AC_MSG_RESULT([$ENABLE_APPLIANCE])
 AC_SUBST([ENABLE_APPLIANCE])
 
 dnl Check for supermin >= 5.1.0.
-AC_CHECK_PROGS([SUPERMIN],[supermin],[no])
+AC_PATH_PROG([SUPERMIN],[supermin],[no])
 
 dnl Pass supermin --packager-config option.
 SUPERMIN_PACKAGER_CONFIG=no

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list