Skip to content
Snippets Groups Projects
Commit 92b7543a authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

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
parent 9953f4f4
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,14 @@ case "${host}" 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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment