summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: c03bcc2c662437030bcbb1c803a3e7643bda841e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AC_INIT(patchelf, "0.2")
AC_CONFIG_SRCDIR(Makefile.am)
AM_INIT_AUTOMAKE([dist-bzip2 foreign])

# Change to `1' to produce a `stable' release (i.e., the `preREVISION'
# suffix is not added).
STABLE=0

# Put the revision number in the version.
if test "$STABLE" != "1"; then
    if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
        VERSION="${VERSION}pre${REVISION}"
    elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
        VERSION="${VERSION}pre${REVISION}"
    fi
fi

AC_PROG_CC
AC_PROG_CXX

AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
AC_OUTPUT