diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-05 00:17:57 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-05 00:17:57 +0000 |
commit | 0bffff19302a28a2162c55f8d44ad8d28815c03f (patch) | |
tree | 229774e2856bec8898d631a6927ef4a45d06a392 /editline/Makefile.in | |
parent | aeaf9f4cc6e5a8e264a68e2fc7f7ccbdb86c9969 (diff) |
correct cygwin detection (issue #5328)
handle parallel make better (issue #5328)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'editline/Makefile.in')
-rwxr-xr-x | editline/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editline/Makefile.in b/editline/Makefile.in index c4e569515..805642281 100755 --- a/editline/Makefile.in +++ b/editline/Makefile.in @@ -3,9 +3,8 @@ # OSTYPE=$(shell uname -s) -cygx="$(shell uname -s | sed -e c\cygwin | tr [:upper:] [:lower:])" define cyg_subst_sys - if [ $(cygx) = "cygwin" ]; then \ + if uname -s | grep -qi cygwin; then \ cat $@ | sed -e s/"sys\.h"/"config.h"/g > $@.copy; \ mv --force $@.copy $@; \ fi @@ -230,3 +229,5 @@ editline.c : $(ACSRCS) $(BCSRCS) $(AGCSRCS) .c.o_s : $(AGHDRS) $(BGHDRS) $(CC) -c $(S_CFLAGS) $(CFLAGS) $(CPPFLAGS) $< -o $@ + +$(CCSRCS) : $(BGHDRS) |