From 1b76b7f3c6bc381fb5e41b9261296392365ec572 Mon Sep 17 00:00:00 2001 From: nri Date: Thu, 10 Jul 2003 12:54:43 +0000 Subject: [PATCH] NRI : Merge from V1_2. --- salome_adm/unix/config_files/check_sip.m4 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/salome_adm/unix/config_files/check_sip.m4 b/salome_adm/unix/config_files/check_sip.m4 index cf40d464e..d66f84e6e 100644 --- a/salome_adm/unix/config_files/check_sip.m4 +++ b/salome_adm/unix/config_files/check_sip.m4 @@ -44,10 +44,16 @@ else if test "x$sip_vers" = "xnew" then - sip_ok=yes - SIP_ROOT="$SIPDIR" - SIP_INCLUDES="${PYTHON_INCLUDES} -I${SIPDIR}/include" - SIP_LIBS="-L${SIPDIR}/lib -lsip" + if test -z ${SIPDIR}/include ; then + sip_ok=yes + SIP_ROOT="$SIPDIR" + SIP_INCLUDES="${PYTHON_INCLUDES} -I${SIPDIR}/include" + SIP_LIBS="-L${SIPDIR}/lib -lsip" + else + SIP_ROOT="$SIPDIR" + SIP_INCLUDES="-I${SIPDIR}" + SIP_LIBS="-L${SIPDIR} -lsip" + fi fi fi -- 2.39.2