Mercurial > feed
comparison configure.ac @ 0:ad85b8813e8a
Fetched a URL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 11 Jan 2011 10:31:48 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ad85b8813e8a |
---|---|
1 AC_INIT([urweb_feed], [1.0]) | |
2 AC_USE_SYSTEM_EXTENSIONS | |
3 AM_INIT_AUTOMAKE([-Wall -Werror foreign no-define]) | |
4 AC_PROG_CC() | |
5 AC_PROG_LIBTOOL() | |
6 AC_CONFIG_MACRO_DIR([m4]) | |
7 | |
8 LIBCURL_CHECK_CONFIG(yes, [], [echo >/dev/null], [echo "You must install libcurl development files."; exit 1]) | |
9 | |
10 if test [$prefix = "NONE"]; then | |
11 prefix=/usr/local | |
12 fi | |
13 | |
14 if test [-z $LIB]; then | |
15 LIB=$prefix/lib/urweb | |
16 fi | |
17 | |
18 if test [-z $INCLUDE]; then | |
19 INCLUDE=$prefix/include/urweb | |
20 fi | |
21 | |
22 AC_SUBST(LIB) | |
23 AC_SUBST(INCLUDE) | |
24 | |
25 AC_CONFIG_FILES([ | |
26 Makefile | |
27 src/c/Makefile | |
28 src/ur/config.urp | |
29 ]) | |
30 | |
31 AC_OUTPUT() | |
32 | |
33 cat <<EOF | |
34 | |
35 Ur/Web XML feed library configuration: | |
36 lib directory: LIB $LIB | |
37 include directory: INCLUDE $INCLUDE | |
38 EOF |