compile the library if popt is not available

This commit is contained in:
Paolo Bonzini
2011-10-28 16:54:44 +02:00
parent a235a20fda
commit b4bddce2c6
2 changed files with 14 additions and 5 deletions

View File

@@ -86,9 +86,10 @@ if test "$ac_cv_have_popt" = yes ; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
AC_MSG_NOTICE(You need libpopt to compile libiscsi. Install the libpopt-dev package.)
exit
AC_MSG_NOTICE(You need libpopt to compile the sample libiscsi clients.)
AC_MSG_NOTICE(Only the library will be compiled and installed.)
fi
AM_CONDITIONAL(PROGRAMS, [test "$ac_cv_have_popt" = yes])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT