Remove the dietlibc sanity check function, as what it's doing is already done elsewhere.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 17 Jan 2007 09:54:53 +0000 (09:54 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 17 Jan 2007 09:54:53 +0000 (09:54 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2453 94cd875c-1c1d-0410-91d2-eb244daf1a30

configure.ac
m4/ensc_dietlibc.m4

index 57a65a9..ba09dba 100644 (file)
@@ -151,6 +151,7 @@ case $host_cpu in
        (i*86|athlon)   min_diet_ver=0.25;;
        (ia64|hppa*)    min_diet_ver=0.29;;
        (sparc*)        min_diet_ver=0.30;;
+       (x86_64)        min_diet_ver=0.27;;
        (*)             min_diet_ver=0.28;;
 esac
 
@@ -173,7 +174,6 @@ else
        # below.  Therefore, this macro must not be called earlier.
        enable_static=no
 
-       ENSC_DIETLIBC_SANITYCHECK
        ENSC_DIETLIBC_NEED_COMPAT(USE_DIETLIBC_COMPAT)
 fi
 
index bbbb031..38e75d4 100644 (file)
@@ -164,18 +164,3 @@ AC_DEFUN([ENSC_ENABLE_DIETLIBC],
        fi
 ])
 
-
-dnl Usage: ENSC_DIETLIBC_SANITYCHECK
-AC_DEFUN([ENSC_DIETLIBC_SANITYCHECK],
-[
-       AC_REQUIRE([AC_CANONICAL_HOST])
-       AC_REQUIRE([ENSC_ENABLE_DIETLIBC])
-
-       if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
-               AC_MSG_WARN([***                                                             ***])
-               AC_MSG_WARN([*** dietlibc<=0.27 is known to be broken for x86_64 systems     ***])
-               AC_MSG_WARN([*** please make sure that at least the environ.S fix is applied ***])
-               AC_MSG_WARN([*** and lib/__nice.c added                                      ***])
-               AC_MSG_WARN([***                                                             ***])
-       fi
-])