X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=configure.in;h=d75364f6e0b272a110f7e25b0e8a029efb2b05c1;hb=47ca9ac04785f2d48d28886cbc4e2802b19dd9cf;hp=f5d609775af8486bb6a49332acd68b33912f165f;hpb=b1b41dce461ab21ae9a2bd26d7a00a381a5f81f8;p=pkg%2Fabook.git diff --git a/configure.in b/configure.in index f5d6097..d75364f 100644 --- a/configure.in +++ b/configure.in @@ -1,12 +1,9 @@ dnl abook configure.in AC_INIT(abook.c) -AM_INIT_AUTOMAKE(abook, 0.5.2pre) +AM_INIT_AUTOMAKE(abook, 0.5.4) AM_CONFIG_HEADER(config.h) -dnl AC_DEFINE(HAVE_STDARG_H, 0, [Define if you have the header file.]) -dnl AC_DEFINE(HAVE_NCURSES_H, 0, [Define if you have the header file.]) - AC_CANONICAL_HOST AC_PROG_CC @@ -18,7 +15,7 @@ fi AC_C_INLINE AC_PROG_INSTALL AC_HEADER_STDC -AC_CHECK_HEADERS(unistd.h locale.h termios.h linux/termios.h sys/ioctl.h) +AC_CHECK_HEADERS(unistd.h locale.h termios.h sys/ioctl.h) AC_CHECK_HEADER(stdarg.h,AC_DEFINE(HAVE_STDARG_H, 1, [Define if you have the header file.]),AC_MSG_ERROR([*** stdarg.h is missing on your system ***])) AC_FUNC_STRCOLL AC_CHECK_FUNCS(setlocale) @@ -111,7 +108,7 @@ AC_ARG_ENABLE(debug, [ --enable-debug Enable debugging support ], [cas esac], [debug=false]) if test x$debug = xtrue; then - CPPFLAGS="-DDEBUG $CPPFLAGS" + CPPFLAGS="-DDEBUG=1 $CPPFLAGS" CFLAGS="-g $CFLAGS" fi