Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- jdk/make/common/shared/Sanity.gmk.orig 2018-07-30 04:34:17.751452000 +0800
- +++ jdk/make/common/shared/Sanity.gmk 2018-07-30 04:34:45.787027000 +0800
- @@ -106,11 +106,6 @@
- elif [ -f /etc/lsb-release ] ; then \
- $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
- fi)
- - ALSA_INCLUDE=/usr/include/alsa/version.h
- - ALSA_LIBRARY=/usr/lib/libasound.so
- - _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
- - $(SED) -e 's@.*"\(.*\)".*@\1@' )
- - ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
- endif
- ifeq ($(PLATFORM), macosx)
- @@ -1371,35 +1366,6 @@
- "" >> $(WARNING_FILE) ; \
- fi
- endif
- -endif
- -
- -######################################################
- -# Check that ALSA headers and libs are installed and
- -# that the header has the right version. We only
- -# need /usr/include/alsa/version.h and /usr/lib/libasound.so
- -######################################################
- -
- -ifdef REQUIRED_ALSA_VERSION
- - ALSA_CHECK := $(call CheckVersions,$(ALSA_VERSION),$(REQUIRED_ALSA_VERSION))
- -endif
- -sane-alsa-headers:
- -ifdef REQUIRED_ALSA_VERSION
- - @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
- - if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
- - $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
- - " You have the following ALSA version installed: $${alsa_version} \n" \
- - " Please reinstall ALSA (drivers and lib). You can download \n" \
- - " the source distribution from http://www.alsa-project.org \n" \
- - " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
- - "" >> $(ERROR_FILE) ; \
- - fi ; \
- - else \
- - $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
- - " Please install ALSA (drivers and lib). You can download the \n" \
- - " source distribution from http://www.alsa-project.org or go to \n" \
- - " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
- - "" >> $(ERROR_FILE) ; \
- - fi
- endif
- # If a sanity file doesn't exist, just make sure it's dir exists
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement