182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
AC_DEFINE(OF_HAVE_PLUGINS, 1, [Whether we have plugin support])
])
AC_MSG_CHECKING(whether we need -D_GNU_SOURCE)
AC_EGREP_CPP(yes, [
#include <stdlib.h>
#ifdef __GLIBC__
yes
#endif
], [
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
|
|
|
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
AC_DEFINE(OF_HAVE_PLUGINS, 1, [Whether we have plugin support])
])
AC_MSG_CHECKING(whether we need -D_GNU_SOURCE)
AC_EGREP_CPP(yes, [
#include <stdlib.h>
#if defined(__GLIBC__) || defined(__MINGW32__)
yes
#endif
], [
CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
|