opensubscriber
   Find in this group all groups
 
Unknown more information…

o : openca-devel@lists.sourceforge.net 6 September 2010 • 6:01AM -0400

[OpenCA-Devel] [PATCH 1 of 15] Add UnixWare support
by Tim Rice

REPLY TO AUTHOR
 
REPLY TO GROUP




#
# add-UnixWare-support.patch
#
# configure.in
# First steps to add UnixWare support
#
--- openca-base-1.1.0/configure.in.old 2010-02-24 19:12:22.000000000 -0800
+++ openca-base-1.1.0/configure.in 2010-07-18 17:57:27.760968006 -0700
@@ -52,6 +52,9 @@
  *hpux*)        myarch=hpux
shlext=so
;;
+ *sysv5*) myarch=sysv5
+ shlext=so
+ ;;
  *) AC_MSG_ERROR([Operating system ${build_os} not supported]) ;;
esac

@@ -98,7 +101,9 @@
#
# AC_SUBST(DIST_VERSION)

-if [[ -f "/etc/issue" ]] ; then
+if [[ "x$myarch" = "xsysv5" ]] ; then
+   DIST_NAME=`uname -s`
+elif [[ -f "/etc/issue" ]] ; then
    DIST_NAME=`head -n 1 /etc/issue | cut -f 1,1 -d ' '`
else
    DIST_NAME=`echo ${build_os} | $EGREP -o [[A-Za-z]]+`
@@ -111,6 +116,8 @@

if [[ "x$myarch" = "xsolaris" ]] ; then
DIST_VERSION=`uname -r`
+elif [[ "x$myarch" = "xsysv5" ]] ; then
+ DIST_VERSION=`uname -v`
else
if [[ -f "/etc/issue" ]] ; then
   DIST_VERSION=`$EGREP -o [[0-9.]]+ /etc/issue | head -n 1`

--
Tim Rice Multitalents (707) 887-1469
tim@mult...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.