Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (20 sloc) 0.929 kB
AC_INIT([the_silver_searcher], [0.14pre], [https://github.com/ggreer/the_silver_searcher/issues], [the_silver_searcher], [https://github.com/ggreer/the_silver_searcher])
AC_PROG_CC
AM_PROG_CC_C_O
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([no-define foreign subdir-objects])
m4_ifdef(
[AM_SILENT_RULES],
[AM_SILENT_RULES([yes])]
)
PKG_CHECK_MODULES([PCRE], [libpcre])
# Run CFLAGS="-g" ./configure if you want debug symbols
CFLAGS="$CFLAGS $PCRE_CFLAGS -Wall -Wextra -std=c89 -D_GNU_SOURCE"
LDFLAGS="$LDFLAGS"
AC_CHECK_HEADERS([pthread.h, zlib.h])
AC_CHECK_DECL([PCRE_CONFIG_JIT], [AC_DEFINE([USE_PCRE_JIT], [], [Use PCRE JIT])], [], [#include <pcre.h>])
AC_CHECK_MEMBER([struct dirent.d_type], [AC_DEFINE([HAVE_DIRENT_DTYPE], [], [Have dirent struct member d_type])], [], [[#include <dirent.h>]])
AC_CHECK_FUNCS(vasprintf fgetln getline strndup)
AC_CONFIG_FILES([Makefile])
AC_CONFIG_HEADERS([src/config.h])
AC_OUTPUT
Jump to Line
Something went wrong with that request. Please try again.