summaryrefslogtreecommitdiffstats
path: root/Modules/FindPHP4.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-19 13:42:57 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-19 13:42:57 (GMT)
commitad8efca061f2d4462e681fb6f5de8864f59795da (patch)
tree269c243fb75a8c08cbb8a1460ce30a1329ddb5c1 /Modules/FindPHP4.cmake
parentc7770b8edbff442267563bd3036cef8fdb0cc4a9 (diff)
downloadCMake-ad8efca061f2d4462e681fb6f5de8864f59795da.zip
CMake-ad8efca061f2d4462e681fb6f5de8864f59795da.tar.gz
CMake-ad8efca061f2d4462e681fb6f5de8864f59795da.tar.bz2
BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on SunOS
/usr/bin/tail doesn't understand the -n +<number> syntax -remove standard searchd dirs from FindPHP4.cmake Alex
Diffstat (limited to 'Modules/FindPHP4.cmake')
-rw-r--r--Modules/FindPHP4.cmake7
1 files changed, 1 insertions, 6 deletions
diff --git a/Modules/FindPHP4.cmake b/Modules/FindPHP4.cmake
index b7d0714..d4ccd1f 100644
--- a/Modules/FindPHP4.cmake
+++ b/Modules/FindPHP4.cmake
@@ -30,12 +30,7 @@ IF(PHP4_FOUND_INCLUDE_PATH)
SET(PHP4_INCLUDE_PATH "${php4_paths}" INTERNAL "PHP4 include paths")
ENDIF(PHP4_FOUND_INCLUDE_PATH)
-FIND_PROGRAM(PHP4_EXECUTABLE
- NAMES php4 php
- PATHS
- /usr/bin
- /usr/local/bin
- )
+FIND_PROGRAM(PHP4_EXECUTABLE NAMES php4 php )
MARK_AS_ADVANCED(
PHP4_EXECUTABLE