]> err.no Git - util-linux/commitdiff
build-sys: add AC_GNU_SOURCE
authorKarel Zak <kzak@redhat.com>
Wed, 16 May 2007 10:56:28 +0000 (12:56 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 16 May 2007 10:56:28 +0000 (12:56 +0200)
The widechar code doesn't compile correctly without _GNU_SOURCE (at
least according to reports from testers. I don't see the problem on
FC6.)

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index fc12eeee6b50f02a32485161ae41d196d8c548b2..2ee7e92a30b4a286539de6d664d613ba9995b3b1 100644 (file)
@@ -25,6 +25,7 @@ NONE:NONE | NONE:/usr | /usr:*)
 esac
 
 AC_PROG_CC_STDC
+AC_GNU_SOURCE
 AC_PROG_LIBTOOL
 
 AC_PATH_PROG(PERL, perl)