]> git.tue.mpg.de Git - paraslash.git/commitdiff
Kill a bashism in configure.ac.
authorAndre Noll <maan@systemlinux.org>
Mon, 4 May 2009 14:23:04 +0000 (16:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 4 May 2009 14:23:04 +0000 (16:23 +0200)
This caused additional quotes when /bin/sh is dash or tcsh which would result
in syntax errors during compilation.

configure.ac

index f783db789781bfc5e40fc48699c8d670fc0d99e3..da5ec770802ec1a0fa0410141b3d96f8017440d0 100644 (file)
@@ -684,7 +684,7 @@ AC_DEFINE_UNQUOTED(FILTER_ENUM, $enum NUM_SUPPORTED_FILTERS,
        enum of supported filters)
 inits="$(for i in $filters; do printf 'extern void '$i'_filter_init(struct filter *f); '; done)"
 AC_DEFINE_UNQUOTED(DECLARE_FILTER_INITS, $inits, init functions of the supported filters)
-array="$(for i in $filters; do printf '{.name = \"'$i'\", .init = '$i'_filter_init},'; done)"
+array="$(for i in $filters; do printf '{.name = "'$i'", .init = '$i'_filter_init},'; done)"
 AC_DEFINE_UNQUOTED(FILTER_ARRAY, $array, array of supported filters)
 
 enum="$(for i in $writers; do printf "${i}_WRITE, " | tr '[a-z]' '[A-Z]'; done)"