[GRASS-SVN] r67015 - grass/trunk/mswindows/osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 4 09:14:27 PST 2015
Author: martinl
Date: 2015-12-04 09:14:27 -0800 (Fri, 04 Dec 2015)
New Revision: 67015
Added:
grass/trunk/mswindows/osgeo4w/proj4-config
Log:
wingrass: add proj4-config (4.9 issue)
Added: grass/trunk/mswindows/osgeo4w/proj4-config
===================================================================
--- grass/trunk/mswindows/osgeo4w/proj4-config (rev 0)
+++ grass/trunk/mswindows/osgeo4w/proj4-config 2015-12-04 17:14:27 UTC (rev 67015)
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+usage()
+{
+ cat <<EOF
+Usage: proj4-config [OPTIONS]
+Options:
+ [--prefix]
+ [--cflags]
+ [--libs]
+ [--ldflags]
+ [--includes]
+EOF
+ exit $1
+}
+if test $# -eq 0; then
+ usage 1 1>&2
+fi
+while test $# -gt 0; do
+case "$1" in
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+esac
+case $1 in
+ --prefix)
+ echo $OSGEO4W_ROOT_MSYS
+ ;;
+ --cflags)
+ echo -I$OSGEO4W_ROOT_MSYS/include
+ ;;
+ --libs)
+ echo $OSGEO4W_ROOT_MSYS/lib/proj_i.lib
+ ;;
+ --ldflags)
+ echo
+ ;;
+ --includes)
+ echo $OSGEO4W_ROOT_MSYS/include
+ ;;
+ *)
+ usage 1 1>&2
+ ;;
+ esac
+ shift
+done
+
+
Property changes on: grass/trunk/mswindows/osgeo4w/proj4-config
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:mime-type
+ text/x-sh
Added: svn:eol-style
+ native
More information about the grass-commit
mailing list