From: ageay Date: Wed, 22 Sep 2004 12:57:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: BR_GEAY_20041105~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=28536c257f7af6d4b66a16c5d52f66f8fbcb0b18;p=modules%2Fkernel.git *** empty log message *** --- diff --git a/salome_adm/unix/config_files/check_omniorb.m4 b/salome_adm/unix/config_files/check_omniorb.m4 index e5a98efe3..1cd4d763d 100644 --- a/salome_adm/unix/config_files/check_omniorb.m4 +++ b/salome_adm/unix/config_files/check_omniorb.m4 @@ -239,7 +239,7 @@ dnl AC_LANG_CPLUSPLUS CXXFLAGS_old=$CXXFLAGS CXXFLAGS="$CXXFLAGS $OMNIORB_CXXFLAGS $OMNIORB_INCLUDES" LIBS_old=$LIBS -LIBS="$LIBS $OMNIORB_LDFLAGS -lomnithread" +LIBS="$LIBS $OMNIORB_LDFLAGS $OMNIORB_LIBS" AC_MSG_CHECKING(whether we have double and CORBA::Double compatibility) AC_TRY_RUN( #include @@ -251,10 +251,14 @@ int main () double *b; b=(double *)a; - if( (c==*b) && (sizeof(double)==sizeof(CORBA::Double)) ) + if( (c==*b) && (sizeof(double)==sizeof(CORBA::Double)) ){ + delete a; exit(0); - else + } + else{ + delete a; exit(1); + } } ,DOUBLECOMP="yes",DOUBLECOMP="no") if test "$DOUBLECOMP" = yes; then