summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile0
-rw-r--r--Makefile.am2
-rw-r--r--commissioning/fcgi_commission.cc (renamed from src/fcgi_commission.cc)11
-rw-r--r--configure.am19
-rw-r--r--src/Makefile.am10
5 files changed, 11 insertions, 31 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Makefile
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index f043be5..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-AUTOMAKE_OPTIONS = gnu
-SUBDIRS = src \ No newline at end of file
diff --git a/src/fcgi_commission.cc b/commissioning/fcgi_commission.cc
index bd082ff..8d05e08 100644
--- a/src/fcgi_commission.cc
+++ b/commissioning/fcgi_commission.cc
@@ -1,3 +1,5 @@
+
+/*
#include "fcgio.h"
#include <iostream>
@@ -41,4 +43,13 @@ int main(void) {
cerr.rdbuf(cerr_streambuf);
return 0;
+}
+
+*/
+
+#include <stdio.h>
+
+int main () {
+ printf("Hello, World!\n");
+ return 0;
} \ No newline at end of file
diff --git a/configure.am b/configure.am
deleted file mode 100644
index 255d0b4..0000000
--- a/configure.am
+++ /dev/null
@@ -1,19 +0,0 @@
-AC_INIT([commission.fcgi], [0.1])
-AC_CONFIG_SRCDIR([/src/fcgi_commission.cc])
-AC_INIT_AUTOMAKE
-
-AC_PROG_CC
-AC_PROG_CXX
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-
-AC_HEADER_STDC
-
-AC_CHECK_HEADERS([ \
-stdio.h stdlib.h unistd.h getopt.h errno.h time.h \
-ctype.h sys/types.h sys/stat.h fcntl.h stdarg.h string.h printf.h \
-stdint.h sys/ioctrl.h fcgio.h \
-], [],AC_MSG_ERROR([
-required header missing]))
-
-AC_OUTPUT([Makefile src/Makefile]) \ No newline at end of file
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 8a3784f..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-AUTOMAKE_OPTIONS = gnu
-AM_CFLAGS = -Wall
-
-sbin_PROGRAMS = commission.fcgi
-commission.fcgi_SOURCES = fcgi_commission.cc
-commission.fcgi_SOURCES = -ljsoncpp -lrt -lfcgi++ -lfcgi
-
-install-exec-hook:
- cd $(DESTDIR)$(sbindir) ../../sbin/commission.fcgi
- rmdir $(DESTDIR)$(sbindir) \ No newline at end of file