Trying to understand if the following patch is needed in libreplace

Richard Sharpe realrichardsharpe at gmail.com
Tue Feb 12 13:16:53 MST 2013


Hi folks,

I have come across the following patch from Timur in the FreeBSD ports
collection:

rsharpe-bsd# more patch-lib__replace__libreplace_macros.m4
--- ./lib/replace/libreplace_macros.m4.orig     2011-10-12
01:38:14.000000000 +0200
+++ ./lib/replace/libreplace_macros.m4  2011-10-12 01:39:36.000000000 +0200
@@ -298,7 +298,7 @@
                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,

Where is AS_TR_SH defined? Is it possible that we actually need the
change more generally?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list