diff options
Diffstat (limited to 'config-scripts')
-rw-r--r-- | config-scripts/cups-common.m4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config-scripts/cups-common.m4 b/config-scripts/cups-common.m4 index 064adb6f3..ad1b68f65 100644 --- a/config-scripts/cups-common.m4 +++ b/config-scripts/cups-common.m4 @@ -1,7 +1,7 @@ dnl dnl Common configuration stuff for CUPS. dnl -dnl Copyright 2007-2017 by Apple Inc. +dnl Copyright 2007-2018 by Apple Inc. dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. dnl dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. @@ -66,6 +66,14 @@ if test "x$CC" = x; then AC_MSG_ERROR([Unable to find required C compiler command.]) fi +AC_MSG_CHECKING(for codesign utility) +CODE_SIGN="/usr/bin/true" +AC_SUBST(CODE_SIGN) +if test $uname = Darwin; then + CODE_SIGN="/usr/bin/codesign" +fi +AC_MSG_RESULT(using $CODE_SIGN) + dnl Static library option... INSTALLSTATIC="" AC_ARG_ENABLE(static, [ --enable-static install static libraries]) |