]> git.marmaro.de Git - mmh/blobdiff - sbr/Makefile.in
fixed libtool check, sort of...
[mmh] / sbr / Makefile.in
index 3eba53feabcf9cdaec71f14b1e4a7f603323a304..f77f98870b7072176d6fb95be5c3d1c4e8fed298 100644 (file)
@@ -20,6 +20,7 @@ LORDER = @LORDER@
 TSORT  = @TSORT@
 RANLIB = @RANLIB@
 LIBTOOL = @LIBTOOL@
 TSORT  = @TSORT@
 RANLIB = @RANLIB@
 LIBTOOL = @LIBTOOL@
+GNU_LIBTOOL = @GNU_LIBTOOL@
 
 LIBOBJS = @LIBOBJS@
 
 
 LIBOBJS = @LIBOBJS@
 
@@ -93,8 +94,8 @@ pidstatus.o: sigmsg.h
 
 libmh.a: $(OBJS)
        rm -f $@
 
 libmh.a: $(OBJS)
        rm -f $@
-       if test x$(LIBTOOL) != xno ; then \
-         $(LIBTOOL) -static -c $(OBJS) -o libmh.a  ; \
+       if test x$(LIBTOOL) != xno -a x$(GNU_LIBTOOL) = x ; then \
+         $(LIBTOOL) -static -c -o libmh.a $(OBJS) ; \
        else \
          ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)`  ; \
          $(RANLIB) libmh.a  ; \
        else \
          ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)`  ; \
          $(RANLIB) libmh.a  ; \