From 59557e3c467d8c514700fe1b7bdfa3d4e472317c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Aug 2016 14:40:41 -0400 Subject: Use consistent feature test macros --- tests/empty.ingen/graph.ttl | 47 --------------------------------------------- tests/empty.ingen/main.ttl | 47 +++++++++++++++++++++++++++++++++++++++++++++ wscript | 4 ++-- 3 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 tests/empty.ingen/graph.ttl create mode 100644 tests/empty.ingen/main.ttl diff --git a/tests/empty.ingen/graph.ttl b/tests/empty.ingen/graph.ttl deleted file mode 100644 index 3f8c8ed5..00000000 --- a/tests/empty.ingen/graph.ttl +++ /dev/null @@ -1,47 +0,0 @@ -@prefix atom: . -@prefix doap: . -@prefix ingen: . -@prefix lv2: . -@prefix midi: . -@prefix owl: . -@prefix patch: . -@prefix rdf: . -@prefix rdfs: . -@prefix xsd: . - - - ingen:canvasX 32.0 ; - ingen:canvasY 32.0 ; - ingen:polyphonic false ; - atom:bufferType atom:Sequence ; - 4096 ; - lv2:index 0 ; - lv2:name "Control" ; - lv2:portProperty lv2:connectionOptional ; - lv2:symbol "control_in" ; - a atom:AtomPort , - lv2:InputPort . - - - ingen:canvasX 128.0 ; - ingen:canvasY 32.0 ; - ingen:polyphonic false ; - atom:bufferType atom:Sequence ; - 4096 ; - lv2:index 1 ; - lv2:name "Control" ; - lv2:portProperty lv2:connectionOptional ; - lv2:symbol "control_out" ; - a atom:AtomPort , - lv2:OutputPort . - -<> - ingen:polyphony 1 ; - ingen:GraphUIGtk2 ; - lv2:extensionData ; - lv2:port , - ; - lv2:symbol "empty" ; - doap:name "empty" ; - a ingen:Graph , - lv2:Plugin . diff --git a/tests/empty.ingen/main.ttl b/tests/empty.ingen/main.ttl new file mode 100644 index 00000000..3f8c8ed5 --- /dev/null +++ b/tests/empty.ingen/main.ttl @@ -0,0 +1,47 @@ +@prefix atom: . +@prefix doap: . +@prefix ingen: . +@prefix lv2: . +@prefix midi: . +@prefix owl: . +@prefix patch: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . + + + ingen:canvasX 32.0 ; + ingen:canvasY 32.0 ; + ingen:polyphonic false ; + atom:bufferType atom:Sequence ; + 4096 ; + lv2:index 0 ; + lv2:name "Control" ; + lv2:portProperty lv2:connectionOptional ; + lv2:symbol "control_in" ; + a atom:AtomPort , + lv2:InputPort . + + + ingen:canvasX 128.0 ; + ingen:canvasY 32.0 ; + ingen:polyphonic false ; + atom:bufferType atom:Sequence ; + 4096 ; + lv2:index 1 ; + lv2:name "Control" ; + lv2:portProperty lv2:connectionOptional ; + lv2:symbol "control_out" ; + a atom:AtomPort , + lv2:OutputPort . + +<> + ingen:polyphony 1 ; + ingen:GraphUIGtk2 ; + lv2:extensionData ; + lv2:port , + ; + lv2:symbol "empty" ; + doap:name "empty" ; + a ingen:Graph , + lv2:Plugin . diff --git a/wscript b/wscript index 20a2037d..811465f7 100644 --- a/wscript +++ b/wscript @@ -81,14 +81,14 @@ def configure(conf): atleast_version='0.12.0', mandatory=False) conf.check(function_name = 'posix_memalign', - defines = '_POSIX_SOURCE=1', + defines = '_POSIX_C_SOURCE=200809L', header_name = 'stdlib.h', define_name = 'HAVE_POSIX_MEMALIGN', mandatory = False) conf.check(function_name = 'isatty', header_name = 'unistd.h', - defines = '_POSIX_SOURCE=1', + defines = '_POSIX_C_SOURCE=200809L', define_name = 'HAVE_ISATTY', mandatory = False) -- cgit v1.2.1