Mercurial > pidgin-audacious
comparison configure.in @ 0:8d4d17a528ef
initial import
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 28 Jun 2007 19:48:21 +0900 |
parents | |
children | fbad40babe88 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8d4d17a528ef |
---|---|
1 # -*- Autoconf -*- | |
2 # Process this file with autoconf to produce a configure script. | |
3 | |
4 AC_PREREQ(2.59) | |
5 AC_INIT(pidgin-audacioius, 2.0.0, yaz@honeyplanet.jp) | |
6 AC_CONFIG_SRCDIR([pidgin-audacious.c]) | |
7 | |
8 # Checks for programs. | |
9 AC_PROG_CC | |
10 AC_PROG_INSTALL | |
11 | |
12 # Checks for libraries. | |
13 PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 1.4.0], , [ | |
14 AC_MSG_RESULT(no) | |
15 AC_MSG_ERROR([ | |
16 | |
17 You must have audacious >= 1.4.0 development headers installed to build. | |
18 ])]) | |
19 AUD_CFLAGS=`pkg-config --cflags audacious 2> /dev/null` | |
20 AUD_LIBS=`pkg-config --libs audacious 2> /dev/null` | |
21 AUD_LIB_DIR=`pkg-config --variable=lib_dir audacious 2> /dev/null` | |
22 AC_SUBST(AUD_CFLAGS) | |
23 AC_SUBST(AUD_LIBS) | |
24 AC_SUBST(AUD_LIB_DIR) | |
25 | |
26 PKG_CHECK_MODULES(PIDGIN, [pidgin >= 2.0.0], , [ | |
27 AC_MSG_RESULT(no) | |
28 AC_MSG_ERROR([ | |
29 | |
30 You must have pidgin >= 2.0.0 development headers installed to build. | |
31 ])]) | |
32 PIDGIN_CFLAGS=`pkg-config --cflags pidgin 2> /dev/null` | |
33 PIDGIN_LIBS=`pkg-config --libs pidgin 2> /dev/null` | |
34 PIDGIN_LIB_DIR=`pkg-config --variable=libdir pidgin 2> /dev/null` | |
35 AC_SUBST(PIDGIN_CFLAGS) | |
36 AC_SUBST(PIDGIN_LIBS) | |
37 AC_SUBST(PIDGIN_LIB_DIR) | |
38 | |
39 PKG_CHECK_MODULES(DBUSGLIB, [dbus-glib-1 >= 0.72], , [ | |
40 AC_MSG_RESULT(no) | |
41 AC_MSG_ERROR([ | |
42 | |
43 You must have dbus-glib-1 >= 0.72 development headers installed to build. | |
44 ])]) | |
45 DBUS_GLIB_CFLAGS=`pkg-config --cflags dbus-glib-1` | |
46 DBUS_GLIB_LIBS=`pkg-config --libs dbus-glib-1` | |
47 DBUS_GLIB_LIB_DIR=`pkg-config --variable=libdir dbus-glib-1` | |
48 AC_SUBST(DBUS_GLIB_CFLAGS) | |
49 AC_SUBST(DBUS_GLIB_LIBS) | |
50 AC_SUBST(DBUS_GLIB_LIB_DIR) | |
51 | |
52 # Checks for header files. | |
53 AC_HEADER_STDC | |
54 AC_CHECK_HEADERS([stdlib.h string.h]) | |
55 | |
56 # Checks for typedefs, structures, and compiler characteristics. | |
57 AC_C_CONST | |
58 | |
59 # Checks for library functions. | |
60 AC_CHECK_FUNCS([strstr]) | |
61 | |
62 #AC_CONFIG_FILES([Makefile]) | |
63 AC_OUTPUT(Makefile) |