summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorPaul Bignier <paul.bignier@scilab-enterprises.com>2016-08-17 15:18:35 +0200
committerClément DAVID <clement.david@scilab-enterprises.com>2016-08-29 10:12:15 +0200
commitb01535385a8ef077e6094602168cf7b4b9b08108 (patch)
tree1e2530a52024fba2dc512bf2ed4a411c6807fff2 /scilab
parent531667efecd7de971333c0c13e9cbafbc3672032 (diff)
downloadscilab-b01535385a8ef077e6094602168cf7b4b9b08108.zip
scilab-b01535385a8ef077e6094602168cf7b4b9b08108.tar.gz
Configure for MacOS: correct call for version stamp
Change-Id: I6be146eeeb08b033353a44915232746c76d112f3
Diffstat (limited to 'scilab')
-rwxr-xr-xscilab/configure2
-rw-r--r--scilab/m4/macosx.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/scilab/configure b/scilab/configure
index fd385a8..0c10878 100755
--- a/scilab/configure
+++ b/scilab/configure
@@ -6567,7 +6567,7 @@ case "$host_os" in
6567 6567
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Mac OS X Version" >&5 6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Mac OS X Version" >&5
6569$as_echo_n "checking Mac OS X Version... " >&6; } 6569$as_echo_n "checking Mac OS X Version... " >&6; }
6570 macosx_version=`defaults read loginwindow SystemVersionStampAsString` 6570 macosx_version=`sw_vers -productVersion`
6571 case $macosx_version in 6571 case $macosx_version in
6572 10.10*) 6572 10.10*)
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Mac OS X 10.10 - Yosemite." >&5 6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Mac OS X 10.10 - Yosemite." >&5
diff --git a/scilab/m4/macosx.m4 b/scilab/m4/macosx.m4
index 4226299..e0243a0 100644
--- a/scilab/m4/macosx.m4
+++ b/scilab/m4/macosx.m4
@@ -3,7 +3,7 @@
3# 3#
4AC_DEFUN([AC_GET_MACOSX_VERSION],[ 4AC_DEFUN([AC_GET_MACOSX_VERSION],[
5 AC_MSG_CHECKING([Mac OS X Version]) 5 AC_MSG_CHECKING([Mac OS X Version])
6 [macosx_version=`defaults read loginwindow SystemVersionStampAsString`] 6 [macosx_version=`sw_vers -productVersion`]
7 case $macosx_version in 7 case $macosx_version in
8 10.10*) 8 10.10*)
9 AC_MSG_RESULT([Mac OS X 10.10 - Yosemite.]) 9 AC_MSG_RESULT([Mac OS X 10.10 - Yosemite.])