2004-09-25 06:05:46 +08:00
|
|
|
AC_INIT(patchelf, "0.1")
|
2005-09-29 20:03:56 +08:00
|
|
|
AC_CONFIG_SRCDIR(Makefile.am)
|
2005-09-29 20:17:56 +08:00
|
|
|
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
|
2004-09-25 06:05:46 +08:00
|
|
|
|
|
|
|
# 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
|
2005-09-30 17:50:51 +08:00
|
|
|
AC_PROG_CXX
|
|
|
|
|
2005-09-29 20:03:56 +08:00
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
|
2004-09-25 06:05:46 +08:00
|
|
|
AC_OUTPUT
|