Remove GLib-specific names from configure.ac

Code coverage reports were migrated from GLib sources, and some names remained
This commit is contained in:
Gergely Polonkai 2014-11-17 10:45:24 +01:00
parent 6187d45177
commit 1c14b451fd

View File

@ -107,12 +107,12 @@ AS_IF([ test "x$use_gcov" = "xyes"], [
AC_CHECK_PROG(LTP_GENHTML, genhtml, genhtml) AC_CHECK_PROG(LTP_GENHTML, genhtml, genhtml)
AS_IF([ test "$LTP" ], [ AS_IF([ test "$LTP" ], [
AC_CACHE_CHECK([for ltp version], glib_cv_ltp_version, [ AC_CACHE_CHECK([for ltp version], sw_glib_cv_ltp_version, [
glib_cv_ltp_version=invalid swe_glib_cv_ltp_version=invalid
ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'` ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'`
for ltp_check_version in $ltp_version_list; do for ltp_check_version in $ltp_version_list; do
if test "$ltp_version" = "$ltp_check_version"; then if test "$ltp_version" = "$ltp_check_version"; then
glib_cv_ltp_version="$ltp_check_version (ok)" swe_glib_cv_ltp_version="$ltp_check_version (ok)"
fi fi
done done
]) ])
@ -121,7 +121,7 @@ AS_IF([ test "x$use_gcov" = "xyes"], [
AC_MSG_ERROR([$ltp_msg]) AC_MSG_ERROR([$ltp_msg])
]) ])
case $glib_cv_ltp_version in case $swe_glib_cv_ltp_version in
""|invalid[)] ""|invalid[)]
ltp_msg="You must have one of the following versions of LTP: $ltp_version_list (found: $ltp_version)." ltp_msg="You must have one of the following versions of LTP: $ltp_version_list (found: $ltp_version)."
AC_MSG_ERROR([$ltp_msg]) AC_MSG_ERROR([$ltp_msg])