summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-09-18 11:02:51 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-09-18 11:02:51 -0400
commit00dbe99f3f1783359446ba98beea021871a53476 (patch)
treece87fcf775cbac5a0c72d6c37daa48b7bccedbc6 /configure
parent67c0a18b8529edab57972bf6eb2863b3bbc36f2a (diff)
downloadcups-00dbe99f3f1783359446ba98beea021871a53476.tar.gz
Add code signing for macOS Mojave.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index d6a39069d..ecba9c9a0 100755
--- a/configure
+++ b/configure
@@ -740,6 +740,7 @@ LIBPAPER
LIBMALLOC
PKGCONFIG
INSTALLSTATIC
+CODE_SIGN
INSTALL
CUPS_HTMLVIEW
XDGOPEN
@@ -4251,6 +4252,16 @@ if test "x$CC" = x; then
as_fn_error $? "Unable to find required C compiler command." "$LINENO" 5
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for codesign utility" >&5
+$as_echo_n "checking for codesign utility... " >&6; }
+CODE_SIGN="/usr/bin/true"
+
+if test $uname = Darwin; then
+ CODE_SIGN="/usr/bin/codesign"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using $CODE_SIGN" >&5
+$as_echo "using $CODE_SIGN" >&6; }
+
INSTALLSTATIC=""
# Check whether --enable-static was given.
if test "${enable_static+set}" = set; then :