X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.in;h=be9a55c8c3bf5a9d748f2e599e2ce725d34d238c;hb=b1e873c5b2f6376bb39ff0fda1464cbbacbae5f7;hp=f0bff7a312a60d01f17e2b03a1195962679ff0f2;hpb=669a947da532682fcdb01a4fcbb0d9418206bcd0;p=debian%2Fcpmtools diff --git a/configure.in b/configure.in index f0bff7a..be9a55c 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ AC_INIT(cpmfs.c) AC_CONFIG_HEADER(config.h) AC_CANONICAL_HOST -VERSION=2.12 -UPDATED='December 20, 2009' +VERSION=2.20 +UPDATED='October 25, 2014' DEVICE="posix" @@ -23,7 +23,7 @@ AC_PROG_CPP if test "$GCC" = yes then - CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common" + CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common" LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g" else CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" @@ -65,6 +65,10 @@ dnl Try both curses and ncurses AC_CHECK_LIB(curses, printw, FSED_CPM=fsed.cpm LIBS="-lcurses $LIBS", FSED_CPM=) if test x"$FSED_CPM" = x""; then AC_CHECK_LIB(ncurses, printw, FSED_CPM=fsed.cpm LIBS="-lncurses $LIBS", FSED_CPM=) + if test x"$FSED_CPM" != x""; then + AC_DEFINE(NEED_NCURSES) + AC_CHECK_HEADERS(ncurses/ncurses.h,have_ncurses_ncurses_h=yes) + fi fi dnl If using libdsk, check it's available.