- Timestamp:
- Jul 20, 2008, 1:16:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/configure.ac
r2577 r2578 113 113 114 114 AC_MSG_CHECKING(for __printf__ attribute) 115 ac_v_attribute_printf="" 115 116 AC_TRY_COMPILE([], 116 117 [extern void foo(const char *, ...) 117 118 __attribute__((__format__(__printf__, 1, 2)));], 118 119 [AC_MSG_RESULT(yes) 119 AC_DEFINE(ATTRIBUTE_PRINTF(x,y), __attribute__((__format__(__printf__, x, y))), [Define to the __printf__ attribute if present])],120 ac_v_attribute_printf="__attribute__((__format__(__printf__, x, y)))"], 120 121 [AC_MSG_RESULT(no)]) 122 AC_DEFINE_UNQUOTED(ATTRIBUTE_PRINTF(x,y), $ac_v_attribute_printf, [Define to the __printf__ attribute if present]) 121 123 122 124 ac_cv_have_getopt_long="no"
Note: See TracChangeset
for help on using the changeset viewer.