From: <fla...@gm...> - 2007-04-10 11:57:49
|
# HG changeset patch # User Diego 'Flameeyes' Pettenò <fla...@gm...> # Date 1176155642 -7200 # Node ID c934a6c9d62f881738c15d0542291a64ae248fd1 # Parent 9b8791362419744b705928c39b11beb02d9f8d52 # Parent 6b31c50f2873b0dd6150757a0234b81f54aa7930 Merge from 1.1. diff -r c934a6c9d62f881738c15d0542291a64ae248fd1 -r 9b8791362419744b705928c39b11beb02d9f8d52 m4/attributes.m4 --- a/m4/attributes.m4 Mon Apr 09 23:54:02 2007 +0200 +++ b/m4/attributes.m4 Mon Apr 09 23:42:04 2007 +0200 @@ -119,7 +119,7 @@ AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [ AC_CACHE_CHECK([if compiler supports __attribute__((format_arg(printf)))], [cc_cv_attribute_format_arg], [AC_COMPILE_IFELSE([ - void __attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; } + char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; } ], [cc_cv_attribute_format_arg=yes], [cc_cv_attribute_format_arg=no]) |