Use if [  ]; for POSIX compliance

You made my shell cry :cry: 

Please read this site in so others can use your configure script:   
http://mywiki.wooledge.org/Bashism

And try to use this more often:
http://sourceforge.net/projects/checkbaskisms/