Author: metze
Date: 2006-09-14 10:34:03 +0000 (Thu, 14 Sep 2006)
New Revision: 18514

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18514

Log:
fix configure caching of AC_VERIFY_C_PROTOTYPE() macro

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4  2006-09-14 
10:25:44 UTC (rev 18513)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4  2006-09-14 
10:34:03 UTC (rev 18514)
@@ -282,9 +282,9 @@
                }
        ],[
                AS_TR_SH([ac_cv_c_prototype_$1])=yes
-               $3
        ],[
                AS_TR_SH([ac_cv_c_prototype_$1])=no
-               $4
        ])
-)])
+)
+AS_IF([test $AS_TR_SH([ac_cv_c_prototype_$1]) = yes],[$3],[$4])
+])

Reply via email to