diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2010-06-05 14:05:15 +0300 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-10-29 14:33:14 -0700 |
commit | 9d9668e3e7b0e4ed5e054125841dd729a46abd79 (patch) | |
tree | 681d8f4a1454b6e11360d10f3b71398094c3b8f1 /configure | |
parent | 0b4474f4fa0b30fba6a9b1c0014d87212bad1e20 (diff) |
configure: optimize uname finding a bit
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |