Code

amqp: look for librabbitmq in /usr/local as well
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 1 Aug 2015 11:01:30 +0000 (13:01 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 3 Aug 2015 21:14:31 +0000 (23:14 +0200)
This detects it automatically on FreeBSD.
Ideally we should just use pkg-config but that is
left as an exercise for the reader ;)

configure.ac

index 22c883893b053ee85206f71e60b117dcb5684291..8a494da8137957f7a3efa224c2bddb40fb848dfb 100644 (file)
@@ -3587,8 +3587,8 @@ fi
 # }}} --with-python
 
 # --with-librabbitmq {{{
-with_librabbitmq_cppflags=""
-with_librabbitmq_ldflags=""
+with_librabbitmq_cppflags="-I/usr/local/include"
+with_librabbitmq_ldflags="-L/usr/local/lib"
 AC_ARG_WITH(librabbitmq, [AS_HELP_STRING([--with-librabbitmq@<:@=PREFIX@:>@], [Path to librabbitmq.])],
 [
        if test "x$withval" != "xno" && test "x$withval" != "xyes"