X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.in;h=be9a55c8c3bf5a9d748f2e599e2ce725d34d238c;hb=be51a0b47ec4edacc689851a88ec6172737cb61c;hp=3a9b985c3d857e5a901340085ab02e6b96931d19;hpb=749b004e4bb5830a6246a30ebe0a158e448327c5;p=debian%2Fcpmtools diff --git a/configure.in b/configure.in index 3a9b985..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.13 -UPDATED='March 30, 2010' +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.