projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c650e16
)
AC_GNU_SOURCE is broken, define _GNU_SOURCE unconditionally
author
Marko Kreen
<markokr@gmail.com>
Wed, 9 Sep 2009 17:34:59 +0000
(20:34 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 9 Sep 2009 17:34:59 +0000
(20:34 +0300)
m4/usual.m4
patch
|
blob
|
blame
|
history
diff --git
a/m4/usual.m4
b/m4/usual.m4
index 3489e1e19cad525948158d9450fbfc8e003a360a..c06c78f2604bb668a37726de553df7f7bf094aff 100644
(file)
--- a/
m4/usual.m4
+++ b/
m4/usual.m4
@@
-35,7
+35,7
@@
dnl
AC_DEFUN([AC_USUAL_PROGRAM_CHECK], [
AC_PROG_CC
AC_PROG_CPP
-AC_
GNU_SOURCE
+AC_
DEFINE([_GNU_SOURCE], [1], [Glibc requires it.])
dnl Check if compiler supports __func__
AC_CACHE_CHECK([whether compiler supports __func__], pgac_cv_funcname_func,
[AC_TRY_COMPILE([#include <stdio.h>], [printf("%s\n", __func__);],