From 942eb63a7cd0d6bed0e5854689d54ff6ceb9a155 Mon Sep 17 00:00:00 2001 From: silverleo Date: Thu, 27 Nov 2008 16:34:51 +0000 Subject: [PATCH] Revert changes from rev1125 so we compile on fbsd 4.11 git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1273 726aef4b-f618-498e-8847-2d620e286838 --- configure | 3 ++- configure.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index bf9d223c..be872caf 100755 --- a/configure +++ b/configure @@ -2447,7 +2447,8 @@ appendCXX "-D_FORTIFY_SOURCE=2" case "${host_os}" in freebsd*) - appendCXX -I/usr/local/include + # -D__GNU_LIBRARY__ makes this work on fbsd 4.11 + appendCXX -I/usr/local/include -D__GNU_LIBRARY__ appendLib -L/usr/local/lib -lcompat appendMod -L/usr/local/lib ;; diff --git a/configure.in b/configure.in index 7371092c..9f39b636 100644 --- a/configure.in +++ b/configure.in @@ -44,7 +44,8 @@ appendCXX "-D_FORTIFY_SOURCE=2" case "${host_os}" in freebsd*) - appendCXX -I/usr/local/include + # -D__GNU_LIBRARY__ makes this work on fbsd 4.11 + appendCXX -I/usr/local/include -D__GNU_LIBRARY__ appendLib -L/usr/local/lib -lcompat appendMod -L/usr/local/lib ;;