mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-01 11:32:34 +01:00
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>
This commit is contained in:
committed by
Carlos R. Mafra
parent
e1146e56e0
commit
9b67b36276
@@ -317,6 +317,9 @@ dnl case. One known example is Solaris which needs -lrt
|
||||
AC_SEARCH_LIBS([nanosleep], [rt], [],
|
||||
[AC_MSG_ERROR([function 'nanosleep' not found, please report to wmaker-dev@lists.windowmaker.org])])
|
||||
|
||||
dnl the flag 'O_NOFOLLOW' for 'open' is used in WINGs
|
||||
WM_FUNC_OPEN_NOFOLLOW
|
||||
|
||||
|
||||
dnl Check for strlcat/strlcpy
|
||||
dnl =========================
|
||||
|
||||
Reference in New Issue
Block a user