diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2006-04-30 14:19:19 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2006-04-30 14:19:19 +0000 |
commit | db74ad799da27eec04b5aed64e3564aef9156a04 (patch) | |
tree | 9c379b6d62ee5072d389a21993c63ed009508aef /configure.ac | |
parent | 797f51d176ab9a29497a9141a57a968c5a7d3792 (diff) |
Quote MCOOKIE to allow to specify a command with args (ie
MCOOKIE="/usr/sbin/openssl rand -hex 16" ./configure ...)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c2e5e0d..8ce3daa 100644 --- a/configure.ac +++ b/configure.ac @@ -104,8 +104,8 @@ AC_SUBST(XINIT_LIBS) AC_PATH_PROGS(MCOOKIE, [mcookie], [$MCOOKIE], [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin]) -if test x$MCOOKIE != x ; then - STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE=$(MCOOKIE)' +if test "x$MCOOKIE" != x ; then + STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"' fi AC_SUBST(STARTX_COOKIE_FLAGS) |