OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 12 years 5 months ago. By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries | |
---|---|
1 | From bf07d7e3771166d0913e005b6835f534a302741e Mon Sep 17 00:00:00 2001 |
2 | From: Joshua Judson Rosen <rozzin@geekspace.com> |
3 | Date: Tue, 26 Apr 2011 23:15:35 -0400 |
4 | Subject: [PATCH 07/17] Use pkg-config to check for libraries wherever possible. |
5 | Some embedded environments ship pkg-config files but not the `*-config' scripts, so this should be more portable. |
6 | |
7 | --- |
8 | configure.ac | 5 +++-- |
9 | 1 files changed, 3 insertions(+), 2 deletions(-) |
10 | |
11 | diff --git a/configure.ac b/configure.ac |
12 | index 62273bd..ad72ece 100644 |
13 | --- a/configure.ac |
14 | +++ b/configure.ac |
15 | @@ -43,14 +43,15 @@ AM_GNU_GETTEXT([external]) |
16 | AM_GNU_GETTEXT_VERSION([0.18.1]) |
17 | |
18 | # Checks for libraries. |
19 | -AM_PATH_GTK_2_0 |
20 | +PKG_CHECK_MODULES([GTK], [gtk+-2.0]) |
21 | |
22 | if test "$enable_dbus" = "yes"; then |
23 | AC_DEFINE([WITH_DBUSGLIB], [1], [Build with dbus-glib]) |
24 | PKG_CHECK_MODULES([DBUS_GLIB], [dbus-glib-1]) |
25 | fi |
26 | |
27 | -AX_PATH_GSL |
28 | +PKG_CHECK_MODULES([GSL], [gsl]) |
29 | + |
30 | dnl AC_CHECK_LIB([audclient], [audacious_remote_playlist]) |
31 | AC_CHECK_LIB([dl], [dlopen]) |
32 | |
33 | -- |
34 | 1.7.2.5 |
35 | |
36 |