Re: [Rpm-maint] [PATCH] Search for 7za and 7z for 7-zip.

2013-08-14 Thread Panu Matilainen

On 07/29/2013 10:34 PM, Ville Skyttä wrote:

---
  configure.ac | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ec85ede..7351291 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ fi
  dnl
  dnl Find some common programs
  dnl
-AC_PATH_PROG(__7ZIP, 7zip, /usr/bin/7za, $MYPATH)
+AC_PATH_PROGS(__7ZIP, [7zip 7za 7z], /usr/bin/7za, $MYPATH)
  AC_PATH_PROG(__BZIP2, bzip2, /usr/bin/bzip2, $MYPATH)
  AC_PATH_PROG(__CAT, cat, /bin/cat, $MYPATH)
  AC_PATH_PROG(__CHGRP, chgrp, /bin/chgrp, $MYPATH)



The problem with all these umphteen helper tool checks is that the 
build-environment doesn't necessarily reflect the runtime environment 
but that's a whole another issue... Applied, thanks for the patch!


- Panu -
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [PATCH] Search for 7za and 7z for 7-zip.

2013-07-29 Thread Ville Skyttä
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ec85ede..7351291 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ fi
 dnl
 dnl Find some common programs
 dnl
-AC_PATH_PROG(__7ZIP, 7zip, /usr/bin/7za, $MYPATH)
+AC_PATH_PROGS(__7ZIP, [7zip 7za 7z], /usr/bin/7za, $MYPATH)
 AC_PATH_PROG(__BZIP2, bzip2, /usr/bin/bzip2, $MYPATH)
 AC_PATH_PROG(__CAT, cat, /bin/cat, $MYPATH)
 AC_PATH_PROG(__CHGRP, chgrp, /bin/chgrp, $MYPATH)
-- 
1.7.11.7

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint