diff --git a/configure b/configure index ccb9f0c..2943ac5 100755 --- a/configure +++ b/configure @@ -364,7 +364,6 @@ CFLAGS = ${CFLAGS} LDFLAGS = ${LDFLAGS} YACC = ${YACC} LEX = ${LEX} -COMPAT = ${COMPAT} STATIC = ${STATIC} PREFIX = ${PREFIX} BINDIR = ${BINDIR} @@ -375,8 +374,15 @@ 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 diff --git a/regress/Makefile b/regress/Makefile index fc0d87c..0098885 100644 --- a/regress/Makefile +++ b/regress/Makefile @@ -7,11 +7,12 @@ all: puny-test testdata iri_test cert.pem testca.pem valid.crt invalid.cert.pem ./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