bug-automake
[Top][All Lists]
Advanced

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

.def-files in EXTRA_*_SOURCES


From: Alexey Mahotkin
Subject: .def-files in EXTRA_*_SOURCES
Date: Fri, 8 Jun 2001 12:18:57 +0400 (MSD)

Hello,

I've had the line 

        EXTRA_libscheme_cli_la_SOURCES=scheme-cli-auto.c cli-consts.def

in my Makefile.am

When running automake-1.4f I get:

david:~/scheme-extensions$ ~/local/bin/automake
Use of uninitialized value in string eq at /big/alexm/local/bin/automake line 
5192.
Use of uninitialized value in hash element at /big/alexm/local/bin/automake 
line 1751.

Looking at line 1751 it could be seen:

        my $lang = $languages{$extension_map{$extension}};

'$extension_map{$extension}' gets undefined value when '$extension' is
unknown (.def in my case).  Second error is induced by this one.

I've moved .def-files (which are #included from .c file) to
EXTRA_DIST, and it works fine now, but the diagnostics should be more
proper.


It would be great if you keep me in Cc: list when discussing this
problem.

Thanks, 

--alexm



reply via email to

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