mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
add default values for CPPFLAGS and LDFLAGS on FreeBSD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -75,6 +75,14 @@ case "${host}" in
|
|||||||
AC_DEFINE(FreeBSD, 1,
|
AC_DEFINE(FreeBSD, 1,
|
||||||
[Define according to your operating system type.])
|
[Define according to your operating system type.])
|
||||||
PBX_OSTYPE="FreeBSD"
|
PBX_OSTYPE="FreeBSD"
|
||||||
|
# XXX temporary hack to let FreeBSD use the default paths
|
||||||
|
# for local stuff. We need a better solution.
|
||||||
|
if test x"${CPPFLAGS}" = x; then
|
||||||
|
CPPFLAGS="-I /usr/local/include"
|
||||||
|
fi
|
||||||
|
if test x"${LDFLAGS}" = x; then
|
||||||
|
LDFLAGS="-L /usr/local/lib"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*openbsd*)
|
*openbsd*)
|
||||||
AC_DEFINE(OpenBSD, 1,
|
AC_DEFINE(OpenBSD, 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user