Mercurial > pidgin-twitter
comparison configure.in @ 57:8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
- made all: as the default target in Makefile. OpenBSD requires this. pointed out by iratqq.
- replaced target distclean: with mostlyclean:.
- added new target maintainer-clean:. this target will erase all mercurial files with intention of making source tree for release.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 17 May 2008 21:03:17 +0900 |
parents | 71241cfaef1e |
children | 7d0dd0e1dbd0 |
comparison
equal
deleted
inserted
replaced
52:ac1259fde1d0 | 57:8e1c8afac4dd |
---|---|
1 # -*- Autoconf -*- | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | 2 # Process this file with autoconf to produce a configure script. |
3 | 3 |
4 AC_PREREQ(2.59) | 4 AC_PREREQ(2.59) |
5 AC_INIT(pidgin-twitter, 0.1.0, yaz@honeyplanet.jp) | 5 AC_INIT(pidgin-twitter, 0.6.0, yaz@honeyplanet.jp) |
6 AC_CONFIG_SRCDIR([pidgin-twitter.c]) | 6 AC_CONFIG_SRCDIR([pidgin-twitter.c]) |
7 | 7 |
8 # Checks for programs. | 8 # Checks for programs. |
9 AC_PROG_CC | 9 AC_PROG_CC |
10 | 10 |
29 | 29 |
30 You must have pidgin >= 2.0.0 development headers installed to build. | 30 You must have pidgin >= 2.0.0 development headers installed to build. |
31 ])]) | 31 ])]) |
32 PIDGIN_CFLAGS=`pkg-config --cflags pidgin 2> /dev/null` | 32 PIDGIN_CFLAGS=`pkg-config --cflags pidgin 2> /dev/null` |
33 PIDGIN_LIBS=`pkg-config --libs 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` | 34 if test x"$prefix" = x"NONE" ; then |
35 PIDGIN_PREFIX=`pkg-config --variable=prefix pidgin 2> /dev/null` | |
36 else | |
37 PIDGIN_PREFIX=$prefix | |
38 fi | |
35 AC_SUBST(PIDGIN_CFLAGS) | 39 AC_SUBST(PIDGIN_CFLAGS) |
36 AC_SUBST(PIDGIN_LIBS) | 40 AC_SUBST(PIDGIN_LIBS) |
37 AC_SUBST(PIDGIN_LIB_DIR) | 41 AC_SUBST(PIDGIN_PREFIX) |
38 | 42 |
39 # Checks for header files. | 43 # Checks for header files. |
40 AC_HEADER_STDC | 44 AC_HEADER_STDC |
41 AC_CHECK_HEADERS([stdlib.h string.h]) | 45 AC_CHECK_HEADERS([stdlib.h string.h]) |
42 | 46 |