diff options
author | Michael Adam <obnox@samba.org> | 2011-10-14 14:05:09 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-14 15:11:16 +0200 |
commit | 0ef506d4f31d206c300e4f3f326edac2b60bdc15 (patch) | |
tree | eb577008e9cce6567b90e900f05583c6f4f688ab /lib | |
parent | df9c4b070288eaa36d775b5a3574440b20168307 (diff) | |
download | samba-0ef506d4f31d206c300e4f3f326edac2b60bdc15.tar.gz samba-0ef506d4f31d206c300e4f3f326edac2b60bdc15.tar.bz2 samba-0ef506d4f31d206c300e4f3f326edac2b60bdc15.zip |
libreplace: add a missing "eval" to the AC_VERIFY_C_PROTOTYPE macro
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/libreplace_macros.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/libreplace_macros.m4 b/lib/replace/libreplace_macros.m4 index 46aedd3a83..42b88471db 100644 --- 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, |