]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: BUG KERNEL4780
authorprascle <prascle>
Tue, 13 Jan 2004 07:51:01 +0000 (07:51 +0000)
committerprascle <prascle>
Tue, 13 Jan 2004 07:51:01 +0000 (07:51 +0000)
salome_adm/unix/config_files/check_sip.m4

index d66f84e6e2813bba7fdbd610e38d00f8020ecced..feecb0dde36a765e526746b4d7181d88e4fb6227 100644 (file)
@@ -44,12 +44,13 @@ else
 
     if test "x$sip_vers" = "xnew"
     then
-       if test -z ${SIPDIR}/include ; then
+       if test -d ${SIPDIR}/include ; then
           sip_ok=yes
           SIP_ROOT="$SIPDIR"
           SIP_INCLUDES="${PYTHON_INCLUDES} -I${SIPDIR}/include"
           SIP_LIBS="-L${SIPDIR}/lib -lsip"
        else
+          sip_ok=yes
           SIP_ROOT="$SIPDIR"
           SIP_INCLUDES="-I${SIPDIR}"
           SIP_LIBS="-L${SIPDIR} -lsip"