From d453d03cc0c7e2a7ebc48382bff2105b60d0922c Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Wed, 12 Dec 2007 12:05:12 -0600 Subject: remove dead code from autoconf files since we no longer compile anything. --- configure.ac | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'configure.ac') 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 -- cgit