* Kean Johnston wrote on Mon, Oct 31, 2005 at 05:20:20PM CET: > > For the sake of legibility, how about: > sflag=`wl=$lt_prog_compiler_wl eval echo " $lt_prog_compiler_static "` > LDFLAGS="$LDFLAGS $sflag" > > This way you avoid the escaping of the quotes and the not-so-obvious > concatenation of strings in the LDFLAGS assignment.
You have to escape the quotes. Your example above won't work always: lt_prog_compiler_static may begin with `-n': lt_prog_compiler_static=-non-shared `echo' may interpret `-n'. Boom. Prepending `echo's first argument with a space fixes that. > 'sflag' intentionally kept to a short name so that Thunderbird > doesnt wrap the lines above. Yeah, I guess a helper variable would be ok. Cheers, Ralf
