[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#164774: libdb4.0: please make it priority standard



On Tue, Oct 15, 2002 at 10:15:33AM -0700, Ben Pfaff wrote:
> I can't reproduce this error with a simple program (GNU hello
> with modified configure.in):
> 
>     blp@pfaff:~/debian/autoconf/hello-1.3(0)$ autoheader -W all
>     autoheader2.50: `config.h.in' is created
>     blp@pfaff:~/debian/autoconf/hello-1.3(0)$
> 
> Are any special circumstances involved?  Are you using autoconf
> 2.54-2?

Well...

$ autoheader --version
autoheader (GNU Autoconf) 2.53a
$ zcat /usr/share/doc/autoconf/changelog.Debian.gz |head -1
autoconf (2.54-2) unstable; urgency=low

Here's the whole script, excluding comment lines:

trap 'rm -f aclocal.m4 ; exit 0' 0 1 2 3 13 15

msgac="# DO NOT EDIT: automatically built by dist/s_config."

. ./RELEASE

echo "Building aclocal.m4"
(echo "$msgac" &&
 echo "AC_DEFUN(AM_VERSION_SET, [" &&
 echo "AC_SUBST(DB_VERSION_MAJOR)" &&
 echo "DB_VERSION_MAJOR=$DB_VERSION_MAJOR" &&
 echo "AC_SUBST(DB_VERSION_MINOR)" &&
 echo "DB_VERSION_MINOR=$DB_VERSION_MINOR" &&
 echo "AC_SUBST(DB_VERSION_PATCH)" &&
 echo "DB_VERSION_PATCH=$DB_VERSION_PATCH" &&
 echo "AC_SUBST(DB_VERSION_UNIQUE_NAME)" &&
 echo "DB_VERSION_UNIQUE_NAME=$DB_VERSION_UNIQUE_NAME" &&
 echo "AC_SUBST(DB_VERSION_STRING)" &&
 echo "DB_VERSION_STRING=\"\\\"$DB_VERSION_STRING\\\"\"" &&
 echo "])" &&
 cat aclocal/*.ac aclocal_java/*.ac) > aclocal.m4

echo "Running autoheader to build config.hin"
rm -f config.hin
autoheader -W all > config.hin
chmod 444 config.hin

the 'RELEASE' file is fairly straightforward too:

DB_VERSION_MAJOR=4
DB_VERSION_MINOR=0
DB_VERSION_PATCH=14

DB_VERSION_UNIQUE_NAME=`printf "_%d%03d" $DB_VERSION_MAJOR $DB_VERSION_MINOR`

DB_RELEASE_DATE=`date "+%B %e, %Y"`
DB_VERSION_STRING="Sleepycat Software: Berkeley DB $DB_VERSION_MAJOR.$DB_VERSION
_MINOR.$DB_VERSION_PATCH: ($DB_RELEASE_DATE)"

anything else i can provide?

-- 
Revolutions do not require corporate support.



Reply to: