[omniORB] Fix build for uclinux

Baruch Siach baruch at tkos.co.il
Thu Nov 20 06:41:20 GMT 2014


Hi omniorb list,

Build for uclinux (no MMU Linux) fails because the configure script does not 
identify the uclinux system type. The patch below should fix the problem:

diff -Nuar omniORB-4.1.6-orig/configure.ac omniORB-4.1.6/configure.ac
--- omniORB-4.1.6-orig/configure.ac	2011-06-25 00:37:28.000000000 +0300
+++ omniORB-4.1.6/configure.ac	2014-11-20 07:05:25.072634260 +0200
@@ -183,6 +183,7 @@
 
 case "$host" in
   *-*-linux-*)   plat_name="Linux";    plat_def="__linux__";    os_v="2";;
+  *-*-uclinux-*) plat_name="Linux";    plat_def="__linux__";    os_v="2";;
   *-*-cygwin*)   plat_name="Cygwin";   plat_def="__cygwin__";   os_v="1";;
   *-*-solaris*)  plat_name="SunOS";    plat_def="__sunos__";    os_v="5";;
   *-*-osf3*)     plat_name="OSF1";     plat_def="__osf1__";     os_v="3";;

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the omniORB-list mailing list