Backward compatible XPATH via symbols, not macros

This commit is contained in:
Olof hagsand 2018-07-20 10:51:12 +02:00
parent c71791f168
commit 226c59f25a
10 changed files with 114 additions and 164 deletions

View file

@ -61,7 +61,7 @@ LIBS = @LIBS@
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I. @INCLUDES@ -I$(top_srcdir)/lib/clixon -I$(top_srcdir)/include -I$(top_srcdir)
INCLUDES = -I. @INCLUDES@ -I$(top_srcdir)/lib -I$(top_srcdir)/include -I$(top_srcdir)
MYLIB = ../lib/src/libclixon$(SH_SUFFIX).$(CLIXON_MAJOR).$(CLIXON_MINOR)

View file

@ -56,7 +56,7 @@
#include <cligen/cligen.h>
/* clixon */
#include <clixon/clixon.h>
#include "clixon/clixon.h"
/*
* Turn this on to get a json parse and pretty print test program

View file

@ -54,7 +54,7 @@
#include <cligen/cligen.h>
/* clixon */
#include <clixon/clixon.h>
#include "clixon/clixon.h"
/*
* Turn this on to get a xml parse and pretty print test program

View file

@ -62,7 +62,7 @@ echo "a\n<a><b/></a>" | xpath
#include <cligen/cligen.h>
/* clixon */
#include <clixon/clixon.h>
#include "clixon/clixon.h"
static int
usage(char *argv0)

View file

@ -58,7 +58,7 @@
#include <cligen/cligen.h>
/* clixon */
#include <clixon/clixon.h>
#include "clixon/clixon.h"
/*
*/