From 4d798ca6405e3a2b34e3f44573ca5b6455358547 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 3 Oct 2013 16:23:41 +0200 Subject: Add autoconf/automake stuff --- .gitignore | 26 ++++++++++++++++++++++++++ AUTHORS | 0 COPYING | 1 + ChangeLog | 0 INSTALL | 1 + Makefile.am | 5 +++++ NEWS | 0 README | 0 configure.ac | 30 ++++++++++++++++++++++++++++++ m4/.gitignore | 5 +++++ 10 files changed, 68 insertions(+) create mode 100644 .gitignore create mode 100644 AUTHORS create mode 120000 COPYING create mode 100644 ChangeLog create mode 120000 INSTALL create mode 100644 Makefile.am create mode 100644 NEWS create mode 100644 README create mode 100644 configure.ac create mode 100644 m4/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..577fa01 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +*.deps +*.la +*.lo +*.o +*.pc +*.so +*~ +.libs +cscope.out +ctags +/aclocal.m4 +Makefile +Makefile.in +/autom4te.cache +/config.guess +/config.status +/config.log +/config.sub +/configure +/depcomp +/install-sh +/libtool +/ltmain.sh +/missing +/stamp-h1 +/test-driver diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/COPYING b/COPYING new file mode 120000 index 0000000..2fcb217 --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +/usr/share/automake-1.13/COPYING \ No newline at end of file diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 diff --git a/INSTALL b/INSTALL new file mode 120000 index 0000000..8b641e3 --- /dev/null +++ b/INSTALL @@ -0,0 +1 @@ +/usr/share/automake-1.13/INSTALL \ No newline at end of file diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..55b48ad --- /dev/null +++ b/Makefile.am @@ -0,0 +1,5 @@ +lib_LTLIBRARIES = libcifs_idmap_sss.la +libcifs_idmap_sss_la_SOURCES = cifs_idmap_sss.c +libcifs_idmap_sss_la_CFLAGS = $(SSS_IDMAP_CFLAGS) +libcifs_idmap_sss_la_LIBADD = $(SSS_IDMAP_LIBS) +libcifs_idmap_sss_la_LDFLAGS = -avoid-version diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..4fb829d --- /dev/null +++ b/configure.ac @@ -0,0 +1,30 @@ +AC_PREREQ([2.69]) +AC_INIT([cifs-idmap-sss-plugin], [0.1], [benjaminfranzke@googlemail.com]) +AC_CONFIG_SRCDIR([cifs_idmap_sss.c]) + +AM_INIT_AUTOMAKE +LT_INIT + +AC_CONFIG_MACRO_DIR([m4]) + +PKG_CHECK_MODULES([SSS_IDMAP], [sss_idmap sss_nss_idmap]) + +# Checks for programs. +AC_PROG_CC + +# Checks for libraries. + +# Checks for header files. +AC_CHECK_HEADERS([limits.h stdlib.h string.h syslog.h cifsidmap.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_SIZE_T +AC_TYPE_UINT32_T +AC_TYPE_UINT8_T + +# Checks for library functions. +AC_FUNC_MALLOC +AC_CHECK_FUNCS([strdup strerror]) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/m4/.gitignore b/m4/.gitignore new file mode 100644 index 0000000..38066dd --- /dev/null +++ b/m4/.gitignore @@ -0,0 +1,5 @@ +libtool.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +lt~obsolete.m4 -- cgit