/[debian]/bti/trunk/configure.ac
ViewVC logotype

Contents of /bti/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1952 - (show annotations)
Wed Dec 2 15:49:24 2009 UTC (11 years, 7 months ago) by gregoa
File size: 1684 byte(s)
* New upstream release:
  - does not display password while user types it (LP: #386525)
  - disable echo when reading the password
  - add laconica group support
1 AC_INIT([bti], [024], [greg@kroah.com])
2 AC_PREREQ(2.60)
3
4 AM_INIT_AUTOMAKE(bti, 024)
5 dnl AM_CONFIG_HEADER([check-news foreign 1.9 dist-bzip2])
6
7 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
8
9 AC_PROG_CC
10 AC_PROG_INSTALL
11
12 AC_CONFIG_MACRO_DIR([m4])
13
14 AC_PATH_PROG([XSLTPROC], [xsltproc])
15
16 dnl FIXME: Replace `main' with a function in `-lnsl':
17 AC_CHECK_LIB([nsl], [main])
18 dnl FIXME: Replace `main' with a function in `-lreadline':
19 AC_CHECK_LIB([readline], [main])
20
21 AC_CHECK_LIB([pcre], [main])
22
23 # CURL
24 LIBCURL_CHECK_CONFIG([yes], [], [have_libcurl="yes"], [have_libcurl="no"])
25 if test "${have_libcurl}" != yes; then
26 AC_MSG_ERROR([libcurl library not found, please install it])
27 else
28 CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
29 LIBS="${LIBS} ${LIBCURL}"
30 fi
31
32 # libxml2
33 AM_PATH_XML2([], [have_libxml="yes"], [have_libxml="no"])
34 if test "${have_libxml}" != yes; then
35 AC_MSG_ERROR([libxml not found, please install it])
36 else
37 CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
38 LIBS="$LIBS $XML_LIBS"
39 fi
40
41
42
43 dnl Checks for header files.
44 #AC_CHECK_HEADERS([fcntl.h stddef.h stdlib.h string.h unistd.h])
45
46 dnl Checks for typedefs, structures, and compiler characteristics.
47 #AC_TYPE_PID_T
48 #AC_TYPE_SIZE_T
49 #AC_TYPE_SSIZE_T
50
51 dnl Checks for library functions.
52 #AC_FUNC_ALLOCA
53 #AC_FUNC_FORK
54 #AC_FUNC_MALLOC
55 #AC_FUNC_REALLOC
56 #AC_CHECK_FUNCS([strcasecmp strchr strdup strncasecmp strndup])
57
58 AC_CONFIG_FILES([Makefile])
59
60 AC_OUTPUT
61
62
63 echo "
64 bti $VERSION
65 =======
66
67 prefix: ${prefix}
68 datarootdir: ${datarootdir}
69 mandir: ${mandir}
70
71 compiler: ${CC}
72 cflags: ${CFLAGS}
73 ldflags: ${LDFLAGS}
74
75 xsltproc: ${XSLTPROC}
76 "
77

  ViewVC Help
Powered by ViewVC 1.1.26