Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPhilipp Storz <philipp.storz@bareos.com>2018-01-11 23:45:11 +0300
committerPhilipp Storz <philipp.storz@bareos.com>2018-01-11 23:45:11 +0300
commit4015801c2187c1e785fb953d9c1e6f4719d5d70e (patch)
tree31f7da8fc25c6ae9e7f93ab7e037fe7a4de6a377 /cmake
parentb581c84eb6a99fbb61f71f198a10d74a5d876a3a (diff)
use gawk on solaris
Diffstat (limited to 'cmake')
-rw-r--r--cmake/BareosFindPrograms.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/BareosFindPrograms.cmake b/cmake/BareosFindPrograms.cmake
index 543b733e4..b9df88f95 100644
--- a/cmake/BareosFindPrograms.cmake
+++ b/cmake/BareosFindPrograms.cmake
@@ -20,6 +20,10 @@
# find programs
find_program(AWK awk)
find_program(GAWK gawk)
+IF(HAVE_SUN_OS)
+ SET(AWK ${GAWK})
+ENDIF()
+
find_program(PIDOF pidof)
IF(NOT ${PIDOF})
SET(PIDOF "")