diff options
Diffstat (limited to 'libqcdm')
-rw-r--r-- | libqcdm/AUTHORS | 0 | ||||
-rw-r--r-- | libqcdm/ChangeLog | 0 | ||||
-rw-r--r-- | libqcdm/NEWS | 0 | ||||
-rw-r--r-- | libqcdm/README | 0 | ||||
-rw-r--r-- | libqcdm/configure.ac | 8 | ||||
-rw-r--r-- | libqcdm/tests/Makefile.am | 16 |
6 files changed, 15 insertions, 9 deletions
diff --git a/libqcdm/AUTHORS b/libqcdm/AUTHORS new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/libqcdm/AUTHORS diff --git a/libqcdm/ChangeLog b/libqcdm/ChangeLog new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/libqcdm/ChangeLog diff --git a/libqcdm/NEWS b/libqcdm/NEWS new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/libqcdm/NEWS diff --git a/libqcdm/README b/libqcdm/README new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/libqcdm/README diff --git a/libqcdm/configure.ac b/libqcdm/configure.ac index 7a6685ae..8e3d4029 100644 --- a/libqcdm/configure.ac +++ b/libqcdm/configure.ac @@ -14,15 +14,15 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS(config.h) +dnl Define _GNU_SOURCE for various things like strcasestr() +AC_GNU_SOURCE + dnl Required programs AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_LIBTOOL -dnl Define _GNU_SOURCE for various things like strcasestr() -AC_GNU_SOURCE - dnl dnl Tests dnl @@ -38,6 +38,8 @@ case $with_tests in ;; esac +AM_CONDITIONAL(STANDALONE, test "yes" = "yes") + AC_CONFIG_FILES([ Makefile src/Makefile diff --git a/libqcdm/tests/Makefile.am b/libqcdm/tests/Makefile.am index eb38fdbb..ca2839e4 100644 --- a/libqcdm/tests/Makefile.am +++ b/libqcdm/tests/Makefile.am @@ -1,5 +1,6 @@ INCLUDES = \ - -I$(top_srcdir)/libqcdm/src + -I$(top_srcdir)/libqcdm/src \ + -I$(top_srcdir)/src noinst_PROGRAMS = test-qcdm @@ -16,12 +17,15 @@ test_qcdm_SOURCES = \ test-qcdm-result.h \ test-qcdm.c -test_qcdm_CPPFLAGS = \ - $(MM_CFLAGS) +test_qcdm_CPPFLAGS = $(MM_CFLAGS) -test_qcdm_LDADD = \ - $(top_builddir)/libqcdm/src/libqcdm.la \ - $(MM_LIBS) +test_qcdm_LDADD = $(MM_LIBS) + +if STANDALONE +test_qcdm_LDADD += $(top_builddir)/src/libqcdm.la +else +test_qcdm_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la +endif if WITH_TESTS |