bug-autoconf
[Top][All Lists]
Advanced

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

DIST_COMMON list bug?


From: Wojciech Polak
Subject: DIST_COMMON list bug?
Date: Fri, 5 Jul 2002 11:50:56 +0200

Hello!

My name is Wojciech Polak, and I'm using the GNU Autoconf 2.53
and GNU Automake 1.6.2, and I think I have found a bug,
but I don't know exactly is it a bug in Autoconf or Automake?
So I apologize that I'm sending this email to the both bug lists.
My problem is that I'm using the AC_LIBOBJ function to add
an extra getopt1.c and getopt.c files to the compilation
of my project. Here is the code:

AC_CHECK_FUNCS(getopt_long,, [AC_LIBOBJ(getopt) AC_LIBOBJ(getopt1)])

But when I type 'make dist' to produce a tarball, then NO getopt1.c
file is added to the tarball, but only the getopt.c (!),
so I had to add an extra line in the Makefile.am to add those files:
EXTRA_DIST = getopt1.c getopt.c getopt.h

I think it is a bug, right? Because there is a line:
DEP_FILES = $(DEPDIR)/getopt.Po
but there is no a proper line for the getopt1.c file.
Moreover I have found the following line in the Makefile:

DIST_COMMON = Makefile.am Makefile.in config.h.in getopt.c

Do you see that? There is NO getopt1.c file!
I think this bug ignores the second AC_LIBOBJ in
the AC_CHECK_FUNCS - that's all.
I hope you'll fix it in the next releases, so I could
be able to remove the EXTRA_DIST from Makefile.am.
I look forward to hearing from you.

Kind regards,
Wojciech Polak





reply via email to

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