Benoit wrote: > I usually do this in my configure.ac: > > AC_PROG_CXX > # Speed GCC compilation up. > if test "$GXX" = yes; then > CXXFLAGS="$CXXFLAGS -pipe" > fi
I use case statements wherever possible instead of 'test'. While 'case' is a shell builtin, 'test' may not be. If there are a bunch of checks being done, it can be significantly faster to use 'case' instead of 'test'. Disclaimer: I have been doing this for Years (I picked it up from Larry Wall sometime before I took over the maintenance of metaconfig) and have not tested it lately. H
