From: Todd C. Miller Date: Mon, 21 Jun 2010 20:18:46 +0000 (-0400) Subject: Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it X-Git-Tag: SUDO_1_7_3~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5e09ddfc501ce5002211e793ddc26f0614b1670;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.in b/configure.in index 0d7b61f50..528b6924a 100644 --- a/configure.in +++ b/configure.in @@ -1415,7 +1415,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 AC_MSG_CHECKING([if linker accepts -Wl,-blibpath])