|
From: Peter K. <pk...@us...> - 2001-03-09 16:20:11
|
The following file was modified in apps/bluetooth/userstack: Name Old version New version Comment ---- ----------- ----------- ------- Makefile 1.15 1.16=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Support for compiling without readline (by Matthias Fuchs). The diff of the modified file(s): --- Makefile 2001/02/28 19:29:43 1.15 +++ Makefile 2001/03/09 16:22:00 1.16 @@ -7,6 +7,13 @@ =20 PROGS =3D btduser =20 +# Define HAVE_READLINE_READLINE if you have readline support, with the inc= lude +# files in $(include_dir)/readline. Define HAVE_READLINE if you have the +# include files in $(include_dir). Define neither if you do not want to use +# readline. +HAVE_READLINE_READLINE =3D 1 +#HAVE_READLINE =3D 1 + ifdef ELINUXDIR # works for now... # In elinux tree... srcdir =3D $(ELINUXDIR)/drivers/char/bluetooth @@ -24,7 +31,15 @@ LDLIBS +=3D -lutil=20 endif =20 +ifdef HAVE_READLINE_READLINE LDLIBS +=3D -lreadline -ltermcap +CFLAGS +=3D -DHAVE_READLINE_READLINE +endif + +ifdef HAVE_READLINE +LDLIBS +=3D -lreadline -ltermcap +CFLAGS +=3D -DHAVE_READLINE +endif =20 INSTDIR =3D $(prefix)/bin INSTMODE =3D 0755 |