Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 265a2e42 authored by deuce's avatar deuce

Include test for HAS_INTTYPES_H

parent 1300d8ae
...@@ -73,6 +73,10 @@ ifeq ($(OS),Darwin) ...@@ -73,6 +73,10 @@ ifeq ($(OS),Darwin)
else else
LDFLAGS += $(CFLAGS) -shared LDFLAGS += $(CFLAGS) -shared
endif endif
ifeq ($(shell if [ -f /usr/include/inttypes.h ] ; then echo YES ; fi),YES)
CFLAGS += -DHAS_INTTYPES_H
endif
# /MTd /Zi - for debug # /MTd /Zi - for debug
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
......
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment