From: David Levine Date: Fri, 13 Dec 2013 02:15:14 +0000 (-0600) Subject: Minor changes to configure.ac: X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a3d324ced885fef99347c9dbbb945f0bb98137fe Minor changes to configure.ac: 1) Replaced direct manipulation of NDEBUG with AC_HEADER_ASSERT. 2) Removed unnecessary level of quoting around LFLAGS assignments. --- diff --git a/configure.ac b/configure.ac index 02c0a141..19f89ed4 100644 --- a/configure.ac +++ b/configure.ac @@ -158,8 +158,6 @@ if test -n "$auto_cflags"; then else test -z "$CFLAGS" && CFLAGS=-O || CFLAGS="$CFLAGS -O" fi - AC_DEFINE([NDEBUG], [1], - [Define to disable run-time debugging and asserts.]) fi fi @@ -191,6 +189,8 @@ else fi fi +AC_HEADER_ASSERT + dnl ------------------ dnl CHECK FOR PROGRAMS dnl ------------------ @@ -585,10 +585,10 @@ dnl 2.5.35-37 that cause signed/unsigned mismatch, dnl http://sourceforge.net/p/flex/bugs/140/ AS_IF([test "$LEX" = flex], [AS_CASE([`$LEX -V`], - [flex\ 2.5.35], [[LFLAGS=\ -'; printf "%s\n" '\''1,$$s/(size_t) \(num_to_read\)/\1/'\'' w q | ed -s $@']], - [flex\ 2.5.3@<:@67@:>@], [[LFLAGS=\ -'; printf "%s\n" '\''1,$$s/\( \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@']]) + [flex\ 2.5.35], [LFLAGS=\ +'; printf "%s\n" '\''1,$$s/(size_t) \(num_to_read\)/\1/'\'' w q | ed -s $@'], + [flex\ 2.5.3@<:@67@:>@], [LFLAGS=\ +'; printf "%s\n" '\''1,$$s/\( \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@']) AC_SUBST([LFLAGS])]) dnl --------------