From: Felipe Contreras Date: Sat, 5 Jun 2010 11:05:15 +0000 (+0300) Subject: configure: optimize uname finding a bit X-Git-Tag: 0.4~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d9668e3e7b0e4ed5e054125841dd729a46abd79;p=notmuch.git configure: optimize uname finding a bit Signed-off-by: Felipe Contreras --- diff --git a/configure b/configure index c86a227c..7e8cd163 100755 --- a/configure +++ b/configure @@ -275,15 +275,16 @@ fi libdir_in_ldconfig=0 printf "Checking which platform we are on... " -if [ `uname` = "Darwin" ] ; then +uname=`uname` +if [ $uname = "Darwin" ] ; then printf "Mac OS X.\n" platform=MACOSX linker_resolves_library_dependencies=0 -elif [ `uname` = "SunOS" ] ; then +elif [ $uname = "SunOS" ] ; then printf "Solaris.\n" platform=SOLARIS linker_resolves_library_dependencies=0 -elif [ `uname` = "Linux" ] ; then +elif [ $uname = "Linux" ] ; then printf "Linux\n" platform=LINUX linker_resolves_library_dependencies=1