checkstop_app : initial commit
Change-Id: Ic41fb7ded44389380deb86d163de5d272a400c43
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..5e963b8
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,4 @@
+AM_DEFAULT_SOURCE_EXT = .cpp
+sbin_PROGRAMS = checkstop_app
+
+checkstop_app_SOURCES = checkstop_app.cpp
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000..50b75b7
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
+ config.guess config.h.in config.sub configure depcomp install-sh \
+ ltmain.sh missing *libtool test-driver"
+
+case $1 in
+ clean)
+ test -f Makefile && make maintainer-clean
+ for file in ${AUTOCONF_FILES}; do
+ find -name "$file" | xargs -r rm -rf
+ done
+ exit 0
+ ;;
+esac
+
+autoreconf -i
+echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
diff --git a/checkstop_app.cpp b/checkstop_app.cpp
new file mode 100644
index 0000000..b3373cc
--- /dev/null
+++ b/checkstop_app.cpp
@@ -0,0 +1,5 @@
+int main(int argc, char* argv[])
+{
+ return 0;
+}
+
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..9f962c3
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,22 @@
+# Initialization
+AC_PREREQ([2.69])
+AC_INIT([openpower-debug-collector], [1.0],[https://github.com/openbmc/openpower-debug-collector/issues])
+AC_LANG([C++])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
+AM_SILENT_RULES([yes])
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+
+# Checks for typedefs, structures, and compiler characteristics.
+AX_CXX_COMPILE_STDCXX_14([noext])
+AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
+
+LT_INIT
+
+# Create configured output
+AC_CONFIG_FILES([Makefile ])
+AC_OUTPUT