fixed libtool check, sort of...
[mmh] / mts / sendmail / Makefile.in
index 16b1d7a..e1748f1 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)`  ; \