It was probably meant to be MYSQL_CONFIGURE_WITH, but the configure script does not support --with-mysql or --without-mysql.