]> jfr.im git - irc/rizon/znc.git/commitdiff
Revert changes from rev1125 so we compile on fbsd 4.11
authorsilverleo <redacted>
Thu, 27 Nov 2008 16:34:51 +0000 (16:34 +0000)
committersilverleo <redacted>
Thu, 27 Nov 2008 16:34:51 +0000 (16:34 +0000)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1273 726aef4b-f618-498e-8847-2d620e286838

configure
configure.in

index bf9d223cbb91228a70ebfc048d1344224322742b..be872caf6a11fc6d462ace3bd47c5360fc32e699 100755 (executable)
--- 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
        ;;
index 7371092c6f45b740225a6a03aa7fbe572bcc0e6d..9f39b63621ecd49e1bc429a74caf57e267f7d447 100644 (file)
@@ -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
        ;;