commit 4ad0601d1857e509687d2466ffa0afaf3a82578c from: Omar Polo date: Wed Feb 10 22:06:16 2021 UTC link to compat/ even in regress this unlocks the full regress tests on arch, for instance, or every OS where we don't have strl* commit - 6827d2781e8aaaa6aad1e32026a21863070c90f4 commit + 4ad0601d1857e509687d2466ffa0afaf3a82578c blob - ccb9f0c35149d7583fc7caa29539aab34fe97657 blob + 2943ac500abb10cc360f3757fea51b90b04b7b43 --- configure +++ configure @@ -364,7 +364,6 @@ CFLAGS = ${CFLAGS} LDFLAGS = ${LDFLAGS} YACC = ${YACC} LEX = ${LEX} -COMPAT = ${COMPAT} STATIC = ${STATIC} PREFIX = ${PREFIX} BINDIR = ${BINDIR} @@ -375,7 +374,14 @@ INSTALL_PROGRAM = ${INSTALL_PROGRAM} INSTALL_LIB = ${INSTALL_LIB} INSTALL_MAN = ${INSTALL_MAN} INSTALL_DATA = ${INSTALL_DATA} + __HEREDOC__ + +printf "COMPAT =" +for comp in ${COMPAT}; do + printf " %s/%s" "$PWD" "$comp" +done +printf "\n" echo "file Makefile.local: written" 1>&2 echo "file Makefile.local: written" 1>&3 blob - fc0d87cb0a183a2aaef0a2ea989d6b463f103567 blob + 0098885b865afbb014738ed45da03be553f1141d --- regress/Makefile +++ regress/Makefile @@ -7,11 +7,12 @@ all: puny-test testdata iri_test cert.pem testca.pem v ./runtime ./iri_test -puny-test: puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o - ${CC} puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o -o puny-test ${LDFLAGS} +puny-test: puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o ${COMPAT} + ${CC} puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o ${COMPAT} \ + -o puny-test ${LDFLAGS} -iri_test: iri_test.o ../iri.o ../utf8.o - ${CC} iri_test.o ../iri.o ../utf8.o -o iri_test +iri_test: iri_test.o ../iri.o ../utf8.o ${COMPAT} + ${CC} iri_test.o ../iri.o ../utf8.o ${COMPAT} -o iri_test fill-file: fill-file.o ${CC} fill-file.o -o fill-file