mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
configure: optimize uname finding a bit
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
0b4474f4fa
commit
9d9668e3e7
1 changed files with 4 additions and 3 deletions
7
configure
vendored
7
configure
vendored
|
@ -275,15 +275,16 @@ fi
|
||||||
libdir_in_ldconfig=0
|
libdir_in_ldconfig=0
|
||||||
|
|
||||||
printf "Checking which platform we are on... "
|
printf "Checking which platform we are on... "
|
||||||
if [ `uname` = "Darwin" ] ; then
|
uname=`uname`
|
||||||
|
if [ $uname = "Darwin" ] ; then
|
||||||
printf "Mac OS X.\n"
|
printf "Mac OS X.\n"
|
||||||
platform=MACOSX
|
platform=MACOSX
|
||||||
linker_resolves_library_dependencies=0
|
linker_resolves_library_dependencies=0
|
||||||
elif [ `uname` = "SunOS" ] ; then
|
elif [ $uname = "SunOS" ] ; then
|
||||||
printf "Solaris.\n"
|
printf "Solaris.\n"
|
||||||
platform=SOLARIS
|
platform=SOLARIS
|
||||||
linker_resolves_library_dependencies=0
|
linker_resolves_library_dependencies=0
|
||||||
elif [ `uname` = "Linux" ] ; then
|
elif [ $uname = "Linux" ] ; then
|
||||||
printf "Linux\n"
|
printf "Linux\n"
|
||||||
platform=LINUX
|
platform=LINUX
|
||||||
linker_resolves_library_dependencies=1
|
linker_resolves_library_dependencies=1
|
||||||
|
|
Loading…
Reference in a new issue