Skip to content
Snippets Groups Projects
Commit 7e9e8cc6 authored by deuce's avatar deuce
Browse files

Allow ALSA to be used in builds

parent f50c5461
Branches
Tags
No related merge requests found
......@@ -8,7 +8,7 @@ MTOBJS += $(MTOBJODIR)$(DIRSEP)xpevent$(OFILE)
CFLAGS += -DSOUNDCARD_H_IN=$(shell if [ -f /usr/include/sys/soundcard.h ] ; then echo 1 ; elif [ -f /usr/include/soundcard.h ] ; then echo 2 ; elif [ -f /usr/include/linux/soundcard.h ] ; then echo 3 ; else echo 0 ; fi) -I. $(XPDEV_CFLAGS)
ifeq ($(shell if [ -f /usr/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES)
# CFLAGS += -DUSE_ALSA_SOUND
CFLAGS += -DUSE_ALSA_SOUND
endif
MT_CFLAGS += $(XPDEV-MT_CFLAGS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment