mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
generic: add comment about ptsname_r() check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ac36e123ec
commit
6c1ad4ddd2
1 changed files with 38 additions and 41 deletions
|
@ -54,7 +54,6 @@ check_function_exists(fdatasync HAVE_FDATASYNC) # kd
|
||||||
check_function_exists(arc4random_uniform HAVE_ARC4RANDOM_UNIFORM) # kdecore
|
check_function_exists(arc4random_uniform HAVE_ARC4RANDOM_UNIFORM) # kdecore
|
||||||
check_function_exists(sendfile HAVE_SENDFILE) # kioslave
|
check_function_exists(sendfile HAVE_SENDFILE) # kioslave
|
||||||
|
|
||||||
if (UNIX)
|
|
||||||
# for kpty
|
# for kpty
|
||||||
check_include_files("sys/types.h;libutil.h" HAVE_LIBUTIL_H)
|
check_include_files("sys/types.h;libutil.h" HAVE_LIBUTIL_H)
|
||||||
check_include_files(termio.h HAVE_TERMIO_H)
|
check_include_files(termio.h HAVE_TERMIO_H)
|
||||||
|
@ -99,21 +98,19 @@ if (UNIX)
|
||||||
check_library_exists(util openpty "" openpty_in_libutil)
|
check_library_exists(util openpty "" openpty_in_libutil)
|
||||||
if(openpty_in_libutil)
|
if(openpty_in_libutil)
|
||||||
set(UTIL_LIBRARY util)
|
set(UTIL_LIBRARY util)
|
||||||
endif (openpty_in_libutil)
|
endif()
|
||||||
endif (NOT openpty_in_libc)
|
endif()
|
||||||
if (openpty_in_libc OR openpty_in_libutil)
|
if (openpty_in_libc OR openpty_in_libutil)
|
||||||
set(HAVE_OPENPTY 1)
|
set(HAVE_OPENPTY 1)
|
||||||
else (openpty_in_libc OR openpty_in_libutil)
|
else()
|
||||||
set(HAVE_OPENPTY 0)
|
set(HAVE_OPENPTY 0)
|
||||||
|
|
||||||
check_function_exists(revoke HAVE_REVOKE)
|
check_function_exists(revoke HAVE_REVOKE)
|
||||||
endif (openpty_in_libc OR openpty_in_libutil)
|
endif()
|
||||||
|
|
||||||
check_function_exists(ptsname_r HAVE_PTSNAME_R)
|
check_function_exists(ptsname_r HAVE_PTSNAME_R) # kpty
|
||||||
endif (UNIX)
|
check_function_exists(getmntinfo HAVE_GETMNTINFO) # kdecore
|
||||||
|
check_function_exists(setmntent HAVE_SETMNTENT) # kdecore
|
||||||
check_function_exists(getmntinfo HAVE_GETMNTINFO) # kdecore, kio
|
|
||||||
check_function_exists(setmntent HAVE_SETMNTENT) # solid, kio, kdecore
|
|
||||||
|
|
||||||
# check for existing datatypes
|
# check for existing datatypes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue