autoconf
[Top][All Lists]
Advanced

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

[Adam Heath <address@hidden>] Bug#98991: AC_COPYRIGHT when used in acloc


From: Ben Pfaff
Subject: [Adam Heath <address@hidden>] Bug#98991: AC_COPYRIGHT when used in aclocal.m4 generates incorrect shell code
Date: 28 May 2001 11:01:02 -0400
User-agent: Chaos/1.13.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)

The following bug was reported against the Debian GNU/Linux
package for Autoconf version 2.50.  I reproduced it and didn't
see any obvious mistakes in the syntax, so I'm passing it on
upstream.

Thanks,

Ben.

----------------------------------------------------------------------
Subject: Bug#98991: AC_COPYRIGHT when used in aclocal.m4 generates incorrect 
shell code
Reply-To: Adam Heath <address@hidden>, address@hidden
Date: Sun, 27 May 2001 14:26:39 -0500 (CDT)
From: Adam Heath <address@hidden>
To: <address@hidden>
Message-ID: <address@hidden>

package: autoconf
version: 2.50

--
: aclocal.m4
AC_COPYRIGHT(my copyright)
: configure.in
AC_PREREQ(2.50)
AC_INIT(dummy)
: dummy
# empty file
--
bash-2.05$ autoconf2.50
bash-2.05$ ./configure --version
./configure: my: command not found

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
--

>From the generated configure script:
--
..
my copyright
if $ac_init_version; then
  cat <<\EOF

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
EOF
..
--

If I have AC_COPYRIGHT in configure.in, then it works correctly.  However, if
it is part of aclocal.m4(I run aclocal -I foodir), then it fails.  This goes
against the reason for the macro, as I may include some macro file, from
another source, that has some kind of copyright, but it won't be included
correctly into the configure script.
----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]