UNSTASH_FLAGS
######################################################################## lopsub
HAVE_LOPSUB=yes
-AC_PATH_PROG([lopsubgen], [lopsubgen])
-test -z "$lopsubgen" && HAVE_LOPSUB=no
+AC_PATH_PROG([LOPSUBGEN], [lopsubgen])
+test -z "$LOPSUBGEN" && HAVE_LOPSUB=no
STASH_FLAGS
LIB_ARG_WITH([lopsub], [-llopsub])
AC_CHECK_HEADER(lopsub.h, [], [HAVE_LOPSUB=no])
$(lls_suite_dir)/%.lsg.c: $(lls_suite_dir)/%.suite
@[ -z "$(Q)" ] || echo 'LSGC $<'
- $(Q) lopsubgen --gen-c --output-dir $(lls_suite_dir) < $<
+ $(Q) $(LOPSUBGEN) --gen-c --output-dir $(lls_suite_dir) < $<
$(lls_suite_dir)/%.lsg.h: $(lls_suite_dir)/%.suite
@[ -z "$(Q)" ] || echo 'LSGH $<'
- $(Q) lopsubgen --gen-header --output-dir $(lls_suite_dir) < $<
+ $(Q) $(LOPSUBGEN) --gen-header --output-dir $(lls_suite_dir) < $<
$(lls_suite_dir)/%.lsg.man: $(lls_suite_dir)/%.suite
@[ -z "$(Q)" ] || echo 'LSGM $<'
- $(Q) lopsubgen --gen-man --output-dir $(lls_suite_dir) < $<
+ $(Q) $(LOPSUBGEN) --gen-man --output-dir $(lls_suite_dir) < $<
$(object_dir)/%.o: $(lls_suite_dir)/%.c | $(object_dir)
@[ -z "$(Q)" ] || echo 'CC $<'