summaryrefslogtreecommitdiff
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-22 18:31:45 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-22 18:31:45 -0800
commitbdafcfbfb00544da54c73645d9e380edce58d248 (patch)
tree223e29adbb85e3915a37975619b17f96fbbbca07 /cmakeconfig.h.in
parent636bbd91c37a7a3a412cda5c9ee8acb76928e967 (diff)
downloadtcpdump-bdafcfbfb00544da54c73645d9e380edce58d248.tar.gz
Support WITH_CHROOT and WITH_USER.
They're strings; expand them from however they're defined in the CMake call.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index de5ff6f9..039bc5f3 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -286,10 +286,10 @@
#cmakedefine USE_LIBSMI 1
/* define if should chroot when dropping privileges */
-#cmakedefine WITH_CHROOT 1
+#cmakedefine WITH_CHROOT "@WITH_CHROOT@"
/* define if should drop privileges by default */
-#cmakedefine WITH_USER 1
+#cmakedefine WITH_USER "@WITH_USER@"
/* define on AIX to get certain functions */
#cmakedefine _SUN 1