]> git.marmaro.de Git - mmh/blobdiff - mts/sendmail/Makefile.in
fixed libtool check, sort of...
[mmh] / mts / sendmail / Makefile.in
index 16b1d7a06cd29e0148170c88ddb7b8154a974ff3..e1748f1f8aec6d70a3c35241f28e4849de0a6aa8 100644 (file)
@@ -25,6 +25,7 @@ LORDER  = @LORDER@
 TSORT   = @TSORT@
 RANLIB  = @RANLIB@
 LIBTOOL = @LIBTOOL@
+GNU_LIBTOOL = @GNU_LIBTOOL@
 
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
@@ -52,7 +53,7 @@ all: libsend.a
 
 libsend.a: $(OBJS)
        rm -f $@
-       if test x$(LIBTOOL) != xno ; then \
+       if test x$(LIBTOOL) != xno -a x$(GNU_LIBTOOL) = x ; then \
          $(LIBTOOL) -static -c $(OBJS) -o $@  ; \
        else \
          ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`  ; \