Skip to content
Snippets Groups Projects
Commit 366a3c06 authored by Christian Engwer's avatar Christian Engwer
Browse files

fix headercheck when doing out-opf-source build

[[Imported from SVN: r5844]]
parent eb08ee3a
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,9 @@ headercheck-am:
@if test x"$$HEADER" != "x"; then \
list="$$HEADER"; \
else \
pushd "$(srcdir)" > /dev/null; \
list=`echo $(headercheck_PATTERN)`; \
popd > /dev/null; \
fi; \
test -z "$$NO_CONFIG_H" && NO_CONFIG_H=0; \
test -z "$$SILENT" && SILENT=1; \
......@@ -48,7 +50,7 @@ headercheck-am:
echo "#include <$${HEADER}>" >> $$CCFILE; \
echo "#include <$${HEADER}>" >> $$CCFILE; \
echo "int main () {}" >> $$CCFILE; \
make $$OFILE > $$LOGFILE 2>&1; \
make $$OFILE > $$LOGFILE 2>&1; \
SUCCESS=$$?; \
if ! (test $$SUCCESS -eq 0 && test -e $$OFILE); then \
echo "Error in $$HEADER"; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment