]> git.wh0rd.org - fontconfig.git/commit
Use of ":=" in src/Makefile.am is unportable (bug 14420)
authorKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:07:35 +0000 (20:07 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:07:35 +0000 (20:07 -0700)
commit3322ca855330631e0d849e6beca0c2d82390898f
tree7303d95a4d869942580700635b42b84514fd7bce
parentdf8ceebdbe735226bef602614921d517321c690f
Use of ":=" in src/Makefile.am is unportable (bug 14420)

Building 2.5.91 on Solaris with the native make(1) yields

...
Making all in src
make: Fatal error in reader: Makefile, line 313: Unexpected end of line seen
Current working directory /tmp/fontconfig-2.5.91/src
*** Error code 1

This is due to the following line (src/Makefile.am:143):

    CLEANFILES := $(ALIAS_FILES)

Changing that to a standard assignment ("=") fixes the problem.

I believe the ":=" is a typo. ALIAS_FILES is just a statically assigned
variable; it's not like evaluating it more than once would be a problem.
src/Makefile.am