]> granicus.if.org Git - sudo/commitdiff
Fix SUDO_MAILDIR usage of AC_LANG_PROGRAM
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 20 Nov 2010 21:23:39 +0000 (16:23 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 20 Nov 2010 21:23:39 +0000 (16:23 -0500)
aclocal.m4

index 118483918f3880b2cabbbe43be995d99296510f9..a2fd41be1a474a7e70ad04acc36e3060d15fe2c0 100644 (file)
@@ -305,8 +305,8 @@ AC_DEFUN(SUDO_MAILDIR, [
 maildir=no
 if test X"$ac_cv_header_paths_h" = X"yes"; then
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
-#include <paths.h>
-int main() {char *p = _PATH_MAILDIR;}], [])], [maildir=yes], [])
+#include <paths.h>],
+[char *p = _PATH_MAILDIR;])], [maildir=yes], [])
 fi
 if test $maildir = no; then
     # Solaris has maillock.h which defines MAILDIR