[master] 943777f More alt config stuff

Poul-Henning Kamp phk at FreeBSD.org
Fri Dec 20 14:54:43 CET 2013


commit 943777ffcc4ab1e465bd4c0faffb168013880fda
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Dec 20 13:54:33 2013 +0000

    More alt config stuff

diff --git a/Makefile.inc.phk b/Makefile.inc.phk
index 72fb6b8..048430d 100644
--- a/Makefile.inc.phk
+++ b/Makefile.inc.phk
@@ -31,7 +31,7 @@ LIB_VARNISHTOOLS = -L $(TOPDIR)/lib/libvarnishtools -lvarnishtools
 LIB_VCC = -L $(TOPDIR)/lib/libvcc -lvcc
 LIB_VGZ = -L $(TOPDIR)/lib/libvgz -lvgz
 LIB_PCRE = -L /usr/local/lib -lpcre
-LIB_EXECINFO = -lexecinfo
+LIB_EXECINFO = ${EXECINFO}
 LIB_CURSES = -lcurses
 LIB_READLINE = ${LINEDISC}
 
diff --git a/config.phk b/config.phk
index 7870b02..3ce71ff 100644
--- a/config.phk
+++ b/config.phk
@@ -252,6 +252,13 @@ else
 fi
 
 #######################################################################
+# Check for libexecinfo (FreeBSD::backtrace()
+
+if [ -f /usr/lib/libexecinfo.so ] ; then
+	echo "EXECINFO=-lexecinfo" >> _.cache
+fi
+
+#######################################################################
 # Done...
 cat _.cache
 



More information about the varnish-commit mailing list