Build qlo10k1 with local ld10k1.
-SUBDIRS = src
+SUBDIRS = src include
EXTRA_DIST = COPYING configure.in README NEWS AUTHORS TODO INSTALL ChangeLog
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
-/* Define to 1 if you have the `lo10k1' library (-llo10k1). */
-#undef HAVE_LIBLO10K1
-
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
AC_C_BIGENDIAN
gw_CHECK_QT
-AM_PATH_LD10K1(0.1.8)
+
+dnl AM_PATH_LD10K1(0.1.8)
+
+dnl Build with the local ld10k1
+rm -f include/lo10k1
+ln -s ../../ld10k1/include include/lo10k1
+LD10K1_CFLAGS="-I../include"
+LD10K1_LIBS="-L../../ld10k1/src -llo10k1"
+AC_SUBST(LD10K1_CFLAGS)
+AC_SUBST(LD10K1_LIBS)
AC_OUTPUT(Makefile
- src/Makefile)
\ No newline at end of file
+ src/Makefile include/Makefile)
\ No newline at end of file
# of the other Makefile.am variables
bin_PROGRAMS = qlo10k1
-AM_CPPFLAGS = $(LD10K1_CFLAGS)
-AM_CXXFLAGS= $(QT_CXXFLAGS)
-AM_LDFLAGS = $(LD10K1_LDFLAGS)
+AM_CXXFLAGS= @QT_CXXFLAGS@ @LD10K1_CFLAGS@
# the libraries to link against.
-qlo10k1_LDADD = $(LDADD) $(QT_LDADD)
+qlo10k1_LDADD = $(LDADD) @QT_LDADD@ @LD10K1_LIBS@
EXTRA_DIST = dlgs/connectionwizardbase.ui dlgs/filecontroldialogbase.ui dlgs/filecontrolsdialogbase.ui \
dlgs/loadpatchdialogbase.ui dlgs/mainwndbase.ui dlgs/patchdialogbase.ui dlgs/preferencesbase.ui \