]> granicus.if.org Git - sudo/commitdiff
Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Jun 2010 20:20:10 +0000 (16:20 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Jun 2010 20:20:10 +0000 (16:20 -0400)
is not covered by _ALL_SOURCE.

--HG--
branch : 1.7

configure

index 147d1cddef81989a76973c97e531e78f53dbf2fe..367be00e4043ff56878603eacf9f4c6b90c7facd 100755 (executable)
--- a/configure
+++ b/configure
@@ -12562,7 +12562,7 @@ case "$host" in
                ;;
     *-*-aix*)
                # To get all prototypes (so we pass -Wall)
-               OSDEFS="${OSDEFS} -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE"
+               OSDEFS="${OSDEFS} -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT"
                SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-bI:\$(srcdir)/aixcrypt.exp"
                if test X"$with_blibpath" != X"no"; then
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker accepts -Wl,-blibpath" >&5