From: Pieter Lexis Date: Fri, 1 May 2015 11:11:22 +0000 (+0200) Subject: Fix dnsdist so it uses the correct ext/ dir X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~28^2~74^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8204e9e10c9e61b3d6779e802a9985d18fdbac3;p=thirdparty%2Fpdns.git Fix dnsdist so it uses the correct ext/ dir --- diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index a96172117e..bb54ac1d9e 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -1,6 +1,6 @@ AM_CPPFLAGS = -I pdns $(LUA_CFLAGS) $(YAHTTP_CFLAGS) $(BOOST_CPPFLAGS) -O3 -Wall -pthread -DSYSCONFDIR=\"${sysconfdir}\" -SUBDIRS=pdns/ext/yahttp +SUBDIRS=ext/yahttp dnslabeltext.cc: dnslabeltext.rl ragel $< -o dnslabeltext.cc @@ -42,10 +42,11 @@ dnsdist_SOURCES = \ qtype.cc qtype.hh \ sholder.hh \ sodcrypto.cc sodcrypto.hh \ - sstuff.hh pdns/ext/luawrapper/include/LuaContext.hpp \ - pdns/ext/json11/json11.cpp \ - pdns/ext/json11/json11.hpp \ - pdns/ext/incbin/incbin.h + sstuff.hh \ + ext/luawrapper/include/LuaContext.hpp \ + ext/json11/json11.cpp \ + ext/json11/json11.hpp \ + ext/incbin/incbin.h dnsdist_LDFLAGS = \ $(AM_LDFLAGS) \ diff --git a/pdns/dnsdistdist/configure.ac b/pdns/dnsdistdist/configure.ac index 8825a7b948..7d3d66dc6a 100644 --- a/pdns/dnsdistdist/configure.ac +++ b/pdns/dnsdistdist/configure.ac @@ -10,13 +10,13 @@ AC_PROG_LIBTOOL AX_LIB_READLINE BOOST_REQUIRE([1.35]) BOOST_FOREACH -AC_SUBST([YAHTTP_CFLAGS], ['-I$(top_srcdir)/pdns/ext/yahttp']) -AC_SUBST([YAHTTP_LIBS], ['-L$(top_builddir)/pdns/ext/yahttp/yahttp -lyahttp']) +AC_SUBST([YAHTTP_CFLAGS], ['-I$(top_srcdir)/ext/yahttp']) +AC_SUBST([YAHTTP_LIBS], ['-L$(top_builddir)/ext/yahttp/yahttp -lyahttp']) PDNS_WITH_LUA AX_CXX_COMPILE_STDCXX_11(ext,mandatory) AC_CONFIG_FILES([Makefile - pdns/ext/yahttp/Makefile - pdns/ext/yahttp/yahttp/Makefile]) + ext/yahttp/Makefile + ext/yahttp/yahttp/Makefile]) AC_OUTPUT diff --git a/pdns/dnsdistdist/populate b/pdns/dnsdistdist/populate index c32e06b309..997bd5fb59 100755 --- a/pdns/dnsdistdist/populate +++ b/pdns/dnsdistdist/populate @@ -19,20 +19,20 @@ ln -fs ../../../m4/ax_cxx_compile_stdcxx_11.m4 m4/ ln -fs ../README-dnsdist.md README.md ln -fs ../dnsdistconf.lua . -mkdir -p pdns/ext/luawrapper/include -ln -sf ../../../../../ext/luawrapper/include/LuaContext.hpp pdns/ext/luawrapper/include +mkdir -p ext/luawrapper/include +ln -sf ../../../../../ext/luawrapper/include/LuaContext.hpp ext/luawrapper/include -mkdir -p pdns/ext/json11 -ln -sf ../../../../ext/json11/json11.{hpp,cpp} pdns/ext/json11 +mkdir -p ext/json11 +ln -sf ../../../../ext/json11/json11.{hpp,cpp} ext/json11 -mkdir -p pdns/ext/incbin -ln -sf ../../../../ext/incbin/incbin.h pdns/ext/incbin +mkdir -p ext/incbin +ln -sf ../../../../ext/incbin/incbin.h ext/incbin pandoc -s -t man ../../docs/manpages/dnsdist.1.md > dnsdist.1 -mkdir -p pdns/ext/yahttp/yahttp -ln -sf ../../../../ext/yahttp/Makefile.am pdns/ext/yahttp -cd pdns/ext/yahttp/ +mkdir -p ext/yahttp/yahttp +ln -sf ../../../../ext/yahttp/Makefile.am ext/yahttp +cd ext/yahttp/ ln -sf ../../../../ext/yahttp/{LICENSE,README.md} . cd yahttp ln -sf ../../../../../ext/yahttp/yahttp/{Makefile.am,*.cpp,*.hpp,*.h} .