summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/configure.ac
diff options
context:
space:
mode:
authorDario Lombardo <dario.lombardo@libero.it>2011-02-10 14:24:53 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-16 15:15:12 +0100
commitb7a4d8d9128076d83bd70157299ef0a7a8717a0c (patch)
tree60e6f8f442c72b86e8831687fb71b0168ff6494d /src/host/layer23/configure.ac
parent26ff2ee8802d7c8e8980d7c4cbfcd9053c6f3091 (diff)
Added gpsd support.
Diffstat (limited to 'src/host/layer23/configure.ac')
-rw-r--r--src/host/layer23/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/configure.ac b/src/host/layer23/configure.ac
index 1be98eec..e1c718eb 100644
--- a/src/host/layer23/configure.ac
+++ b/src/host/layer23/configure.ac
@@ -15,6 +15,7 @@ AC_PROG_RANLIB
dnl checks for libraries
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
+AC_CHECK_LIB(gps, gps_open, CFLAGS+=" -D_USE_GPSD" LDFLAGS+=" -lgps",,)
dnl checks for header files
AC_HEADER_STDC