File: configure.ac

package info (click to toggle)
fileschanged 0.6.5-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,348 kB
  • ctags: 159
  • sloc: sh: 4,137; ansic: 1,407; makefile: 87; sed: 16
file content (40 lines) | stat: -rw-r--r-- 1,243 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
AC_SUBST(PACKAGE_MAINTAINER)
AC_SUBST(PACKAGE_SUMMARY)
AC_SUBST(PACKAGE_WEBSITE)
AC_SUBST(PACKAGE_TEX_BUGREPORT)

AUTOMAKE_OPTIONS=no-dependencies
AC_INIT(fileschanged, 0.6.5, benasselstine@users.sf.net)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/fileschanged.c])
AM_CONFIG_HEADER([config.h])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.12.1)

AC_SUBST(VERSION)

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

AC_CANONICAL_HOST

AC_PROG_INSTALL
AC_PROG_CC


dnl Checks for libraries.
AC_CHECK_LIB(fam,FAMOpen,,[echo "To build this software, you must install the FAM development package"; exit 1])

AC_CHECK_LIB(fam,FAMNoExists,[AC_DEFINE(HAVE_FAMNOEXISTS, 1, [Define if you have gamin instead of fam])],)

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADER(fam.h,,[echo "To build this software, you must install the FAM development package"; exit 1])
AC_CHECK_HEADERS(unistd.h time.h string.h dirent.h argp.h)

PACKAGE_MAINTAINER="Ben Asselstine"
PACKAGE_SUMMARY="displays altered files"
PACKAGE_WEBSITE="http://fileschanged.sf.net/"
PACKAGE_TEX_BUGREPORT="benasselstine\@sf.net"

AC_OUTPUT( Makefile info/Makefile man/Makefile info/package.texinfo src/Makefile redhat/fileschanged.spec debian/Makefile  po/Makefile.in m4/Makefile )