From dc5d80a7d6d3f861d6de5d3705b391a91a7209d7 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 16 Apr 2015 13:08:28 +0200 Subject: 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 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') 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 -- cgit v1.2.1