From: Andre Noll Date: Mon, 4 May 2009 14:23:04 +0000 (+0200) Subject: Kill a bashism in configure.ac. X-Git-Tag: v0.3.4~2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=21a7a8c318357c7df9ce1857366a6cce5868d2b6;p=paraslash.git Kill a bashism in configure.ac. This caused additional quotes when /bin/sh is dash or tcsh which would result in syntax errors during compilation. --- diff --git a/configure.ac b/configure.ac index f783db78..da5ec770 100644 --- a/configure.ac +++ b/configure.ac @@ -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)"