/[debian]/bti/branches/upstream/current/configure.ac
ViewVC logotype

Diff of /bti/branches/upstream/current/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2232 by gregoa, Wed May 19 19:21:49 2010 UTC revision 2233 by gregoa, Wed Aug 18 15:33:14 2010 UTC
# Line 1  Line 1 
1  AC_INIT([bti], [026], [greg@kroah.com])  AC_INIT([bti], [027], [greg@kroah.com])
2  AC_PREREQ(2.60)  AC_PREREQ(2.60)
3    
4  AM_INIT_AUTOMAKE(bti, 026)  AM_INIT_AUTOMAKE(bti, 027)
5  dnl AM_CONFIG_HEADER([check-news foreign 1.9 dist-bzip2])  dnl AM_CONFIG_HEADER([check-news foreign 1.9 dist-bzip2])
6    
7  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Line 16  AC_PATH_PROG([XSLTPROC], [xsltproc]) Line 16  AC_PATH_PROG([XSLTPROC], [xsltproc])
16  dnl FIXME: Replace `main' with a function in `-lnsl':  dnl FIXME: Replace `main' with a function in `-lnsl':
17  AC_CHECK_LIB([nsl], [main])  AC_CHECK_LIB([nsl], [main])
18    
19  AC_CHECK_LIB([pcre], [main])  PKG_PROG_PKG_CONFIG()
20    
21    PKG_CHECK_MODULES(LIBOAUTH, oauth)
22    AC_SUBST(LIBOAUTH_CFLAGS)
23    AC_SUBST(LIBOAUTH_LIBS)
24    
25    PKG_CHECK_MODULES(LIBPCRE, libpcre)
26    AC_SUBST(LIBPCRE_CFLAGS)
27    AC_SUBST(LIBPCRE_LIBS)
28    
29    
30  # CURL  # CURL
31  LIBCURL_CHECK_CONFIG([yes], [], [have_libcurl="yes"], [have_libcurl="no"])  LIBCURL_CHECK_CONFIG([yes], [], [have_libcurl="yes"], [have_libcurl="no"])
32  if test "${have_libcurl}" != yes; then  if test "${have_libcurl}" != yes; then
33          AC_MSG_ERROR([libcurl library not found, please install it])          AC_MSG_ERROR([libcurl library not found, please install it])
 else  
         CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"  
         LIBS="${LIBS} ${LIBCURL}"  
34  fi  fi
35    
36  # libxml2  # libxml2
37  AM_PATH_XML2([], [have_libxml="yes"], [have_libxml="no"])  AM_PATH_XML2([], [have_libxml="yes"], [have_libxml="no"])
38  if test "${have_libxml}" != yes; then  if test "${have_libxml}" != yes; then
39          AC_MSG_ERROR([libxml not found, please install it])          AC_MSG_ERROR([libxml not found, please install it])
 else  
         CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"  
         LIBS="$LIBS $XML_LIBS"  
40  fi  fi
41    
42    # explicitly link DSOs
43    LIBS="$LIBS -ldl"
44    
45    
46  dnl Checks for header files.  dnl Checks for header files.

Legend:
Removed from v.2232  
changed lines
  Added in v.2233

  ViewVC Help
Powered by ViewVC 1.1.26