aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-28 21:17:54 -0500
committerMike Frysinger <vapier@gentoo.org>2008-11-28 21:17:54 -0500
commitc0c8553c4ce239da62e44e4807303d5d171866f4 (patch)
treea5b8ecee4b7d94ad9478374ceae57bafe1260b0e /configure.ac
parentlibsandbox: tweak style a bit -- no functional changes (diff)
downloadsandbox-c0c8553c4ce239da62e44e4807303d5d171866f4.tar.gz
sandbox-c0c8553c4ce239da62e44e4807303d5d171866f4.tar.bz2
sandbox-c0c8553c4ce239da62e44e4807303d5d171866f4.zip
src/sandbox.sh: produce it from configure
Rather than mucking with paths dynamically, just get the absolute top builddir from configure. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0044a76..7976360 100644
--- a/configure.ac
+++ b/configure.ac
@@ -255,7 +255,7 @@ fi
AC_CONFIG_TESTDIR([tests])
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
scripts/Makefile
etc/Makefile
@@ -263,7 +263,10 @@ AC_OUTPUT([
libsbutil/Makefile
libsandbox/Makefile
src/Makefile
+ src/sandbox.sh
tests/atlocal
tests/Makefile
tests/package.m4
])
+AC_CONFIG_COMMANDS([config-perms], [chmod +x src/sandbox.sh])
+AC_OUTPUT