From fd924db52da2d3b199d6704254abef82f8965358 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 27 Jun 2007 14:29:31 +0000 Subject: Update --- acinclude.m4 | 34 ++++++++++++++++++++++++++++++++++ build-aux/debug.m4 | 34 ---------------------------------- lib/.cvsignore | 3 +++ po/.cvsignore | 2 +- 4 files changed, 38 insertions(+), 35 deletions(-) create mode 100644 acinclude.m4 delete mode 100644 build-aux/debug.m4 diff --git a/acinclude.m4 b/acinclude.m4 new file mode 100644 index 0000000..840f88b --- /dev/null +++ b/acinclude.m4 @@ -0,0 +1,34 @@ +dnl This file is part of GNU mailutils. +dnl Copyright (C) 2001 Free Software Foundation, Inc. +dnl +dnl This file is free software; as a special exception the author gives +dnl unlimited permission to copy and/or distribute it, with or without +dnl modifications, as long as this notice is preserved. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +dnl +dnl Check for --enable-debug switch. When the switch is specified, add +dnl -ggdb to CFLAGS and remove any optimization options from there. +dnl + +AC_DEFUN([MU_DEBUG_MODE], + [AC_ARG_ENABLE(debug, + [ --enable-debug enable debugging mode], + [if test x"$enableval" = xyes; then + if test x"$GCC" = xyes; then + AC_MSG_CHECKING(whether gcc accepts -ggdb) + save_CFLAGS=$CFLAGS + CFLAGS="-ggdb -Wall" + AC_TRY_COMPILE([],void f(){}, + AC_MSG_RESULT(yes), + [if test x"$ac_cv_prog_cc_g" = xyes; then + CFLAGS="-g -Wall" + else + CFLAGS= + fi + AC_MSG_RESULT(no)]) + CFLAGS="`echo $save_CFLAGS | sed 's/-O[[0-9]]//g'` $CFLAGS" + fi + fi])]) diff --git a/build-aux/debug.m4 b/build-aux/debug.m4 deleted file mode 100644 index 840f88b..0000000 --- a/build-aux/debug.m4 +++ /dev/null @@ -1,34 +0,0 @@ -dnl This file is part of GNU mailutils. -dnl Copyright (C) 2001 Free Software Foundation, Inc. -dnl -dnl This file is free software; as a special exception the author gives -dnl unlimited permission to copy and/or distribute it, with or without -dnl modifications, as long as this notice is preserved. -dnl -dnl This program is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -dnl -dnl Check for --enable-debug switch. When the switch is specified, add -dnl -ggdb to CFLAGS and remove any optimization options from there. -dnl - -AC_DEFUN([MU_DEBUG_MODE], - [AC_ARG_ENABLE(debug, - [ --enable-debug enable debugging mode], - [if test x"$enableval" = xyes; then - if test x"$GCC" = xyes; then - AC_MSG_CHECKING(whether gcc accepts -ggdb) - save_CFLAGS=$CFLAGS - CFLAGS="-ggdb -Wall" - AC_TRY_COMPILE([],void f(){}, - AC_MSG_RESULT(yes), - [if test x"$ac_cv_prog_cc_g" = xyes; then - CFLAGS="-g -Wall" - else - CFLAGS= - fi - AC_MSG_RESULT(no)]) - CFLAGS="`echo $save_CFLAGS | sed 's/-O[[0-9]]//g'` $CFLAGS" - fi - fi])]) diff --git a/lib/.cvsignore b/lib/.cvsignore index d63cbed..077f288 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -28,6 +28,9 @@ error.c error.h exitfail.c exitfail.h +float+.h +float.h +float_.h getopt.c getopt.h getopt1.c diff --git a/po/.cvsignore b/po/.cvsignore index cbe96ad..4c7a183 100644 --- a/po/.cvsignore +++ b/po/.cvsignore @@ -1,7 +1,7 @@ -LINGUAS *.gmo *.mo *.po +LINGUAS Makefile Makefile.in Makefile.in.in -- cgit v1.2.1