]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Makefile.in: Update rule to reset zconf.h.cmakein
authorMika Lindqvist <postmaster@raasu.org>
Mon, 13 Feb 2017 16:07:39 +0000 (18:07 +0200)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 13 Feb 2017 20:01:08 +0000 (21:01 +0100)
Makefile.in

index 998a43064410c75244205ff5dac4ab1443ad8340..c50e51263d583665810f3d2819a169d80c44e212 100644 (file)
@@ -289,7 +289,7 @@ distclean: clean
        @if [ -f zconf.h.in ]; then \
        cp -p $(SRCDIR)/zconf.h.in zconf.h ; \
        TEMPFILE=zconfh_$$ ; \
-       echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" >> $$TEMPFILE &&\
+       echo "/#define ZCONF_H/ a\\\n#cmakedefine Z_HAVE_UNISTD_H\\n#cmakedefine Z_HAVE_STDARG_H\n" >> $$TEMPFILE &&\
        sed -f $$TEMPFILE $(SRCDIR)/zconf.h.in > zconf.h.cmakein &&\
        touch -r $(SRCDIR)/zconf.h.in zconf.h.cmakein &&\
        rm $$TEMPFILE ; fi