aboutsummaryrefslogtreecommitdiff
path: root/test/postinstall/testappprojinfo/testappprojinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/postinstall/testappprojinfo/testappprojinfo.c')
-rw-r--r--test/postinstall/testappprojinfo/testappprojinfo.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/postinstall/testappprojinfo/testappprojinfo.c b/test/postinstall/testappprojinfo/testappprojinfo.c
deleted file mode 100644
index 64b5d665..00000000
--- a/test/postinstall/testappprojinfo/testappprojinfo.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <stdio.h>
-#include <proj.h>
-
-int main(int argc, char *argv[]) {
- PJ_INFO info;
- info = proj_info();
- if(argc == 2 && argv[1][0] == '-') {
- switch(argv[1][1]) {
- case 's':
- printf("%s\n", info.searchpath);
- return(0);
- case 'v':
- printf("%d.%d.%d\n", info.major, info.minor, info.patch);
- return(0);
- }
- }
- printf("Use option -v or -s\n");
- return(1);
-}