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

Add commented-out ALSA auto-detection.

parent fc2be6f0
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ endif
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
endif
MT_CFLAGS += $(XPDEV-MT_CFLAGS)
# Executable Build Rule
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment