diff options
author | Jasper Lievisse Adriaanse <[email protected]> | 2015-04-16 13:08:28 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-12-05 20:27:38 +0100 |
commit | dc5d80a7d6d3f861d6de5d3705b391a91a7209d7 (patch) | |
tree | be4d959c6b492265ec9684c76a48349de470693a /configure.ac | |
parent | 9ed63df945aedeb9de04719854c05a2f7cd25f10 (diff) | |
download | engrampa-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.ac | 4 |
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 |