Mercurial > hg > octave-kai > gnulib-hg
comparison modules/alloca-opt @ 14700:6758fa38915e topic/libposix
manual merge
author | Bruce Korb <bkorb@gnu.org> |
---|---|
date | Fri, 06 May 2011 08:15:59 -0700 |
parents | 8636d98120a9 662ae53d8d37 |
children |
comparison
equal
deleted
inserted
replaced
14520:04ce36b456cc | 14700:6758fa38915e |
---|---|
18 | 18 |
19 BUILT_SOURCES += $(ALLOCA_H) | 19 BUILT_SOURCES += $(ALLOCA_H) |
20 | 20 |
21 # We need the following in order to create <alloca.h> when the system | 21 # We need the following in order to create <alloca.h> when the system |
22 # doesn't have one that works with the given compiler. | 22 # doesn't have one that works with the given compiler. |
23 alloca.h: alloca.in.h | 23 if GL_GENERATE_ALLOCA_H |
24 alloca.h: alloca.in.h $(top_builddir)/config.status | |
24 $(AM_V_GEN)rm -f $@-t $@ && \ | 25 $(AM_V_GEN)rm -f $@-t $@ && \ |
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | 26 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
26 cat $(srcdir)/alloca.in.h; \ | 27 cat $(srcdir)/alloca.in.h; \ |
27 } > $@-t && \ | 28 } > $@-t && \ |
28 mv -f $@-t $@ | 29 mv -f $@-t $@ |
30 else | |
31 alloca.h: $(top_builddir)/config.status | |
32 rm -f $@ | |
33 endif | |
29 MOSTLYCLEANFILES += alloca.h alloca.h-t | 34 MOSTLYCLEANFILES += alloca.h alloca.h-t |
30 | 35 |
31 Include: | 36 Include: |
32 <alloca.h> | 37 <alloca.h> |
33 | 38 |