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 <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Date: Sun, 27 May 2001 14:26:39 -0500 (CDT) From: Adam Heath <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Message-ID: <Pine.LNX.4.33.0105271423200.23020-100000@localhost> 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. ----------------------------------------------------------------------