From a3a341c7eaeaa2f820fd96bd53df63fae11fed5a Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 15 Dec 2006 12:33:43 +0000 Subject: [PATCH] fix autoheader warnings [r8465] --- acconfig.h | 20 -------------------- config.h.in | 26 ++++++++------------------ configure.in | 8 ++++++-- 3 files changed, 14 insertions(+), 40 deletions(-) delete mode 100644 acconfig.h diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index 1ff0e5839..000000000 --- a/acconfig.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Project: libFIRM - * File name: acconfig.h - * Purpose: - * Author: Till Riedel - * Modified by: - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 2002-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. - */ - -/* define to enable debugging stuff. */ -#undef DEBUG_libfirm - -/* Define to disable assertion checking. */ -#undef NDEBUG - -/* Define to value "inline" for gcc inlineing. */ -#undef USE_GCC_INLINE diff --git a/config.h.in b/config.h.in index 429acd097..c671dcdfd 100644 --- a/config.h.in +++ b/config.h.in @@ -1,24 +1,11 @@ /* config.h.in. Generated from configure.in by autoheader. */ -/* - * Project: libFIRM - * File name: acconfig.h - * Purpose: - * Author: Till Riedel - * Modified by: - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 2002-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. - */ - -/* define to enable debugging stuff. */ -#undef DEBUG_libfirm -/* Define to disable assertion checking. */ -#undef NDEBUG -/* Define to value "inline" for gcc inlineing. */ -#undef USE_GCC_INLINE + + + +/* define to enable debugging stuff */ +#undef DEBUG_libfirm /* enable heap analysis */ #undef DO_HEAPANALYSIS @@ -78,6 +65,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to disable assertion checking. */ +#undef NDEBUG + /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT diff --git a/configure.in b/configure.in index df182d177..04532d8a0 100644 --- a/configure.in +++ b/configure.in @@ -28,6 +28,10 @@ ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/net/Makefile i dnl generate the config header file AC_CONFIG_HEADER(config.h) +AH_TOP([ + +]) + AH_BOTTOM([ #ifdef USE_INLINING #define INLINE inline @@ -104,9 +108,9 @@ dnl ------------- AC_ARG_ENABLE(debug, [ --enable-debug enable assertions and additional debugging routines], [if test "$enableval" = yes; then - AC_DEFINE(DEBUG_libfirm) + AC_DEFINE([DEBUG_libfirm], [], [define to enable debugging stuff]) else - AC_DEFINE(NDEBUG) + AC_DEFINE([NDEBUG], [], [Define to disable assertion checking.]) fi]) AC_SUBST(enable_debug_libfirm) -- 2.20.1