File dosemu-skip-glibc-test.patch of Package dosemu
--- dosemu-1.4.0.1.orig/configure.ac
+++ dosemu-1.4.0.1/configure.ac
@@ -658,21 +658,6 @@ if test "$GCC" = "yes" ; then
OPT="$OPT -malign-loops=2 -malign-jumps=2 -malign-functions=2"
fi
- AC_MSG_CHECKING(for glibc...)
- set `printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__ XXBbZZ __GLIBC_MINOR__'|${CC-cc} -E -|awk '/XXAaZZ/ {print $2 " " $4}'`
- major=$1; minor=$2
- if test "$major" = "__GLIBC__"; then
- AC_MSG_ERROR([Sorry, you need glibc-2.1.3 or newer.])
- else
- if test "$minor" = "__GLIBC_MINOR__"; then
- minor=0;
- fi
- GLIBC_VERSION_CODE=$((($major * 1000) + $minor))
- AC_MSG_RESULT([yes, version code $GLIBC_VERSION_CODE])
- if test $GLIBC_VERSION_CODE -lt 2001; then
- AC_MSG_ERROR([Sorry, you need glibc-2.1.3 or newer.])
- fi
- fi
fi
AC_MSG_CHECKING(for clang...)