From: Daniel Hokka Zakrisson Date: Wed, 17 Jan 2007 09:54:53 +0000 (+0000) Subject: Remove the dietlibc sanity check function, as what it's doing is already done elsewhere. X-Git-Tag: release-0.30.214~152 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b75e9572ee21fb96e6b2a7e84e5f7437294e5cbb;p=util-vserver.git Remove the dietlibc sanity check function, as what it's doing is already done elsewhere. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2453 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/configure.ac b/configure.ac index 57a65a9..ba09dba 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/m4/ensc_dietlibc.m4 b/m4/ensc_dietlibc.m4 index bbbb031..38e75d4 100644 --- a/m4/ensc_dietlibc.m4 +++ b/m4/ensc_dietlibc.m4 @@ -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 -])