Changeset 9b42f3e
- Timestamp:
- 05/29/14 16:17:32 (7 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- bd119b3
- Parents:
- c7021d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/attributes.m4
rc7021d9 r9b42f3e 16 16 [saved="$CFLAGS" 17 17 CFLAGS="$CFLAGS -Werror" 18 AC_COMPILE_IFELSE([ int a;],18 AC_COMPILE_IFELSE([AC_LANG_SOURCE([int a;])], 19 19 [eval lt_cv_werror_flag='yes'], 20 20 [eval lt_cv_werror_flag='no']) … … 34 34 [saved="$CFLAGS" 35 35 CFLAGS="$CFLAGS $errflag" 36 AC_COMPILE_IFELSE( 37 [struct s { char a; char b; int val; long val2; void *ptr;} __attribute__((packed));] ,36 AC_COMPILE_IFELSE([AC_LANG_SOURCE( 37 [struct s { char a; char b; int val; long val2; void *ptr;} __attribute__((packed));])], 38 38 [lt_cv_attribute_packed=yes], 39 39 [lt_cv_attribute_packed=no] … … 60 60 [saved="$CFLAGS" 61 61 CFLAGS="$CFLAGS $errflag" 62 AC_COMPILE_IFELSE( 63 [void func(int a, __attribute__((unused)) int b);] ,62 AC_COMPILE_IFELSE([AC_LANG_SOURCE( 63 [void func(int a, __attribute__((unused)) int b);])], 64 64 [lt_cv_attribute_unused=yes], 65 65 [lt_cv_attribute_unused=no] … … 86 86 [saved="$CFLAGS" 87 87 CFLAGS="$CFLAGS $errflag" 88 AC_COMPILE_IFELSE( 89 [void func(int a, int b) __attribute__((deprecated));] ,88 AC_COMPILE_IFELSE([AC_LANG_SOURCE( 89 [void func(int a, int b) __attribute__((deprecated));])], 90 90 [lt_cv_attribute_deprecated=yes], 91 91 [lt_cv_attribute_deprecated=no] … … 112 112 [saved="$CFLAGS" 113 113 CFLAGS="$CFLAGS $errflag" 114 AC_COMPILE_IFELSE( 115 [void __attribute__((format(printf, 1, 2))) foo(const char *fmt, ...);] ,114 AC_COMPILE_IFELSE([AC_LANG_SOURCE( 115 [void __attribute__((format(printf, 1, 2))) foo(const char *fmt, ...);])], 116 116 [lt_cv_attribute_format=yes], 117 117 [lt_cv_attribute_format=no] … … 138 138 [saved="$CFLAGS" 139 139 CFLAGS="$CFLAGS $errflag" 140 AC_COMPILE_IFELSE( 141 [void func(int a, int b) __attribute__((pure));] ,140 AC_COMPILE_IFELSE([AC_LANG_SOURCE( 141 [void func(int a, int b) __attribute__((pure));])], 142 142 [lt_cv_attribute_pure=yes], 143 143 [lt_cv_attribute_pure=no]
Note: See TracChangeset
for help on using the changeset viewer.