improved messages

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3323 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Hans Ulrich Niedermann
2001-12-01 21:54:58 +00:00
parent ed63818f8c
commit 108fad29b7

View File

@@ -2,15 +2,16 @@ AC_DEFUN(GPKG_CHECK_RPM,
[
AC_ARG_WITH(rpmbuild, [ --with-rpmbuild=PATH program to use for building RPMs])
AC_MSG_CHECKING([rpmbuild])
AC_MSG_CHECKING([for rpmbuild or rpm])
if test -x "${with_doc_dir}"
then
RPMBUILD="${with_doc_dir}"
AC_MSG_RESULT([${RPMBUILD} (from parameter)])
AC_SUBST(RPMBUILD)
RPMBUILD="${with_doc_dir}"
AC_MSG_RESULT([${RPMBUILD} (from parameter)])
AC_SUBST(RPMBUILD)
else
AC_CHECK_PROGS(RPMBUILD, [rpmbuild rpm], /bin/false)
AC_MSG_RESULT([${RPMBUILD} (autodetect)])
AC_MSG_RESULT([using autodectection])
AC_CHECK_PROGS(RPMBUILD, [rpmbuild rpm], /bin/false)
AC_MSG_RESULT([${RPMBUILD} (autodetect)])
fi
AM_CONDITIONAL(ENABLE_RPM, test "$RPMBUILD" != "/bin/false")
])