diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-05-09 11:45:26 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-05-09 11:45:26 +0000 |
commit | 92b7543a8e85dc1cf52bbc6bade2f37e347db3c9 (patch) | |
tree | f48cb07f1cf942ed42c6d1d8d6f68282311a0a82 /configure.ac | |
parent | 9953f4f40eddceccd4d99f07ffe9e8a380e371e9 (diff) |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e7e8821a7..ba9755110 100644 --- a/configure.ac +++ b/configure.ac @@ -75,6 +75,14 @@ case "${host}" in AC_DEFINE(FreeBSD, 1, [Define according to your operating system type.]) 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*) AC_DEFINE(OpenBSD, 1, |