CPPUNIT_CFLAGS aren't passed to the compiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subunit |
Triaged
|
Medium
|
Unassigned |
Bug Description
To reproduce, you need to be on a machine where 'check' and 'cppunit'
are installed in non-standard locations. In my case, they are installed
"above" the tree in '../parts':
$ bzr co lp:subunit
$ cd subunit
$ autoreconf -vi
...
$ CHECK_CFLAGS=
CHECK_
CPPUNIT_
CPPUNIT_
./configure --prefix=$(cd ../.. && pwd)/parts/subunit
...
checking for CHECK... yes
checking for CPPUNIT... yes
configure: creating ./config.status
config.status: creating libsubunit.pc
config.status: creating libcppunit_
config.status: creating Makefile
config.status: creating perl/Makefile.PL
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
$ make
make all-am
make[1]: Entering directory `/home/
depbase=`echo c/lib/child.lo | sed 's|[^/]
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wstrict-prototypes -Wmissing-
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wstrict-prototypes -Wmissing-
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wstrict-prototypes -Wmissing-
/bin/bash ./libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wstrict-prototypes -Wmissing-
libtool: link: gcc -shared c/lib/.libs/child.o -Wl,-soname -Wl,libsubunit.so.0 -o .libs/libsubuni
libtool: link: (cd ".libs" && rm -f "libsubunit.so.0" && ln -s "libsubunit.
libtool: link: (cd ".libs" && rm -f "libsubunit.so" && ln -s "libsubunit.
libtool: link: ar cru .libs/libsubunit.a c/lib/child.o
libtool: link: ranlib .libs/libsubunit.a
libtool: link: ( cd ".libs" && rm -f "libsubunit.la" && ln -s "../libsubunit.la" "libsubunit.la" )
depbase=`echo c++/SubunitTest
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-variadic-
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-variadic-
c++/SubunitTes
Changed in subunit: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Sorry for the spam, but before I manually start trying to reproduce this; is there any chance it's a libtool or other plumbing bug? Does it still happen?