Ignore:
Timestamp:
2001-03-14T04:15:23+13:00 (23 years ago)
Author:
cs025
Message:

Improvements to configure scripts in their support of various MICO
environment considerations, particularly when MICO is on the system
paths.

Fixed CORBA version of ping to correspond with parameters etc. of the
native form.

Finally, improved PING action to be more than a simple call to
the HASCOLLECTION action in the null protocol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/configure.in

    r2051 r2173  
    5656AC_PROG_RANLIB
    5757
     58
     59#moved CORBA MICO directory test to get version of MICO
     60if test $USE_CORBA = 1; then
     61
     62if test $MICO_DIR = default; then
     63#do something
     64MICO_INC="-I packages/mico/mico/include"
     65else
     66#build the micotest program
     67MICO_INC= ""
     68if test $MICO_DIR != yes; then
     69MICO_INC="-I $MICO_DIR"
     70fi
     71fi
     72
     73#get MICO_VER value
     74sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
     75sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
     76MICO_VER=`./micotest` || MICO_VER=0
     77sh -c "rm micotest"
     78sh -c "rm micotest.o"
     79
     80#do test of MICO_VER
     81if test MICO_VER != 0; then
     82AC_DEFINE(MICO_VER)
     83AC_SUBST(MICO_VER)
     84fi
     85#end USE_CORBA test
     86fi
    5887
    5988dnl Checks for typedefs, structures, and compiler characteristics.
Note: See TracChangeset for help on using the changeset viewer.