From 28536c257f7af6d4b66a16c5d52f66f8fbcb0b18 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 22 Sep 2004 12:57:59 +0000 Subject: [PATCH] *** empty log message *** --- salome_adm/unix/config_files/check_omniorb.m4 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.39.2