Add AC_SYSTEM_EXTENSIONS to expose asprintf with GNU libc

As required by the following commit:
commit 8c75f6e1c1
Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Patrik Jakobsson
2014-01-05 18:57:28 +01:00
committed by Alan Coopersmith
parent 8c75f6e1c1
commit ea504b225f

View File

@@ -29,6 +29,7 @@ AC_INIT([xf86-input-mouse],
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR(.)
AC_USE_SYSTEM_EXTENSIONS
# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])