AC_ARG_WITH(html-dir, [ --with-html-dir=PATH Set directory of html files],
[ html_%dir=$withval ; AC_SUBST(htmldir) ] )
-if test "x$cgibindir" = "x" -o "x$cgibinurl" = "x" ; then
+if test "x$cgibindir" != "x" -o "x$cgibinurl" != "x" ; then
cgiprograms="ctsim.cgi ctsim.conf"
AC_SUBST(cgiprograms)
fi