HOMEPAGE = "http://www.oberhumer.com/opensource/ucl/"
SUMMARY = "Data compression library"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e"

SRC_URI = " \
    http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz \
    file://0001-configure.ac-Fix-with-current-autoconf.patch \
    file://0002-acinclude.m4-Provide-missing-macros.patch"

SRC_URI[md5sum] = "852bd691d8abc75b52053465846fba34"
SRC_URI[sha256sum] = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348"

inherit autotools

CFLAGS += "-std=c90"

BBCLASSEXTEND = "native"

HOMEPAGE = "http://www.oberhumer.com/opensource/ucl/"
SUMMARY = "Data compression library"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e"

SRC_URI = " \
    http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz \
    file://0001-configure.ac-Fix-with-current-autoconf.patch \
    file://0002-acinclude.m4-Provide-missing-macros.patch"

SRC_URI[md5sum] = "852bd691d8abc75b52053465846fba34"
SRC_URI[sha256sum] = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348"

inherit autotools

CFLAGS_append = " -std=c90"

BBCLASSEXTEND = "native"

Fix gcc6 ACC conformance test configure error for ucl-native too
ucl: Fix gcc6 ACC conformance test
configure error for ucl-native too

This extends the fix from commit 88cffcce8cd93c909af31454d8fe7577fbf96ab2
to ucl-native too.

This commit fixes(by using the ISO C90 standard) the following ucl-native configure error on gcc6:

| checking whether your compiler passes the ACC conformance test... FAILED
| configure:
| configure: Your compiler failed the ACC conformance test - for details see
| configure: `config.log'. Please check that log file and consider sending
| configure: a patch or bug-report to <markus@oberhumer.com>.
| configure: Thanks for your support.
| configure:
| configure: error: ACC conformance test failed. Stop.

Change-type: patch
Changelog-entry: Fix ucl-native ACC conformance test configure error on gcc6
Signed-off-by: Florin Sarbu <3a837a37a2ac9072a088641ec330e0e5d5b86f4e@resin.io>
