From: Todd C. Miller Date: Mon, 21 Jun 2010 20:20:10 +0000 (-0400) Subject: Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it X-Git-Tag: SUDO_1_7_3~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9139be47e26bc52115b55260f70e3fb7c9046ea8;p=sudo Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it is not covered by _ALL_SOURCE. --HG-- branch : 1.7 --- diff --git a/configure b/configure index 147d1cdde..367be00e4 100755 --- 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