From 47b340a57e4fb36762c88d393e2f5e20cd542423 Mon Sep 17 00:00:00 2001 From: john stone Date: Thu, 7 Nov 2013 04:45:58 +0100 Subject: [PATCH] teil3 --- Makefile.am | 8 ++++---- configure.ac | 2 +- src/options.ggo | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index aab30f0..ab2ca96 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,11 +3,11 @@ ## to provide a way for the user to supply additional arguments. ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -bin_PROGRAMS=sic++ +bin_PROGRAMS=siccc -sic++_SOURCES = src/options.c src/sicmain.cc -sic++_CFLAGS = -sic++_LDADD = +siccc_SOURCES = src/options.c src/sicmain.cc +siccc_CFLAGS = +siccc_LDADD = options.c: options.ggo options.h: options.ggo diff --git a/configure.ac b/configure.ac index 54284e7..dd00ceb 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define subdir-objects \ parallel-tests]) AC_PROG_CC -dnl AM_PROG_CC_C_O +AM_PROG_CC_C_O AC_PROG_CXX PKG_CHECK_MODULES([LIBEVENTSTUFF], [libevent > 2.0.0]) diff --git a/src/options.ggo b/src/options.ggo index 6b0bbf2..6fa1669 100644 --- a/src/options.ggo +++ b/src/options.ggo @@ -5,7 +5,7 @@ purpose "This is our port of the famous „sharingg is carin“ application by A args "-C -a sic_conf -f cmd_parser" -option "listen" l "Specifies the adress to bind to" defailt="::1" string required multiple typestr="LIBRARY +option "listen" l "Specifies the adress to bind to" default="::1" string required multiple typestr="LIBRARY " option "port" p "The portnumber listened to" default="12380" int @@ -17,4 +17,3 @@ option "verbose" v "increas the verbosity" flag off option "daemonize" D "Detach from calling terminal" flag off -option "version" V "shows the version and exits" flag off