+AC_MSG_CHECKING(--enable-annot argument)
+AC_ARG_ENABLE(annot,
+ [ --enable-annot Turn on -dtypes compilation option],
+ [GIVEN="yes";
+ case "${enableval}" in
+ yes) ANNOT=true;;
+ no) ANNOT=false;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-annot) ;;
+ esac],
+ [GIVEN="no"; ANNOT="false"])
+MSG=$GIVEN
+if test "$ANNOT" = "true"; then
+ MSG="$MSG, type annotation enabled."
+else
+ MSG="$MSG, type annotation disabled."
+fi
+AC_MSG_RESULT($MSG)
+
+