summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-19 00:56:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:44 -0500
commita03627afadcb2f391a9a482c6d1efbfdb48e9b53 (patch)
tree04678cfd38ea649c65cec87b576bf885c03ef655 /source3
parent4d451bd2139d4ffbb274355e7f6f275be5b5d0eb (diff)
downloadsamba-a03627afadcb2f391a9a482c6d1efbfdb48e9b53.tar.gz
samba-a03627afadcb2f391a9a482c6d1efbfdb48e9b53.tar.bz2
samba-a03627afadcb2f391a9a482c6d1efbfdb48e9b53.zip
r18662: print out the failing command for dynconfig.o too
metze (This used to be commit f51a200f6730c6c760348adc12612587b1e79df9)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index cd7f32fd61..c318a394de 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -925,7 +925,10 @@ pch: proto_exists
dynconfig.o: dynconfig.c Makefile
@echo Compiling $*.c
- @$(CC) $(FLAGS) $(PATH_FLAGS) @PIE_CFLAGS@ -c $(srcdir)/dynconfig.c -o $@
+ @$(CC) $(FLAGS) $(PATH_FLAGS) @PIE_CFLAGS@ -c $(srcdir)/dynconfig.c -o $@ && exit 0;\
+ echo "The following command failed:" 1>&2;\
+ echo "$(CC) $(FLAGS) $(PATH_FLAGS) @PIE_CFLAGS@ -c $(srcdir)/dynconfig.c -o $@" 1>&2;\
+ $(CC) $(FLAGS) $(PATH_FLAGS) @PIE_CFLAGS@ -c $(srcdir)/dynconfig.c -o $@ >/dev/null 2>&1
dynconfig.@PICSUFFIX@: dynconfig.c Makefile
@if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \