summaryrefslogtreecommitdiff
path: root/fcgiwrap.c
diff options
context:
space:
mode:
authorW-Mark Kubacki <wmark@hurrikane.de>2010-05-25 23:07:35 +0200
committerW-Mark Kubacki <wmark@hurrikane.de>2010-05-25 23:07:35 +0200
commit35364e13de7f992baaed35916dc1ef8a0b4d3edd (patch)
treee6cbdc3b5150c0d27c7fd705d79306128a6bcc90 /fcgiwrap.c
parent21e729d25d8b80f92f154a61fa8ea2b0aa918629 (diff)
downloadfcgiwrap-35364e13de7f992baaed35916dc1ef8a0b4d3edd.tar.xz
fcgiwrap-35364e13de7f992baaed35916dc1ef8a0b4d3edd.zip
fcgiwrap to rely on definitions provided by autoconf/autoreconf
Diffstat (limited to 'fcgiwrap.c')
-rw-r--r--fcgiwrap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fcgiwrap.c b/fcgiwrap.c
index e030f91..cd58ca1 100644
--- a/fcgiwrap.c
+++ b/fcgiwrap.c
@@ -24,8 +24,8 @@
*/
#define NO_FCGI_DEFINES
-#define FCGIWRAP_VERSION "1.0"
+#include "config.h"
#include <stdarg.h>
#include <fcgi_stdio.h>
#include <stdio.h>
@@ -628,12 +628,12 @@ int main(int argc, char **argv)
switch (c) {
case 'h':
printf("Usage: %s [OPTION]\nInvokes CGI scripts as FCGI.\n\n"
- "fcgiwrap version "FCGIWRAP_VERSION"\n\n"
+ PACKAGE_NAME" version "PACKAGE_VERSION"\n\n"
"Options are:\n"
" -c 1..x\t\tNumber of processes to prefork\n"
" -h\t\t\tShow this help message and exit\n"
- "\nReport bugs to Grzegorz Nosek <root@localdomain.pl>.\n"
- "fcgiwrap home page: <http://nginx.localdomain.pl/wiki/FcgiWrap>\n",
+ "\nReport bugs to Grzegorz Nosek <"PACKAGE_BUGREPORT">.\n"
+ PACKAGE_NAME" home page: <http://nginx.localdomain.pl/wiki/FcgiWrap>\n",
argv[0]
);
return 0;