From 5d24213a01231345848d378cb55186fbe7996504 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 14 Apr 2012 14:37:55 -0700 Subject: 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 Reviewed-by: Julien Cristau --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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]) -- cgit v1.2.3