From b325846f8d12fc00275863c63a153064b0a2b4fd Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 5 Apr 2020 11:51:30 -0400 Subject: Only set RCS on FreeBSD --- Makefile | 2 +- configure | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ed2dbdd..c2aacd3 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ LDLIBS_litterbox = -ltls BINS = litterbox scoop unscoop MANS = ${BINS:=.1} -RCS = rc.d/litterbox +RCS = -include config.mk diff --git a/configure b/configure index 0b5f212..0cd0bf5 100755 --- a/configure +++ b/configure @@ -14,14 +14,12 @@ case "$(uname)" in CFLAGS += -I${prefix}/include CFLAGS += -D'SQLITE3_BIN="${prefix}/bin/sqlite3"' LDFLAGS += -L${prefix}/lib + RCS = rc.d/litterbox EOF exit ;; (Linux) - cat <<-EOF - CFLAGS += -D_GNU_SOURCE - RCS = - EOF + echo 'CFLAGS += -D_GNU_SOURCE' ;; esac -- cgit 1.4.1