mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
AC_PROG_EGREP wasn't too portable after all. Better fixing it the lame but
safe way git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1700
This commit is contained in:
parent
db24b72034
commit
1c4488c439
@ -120,11 +120,6 @@ esac
|
||||
|
||||
AC_SUBST(DEFAULT_SUPP)
|
||||
|
||||
AC_PROG_EGREP
|
||||
|
||||
# Ok, this is linux. Check the kernel version
|
||||
AC_MSG_CHECKING([the glibc version])
|
||||
|
||||
glibc=""
|
||||
|
||||
AC_EGREP_CPP([GLIBC_21], [
|
||||
@ -157,6 +152,9 @@ AC_EGREP_CPP([GLIBC_23], [
|
||||
],
|
||||
glibc="2.3")
|
||||
|
||||
# Ok, this is linux. Check the kernel version
|
||||
AC_MSG_CHECKING([the glibc version])
|
||||
|
||||
case "${glibc}" in
|
||||
2.1)
|
||||
AC_MSG_RESULT(2.1 family)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user