chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a28748f
)
configure.ac: Quote `$ac_cv_search_clock_gettime' properly.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000
(09:26 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 26 Jun 2016 11:14:06 +0000
(12:14 +0100)
This can expand to `none required', which confuses test(1). My fault.
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 3c8cb37529f8f64dc2de16bc418760fa5804c48a..902d7d59c063534e8e0418a196d84b42cbccbf23 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-227,7
+227,7
@@
AC_CHECK_HEADERS([linux/random.h])
mdw_ORIG_LIBS=$LIBS LIBS=$CATACOMB_LIBS
AC_SEARCH_LIBS([clock_gettime], [rt])
CATACOMB_LIBS=$LIBS LIBS=$mdw_ORIG_LIBS
-if test
$ac_cv_search_clock_gettime
!= no; then
+if test
"$ac_cv_search_clock_gettime"
!= no; then
AC_DEFINE([HAVE_CLOCK_GETTIME], [1],
[Define if you have the \`clock_gettime' function.])
fi