You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/qu-prolog/files/qu-prolog-10.5-gcc-version....

26 lines
872 B

--- qp10.5.orig/configure.in 2019-12-29 00:57:44.000000000 +0100
+++ qp10.5/configure.in 2020-06-25 08:53:32.610430095 +0200
@@ -209,22 +209,6 @@
uname \
)
-#----------------------------------------------------------------------------
-dnl Check for CPP version
-AC_MSG_CHECKING([for GCC version])
-qp_cpp_ver=[`gcc --version 2>/dev/null | head -1 | sed -e 's/^[^[:digit:]]*\([[:digit:]][^[:space:]]*\).*$/\1/'`]
-if test -n "$qp_cpp_ver"; then
- AC_MSG_RESULT($qp_cpp_ver)
- case "$qp_cpp_ver" in
- 2.*)
- AC_DEFINE(GCC_VERSION_2, 1, [Whether or not the GCC is gcc 2])
- ;;
- esac
-else
- AC_MSG_RESULT(not found)
- AC_MSG_ERROR(Could not determine GCC version)
-fi
-
#-----------------------------------------------------------------------------
dnl Check for -fno-strict-aliasing
AC_MSG_CHECKING([for -fno-strict-aliasing])