diff options
author | Julien Danjou <julien@danjou.info> | 2008-10-14 23:39:07 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-10-14 23:39:07 +0200 |
commit | dcbef23d730b95ef7dc9ef524a4c3fc0017b63d2 (patch) | |
tree | 740ff72a87db083306229ac815112c754debc18f /configure.ac | |
parent | cebd482a20fcc2b2dae0683c38e917a3740638a6 (diff) |
build: fix configure.ac AC_DEFINE
Rather use AC_DEFINE_UNQUOTED and only once.
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 62c20be..01655cc 100644 --- a/configure.ac +++ b/configure.ac @@ -77,14 +77,13 @@ linux*) esac dnl define buffer queue size -xcb_queue_buffer_size=16384 -AC_DEFINE(XCB_QUEUE_BUFFER_SIZE, $xcb_queue_buffer_size, [XCB buffer queue size]) -AC_ARG_WITH(queue-size, +AC_ARG_WITH([queue-size], AC_HELP_STRING([--with-queue-size=SIZE], - [Set the XCB buffer queue size (default is 16384)]), - [AC_DEFINE_UNQUOTED(XCB_QUEUE_BUFFER_SIZE, $withval, [XCB buffer queue size]), - xcb_queue_buffer_size=$withval], - ) + [Set the XCB buffer queue size (default is 16384)]), + [xcb_queue_buffer_size="$withval"], + [xcb_queue_buffer_size=16384]) +AC_DEFINE_UNQUOTED(XCB_QUEUE_BUFFER_SIZE, [$xcb_queue_buffer_size], + [XCB buffer queue size]) dnl check for the sockaddr_un.sun_len member AC_CHECK_MEMBER([struct sockaddr_un.sun_len], |