mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-03 05:19:34 -05:00
- escape commandline contents for -V.
This commit is contained in:
parent
4700d79024
commit
06a58ca248
3 changed files with 7 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
|
@ -2889,8 +2889,10 @@ LIBUNBOUND_AGE=1
|
|||
|
||||
|
||||
|
||||
cmdln="`echo $@ | sed -e 's/\\\\/\\\\\\\\/g' | sed -e 's/"/\\\\"/'g`"
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define CONFCMDLINE "$@"
|
||||
#define CONFCMDLINE "$cmdln"
|
||||
_ACEOF
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,9 @@ AC_SUBST(LIBUNBOUND_CURRENT)
|
|||
AC_SUBST(LIBUNBOUND_REVISION)
|
||||
AC_SUBST(LIBUNBOUND_AGE)
|
||||
|
||||
AC_DEFINE_UNQUOTED(CONFCMDLINE, "$@", [Command line arguments used with configure])
|
||||
|
||||
cmdln="`echo $@ | sed -e 's/\\\\/\\\\\\\\/g' | sed -e 's/"/\\\\"/'g`"
|
||||
AC_DEFINE_UNQUOTED(CONFCMDLINE, ["$cmdln"], [Command line arguments used with configure])
|
||||
|
||||
CFLAGS="$CFLAGS"
|
||||
AC_AIX
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
- iana portlist updated.
|
||||
- Fix autotrust temp file uniqueness windows compile.
|
||||
- avoid warning about upcast on 32bit systems for autotrust.
|
||||
- escape commandline contents for -V.
|
||||
|
||||
14 August 2019: George
|
||||
- Fix #59, when compiled with systemd support check that we can properly
|
||||
|
|
|
|||
Loading…
Reference in a new issue