summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-05-03 18:06:18 +0200
committerBruno Haible <bruno@clisp.org>2009-05-03 18:06:18 +0200
commit11345811bcee233281465666f3dcf01b74771388 (patch)
tree91c9a3dc375f06fd4db80c993a2bd9dc426a03cc /lib
parentb52b35c6e45126656ab63d2b1f002aeccb0a00bd (diff)
downloadlibunistring-11345811bcee233281465666f3dcf01b74771388.tar.gz
Echo the commands that are being executed.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am51
1 files changed, 27 insertions, 24 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 9081bc1..0e07e6b 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -204,30 +204,33 @@ config.h: $(BUILT_SOURCES) libunistring.sym
} > config.h && \
if test -n "$(NAMESPACING)" && test -n "$(HAVE_GLOBAL_SYMBOL_PIPE)"; then \
{ \
- for f in $(libunistring_la_SOURCES) $(libunistring_la_LIBADD); do \
- case $$f in \
- *.res.lo ) ;; \
- *.c | *.$(OBJEXT) | *.lo ) \
- sf=`echo "$$f" | sed -e 's,\\.[^.]*$$,,'`.c; \
- test -f $$sf || sf=$(srcdir)/$$sf; \
- of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \
- $(COMPILE) -c $$sf || { rm -f config.h; exit 1; }; \
- sh ./exported.sh $$of 1>&5; \
- rm -f $$of `echo "$$of" | sed -e 's,\\.$(OBJEXT)$$,.lo,'`; \
- ;; \
- esac; \
- done; \
- } 5>&1 \
- | sed -e 's,.* ,,' | LC_ALL=C sort | LC_ALL=C uniq \
- | { \
- if test -f libunistring.sym; then \
- symfile='libunistring.sym'; \
- else \
- symfile='$(srcdir)/libunistring.sym'; \
- fi; \
- LC_ALL=C join -v 1 - $$symfile; \
- } \
- | sed -e 's,^\(.*\)$$,#define \1 libunistring_\1,' > config.h-t && \
+ { \
+ for f in $(libunistring_la_SOURCES) $(libunistring_la_LIBADD); do \
+ case $$f in \
+ *.res.lo ) ;; \
+ *.c | *.$(OBJEXT) | *.lo ) \
+ sf=`echo "$$f" | sed -e 's,\\.[^.]*$$,,'`.c; \
+ test -f $$sf || sf=$(srcdir)/$$sf; \
+ of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \
+ echo "$(COMPILE) -c $$sf" 1>&6; \
+ $(COMPILE) -c $$sf || { rm -f config.h; exit 1; }; \
+ sh ./exported.sh $$of 1>&5; \
+ rm -f $$of `echo "$$of" | sed -e 's,\\.$(OBJEXT)$$,.lo,'`; \
+ ;; \
+ esac; \
+ done; \
+ } 5>&1 \
+ | sed -e 's,.* ,,' | LC_ALL=C sort | LC_ALL=C uniq \
+ | { \
+ if test -f libunistring.sym; then \
+ symfile='libunistring.sym'; \
+ else \
+ symfile='$(srcdir)/libunistring.sym'; \
+ fi; \
+ LC_ALL=C join -v 1 - $$symfile; \
+ } \
+ | sed -e 's,^\(.*\)$$,#define \1 libunistring_\1,' > config.h-t; \
+ } 6>&1 && \
if test -f config.h; then \
cat config.h-t >> config.h; \
rm -f config.h-t; \