]> git.saurik.com Git - apt.git/blobdiff - buildlib/makefile.in
More portability thingies
[apt.git] / buildlib / makefile.in
index 4eb64606c800704773d543612ccdc4e1edb6535b..fbad1ab07ddfeed22882ca4c75a350936990c5cd 100644 (file)
@@ -34,8 +34,6 @@ dirs:
        @rm -f include/sys
 ifneq ($(words $(MISSING_DIRS)),0)
        @mkdir  $(MISSING_DIRS)
-else
-       @echo > /dev/null
 endif  
 ifeq ($(HAVE_C9X),yes)
        @rm -f include/inttypes.h > /dev/null 2>&1
@@ -48,3 +46,8 @@ else
        @cp -p $(SRCDIR)/buildlib/statvfs.h.in include/statvfs.h
        ln -sf . include/sys
 endif
+ifeq ($(NEED_SOCKLEN_T_DEFINE),yes)
+       @cp -p $(SRCDIR)/buildlib/netdb.h.in include/netdb.h
+else
+       @rm -f include/netdb.h > /dev/null 2>&1
+endif