summaryrefslogtreecommitdiff
path: root/config-scripts
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-09-18 11:27:20 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-09-18 11:27:20 -0400
commit137fa9a836cf171acd1dac3828e5ec2d45f131ea (patch)
tree09bba24dd3dd8e1b02aa04a91fdcbd8c3b488c45 /config-scripts
parent00dbe99f3f1783359446ba98beea021871a53476 (diff)
downloadcups-137fa9a836cf171acd1dac3828e5ec2d45f131ea.tar.gz
Code signing changes.
Diffstat (limited to 'config-scripts')
-rw-r--r--config-scripts/cups-common.m411
-rw-r--r--config-scripts/cups-opsys.m413
2 files changed, 13 insertions, 11 deletions
diff --git a/config-scripts/cups-common.m4 b/config-scripts/cups-common.m4
index ad1b68f65..0da303e8f 100644
--- a/config-scripts/cups-common.m4
+++ b/config-scripts/cups-common.m4
@@ -4,7 +4,8 @@ dnl
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.
+dnl Licensed under Apache License v2.0. See the file "LICENSE" for more
+dnl information.
dnl
dnl Set the name of the config header file...
@@ -66,14 +67,6 @@ 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])
diff --git a/config-scripts/cups-opsys.m4 b/config-scripts/cups-opsys.m4
index 28c2eaa6b..d3f6d7773 100644
--- a/config-scripts/cups-opsys.m4
+++ b/config-scripts/cups-opsys.m4
@@ -1,10 +1,11 @@
dnl
dnl Operating system stuff for CUPS.
dnl
-dnl Copyright 2007-2017 by Apple Inc.
+dnl Copyright 2007-2018 by Apple Inc.
dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
-dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information.
+dnl Licensed under Apache License v2.0. See the file "LICENSE" for more
+dnl information.
dnl
dnl Get the build and host platforms and split the host_os value
@@ -31,3 +32,11 @@ else
LOCALTARGET=""
fi
AC_SUBST(LOCALTARGET)
+
+AC_MSG_CHECKING(for codesign utility)
+CODE_SIGN="/usr/bin/true"
+AC_SUBST(CODE_SIGN)
+if test "$host_os_name" = darwin; then
+ CODE_SIGN="/usr/bin/codesign"
+fi
+AC_MSG_RESULT(using $CODE_SIGN)