Fix syntax errors
1) It is not safe to use the [ command in configure.in; m4 will eat the [ and ] and they will expand to nothing. (Just look in the configure script produced prior to this commit.) Use the test command instead, as elsewhere in the file. 2) Quote the variable being tested for emptiness with test -z. Otherwise, if it *is* empty, the -z will apply to (and eat) the following word, "then", which is not what is intended, and which also causes a syntax error.
Showing
Please
register
or
sign in
to comment