From: Paul Eggert Date: Mon, 12 Nov 2001 18:46:44 +0000 (+0000) Subject: (AC_C_PROTOTYPES): Define __PROTOTYPES too. X-Git-Tag: AUTOCONF-2.52g~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb2e722f7cf17e8f4a98bbc5a975d84df065cb2;p=thirdparty%2Fautoconf.git (AC_C_PROTOTYPES): Define __PROTOTYPES too. --- diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index 7662c071c..0ba0d6733 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -1068,6 +1068,8 @@ if test "$ac_cv_prog_cc_stdc" != no; then AC_MSG_RESULT([yes]) AC_DEFINE(PROTOTYPES, 1, [Define to 1 if the C compiler supports function prototypes.]) + AC_DEFINE(__PROTOTYPES, 1, + [Define like PROTOTYPES; this can be used by system headers.]) else AC_MSG_RESULT([no]) fi