Update of /cvsroot/monetdb/geom/conf
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14372/geom/conf
Modified Files:
monetdb-geom-config.bat.in monetdb-geom-config.in
Log Message:
added "--version" option to all monetdb*-config that did not have it, yet
U monetdb-geom-config.in
Index: monetdb-geom-config.in
===================================================================
RCS file: /cvsroot/monetdb/geom/conf/monetdb-geom-config.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- monetdb-geom-config.in 15 Dec 2008 14:11:51 -0000 1.7
+++ monetdb-geom-config.in 22 Dec 2008 16:41:03 -0000 1.8
@@ -42,6 +42,7 @@
--modpath5 print default ${pkg} module path (for M5)
--conds conditionals as set by configure
--help display this help and exit
+ --version output version information
Install directories ${pkg} was configured to
--prefix
@@ -83,6 +84,11 @@
echo $M5libdir:$M5libdir/lib:$M5libdir/bin
;;
+ --version)
+ echo @VERSION@
+ exit 0
+ ;;
+
--help)
usage 0
;;
U monetdb-geom-config.bat.in
Index: monetdb-geom-config.bat.in
===================================================================
RCS file: /cvsroot/monetdb/geom/conf/monetdb-geom-config.bat.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- monetdb-geom-config.bat.in 15 Dec 2008 14:11:51 -0000 1.7
+++ monetdb-geom-config.bat.in 22 Dec 2008 16:41:03 -0000 1.8
@@ -6,6 +6,7 @@
REM set prefix=%prefix:~0,-4%
set p...@package@
+set versi...@version@
set sour...@geom_source@
set bui...@geom_build@
set pref...@prefix@
@@ -26,6 +27,7 @@
:case
if "%1" == "" goto :EOF
if "%1" == "--help" goto usage
+if "%1" == "--version" echo %version%& goto shift
if "%1" == "--source" echo %source%& goto shift
if "%1" == "--build" echo %build%& goto shift
if "%1" == "--prefix" echo %prefix%& goto shift
@@ -73,6 +75,7 @@
echo --modpath5 print default %pkg% module directory (for M5)
echo --conds conditionals as set by configure
echo --help display this help and exit
+ echo --version output version information
echo.
echo Install directories %pkg% was configured to
echo --prefix
------------------------------------------------------------------------------
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins