Added unknown OS clause for the version command output

This commit is contained in:
Federico Hernandez
2009-12-22 01:03:24 +01:00
parent 338e4dfbc7
commit ecb4190e0b
2 changed files with 7 additions and 2 deletions

View File

@@ -43,9 +43,12 @@ elif test "$OS" = "haiku"; then
elif test "$OS" = "freeb"; then
AC_MSG_NOTICE([OS FreeBSD detected])
AC_DEFINE([FREEBSD], [], [Compiling on FreeBSD])
else
elif test "$OS" = "linux"; then
AC_MSG_NOTICE([OS Linux detected])
AC_DEFINE([LINUX], [], [Compiling on Linux])
else
AC_MSG_NOTICE([OS not detected])
AC_DEFINE([UNKNOWN], [], [Compiling on Unknown])
fi
AM_INIT_AUTOMAKE