diff options
Diffstat (limited to 'modules/posix_memalign')
-rw-r--r-- | modules/posix_memalign | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/posix_memalign b/modules/posix_memalign index 86e8a52787..0bcdf18414 100644 --- a/modules/posix_memalign +++ b/modules/posix_memalign @@ -11,12 +11,13 @@ stdlib configure.ac: gl_FUNC_POSIX_MEMALIGN -if test $REPLACE_POSIX_MEMALIGN = 1; then - AC_LIBOBJ([posix_memalign]) -fi +gl_CONDITIONAL([GL_COND_OBJ_POSIX_MEMALIGN], [test $REPLACE_POSIX_MEMALIGN = 1]) gl_STDLIB_MODULE_INDICATOR([posix_memalign]) Makefile.am: +if GL_COND_OBJ_POSIX_MEMALIGN +lib_SOURCES += posix_memalign.c +endif Include: <stdlib.h> |