Fix the AC_CHECK_PLUGIN_SUPPORT configure macro so that it matches FreeBSD-1.*

instead of FreeBSD-1*, which fixes building with plugins on FreeBSD-10.  Also
a similar fix for the FreeBSD-2.* case.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@217 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2012-12-30 22:47:03 +00:00
parent 1541299fa1
commit b2c9da8fef
4 changed files with 10 additions and 20 deletions

7
aclocal.m4 vendored
View File

@@ -1344,14 +1344,11 @@ AC_DEFUN(AC_CHECK_PLUGIN_SUPPORT,
SHLIB_LD="ld -shared"
fi
;;
FreeBSD-1*)
FreeBSD-1.*)
dnl It sucks that I to have to do this.
AC_MSG_ERROR(sorry, no plugins on $ac_cv_system_version)
;;
FreeBSD-2.2*)
SHLIB_LD="ld -Bshareable"
;;
FreeBSD-2*)
FreeBSD-2.*)
SHLIB_LD="ld -Bshareable"
;;
FreeBSD*)