summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <[email protected]>2015-04-16 13:08:28 +0200
committerZenWalker <[email protected]>2019-12-05 20:27:38 +0100
commitdc5d80a7d6d3f861d6de5d3705b391a91a7209d7 (patch)
treebe4d959c6b492265ec9684c76a48349de470693a /configure.ac
parent9ed63df945aedeb9de04719854c05a2f7cd25f10 (diff)
downloadengrampa-dc5d80a7d6d3f861d6de5d3705b391a91a7209d7.tar.bz2
engrampa-dc5d80a7d6d3f861d6de5d3705b391a91a7209d7.tar.xz
add a configure environment variable to select the cpio path
on some systems (like OpenBSD), gcpio is prefered over the base cpio. origin commit: https://gitlab.gnome.org/GNOME/file-roller/commit/8a51165
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 51c147e..680e2c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,6 +165,10 @@ fi
AM_CONDITIONAL(ENABLE_MAGIC, test x"$enable_magic" != x"no")
+AC_ARG_VAR([CPIO], [Path to the `cpio` command])
+AC_PATH_PROGS(CPIO, gcpio cpio)
+AC_DEFINE_UNQUOTED(CPIO_PATH, "${CPIO}", [Path to cpio])
+
dnl ******************************
YELP_HELP_INIT