You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2005/06/02 06:40:04 UTC

svn commit: r179506 - /xerces/c/branches/jberry/3.0-unstable/m4/xerces_msgloader_selection.m4 /xerces/c/branches/jberry/3.0-unstable/m4/xerces_netaccessor_selection.m4 /xerces/c/branches/jberry/3.0-unstable/m4/xerces_transcoder_selection.m4

Author: jberry
Date: Wed Jun  1 21:40:02 2005
New Revision: 179506

URL: http://svn.apache.org/viewcvs?rev=179506&view=rev
Log:
Neaten up a bit of m4 code

Modified:
    xerces/c/branches/jberry/3.0-unstable/m4/xerces_msgloader_selection.m4
    xerces/c/branches/jberry/3.0-unstable/m4/xerces_netaccessor_selection.m4
    xerces/c/branches/jberry/3.0-unstable/m4/xerces_transcoder_selection.m4

Modified: xerces/c/branches/jberry/3.0-unstable/m4/xerces_msgloader_selection.m4
URL: http://svn.apache.org/viewcvs/xerces/c/branches/jberry/3.0-unstable/m4/xerces_msgloader_selection.m4?rev=179506&r1=179505&r2=179506&view=diff
==============================================================================
--- xerces/c/branches/jberry/3.0-unstable/m4/xerces_msgloader_selection.m4 (original)
+++ xerces/c/branches/jberry/3.0-unstable/m4/xerces_msgloader_selection.m4 Wed Jun  1 21:40:02 2005
@@ -62,10 +62,11 @@
 			break
 			;;
 		*)
-			if [test $i -eq 2]; then
+			AS_IF([test $i -eq 2], [
 				AC_MSG_RESULT([none])
 				AC_MSG_ERROR([Xerces cannot function without a MsgLoader])
-			fi
+				]
+			)
 			;;
 		esac
 	done

Modified: xerces/c/branches/jberry/3.0-unstable/m4/xerces_netaccessor_selection.m4
URL: http://svn.apache.org/viewcvs/xerces/c/branches/jberry/3.0-unstable/m4/xerces_netaccessor_selection.m4?rev=179506&r1=179505&r2=179506&view=diff
==============================================================================
--- xerces/c/branches/jberry/3.0-unstable/m4/xerces_netaccessor_selection.m4 (original)
+++ xerces/c/branches/jberry/3.0-unstable/m4/xerces_netaccessor_selection.m4 Wed Jun  1 21:40:02 2005
@@ -155,9 +155,10 @@
 			;;
 			
 		*)
-			if [test $i -eq 2]; then
+			AS_IF([test $i -eq 2], [
 				AC_MSG_RESULT([none available; there will be no network access!!!])
-			fi
+				]
+			)
 			;;
 			
 		esac

Modified: xerces/c/branches/jberry/3.0-unstable/m4/xerces_transcoder_selection.m4
URL: http://svn.apache.org/viewcvs/xerces/c/branches/jberry/3.0-unstable/m4/xerces_transcoder_selection.m4?rev=179506&r1=179505&r2=179506&view=diff
==============================================================================
--- xerces/c/branches/jberry/3.0-unstable/m4/xerces_transcoder_selection.m4 (original)
+++ xerces/c/branches/jberry/3.0-unstable/m4/xerces_transcoder_selection.m4 Wed Jun  1 21:40:02 2005
@@ -58,7 +58,7 @@
 	)
 	
 	
-	# Check for MacOSUnicodeConverter
+	# Check for platform-specific transcoders
 	list_add=
 	case $host_os in
 	darwin*)
@@ -137,10 +137,11 @@
 			;;
 
 		*)
-			if [test $i -eq 2]; then
+			AS_IF([test $i -eq 2], [
 				AC_MSG_RESULT([none])
 				AC_MSG_ERROR([Xerces cannot function without a transcoder])
-			fi
+				]
+			)
 			;;
 		esac
 	done



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org