X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=m4%2Fattribute.m4;fp=m4%2Fattribute.m4;h=11142d8ed919344848a030796505dfc07d5a9935;hp=6a8f5558c9ef9b53a6744e03e2e507a5e48f6c06;hb=158cbe99f972a1613b7d4d95abfe5fe48e019e67;hpb=a86faaf34711d6b0f278b670d70a229a3cf0d479 diff --git a/m4/attribute.m4 b/m4/attribute.m4 index 6a8f5558..11142d8e 100644 --- a/m4/attribute.m4 +++ b/m4/attribute.m4 @@ -1,9 +1,9 @@ dnl Check to find out whether function attributes are supported. dnl If they are not, #define them to be nothing. -AC_DEFUN([tinc_ATTRIBUTE], +AC_DEFUN([MeshLink_ATTRIBUTE], [ - AC_CACHE_CHECK([for working $1 attribute], tinc_cv_attribute_$1, + AC_CACHE_CHECK([for working $1 attribute], MeshLink_cv_attribute_$1, [ tempcflags="$CFLAGS" CFLAGS="$CFLAGS -Wall -Werror" @@ -13,13 +13,13 @@ AC_DEFUN([tinc_ATTRIBUTE], void test(void) { return; } ], )], - [tinc_cv_attribute_$1=yes], - [tinc_cv_attribute_$1=no] + [MeshLink_cv_attribute_$1=yes], + [MeshLink_cv_attribute_$1=no] ) CFLAGS="$tempcflags" ]) - if test ${tinc_cv_attribute_$1} = no; then + if test ${MeshLink_cv_attribute_$1} = no; then AC_DEFINE([$1], [], [Defined if the $1 attribute is not supported.]) fi ])