AC_INIT(AUTHORS)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_SYSTEM
-VERSION_BASE=0.9.6
-VERSION_EXT=captive3
+VERSION_BASE=0.9.7
+VERSION_EXT=captive7cvs
AC_SUBST(VERSION_BASE)
AC_SUBST(VERSION_EXT)
AM_INIT_AUTOMAKE(lufs,$VERSION_BASE$VERSION_EXT)
CXX=false
])
-OS_DIR=Linux
+dnl Checking os
+AC_MSG_CHECKING(OS)
+OS_DIR=`uname -s`
+if test ! -d kernel/$OS_DIR
+then
+ AC_MSG_ERROR($OS_DIR - not supported!)
+else
+ AC_MSG_RESULT($OS_DIR)
+fi
AC_SUBST(OS_DIR)
dnl options
kernel/Makefile \
kernel/Linux/Makefile \
kernel/Linux/2.4/Makefile \
- kernel/Linux/2.5/Makefile \
+ kernel/Linux/2.6/Makefile \
kernel/Linux/modbin/Makefile \
include/Makefile \
docs/Makefile \
kernel/Linux/prepmod \
debian/changelog \
kernel/Linux/2.4/makefile \
- kernel/Linux/2.5/makefile \
+ kernel/Linux/2.6/makefile \
)
echo "###############################################################################"