File: configure.ac

package info (click to toggle)
rdup 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 784 kB
  • ctags: 108
  • sloc: sh: 3,225; ansic: 1,624; perl: 565; makefile: 65
file content (61 lines) | stat: -rw-r--r-- 1,656 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(rdup, 0.6.0, miek@miek.nl, rdup)
AC_CONFIG_SRCDIR([rdup.c])
AC_PREFIX_DEFAULT(/usr)

sinclude(glib-2.0.m4)
AC_AIX
AC_PROG_CC
AC_PROG_MAKE_SET

AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([libglib2-dev not found !]))
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION
AC_CHECK_FUNCS([dirfd openat attropen])
AC_CHECK_LIB(attr, lgetxattr)
AC_CHECK_HEADERS(attr/xattr.h,,,[AC_INCLUDES_DEFAULT])
AC_CHECK_HEADERS([getopt.h sys/vfs.h sys/statvfs.h])
AC_CHECK_HEADERS(sys/param.h sys/mount.h,,,
[
  [
   #if HAVE_SYS_PARAM_H
   # include <sys/param.h>
   #endif
  ]
])
AC_C_BIGENDIAN

# sysconfdir
if test ${sysconfdir} = '${prefix}/etc'; then
        sysconfdir='/etc'
fi

AC_CONFIG_FILES([GNUmakefile 
		 po/GNUmakefile
                 rdup.h
                 doc/rdup.1
                 doc/rdup-restore.1
                 doc/rdup-snap-link.1
                 doc/rdup-snap.1
                 doc/rdup-simple.1
                 doc/rdup-crypt.1
                 doc/rdup-gzip.1
                 doc/rdup-gpg.1
                 doc/rdup-backups.1
                 doc/rdup-hist.1
                 shared/shared.sh
                 shared/shared.pl
                 sh-wrapper/rdup-snap-link
                 sh-wrapper/rdup-restore
                 sh-wrapper/rdup-simple
                 pl-tools/rdup-gzip
                 pl-tools/rdup-crypt
                 pl-tools/rdup-snap
                 pl-tools/rdup-gpg
                 pl-tools/rdup-hist
                 ])
AC_CONFIG_HEADER([config.h])
AC_OUTPUT