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

Annotation of /bti/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26