diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-04-14 14:37:55 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-04-17 09:20:56 -0700 |
commit | 5d24213a01231345848d378cb55186fbe7996504 (patch) | |
tree | e7a7f39817528601bd544208300f425b0aadcce7 | |
parent | 1aebb2e8b358c26b36ca4a9c063180479ee38557 (diff) |
Add AC_USE_SYSTEM_EXTENSIONS to expose asprintf() in GNU libc headers
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=48696
Reported-by: Dominique Leuenberger
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 952a900..3f04cca 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,8 @@ AC_INIT([xmodmap], [xmodmap]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) +# Needed for asprintf on GNU libc +AC_USE_SYSTEM_EXTENSIONS # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) |