]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
sip 4.2 version availibility
authoradam <adam>
Fri, 3 Jun 2005 06:40:23 +0000 (06:40 +0000)
committeradam <adam>
Fri, 3 Jun 2005 06:40:23 +0000 (06:40 +0000)
salome_adm/unix/config_files/check_sip.m4

index 84d35f62938cc22ea254438f3a3343c260747447..15ff4bdce7ac14e80ef23cc36a46eb45df16bea5 100644 (file)
@@ -40,6 +40,8 @@ else
            SIP_VERS=new2 ;;
         4.1*)
           SIP_VERS=v4_1 ;;
+        4.2*)
+          SIP_VERS=v4_2 ;;
          *)
            AC_MSG_RESULT(sip version $version not supported)
            SIP_VERS=no ;;
@@ -86,10 +88,10 @@ else
        SIP_LIBS="-L${PYTHON_PREFIX}/lib/python${PYTHON_VERSION}/site-packages -lsip"
     fi
 
-    if test "x$SIP_VERS" = "xv4_1"
+    if test "x$SIP_VERS" = "xv4_1" || test "x$SIP_VERS" = "xv4_2"
         then
         dnl 4.1 install : includes and libs are in python install 
-        AC_MSG_RESULT(4.1 install detected)
+        AC_MSG_RESULT($SIP_VERS install detected)
        sip_ok=yes
         AC_CHECK_FILE($PYTHON_PREFIX/include/python$PYTHON_VERSION/sip.h,sip_ok=$sip_ok,sip_ok=no)
        SIP_INCLUDES="${PYTHON_INCLUDES}"