From: Ben Widawsky Date: Sun, 25 Mar 2012 02:03:38 +0000 (-0700) Subject: build: make sure we have asprintf X-Git-Tag: 1.3~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8af53e0b7e2f99ead129822f3761c618f775f7e2;p=profile%2Fextras%2Fintel-gpu-tools.git build: make sure we have asprintf Signed-off-by: Ben Widawsky --- diff --git a/configure.ac b/configure.ac index f778a9a..567f10d 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE +AC_GNU_SOURCE AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_PATH_PYTHON([3],, [:]) @@ -43,6 +44,7 @@ AC_CHECK_MEMBERS([struct sysinfo.totalram],[],[],[AC_INCLUDES_DEFAULT #include ]) AC_CHECK_FUNCS([swapctl]) +AC_CHECK_FUNCS([asprintf]) # Initialize libtool AC_DISABLE_STATIC