dbertoni 2002/08/05 13:41:24
Modified: c/src runConfigure
Log:
Merge in HP changes.
Revision Changes Path
1.11 +11 -3 xml-xalan/c/src/runConfigure
Index: runConfigure
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/runConfigure,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- runConfigure 5 Aug 2002 20:33:54 -0000 1.10
+++ runConfigure 5 Aug 2002 20:41:24 -0000 1.11
@@ -58,6 +58,9 @@
#
#
# $Log$
+# Revision 1.11 2002/08/05 20:41:24 dbertoni
+# Merge in HP changes.
+#
# Revision 1.10 2002/08/05 20:33:54 dbertoni
# Changes to implement 32 and 64-bit builds.
#
@@ -145,7 +148,12 @@
fi
# Get the command line parameters
-set -- `getopt p:c:x:dm:n:t:r:l:z:h:b $*`
+if test -x /usr/bin/getopt; then
+set -- `getopt p:c:x:dm:n:t:r:b:l:z:h $*`
+else
+set -- `getopts p:c:x:dm:n:t:r:b:l:z:h $*`
+fi
+
if [ $? != 0 ]
then
usage
@@ -156,9 +164,9 @@
debug=off # by default debug is off
bitsToBuild=32 # by default 32 bit build assumed
-for i in $*
+while [ $# -gt 0 ]
do
- case $i in
+ case $1 in
-p)
platform=$2; shift 2;;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]