I noticed this in GNU tar 1.25 when FreeBSD's test(1) complained: Use "=" operator for test(1), rather than non-standard "==".
--- m4/mknod.m4.orig Tue Nov 9 17:35:22 2010 +++ m4/mknod.m4 Tue Nov 9 17:35:32 2010 @@ -30,7 +30,7 @@ if (!geteuid ()) return 99; if (mknod ("conftest.fifo", S_IFIFO | 0600, 0)) return 2;]])], [gl_cv_func_mknod_works=yes], - [if test $? == 99 && test x"$FORCE_UNSAFE_CONFIGURE" = x; then + [if test $? = 99 && test x"$FORCE_UNSAFE_CONFIGURE" = x; then AC_MSG_FAILURE([you should not run configure as root ]dnl [(set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)]) fi -- Christian "naddy" Weisgerber na...@mips.inka.de