URL:
  <http://savannah.gnu.org/bugs/?18312>

                 Summary: $(eval) within conditionals causes make to stop
with syntax error
                 Project: make
            Submitted by: None
            Submitted on: Wednesday 11/15/2006 at 20:45 UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
       Component Version: 3.80
        Operating System: POSIX-Based
           Fixed Release: None

    _______________________________________________________

Details:

If a $(eval) is within a conditional, then make fails and
states that endif is missing:

#
# Demonstrates that $(eval) fails within conditionals
#

ifeq "x" "x"
$(eval y=3)
endif

when running make with the above being the content of Makefile,
this is what happens:

[EMAIL PROTECTED]:~> make
Makefile:6: *** missing `endif'.  Stop.
[EMAIL PROTECTED]:~> 







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18312>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to