diff --git a/examples/Makefile.am b/examples/Makefile.am index a3162a0..a366db8 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,5 @@ noinst_PROGRAMS = testit cli excallback LDADD = $(top_builddir)/src/libeditline.la +AM_CPPFLAGS = -DEDITLINE_LIBRARY AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include AM_LDFLAGS = -static diff --git a/examples/excallback.c b/examples/excallback.c index a2d24af..4053246 100644 --- a/examples/excallback.c +++ b/examples/excallback.c @@ -50,8 +50,8 @@ Jeff #include /* xxx - should make this more general */ -#ifdef READLINE_LIBRARY -# include "readline.h" +#ifdef EDITLINE_LIBRARY +# include "editline.h" #else # include #endif