We use AC_DEFINE_UNQUOTED in configure.ac now to put the FIRMWARE_DIR #define
in the config.h file, which is included where we need the #define.
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-AM_CPPFLAGS = -I $(top_srcdir)/libsigrok \
- -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
+AM_CPPFLAGS = -I $(top_srcdir)/libsigrok
SUBDIRS = hardware input output firmware
if LA_ASIX_SIGMA
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
# Local lib, this is NOT meant to be installed!
noinst_LTLIBRARIES = libsigrokhwasixsigma.la
#include <string.h>
#include <zlib.h>
#include <sigrok.h>
+#include <config.h>
#include "asix-sigma.h"
#define USB_VENDOR 0xa600
if LA_SALEAE_LOGIC
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
# Local lib, this is NOT meant to be installed!
noinst_LTLIBRARIES = libsigrokhwsaleaelogic.la
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
# Local lib, this is NOT meant to be installed!
noinst_LTLIBRARIES = libsigrokoutput.la