Easing OpenBSD build

Addedd macro AM_PROG_CC_C_O in configure.ac, needed to have autogen.sh
manage the error:

    C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'

Modified case instance in example/ndpi_util.c, since DLT_LINUX_SLL
isn't defined in OpenBSD pcap.h.
This commit is contained in:
Numeronove
2017-02-11 11:04:59 +01:00
parent b161a6d7f7
commit ffbe5d1e22
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects])
LT_INIT
AC_PROG_CC
AM_PROG_CC_C_O
AX_PTHREAD
if test -d ".git"; then :