diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-09-18 11:02:51 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-09-18 11:02:51 -0400 |
commit | 00dbe99f3f1783359446ba98beea021871a53476 (patch) | |
tree | ce87fcf775cbac5a0c72d6c37daa48b7bccedbc6 /config-scripts | |
parent | 67c0a18b8529edab57972bf6eb2863b3bbc36f2a (diff) | |
download | cups-00dbe99f3f1783359446ba98beea021871a53476.tar.gz |
Add code signing for macOS Mojave.
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]) |