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

Diff of /bti/trunk/configure.ac

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

revision 2247 by gregoa, Wed Aug 18 15:37:02 2010 UTC revision 2248 by gregoa, Thu Sep 2 23:15:45 2010 UTC
# Line 1  Line 1 
1  AC_INIT([bti], [027], [greg@kroah.com])  AC_INIT([bti], [028], [greg@kroah.com])
2  AC_PREREQ(2.60)  AC_PREREQ(2.60)
3    
4  AM_INIT_AUTOMAKE(bti, 027)  AM_INIT_AUTOMAKE(bti, 028)
 dnl AM_CONFIG_HEADER([check-news foreign 1.9 dist-bzip2])  
5    
6  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7    
# Line 13  AC_CONFIG_MACRO_DIR([m4]) Line 12  AC_CONFIG_MACRO_DIR([m4])
12    
13  AC_PATH_PROG([XSLTPROC], [xsltproc])  AC_PATH_PROG([XSLTPROC], [xsltproc])
14    
 dnl FIXME: Replace `main' with a function in `-lnsl':  
 AC_CHECK_LIB([nsl], [main])  
   
15  PKG_PROG_PKG_CONFIG()  PKG_PROG_PKG_CONFIG()
16    
17  PKG_CHECK_MODULES(LIBOAUTH, oauth)  PKG_CHECK_MODULES(LIBOAUTH, oauth)
 AC_SUBST(LIBOAUTH_CFLAGS)  
 AC_SUBST(LIBOAUTH_LIBS)  
   
18  PKG_CHECK_MODULES(LIBPCRE, libpcre)  PKG_CHECK_MODULES(LIBPCRE, libpcre)
19  AC_SUBST(LIBPCRE_CFLAGS)  PKG_CHECK_MODULES([LIBCURL], [libcurl])
20  AC_SUBST(LIBPCRE_LIBS)  PKG_CHECK_MODULES([XML], [libxml-2.0])
   
21    
22  # CURL  AC_SEARCH_LIBS([dlopen], [dl])
 LIBCURL_CHECK_CONFIG([yes], [], [have_libcurl="yes"], [have_libcurl="no"])  
 if test "${have_libcurl}" != yes; then  
         AC_MSG_ERROR([libcurl library not found, please install it])  
 fi  
   
 # libxml2  
 AM_PATH_XML2([], [have_libxml="yes"], [have_libxml="no"])  
 if test "${have_libxml}" != yes; then  
         AC_MSG_ERROR([libxml not found, please install it])  
 fi  
   
 # explicitly link DSOs  
 LIBS="$LIBS -ldl"  
   
   
 dnl Checks for header files.  
 #AC_CHECK_HEADERS([fcntl.h stddef.h stdlib.h string.h unistd.h])  
   
 dnl Checks for typedefs, structures, and compiler characteristics.  
 #AC_TYPE_PID_T  
 #AC_TYPE_SIZE_T  
 #AC_TYPE_SSIZE_T  
   
 dnl Checks for library functions.  
 #AC_FUNC_ALLOCA  
 #AC_FUNC_FORK  
 #AC_FUNC_MALLOC  
 #AC_FUNC_REALLOC  
 #AC_CHECK_FUNCS([strcasecmp strchr strdup strncasecmp strndup])  
23    
24  AC_CONFIG_FILES([Makefile])  AC_CONFIG_FILES([Makefile])
25    

Legend:
Removed from v.2247  
changed lines
  Added in v.2248

  ViewVC Help
Powered by ViewVC 1.1.26