configure: add detection for O_NOFOLLOW flag to the open function
commit9b67b36276e6a6db567d24c7f3c76e3769276b89
authorChristophe CURIS <christophe.curis@free.fr>
Wed, 17 Dec 2014 16:54:38 +0000 (17 17:54 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 17 Dec 2014 17:33:56 +0000 (17 17:33 +0000)
treeaedf4e3aef949aedf88be89bda600aa402975816
parente1146e56e08af2a66aecedffc6ff31d8ddcb25f3
configure: add detection for O_NOFOLLOW flag to the open function

As discovered by Douglas Torrance, this flag is not really portable, so
this patch adds a check in the configure script to detect if any known
define could help. If no value works, we fall back to defining it with the
neutral value '0', so the compilation will not fail.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
configure.ac
m4/windowmaker.m4