Skip to content
Browse files

Use AC_USE_SYSTEM_EXTENSIONS instead of defining _GNU_SOURCE

  • Loading branch information...
1 parent 205d8e0 commit 5793da78b90c819e9b7192877faf4f5f2e085adf @tagoh committed Dec 7, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −1 configure.ac
  2. +0 −4 liblangtag/lt-utils.c
View
3 configure.ac
@@ -17,8 +17,9 @@ AM_MAINTAINER_MODE
AM_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4macros])
-AC_PROG_LIBTOOL
+AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
+AC_PROG_LIBTOOL
GNOME_COMPILE_WARNINGS
View
4 liblangtag/lt-utils.c
@@ -14,10 +14,6 @@
#include "config.h"
#endif
-#if HAVE_VASPRINTF
-#define _GNU_SOURCE
-#endif
-
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>

0 comments on commit 5793da7

Please sign in to comment.
Something went wrong with that request. Please try again.