Bug fix: ./configure did not abort if libburn.h or libisofs.h were missing

This commit is contained in:
Thomas Schmitt 2013-03-17 11:06:36 +00:00
parent e7c369aad4
commit 059e54f34d
2 changed files with 15 additions and 5 deletions

View File

@ -345,10 +345,20 @@ fi
AC_SUBST(LIBBURNIA_LDCONFIG_CMD) AC_SUBST(LIBBURNIA_LDCONFIG_CMD)
AC_CHECK_HEADER(libburn/libburn.h, LIBBURNIA_HAVE_LIBBURN=1, LIBBURNIA_HAVE_LIBBURN=0)
AC_CHECK_HEADER(libburn/libburn.h) AC_CHECK_HEADER(libisofs/libisofs.h, LIBBURNIA_HAVE_LIBISOFS=1, LIBBURNIA_HAVE_LIBISOFS=0)
AC_CHECK_HEADER(libisofs/libisofs.h) if test x$LIBBURNIA_HAVE_LIBBURN = x0; then
echo "FATAL: Lacking libburn development header file <libburn/libburn.h>" 2>&1
echo "HINT: You first have to install libburn before you can build libisoburn" 2>&1
fi
if test x$LIBBURNIA_HAVE_LIBISOFS = x0; then
echo "FATAL: Lacking libisofs development header file <libisofs/libisofs.h>" 2>&1
echo "HINT: You first have to install libisofs before you can build libisoburn" 2>&1
fi
if test x$LIBBURNIA_HAVE_LIBBURN = x0 -o x$LIBBURNIA_HAVE_LIBISOFS = x0; then
echo "ABORT: Lacking mandatory prerequisites" 2>&1
exit 1
fi
# ------- Visible mark in configure : Start of library check # ------- Visible mark in configure : Start of library check

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.03.13.195851" #define Xorriso_timestamP "2013.03.17.110559"