[asterisk-commits] trunk r26020 - /trunk/configure.ac

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 9 04:45:27 MST 2006


Author: rizzo
Date: Tue May  9 06:45:26 2006
New Revision: 26020

URL: http://svn.digium.com/view/asterisk?rev=26020&view=rev
Log:
add default values for CPPFLAGS and LDFLAGS on FreeBSD


Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?rev=26020&r1=26019&r2=26020&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue May  9 06:45:26 2006
@@ -75,6 +75,14 @@
     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,



More information about the asterisk-commits mailing list