summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2007-12-12 12:05:12 -0600
committerMichael E Brown <michael_e_brown@dell.com>2007-12-12 12:05:35 -0600
commitd453d03cc0c7e2a7ebc48382bff2105b60d0922c (patch)
treee58414fa6cccf283f1b1aec0c2cbda4d38ec9295 /configure.ac
parentdc5948117b2848be2dfa8984cd78fe5d1694aa0c (diff)
downloadmock-d453d03cc0c7e2a7ebc48382bff2105b60d0922c.tar.gz
mock-d453d03cc0c7e2a7ebc48382bff2105b60d0922c.tar.xz
mock-d453d03cc0c7e2a7ebc48382bff2105b60d0922c.zip
remove dead code from autoconf files since we no longer compile anything.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 0 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac
index 4860dc3..1402b9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,15 +42,6 @@ do
fi
done
-# Update the version information only immediately before a public release of your software. More frequent updates are unnecessary, and only guarantee that the current interface number gets larger faster.
-# If the library source code has changed at all since the last update, then increment revision (c:r:a becomes c:r+1:a).
-# If any interfaces have been added, removed, or changed since the last update, increment current, and set revision to 0.
-# If any interfaces have been added since the last public release, then increment age.
-# If any interfaces have been removed since the last public release, then set age to 0.
-LIBTOOL_CURRENT=$(( $RELEASE_MAJOR ))
-LIBTOOL_REVISION=$RELEASE_MINOR
-LIBTOOL_AGE=0
-
if test -z "$RELEASE_RPM_EXTRALEVEL"; then
if test -z "$RELEASE_EXTRALEVEL"; then
RELEASE_RPM_EXTRALEVEL=%{nil}
@@ -63,23 +54,9 @@ PACKAGE_VERSION=[`echo ${RELEASE_MAJOR}.${RELEASE_MINOR}.${RELEASE_SUBLEVEL}${RE
PACKAGE_STRING=[`echo ${RELEASE_NAME} ${RELEASE_MAJOR}.${RELEASE_MINOR}.${RELEASE_SUBLEVEL}${RELEASE_EXTRALEVEL}`]
VERSION=$PACKAGE_VERSION
-cat confdefs.h |
- grep -v 'define VERSION ' |
- grep -v 'define PACKAGE_VERSION ' |
- grep -v 'define PACKAGE_STRING ' > confdefs.new
-mv confdefs.new confdefs.h
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
AC_SUBST([RELEASE_NAME RELEASE_MAJOR RELEASE_MINOR RELEASE_SUBLEVEL RELEASE_EXTRALEVEL RELEASE_RPM_EXTRALEVEL])
AC_SUBST([ LIBTOOL_CURRENT LIBTOOL_REVISION LIBTOOL_AGE ])
-# check if build dir == source dir.
-AM_CONDITIONAL([BLD_SRC_DIFFERENT], [test x$srcdir != x.])
-
# generate files and exit
AC_CONFIG_FILES([ Makefile ${PACKAGE_NAME}.spec ])
AC_OUTPUT