]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
build: Rename DEBUG_CPPFLAGS to STRICT_CFLAGS.
[paraslash.git] / configure.ac
index 37f2fbc6135d92d532570a0edfc0c1d8503cfe08..e4010bdeb0800dbea6ac63e073264666ad0f249e 100644 (file)
@@ -4,7 +4,7 @@
 AC_PREREQ([2.61])
 
 AC_INIT([paraslash],[git],[maan@tuebingen.mpg.de])
-AC_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
 
 AC_CONFIG_FILES([Makefile])
 AC_DEFUN([add_dot_o],[$(for i in $@; do printf "$i.o "; done)])
@@ -1541,9 +1541,8 @@ done
 # use echo to replace newlines by space
 AC_SUBST(object_executable_matrix, $(echo $object_executable_matrix))
 
-for obj in $all_errlist_objs; do
-       SS="$SS SS_$(echo $obj | tr 'a-z' 'A-Z'),"
-done
+SS=$(for obj in $all_errlist_objs; do
+       printf '%s' " SS_$obj,"; done | tr 'a-z' 'A-Z')
 AC_DEFINE_UNQUOTED(DEFINE_ERRLIST_OBJECT_ENUM,
        [enum {$SS NUM_SS}],
        [list of all objects that use the paraslash error facility]