Package: autoconf
Version: 2.59.cvs.2006.05.25-1
Severity: important

If you call AC_PROG_CC and AC_C_BIGENDIAN in a macro, the checks for
unistd.h and some other headers will fail. See attached test case.

Mikael

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (750, 'testing'), (671, 'stable'), (30, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-vserver-k7
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages autoconf depends on:
ii  debianutils                   2.16       Miscellaneous utilities specific t
ii  m4                            1.4.4-1    a macro processing language
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 

Versions of packages autoconf recommends:
ii  automake1.6 [automaken]       1.6.3-12   A tool for generating GNU Standard
ii  automake1.7 [automaken]       1.7.9-7    A tool for generating GNU Standard
ii  automake1.8 [automaken]       1.8.5-3    A tool for generating GNU Standard
ii  automake1.9 [automaken]       1.9.6-4    A tool for generating GNU Standard

-- no debconf information
dnl                                               -*- Autoconf -*-
dnl Process this file with autoconf to produce a configure script.

dnl AC_PREREQ(2.57)

AC_INIT(TEST, 1, [EMAIL PROTECTED])
echo 1

AC_DEFUN([TEST_INIT],[
echo test1
AC_PROG_CC
echo test2
AC_C_BIGENDIAN
echo test3
])

echo 2
TEST_INIT
echo 3
AC_CHECK_HEADER([unistd.h], [], [AC_MSG_ERROR([unistd.h not available?])])

AC_OUTPUT

Reply via email to