Master: make distcheck failure

Derek Atkins warlord at MIT.EDU
Mon Jan 19 09:24:45 EST 2015


FTR, on IRC I worked with Geert to fix this issue by using:

 noinst_.._SOURCES = ${GTEST_ROOT}/src/gtest_main.cc

-derek

Geert Janssens <geert.gnucash at kobaltwit.be> writes:

> It appears to come from the rule
> if WITH_GOOGLE_TEST
> test_gnc_int128_SOURCES = \
>         $(top_srcdir)/${MODULEPATH}/gnc-int128.cpp \
>         ${GTEST_ROOT}/src/gtest_main.cc \
>         gtest-gnc-int128.cpp
>
> ...
>
> WITH_GOOGLE_TEST is not set on my system. It appears this is
> conditional is ignored for this
> definition, because this is what I find in Makefile.in:
> @WITH_GOOGLE_TEST_TRUE at am__EXEEXT_1 = test-gnc-int128$(EXEEXT) \
> @WITH_GOOGLE_TEST_TRUE@	test_kvp_value$(EXEEXT)
> am__test_gnc_int128_SOURCES_DIST =  \
> 	$(top_srcdir)/${MODULEPATH}/gnc-int128.cpp \
> 	${GTEST_ROOT}/src/gtest_main.cc gtest-gnc-int128.cpp
>
> So this definition is evaluated regardless of the value of WITH_GOOGLE_TEST.
>
> Why is beyond me...
>
> Geert
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list