summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/getht.c4
-rw-r--r--src/version.h21
2 files changed, 2 insertions, 23 deletions
diff --git a/src/getht.c b/src/getht.c
index 63ba956..f18d390 100644
--- a/src/getht.c
+++ b/src/getht.c
@@ -18,6 +18,7 @@
*
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -26,7 +27,6 @@
#include <sys/stat.h>
#include <curl/curl.h>
-#include "version.h"
#include "issue.h"
#include "getht.h"
@@ -133,7 +133,7 @@ int main(int argc, char *argv[])
option = 1;
break;
case 'V':
- printf("GetHT version: %s\n",VERSION);
+ printf("GetHT version: %s\n",PACKAGE_VERSION);
option = 1;
return 0;
break;
diff --git a/src/version.h b/src/version.h
deleted file mode 100644
index a0b4834..0000000
--- a/src/version.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2006,2008 Nick White
- *
- * This file is part of GetHT
- *
- * GetHT is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * GetHT is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GetHT. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-#define VERSION "0.1"