diff --git a/configure.ac b/configure.ac index 924254a0..6c7d9839 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,10 @@ if test "$ac_cv_header_shadow_h" = "yes"; then ac_cv_libc_shadowgrp, AC_RUN_IFELSE([AC_LANG_SOURCE([ #include + #ifdef HAVE_GSHADOW_H + #include + #endif + int main() { struct sgrp *sg = sgetsgent("test:x::");