[lib] define _GNU_SOURCE in preparation for using recvmsg()
authorChristophe Varoqui <christophe.varoqui@free.fr>
Sun, 19 Apr 2009 21:44:28 +0000 (23:44 +0200)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Sun, 19 Apr 2009 21:44:28 +0000 (23:44 +0200)
commite42668cd9e262a18c7065940a2896d198fd33a59
tree93abf77429c5b1b9ff063602b1d7e74014500b39
parent49944a3d52a8e695bbf505028d44c66415d00489
[lib] define _GNU_SOURCE in preparation for using recvmsg()

And deal with consequences :
1/ rename util::basename() to util::basenamecpy() to resolve
   namespace conflict GNU version
2/ don't redefine _GNU_SOURCE if already set in regex.c to avoid
   a build warning
libmultipath/Makefile
libmultipath/configure.c
libmultipath/discovery.c
libmultipath/discovery.h
libmultipath/regex.c
libmultipath/util.c
libmultipath/util.h