]> rtime.felk.cvut.cz Git - orte.git/commitdiff
RTNet and MinGW compilation correction
authorsmolik <smolik>
Tue, 21 Sep 2004 21:09:32 +0000 (21:09 +0000)
committersmolik <smolik>
Tue, 21 Sep 2004 21:09:32 +0000 (21:09 +0000)
19 files changed:
admin/linux.m4
configure
configure.in
orte/examples/hello/Makefile.am
orte/examples/hello/Makefile.in
orte/examples/ping/Makefile.am
orte/examples/ping/Makefile.in
orte/examples/reliable/Makefile.am
orte/examples/reliable/Makefile.in
orte/examples/spy/Makefile.am
orte/examples/spy/Makefile.in
orte/include/orte_config_omk_rtl.h
orte/include/orte_headers.h
orte/liborte/Makefile.am
orte/liborte/Makefile.in
orte/liborte/RTPSCSTWriter.c
orte/manager/Makefile.am
orte/manager/Makefile.in
readme

index 1ebec8de6065d1b86983686d214ce760485d1559..8d9cf4d03f999d85dae5677a78be90777b4e4e9f 100644 (file)
@@ -1,7 +1,7 @@
 
 AC_DEFUN([DS_LINUX_DIR],
 [
-       AC_ARG_WITH([linuxdir],
+       AC_ARG_WITH([linux],
                [AC_HELP_STRING([--with-linux=DIR],
                        [path to Linux patched source directory])],
                [LINUX_DIR="${withval}"],
@@ -214,13 +214,13 @@ AC_DEFUN([DS_LINUX_CONFIG_OPTION_MODULE],
 
 AC_DEFUN([DS_RTAI],
 [
-       AC_ARG_WITH([rtaidir],
+       AC_ARG_WITH([rtai],
                [AC_HELP_STRING([--with-rtai=DIR],
                    [path to configured RTAI 24.1.X sources, or RTAI 3 installation])],
                [RTAI_DIR="${withval}"],
                [RTAI_DIR=/usr/src/rtai])
 
-       AC_ARG_WITH([rtnetdir],
+       AC_ARG_WITH([rtnet],
                [AC_HELP_STRING([--with-rtnet=DIR],
                        [path to RTnet installation directory])],
                [RTNET_DIR="${withval}"],
@@ -261,13 +261,13 @@ AC_DEFUN([DS_RTAI],
 
 AC_DEFUN([DS_RTLINUX],
 [
-       AC_ARG_WITH([rtlinuxdir],
+       AC_ARG_WITH([rtlinux],
                [AC_HELP_STRING([--with-rtlinux=DIR],
                        [path to RTLinux source directory])],
                [RTLINUX_DIR="${withval}"],
                [RTLINUX_DIR=/usr/src/rtlinux])
                
-       AC_ARG_WITH([rtlinuxudpdir],
+       AC_ARG_WITH([rtlinuxudp],
                [AC_HELP_STRING([--with-rtlinuxudp=DIR],
                        [path to RTLinux UDP source directory])],
                [RTLINUXUDP_DIR="${withval}"],
index f903db4f79485089bdf9803d4d3245083cbeb240..067f4aea70e5f49566f0b15c7b1105cbb3f4b6c7 100755 (executable)
--- a/configure
+++ b/configure
@@ -2057,9 +2057,9 @@ fi
 
 
 
-# Check whether --with-linuxdir or --without-linuxdir was given.
-if test "${with_linuxdir+set}" = set; then
-  withval="$with_linuxdir"
+# Check whether --with-linux or --without-linux was given.
+if test "${with_linux+set}" = set; then
+  withval="$with_linux"
   LINUX_DIR="${withval}"
 else
   LINUX_DIR=default
@@ -2251,18 +2251,18 @@ fi
 
 
 
-# Check whether --with-rtaidir or --without-rtaidir was given.
-if test "${with_rtaidir+set}" = set; then
-  withval="$with_rtaidir"
+# Check whether --with-rtai or --without-rtai was given.
+if test "${with_rtai+set}" = set; then
+  withval="$with_rtai"
   RTAI_DIR="${withval}"
 else
   RTAI_DIR=/usr/src/rtai
 fi;
 
 
-# Check whether --with-rtnetdir or --without-rtnetdir was given.
-if test "${with_rtnetdir+set}" = set; then
-  withval="$with_rtnetdir"
+# Check whether --with-rtnet or --without-rtnet was given.
+if test "${with_rtnet+set}" = set; then
+  withval="$with_rtnet"
   RTNET_DIR="${withval}"
 else
   RTNET_DIR=/usr/src/rtnet
@@ -2376,18 +2376,18 @@ _ACEOF
 
 
 
-# Check whether --with-rtlinuxdir or --without-rtlinuxdir was given.
-if test "${with_rtlinuxdir+set}" = set; then
-  withval="$with_rtlinuxdir"
+# Check whether --with-rtlinux or --without-rtlinux was given.
+if test "${with_rtlinux+set}" = set; then
+  withval="$with_rtlinux"
   RTLINUX_DIR="${withval}"
 else
   RTLINUX_DIR=/usr/src/rtlinux
 fi;
 
 
-# Check whether --with-rtlinuxudpdir or --without-rtlinuxudpdir was given.
-if test "${with_rtlinuxudpdir+set}" = set; then
-  withval="$with_rtlinuxudpdir"
+# Check whether --with-rtlinuxudp or --without-rtlinuxudp was given.
+if test "${with_rtlinuxudp+set}" = set; then
+  withval="$with_rtlinuxudp"
   RTLINUXUDP_DIR="${withval}"
 else
   RTLINUXUDP_DIR="${RTLINUX_DIR}"
@@ -9171,8 +9171,15 @@ _ACEOF
   LIBS="-lc_r $LIBS"
 
 else
-  { echo "$as_me:$LINENO: Can't compile on 100% without pthreads!!!" >&5
-echo "$as_me: Can't compile on 100% without pthreads!!!" >&6;}
+  if test ${MINGW} == 'yes' ; then
+                     LIBS=$LIBS' $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a'
+                     { echo "$as_me:$LINENO: Using internal version of pthreads!!!" >&5
+echo "$as_me: Using internal version of pthreads!!!" >&6;}
+              else
+                     { { echo "$as_me:$LINENO: error: Can't compile without pthreads!!!" >&5
+echo "$as_me: error: Can't compile without pthreads!!!" >&2;}
+   { (exit 1); exit 1; }; }
+              fi
 
 fi
 
index 501e4c8d89278d7536659bf92026164edf0e8ed7..fb87b03e7082a46f58582d82264a144697126832 100644 (file)
@@ -1,10 +1,10 @@
 # Process this file with autoconf to produce a configure script.
 #
-# $Id: configure.in,v 1.10 2004/08/30 19:18:21 smolik Exp $
+# $Id: configure.in,v 1.11 2004/09/21 21:09:33 smolik Exp $
 
 # autoconf requirement
 
-AC_PREREQ([2.57])
+AC_PREREQ([2.56])
 
 AC_INIT([orte],[0.2.3],[petr.smolik@wo.cz])
 AC_CONFIG_AUX_DIR(admin)
@@ -129,7 +129,12 @@ if test -z ${CONFIG_ORTE_RT} ; then
   dnl Check for pthreads
   AC_CHECK_LIB(pthread, pthread_create, ,
          AC_CHECK_LIB(c_r, pthread_create, ,
-              AC_MSG_NOTICE([Can't compile on 100% without pthreads!!!])
+              if test ${MINGW} == 'yes' ; then
+                     LIBS=$LIBS' $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a'
+                     AC_MSG_NOTICE([Using internal version of pthreads!!!])
+              else
+                     AC_MSG_ERROR([Can't compile without pthreads!!!])
+              fi       
          )
   )
 fi
index 059fb089c17c54ad58d36e23892a0ab8a1ff1370..617516f3d872178abee7e8a14bdf40d2859fea85 100644 (file)
@@ -6,13 +6,10 @@ if CONFIG_ORTE_RT
   HelloWorldPublisher_rt_ko_LINK = $(top_builddir)/modtool --link -o $@
 else
   noinst_PROGRAMS = HelloWorldPublisher HelloWorldSubscriber
-if CONFIG_ORTE_MINGW
-  win_libs= $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-endif
   HelloWorldPublisher_SOURCES = HelloWorldPublisher.c
-  HelloWorldPublisher_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+  HelloWorldPublisher_LDADD   = $(top_builddir)/orte/liborte/liborte.la 
   HelloWorldPublisher_LDFLAGS = -static
   HelloWorldSubscriber_SOURCES = HelloWorldSubscriber.c
-  HelloWorldSubscriber_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+  HelloWorldSubscriber_LDADD   = $(top_builddir)/orte/liborte/liborte.la 
   HelloWorldSubscriber_LDFLAGS = -static
 endif
\ No newline at end of file
index 4e3f2b5a2ec17fdd252fd8d9955f7b8e497b3946..4df6df2c26862ae525c405d4b918e90b1b35a615 100644 (file)
@@ -58,10 +58,8 @@ am__HelloWorldPublisher_SOURCES_DIST = HelloWorldPublisher.c
 @CONFIG_ORTE_RT_FALSE@am_HelloWorldPublisher_OBJECTS =  \
 @CONFIG_ORTE_RT_FALSE@ HelloWorldPublisher.$(OBJEXT)
 HelloWorldPublisher_OBJECTS = $(am_HelloWorldPublisher_OBJECTS)
-@CONFIG_ORTE_MINGW_TRUE@@CONFIG_ORTE_RT_FALSE@am__DEPENDENCIES_1 = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
 @CONFIG_ORTE_RT_FALSE@HelloWorldPublisher_DEPENDENCIES =  \
-@CONFIG_ORTE_RT_FALSE@ $(top_builddir)/orte/liborte/liborte.la \
-@CONFIG_ORTE_RT_FALSE@ $(am__DEPENDENCIES_1)
+@CONFIG_ORTE_RT_FALSE@ $(top_builddir)/orte/liborte/liborte.la
 am__HelloWorldPublisher_rt_ko_SOURCES_DIST = HelloWorldPublisher.c
 @CONFIG_ORTE_RT_TRUE@am_HelloWorldPublisher_rt_ko_OBJECTS =  \
 @CONFIG_ORTE_RT_TRUE@  HelloWorldPublisher.$(OBJEXT)
@@ -73,8 +71,7 @@ am__HelloWorldSubscriber_SOURCES_DIST = HelloWorldSubscriber.c
 @CONFIG_ORTE_RT_FALSE@ HelloWorldSubscriber.$(OBJEXT)
 HelloWorldSubscriber_OBJECTS = $(am_HelloWorldSubscriber_OBJECTS)
 @CONFIG_ORTE_RT_FALSE@HelloWorldSubscriber_DEPENDENCIES =  \
-@CONFIG_ORTE_RT_FALSE@ $(top_builddir)/orte/liborte/liborte.la \
-@CONFIG_ORTE_RT_FALSE@ $(am__DEPENDENCIES_1)
+@CONFIG_ORTE_RT_FALSE@ $(top_builddir)/orte/liborte/liborte.la
 am__HelloWorldSubscriber_rt_ko_SOURCES_DIST = HelloWorldSubscriber.c
 @CONFIG_ORTE_RT_TRUE@am_HelloWorldSubscriber_rt_ko_OBJECTS =  \
 @CONFIG_ORTE_RT_TRUE@  HelloWorldSubscriber.$(OBJEXT)
@@ -250,12 +247,11 @@ target_vendor = @target_vendor@
 @CONFIG_ORTE_RT_TRUE@HelloWorldSubscriber_rt_ko_LINK = $(top_builddir)/modtool --link -o $@
 @CONFIG_ORTE_RT_TRUE@HelloWorldPublisher_rt_ko_SOURCES = HelloWorldPublisher.c  
 @CONFIG_ORTE_RT_TRUE@HelloWorldPublisher_rt_ko_LINK = $(top_builddir)/modtool --link -o $@
-@CONFIG_ORTE_MINGW_TRUE@@CONFIG_ORTE_RT_FALSE@win_libs = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
 @CONFIG_ORTE_RT_FALSE@HelloWorldPublisher_SOURCES = HelloWorldPublisher.c
-@CONFIG_ORTE_RT_FALSE@HelloWorldPublisher_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+@CONFIG_ORTE_RT_FALSE@HelloWorldPublisher_LDADD = $(top_builddir)/orte/liborte/liborte.la 
 @CONFIG_ORTE_RT_FALSE@HelloWorldPublisher_LDFLAGS = -static
 @CONFIG_ORTE_RT_FALSE@HelloWorldSubscriber_SOURCES = HelloWorldSubscriber.c
-@CONFIG_ORTE_RT_FALSE@HelloWorldSubscriber_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+@CONFIG_ORTE_RT_FALSE@HelloWorldSubscriber_LDADD = $(top_builddir)/orte/liborte/liborte.la 
 @CONFIG_ORTE_RT_FALSE@HelloWorldSubscriber_LDFLAGS = -static
 all: all-am
 
index b49afed7ad1e497a738b790fa97801705ed554e5..99fef406126efa8cca71f3f0e7c7da48f91db6e0 100644 (file)
@@ -1,9 +1,6 @@
 bin_PROGRAMS = orteping
 
 orteping_SOURCES = orteping.c
-if CONFIG_ORTE_MINGW
-  win_libs= $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a 
-endif
-orteping_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+orteping_LDADD   = $(top_builddir)/orte/liborte/liborte.la
 orteping_LDFLAGS = -static
 
index e71bcbfc832aefdf47e1c5cace644c67b19f80f9..404d4fbd5406784c18acfb21a481d38b97711dd5 100644 (file)
@@ -53,9 +53,7 @@ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 PROGRAMS = $(bin_PROGRAMS)
 am_orteping_OBJECTS = orteping.$(OBJEXT)
 orteping_OBJECTS = $(am_orteping_OBJECTS)
-@CONFIG_ORTE_MINGW_TRUE@am__DEPENDENCIES_1 = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-orteping_DEPENDENCIES = $(top_builddir)/orte/liborte/liborte.la \
-       $(am__DEPENDENCIES_1)
+orteping_DEPENDENCIES = $(top_builddir)/orte/liborte/liborte.la
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/orte/include
 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
 am__depfiles_maybe = depfiles
@@ -215,8 +213,7 @@ target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
 orteping_SOURCES = orteping.c
-@CONFIG_ORTE_MINGW_TRUE@win_libs = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a 
-orteping_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+orteping_LDADD = $(top_builddir)/orte/liborte/liborte.la
 orteping_LDFLAGS = -static
 all: all-am
 
index d529b8796fa971dd76c30eb52b323bc6c9585977..0a09880e823075b3214db590212506d18d512567 100644 (file)
@@ -1,17 +1,13 @@
 noinst_PROGRAMS = publisher subscriberreliable subscriberbesteffort
 
-if CONFIG_ORTE_MINGW
-  win_libs= $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-endif
-
 publisher_SOURCES = publisher.c
-publisher_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+publisher_LDADD   = $(top_builddir)/orte/liborte/liborte.la 
 publisher_LDFLAGS = -static
 
 subscriberreliable_SOURCES = subscriberreliable.c
-subscriberreliable_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+subscriberreliable_LDADD   = $(top_builddir)/orte/liborte/liborte.la 
 subscriberreliable_LDFLAGS = -static
 
 subscriberbesteffort_SOURCES = subscriberbesteffort.c
-subscriberbesteffort_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+subscriberbesteffort_LDADD   = $(top_builddir)/orte/liborte/liborte.la 
 subscriberbesteffort_LDFLAGS = -static
index 212b9cf3b4601d4ded943e12d8d94122c6c317a8..cbba95b426e0480489adf9a2a8f7f86d797fc781 100644 (file)
@@ -52,17 +52,15 @@ CONFIG_CLEAN_FILES =
 PROGRAMS = $(noinst_PROGRAMS)
 am_publisher_OBJECTS = publisher.$(OBJEXT)
 publisher_OBJECTS = $(am_publisher_OBJECTS)
-@CONFIG_ORTE_MINGW_TRUE@am__DEPENDENCIES_1 = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-publisher_DEPENDENCIES = $(top_builddir)/orte/liborte/liborte.la \
-       $(am__DEPENDENCIES_1)
+publisher_DEPENDENCIES = $(top_builddir)/orte/liborte/liborte.la
 am_subscriberbesteffort_OBJECTS = subscriberbesteffort.$(OBJEXT)
 subscriberbesteffort_OBJECTS = $(am_subscriberbesteffort_OBJECTS)
 subscriberbesteffort_DEPENDENCIES =  \
-       $(top_builddir)/orte/liborte/liborte.la $(am__DEPENDENCIES_1)
+       $(top_builddir)/orte/liborte/liborte.la
 am_subscriberreliable_OBJECTS = subscriberreliable.$(OBJEXT)
 subscriberreliable_OBJECTS = $(am_subscriberreliable_OBJECTS)
 subscriberreliable_DEPENDENCIES =  \
-       $(top_builddir)/orte/liborte/liborte.la $(am__DEPENDENCIES_1)
+       $(top_builddir)/orte/liborte/liborte.la
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/orte/include
 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
 am__depfiles_maybe = depfiles
@@ -225,15 +223,14 @@ target_alias = @target_alias@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-@CONFIG_ORTE_MINGW_TRUE@win_libs = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
 publisher_SOURCES = publisher.c
-publisher_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+publisher_LDADD = $(top_builddir)/orte/liborte/liborte.la 
 publisher_LDFLAGS = -static
 subscriberreliable_SOURCES = subscriberreliable.c
-subscriberreliable_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+subscriberreliable_LDADD = $(top_builddir)/orte/liborte/liborte.la 
 subscriberreliable_LDFLAGS = -static
 subscriberbesteffort_SOURCES = subscriberbesteffort.c
-subscriberbesteffort_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+subscriberbesteffort_LDADD = $(top_builddir)/orte/liborte/liborte.la 
 subscriberbesteffort_LDFLAGS = -static
 all: all-am
 
index 4ee40e51a77674174db77691a4389162895effac..f94d1c6177441413bd5059af436e907a53ea4631 100644 (file)
@@ -1,10 +1,7 @@
 bin_PROGRAMS = ortespy
 
 ortespy_SOURCES = ortespy.c
-if CONFIG_ORTE_MINGW
-  win_libs= $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-endif
-ortespy_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+ortespy_LDADD   = $(top_builddir)/orte/liborte/liborte.la
 ortespy_LDFLAGS = -static
 
 
index 1b53e5e846e978b0cdfde9f0128800d73d38ab5e..95f72c2c2f1d21a4ff8eea21cee46dcf6fbb458f 100644 (file)
@@ -53,9 +53,7 @@ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 PROGRAMS = $(bin_PROGRAMS)
 am_ortespy_OBJECTS = ortespy.$(OBJEXT)
 ortespy_OBJECTS = $(am_ortespy_OBJECTS)
-@CONFIG_ORTE_MINGW_TRUE@am__DEPENDENCIES_1 = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-ortespy_DEPENDENCIES = $(top_builddir)/orte/liborte/liborte.la \
-       $(am__DEPENDENCIES_1)
+ortespy_DEPENDENCIES = $(top_builddir)/orte/liborte/liborte.la
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/orte/include
 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
 am__depfiles_maybe = depfiles
@@ -215,8 +213,7 @@ target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
 ortespy_SOURCES = ortespy.c
-@CONFIG_ORTE_MINGW_TRUE@win_libs = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
-ortespy_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+ortespy_LDADD = $(top_builddir)/orte/liborte/liborte.la
 ortespy_LDFLAGS = -static
 all: all-am
 
index f75df7b1ea6ae2f63edd3c715b70816e5240038f..e1d427ace31589a09996a998d00bd14f73c9c8f8 100644 (file)
@@ -79,6 +79,8 @@
 /* Define to 1 if you have the <net/if.h> header file. */
 /* #undef HAVE_NET_IF_H */
 
+#define HAVE_ERRNO_H 1
+
 /* Define to 1 if you have the <nictab.h> header file. */
 #define HAVE_NICTAB_H 1
 
index 3f89704634294682cbbda87b3ecf2b403df0a7c4..caecbed87ce355f82819256301de3d45e096ce8f 100644 (file)
@@ -173,11 +173,13 @@ extern "C" {
   #define SOCK_BSD         
 #elif CONFIG_ORTE_MINGW
   #define SOCK_WIN
-  #include <win32/pthread.h>
-  #include <win32/timeval.h>
+  #ifndef HAVE_PTHREAD_H
+    #include <win32/pthread.h>
+  #endif
   #ifndef __GETOPT_H__  //mingw
     #include <win32/getopt.h>
   #endif
+  #include <win32/timeval.h>
   #include <orte/ew_types.h>
   #define ioctl ioctlsocket
 #elif defined CONFIG_ORTE_RTL
index ad6b2af8aedd6e97742bdfb97259c50fa1ece68a..34214d8088b723997c2939cc3e2836df5cfc9621 100644 (file)
@@ -75,8 +75,8 @@ liborte_la_SOURCES = $(LIBORTE_FILES)
 liborte_la_LDFLAGS = \
     -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
     -release $(LT_RELEASE) \
-    -export-dynamic \
-    $(LDADDS)
+    -export-dynamic 
+#    $(LDADDS)
 liborte_la_CFLAGS = $(AM_CFLAGS)
 endif
 
index 8a1c9097ac969b2fccac016fb5f0fb11bc513936..7bb4d4a26d59a4ffdb3c3bba51235ceb659ccfad 100644 (file)
@@ -450,9 +450,9 @@ LIBORTE_HDRS2 = \
 @CONFIG_ORTE_RT_FALSE@liborte_la_LDFLAGS = \
 @CONFIG_ORTE_RT_FALSE@    -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
 @CONFIG_ORTE_RT_FALSE@    -release $(LT_RELEASE) \
-@CONFIG_ORTE_RT_FALSE@    -export-dynamic \
-@CONFIG_ORTE_RT_FALSE@    $(LDADDS)
+@CONFIG_ORTE_RT_FALSE@    -export-dynamic 
 
+#    $(LDADDS)
 @CONFIG_ORTE_RT_FALSE@liborte_la_CFLAGS = $(AM_CFLAGS)
 
 # headers
index 43b32de0304d94d433c6b369d0f54a40afb99998..eaa1d971910641ee016056117cd20fe899efc75b 100644 (file)
@@ -409,7 +409,7 @@ CSTWriterDestroyCSChangeForReader(CSTRemoteReader *cstRemoteReader,
       }
       pthread_mutex_lock(&cstRemoteReader->cstWriter->mutexCSChangeDestroyed);
       cstRemoteReader->cstWriter->condValueCSChangeDestroyed=1;
-      pthread_cond_broadcast(&cstRemoteReader->cstWriter->condCSChangeDestroyed);
+      pthread_cond_signal(&cstRemoteReader->cstWriter->condCSChangeDestroyed);
       pthread_mutex_unlock(&cstRemoteReader->cstWriter->mutexCSChangeDestroyed);
       debug(51,5) ("Publication: new queue level (%d)\n",
                   cstRemoteReader->cstWriter->csChangesCounter);
index 808cbf03c9a4d1bc0ce80d1185de88f61c584bf4..958f9203776cf3a7294c1f184551b1cffff51292 100644 (file)
@@ -9,9 +9,6 @@ ortemanager_SOURCES = ortemanager.c
 if CONFIG_ORTE_WIN
   ortemanager_SOURCES += service.c
 endif
-if CONFIG_ORTE_MINGW
-  win_libs= $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a 
-endif
-ortemanager_LDADD   = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+ortemanager_LDADD   = $(top_builddir)/orte/liborte/liborte.la 
 ortemanager_LDFLAGS = -static
 endif
index c55e798a356d173c03b29c19cb170850f368eaae..9cccf607bd288a382d097fb5d297575a1b8713f7 100644 (file)
@@ -59,10 +59,8 @@ am__ortemanager_SOURCES_DIST = ortemanager.c service.c
 @CONFIG_ORTE_RT_FALSE@am_ortemanager_OBJECTS = ortemanager.$(OBJEXT) \
 @CONFIG_ORTE_RT_FALSE@ $(am__objects_1)
 ortemanager_OBJECTS = $(am_ortemanager_OBJECTS)
-@CONFIG_ORTE_MINGW_TRUE@@CONFIG_ORTE_RT_FALSE@am__DEPENDENCIES_1 = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a
 @CONFIG_ORTE_RT_FALSE@ortemanager_DEPENDENCIES =  \
-@CONFIG_ORTE_RT_FALSE@ $(top_builddir)/orte/liborte/liborte.la \
-@CONFIG_ORTE_RT_FALSE@ $(am__DEPENDENCIES_1)
+@CONFIG_ORTE_RT_FALSE@ $(top_builddir)/orte/liborte/liborte.la
 am__ortemanager_rt_ko_SOURCES_DIST = ortemanager.c
 @CONFIG_ORTE_RT_TRUE@am_ortemanager_rt_ko_OBJECTS =  \
 @CONFIG_ORTE_RT_TRUE@  ortemanager_rt_ko-ortemanager.$(OBJEXT)
@@ -233,8 +231,7 @@ target_vendor = @target_vendor@
 @CONFIG_ORTE_RT_TRUE@ortemanager_rt_ko_SOURCES = ortemanager.c  
 @CONFIG_ORTE_RT_TRUE@ortemanager_rt_ko_LINK = $(top_builddir)/modtool --link -o $@
 @CONFIG_ORTE_RT_FALSE@ortemanager_SOURCES = ortemanager.c $(am__append_1)
-@CONFIG_ORTE_MINGW_TRUE@@CONFIG_ORTE_RT_FALSE@win_libs = $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a 
-@CONFIG_ORTE_RT_FALSE@ortemanager_LDADD = $(top_builddir)/orte/liborte/liborte.la $(win_libs)
+@CONFIG_ORTE_RT_FALSE@ortemanager_LDADD = $(top_builddir)/orte/liborte/liborte.la 
 @CONFIG_ORTE_RT_FALSE@ortemanager_LDFLAGS = -static
 all: all-am
 
diff --git a/readme b/readme
index 5b3c07342d316ff745c73f13d2b8cf415c7cf815..f38c2e70634083bf437efbb54e71d940ce50dbeb 100644 (file)
--- a/readme
+++ b/readme
@@ -45,7 +45,7 @@ make install
 How to start?
 -------------
 run :ortemanager &
-see :ortemanager -h for usaged
+see :ortemanager -h for usage
 note:ortemanager have to be running during all communication. For future work can 
 be added into /etc/init.d/... script for starting ortemanager during boot
 of machine. This script (redhat and mandrake) is placed in