Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Side by Side Diff: sdch/open_vcdiff/depot/opensource/open-vcdiff/m4/ac_have_attribute.m4

Issue 4096: Use open-vcdiff for sdch compression on the Mac (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 AC_DEFUN([AX_C___ATTRIBUTE__], [ 1 AC_DEFUN([AX_C___ATTRIBUTE__], [
2 AC_MSG_CHECKING(for __attribute__) 2 AC_MSG_CHECKING(for __attribute__)
3 AC_CACHE_VAL(ac_cv___attribute__, [ 3 AC_CACHE_VAL(ac_cv___attribute__, [
4 AC_TRY_COMPILE( 4 AC_TRY_COMPILE(
5 [#include <stdlib.h> 5 [#include <stdlib.h>
6 static void foo(void) __attribute__ ((unused)); 6 static void foo(void) __attribute__ ((unused));
7 void foo(void) { exit(1); }], 7 void foo(void) { exit(1); }],
8 [], 8 [],
9 ac_cv___attribute__=yes, 9 ac_cv___attribute__=yes,
10 ac_cv___attribute__=no 10 ac_cv___attribute__=no
11 )]) 11 )])
12 if test "$ac_cv___attribute__" = "yes"; then 12 if test "$ac_cv___attribute__" = "yes"; then
13 AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__] ) 13 AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__] )
14 fi 14 fi
15 AC_MSG_RESULT($ac_cv___attribute__) 15 AC_MSG_RESULT($ac_cv___attribute__)
16 ]) 16 ])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698