]> git.tue.mpg.de Git - paraslash.git/commitdiff
Quote the the strings in WRITER_NAME correctly.
authorAndre <maan@p133.(none)>
Tue, 18 Apr 2006 21:45:18 +0000 (23:45 +0200)
committerAndre <maan@p133.(none)>
Tue, 18 Apr 2006 21:45:18 +0000 (23:45 +0200)
That fixes problems on debian.

configure.ac

index 698467893104a2362f43dd36121a8973faff5c1c..5e2d2b9aafb98ed7365acb55c0847015e330a1cb 100644 (file)
@@ -326,7 +326,7 @@ AC_DEFINE_UNQUOTED(INIT_WRITE_ERRLISTS,
 enum="$(for i in $write_writers; do printf "${i}_WRITE, " | tr '[a-z]' '[A-Z]'; done)"
 AC_DEFINE_UNQUOTED(WRITER_ENUM, $enum NUM_SUPPORTED_WRITERS,
        enum of supported writers)
-names="$(for i in $write_writers; do printf '\"'$i'\", ' ; done)"
+names="$(for i in $write_writers; do printf \"$i\",' ' ; done)"
 AC_DEFINE_UNQUOTED(WRITER_NAMES, $names, supported writer names)
 inits="$(for i in $write_writers; do printf 'extern void '$i'_writer_init(struct writer *); '; done)"
 AC_DEFINE_UNQUOTED(DECLARE_WRITER_INITS, $inits, init functions of the supported writers)