fedora-rpmdevtools configure.ac,1.6,1.7
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Tue Mar 13 19:47:23 UTC 2007
Author: scop
Update of /cvs/fedora/fedora-rpmdevtools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv926
Modified Files:
configure.ac
Log Message:
Fail configure if help2man or wget is not available.
Index: configure.ac
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/configure.ac,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- configure.ac 25 Oct 2006 12:22:46 -0000 1.6
+++ configure.ac 13 Mar 2007 19:47:20 -0000 1.7
@@ -1,7 +1,13 @@
AC_INIT(rpmdevtools, 5.3)
AM_INIT_AUTOMAKE
-AC_PATH_PROG(HELP2MAN,help2man)
-AC_PATH_PROG(WGET,wget)
+AC_PATH_PROG([HELP2MAN], [help2man], [no])
+if test "$HELP2MAN" = "no" ; then
+ AC_MSG_ERROR([help2man is required])
+fi
+AC_PATH_PROG([WGET], [wget], [no])
+if test "$WGET" = "no" ; then
+ AC_MSG_ERROR([wget is required])
+fi
AC_OUTPUT(
Makefile
emacs/Makefile
More information about the fedora-extras-commits
mailing list