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.

47 lines
2.1 KiB

  1. From 9f550ca53801b2b9c6c1c7a4d02ad525c704b145 Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <robert.marko@sartura.hr>
  3. Date: Thu, 14 May 2020 13:40:53 +0200
  4. Subject: [PATCH] Remove distro check
  5. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
  6. ---
  7. configure.ac | 28 ----------------------------
  8. 1 file changed, 28 deletions(-)
  9. --- a/configure.ac
  10. +++ b/configure.ac
  11. @@ -64,34 +64,6 @@ fi
  12. LT_INIT
  13. AC_SUBST([LIBTOOL_DEPS])
  14. -# Detect the distribution. This is used for the default configuration and
  15. -# for some distro-specific build options.
  16. -AC_MSG_CHECKING([host distribution])
  17. -AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, redhatenterpriseserver, oracle, centos, fedora, suse, gentoo, debian, arch, slackware, plamo, paldo, openmandriva, pardus, sparclinux, altlinux.]))
  18. -if type lsb_release >/dev/null 2>&1 && test "z$with_distro" = "z"; then
  19. - with_distro=`lsb_release -is`
  20. -fi
  21. -if test "z$with_distro" = "z"; then
  22. - AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat")
  23. - AC_CHECK_FILE(/etc/oracle-release,with_distro="oracle")
  24. - AC_CHECK_FILE(/etc/sparclinux-release,with_distro="sparclinux")
  25. - AC_CHECK_FILE(/etc/centos-release,with_distro="centos")
  26. - AC_CHECK_FILE(/etc/fedora-release,with_distro="fedora")
  27. - AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
  28. - AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
  29. - AC_CHECK_FILE(/etc/debian_version,with_distro="debian")
  30. - AC_CHECK_FILE(/etc/arch-release,with_distro="arch")
  31. - AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware")
  32. - AC_CHECK_FILE(/etc/plamo-version,with_distro="plamo")
  33. - AC_CHECK_FILE(/etc/frugalware-release,with_distro="frugalware")
  34. - AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="openmandriva")
  35. - AC_CHECK_FILE(/etc/mandriva-release,with_distro="openmandriva")
  36. - AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
  37. - AC_CHECK_FILE(/etc/altlinux-release,with_distro="altlinux")
  38. - AC_CHECK_FILE(/etc/pld-release,with_distro="pld")
  39. -fi
  40. -with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`
  41. -
  42. if test "z$with_distro" = "zforsparc"; then
  43. with_distro="sparclinux"
  44. fi