diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-09 11:45:26 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-09 11:45:26 +0000 |
commit | 83491e347690a46b994c60739fe6d0c1302c98ad (patch) | |
tree | f48cb07f1cf942ed42c6d1d8d6f68282311a0a82 /configure.ac | |
parent | 3da3803c07ac5061123a9ef505c6506f07a58540 (diff) |
add default values for CPPFLAGS and LDFLAGS on FreeBSD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26020 f38db490-d61c-443f-a65b-d21fe96a405b
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, |