repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updating submodules
[hiphop-php.git]
/
CMake
/
FindLibpam.cmake
blob
dcf428056387e3e14c2d3102da644c384cc98d28
1
IF(PAM_FOUND)
2
SET(PAM_FIND_QUIETLY TRUE)
3
ENDIF(PAM_FOUND)
4
5
FIND_PATH(PAM_INCLUDE_PATH
6
NAMES pam_modules.h
7
PATH_SUFFIXES security
8
PATHS /usr/include /usr/local/include /usr/pkg/include
9
)
10
11
FIND_LIBRARY(PAM_LIBRARY
12
NAMES pam
13
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
14
)
15
16
IF (PAM_INCLUDE_PATH AND PAM_LIBRARY)
17
SET(PAM_FOUND TRUE)
18
ENDIF()
19
20
MARK_AS_ADVANCED(
21
PAM_INCLUDE_PATH
22
PAM_LIBRARY
23
)