bug-make
[Top][All Lists]
Advanced

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

[bug #18312] $(eval) within conditionals causes make to stop with syntax


From: anonymous
Subject: [bug #18312] $(eval) within conditionals causes make to stop with syntax error
Date: Wed, 15 Nov 2006 20:45:38 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux x86_64; en) Opera 8.02

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:

address@hidden:~> make
Makefile:6: *** missing `endif'.  Stop.
address@hidden:~> 







    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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