X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=configure.in;h=42a744388a45828948e7e93bd17fdc1b582d5fd1;hb=9e274f5e63619435e8b68f3abe297d0ed7e26e0f;hp=86ac9affdd39b9965981b5709d683aecf4644d57;hpb=556d9dfac9e1e7bdf54bd239dac604f0a22e53e7;p=lufs.git diff --git a/configure.in b/configure.in index 86ac9af..42a7443 100644 --- a/configure.in +++ b/configure.in @@ -3,8 +3,8 @@ AC_PREREQ(2.50) AC_INIT(AUTHORS) AM_CONFIG_HEADER(config.h) AC_CANONICAL_SYSTEM -VERSION_BASE=0.9.6 -VERSION_EXT=captive6cvs +VERSION_BASE=0.9.7 +VERSION_EXT=captive7 AC_SUBST(VERSION_BASE) AC_SUBST(VERSION_EXT) AM_INIT_AUTOMAKE(lufs,$VERSION_BASE$VERSION_EXT) @@ -35,7 +35,15 @@ AC_ARG_WITH(cxx, 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 @@ -56,7 +64,7 @@ AC_ARG_ENABLE(autofs-install, AC_SUBST(AUTOFS_INSTALL) AC_ARG_ENABLE(suid, - [ --enable-suid make lufsmnt and lufsumount suid root (default=yes)], + [ --enable-suid make lufsmnt suid root (default=yes)], [ if test $enableval = "no"; then LUFS_SUID=""; else LUFS_SUID="true"; fi ] , LUFS_SUID="true" ) AC_SUBST(LUFS_SUID) @@ -231,7 +239,7 @@ AC_OUTPUT(\ 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 \ @@ -240,11 +248,11 @@ AC_OUTPUT(\ kernel/Linux/prepmod \ debian/changelog \ kernel/Linux/2.4/makefile \ - kernel/Linux/2.5/makefile \ + kernel/Linux/2.6/makefile \ ) echo "###############################################################################" echo " supported filesystems: $opt_fs" echo -n " suid files: " -if test $LUFS_SUID; then echo "lufsmnt & lufsumount."; else echo "none."; fi +if test $LUFS_SUID; then echo "lufsmnt."; else echo "none."; fi echo "###############################################################################"