Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed May 29, 2024
1 parent ae340b0 commit 495aba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macros/quota-check.m4
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ AC_DEFUN([AC_NETATALK_CHECK_QUOTA], [
netatalk_cv_quotasupport="no"
AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if quota support should not compiled])
])
AC_CHECK_MEMBER(struct qr_status.Q_OK,
AC_DEFINE(HAVE_RQUOTA_H_QR_STATUS, 1, [Defined if struct qr_status is defined (normally gqr_status)]),,
[#include <rpcsvc/rquota.h>])
AC_CHECK_LIB(quota, getfsquota, [QUOTA_LIBS="-lquota -lprop -lrpcsvc"
AC_DEFINE(HAVE_LIBQUOTA, 1, [define if you have libquota])], [], [-lprop -lrpcsvc])
fi
AC_CHECK_MEMBER(struct qr_status.Q_OK,
AC_DEFINE(HAVE_RQUOTA_H_QR_STATUS, 1, [Defined if struct qr_status is defined (normally gqr_status)]),,
[#include <rpcsvc/rquota.h>])
else
netatalk_cv_quotasupport="no"
AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if quota support should not compiled])
Expand Down

0 comments on commit 495aba4

Please sign in to comment.