Update of /cvsroot/monetdb/sql/conf
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14372/sql/conf

Modified Files:
        monetdb-sql-config.bat.in monetdb-sql-config.in 
Log Message:

added "--version" option to all monetdb*-config that did not have it, yet


U monetdb-sql-config.bat.in
Index: monetdb-sql-config.bat.in
===================================================================
RCS file: /cvsroot/monetdb/sql/conf/monetdb-sql-config.bat.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- monetdb-sql-config.bat.in   29 Oct 2008 18:51:56 -0000      1.11
+++ monetdb-sql-config.bat.in   22 Dec 2008 16:41:04 -0000      1.12
@@ -6,6 +6,7 @@
 REM    set prefix=%prefix:~0,-4%
 
 set p...@package@
+set versi...@version@
 set sour...@sql_source@
 set bui...@sql_build@
 set pref...@prefix@
@@ -25,6 +26,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
@@ -72,6 +74,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 --pythonlibdir

U monetdb-sql-config.in
Index: monetdb-sql-config.in
===================================================================
RCS file: /cvsroot/monetdb/sql/conf/monetdb-sql-config.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- monetdb-sql-config.in       29 Oct 2008 18:51:56 -0000      1.10
+++ monetdb-sql-config.in       22 Dec 2008 16:41:04 -0000      1.11
@@ -43,6 +43,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 --pythonlibdir
@@ -88,6 +89,11 @@
         exit 0
         ;;
 
+    --version)
+       echo @VERSION@
+       exit 0
+       ;;
+
     --help)
        usage 0
        ;;


------------------------------------------------------------------------------
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to