git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df9c4b0
)
libreplace: add a missing "eval" to the AC_VERIFY_C_PROTOTYPE macro
author
Michael Adam
<obnox@samba.org>
Fri, 14 Oct 2011 12:05:09 +0000
(14:05 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 14 Oct 2011 13:11:16 +0000
(15:11 +0200)
Without this eval, upon test success the corresponding actions
(like defining corresponding variables) are not taken.
Found by Timur I. Bakeyev, and based on his patch for 3.5.
lib/replace/libreplace_macros.m4
patch
|
blob
|
history
diff --git
a/lib/replace/libreplace_macros.m4
b/lib/replace/libreplace_macros.m4
index 46aedd3a8392b721f5692cce46927ef2c12e193e..42b88471db33277088a7e0bc08d806c99b46cce9 100644
(file)
--- a/
lib/replace/libreplace_macros.m4
+++ b/
lib/replace/libreplace_macros.m4
@@
-298,7
+298,7
@@
AC_DEFUN(AC_VERIFY_C_PROTOTYPE,
eval AS_TR_SH([ac_cv_c_prototype_$1])=no
])
)
-AS_IF([test $AS_TR_SH([ac_cv_c_prototype_$1]) = yes],[$3],[$4])
+AS_IF([
eval
test $AS_TR_SH([ac_cv_c_prototype_$1]) = yes],[$3],[$4])
])
AC_DEFUN(LIBREPLACE_PROVIDE_HEADER,