]> diplodocus.org Git - nmh/blobdiff - mts/sendmail/Makefile.in
APOP support: If APOP is enabled, build it into inc and msgchk
[nmh] / mts / sendmail / Makefile.in
index 16b1d7a06cd29e0148170c88ddb7b8154a974ff3..f812a2c52e14fe72a6204b0072fa6f5b5cf6ca68 100644 (file)
@@ -25,6 +25,7 @@ LORDER  = @LORDER@
 TSORT   = @TSORT@
 RANLIB  = @RANLIB@
 LIBTOOL = @LIBTOOL@
 TSORT   = @TSORT@
 RANLIB  = @RANLIB@
 LIBTOOL = @LIBTOOL@
+GNU_LIBTOOL = @GNU_LIBTOOL@
 
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
 
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
@@ -52,7 +53,7 @@ all: libsend.a
 
 libsend.a: $(OBJS)
        rm -f $@
 
 libsend.a: $(OBJS)
        rm -f $@
-       if test x$(LIBTOOL) != xno ; then \
+       if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
          $(LIBTOOL) -static -c $(OBJS) -o $@  ; \
        else \
          ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`  ; \
          $(LIBTOOL) -static -c $(OBJS) -o $@  ; \
        else \
          ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`  ; \