summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-27 15:52:01 +0000
committerRoy Marples <roy@marples.name>2020-05-27 15:52:01 +0000
commite322db49157418dc360cbacad1b849152969062c (patch)
treea7d26f1695d7e4aa540778e0c24e63912e8c4627 /configure
parenta9882c1a32b800fda466c3c4af3819281bb98e00 (diff)
downloaddhcpcd-e322db49157418dc360cbacad1b849152969062c.tar.xz
For systems without open_memstream(3) warn that /tmp needs to exit
Inside the privsep users home directory.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 73be11e6..e82be878 100755
--- a/configure
+++ b/configure
@@ -903,6 +903,8 @@ EOF
fi
if [ "$OPEN_MEMSTREAM" = yes ]; then
echo "#define HAVE_OPEN_MEMSTREAM" >>$CONFIG_H
+elif [ "$PRIVSEP" = yes ]; then
+ echo "WARNING: Ensure that /tmp exists in the privsep users chroot"
fi
if [ -z "$PIDFILE_LOCK" ]; then