Skip to content
Browse files

autotoolize

  • Loading branch information...
1 parent 2068534 commit 031b7f7732840b487256cc2e54e05e6d349bb99a @jedisct1 committed
Showing with 102 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +19 −0 COPYING
  3. 0 ChangeLog
  4. +8 −0 Makefile.am
  5. 0 NEWS
  6. +1 −0 README
  7. 0 README.markdown
  8. +67 −0 configure.ac
  9. 0 { → src}/6jack.c
  10. +6 −0 src/Makefile.am
  11. 0 { → src}/a.rb
View
1 AUTHORS
@@ -0,0 +1 @@
+Frank DENIS <j at pureftpd dot org>
View
19 COPYING
@@ -0,0 +1,19 @@
+
+6Jack is covered by the following license :
+
+/*
+ * Copyright (c) 2011
+ * Frank Denis <j at pureftpd dot org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
View
0 ChangeLog
No changes.
View
8 Makefile.am
@@ -0,0 +1,8 @@
+ACLOCAL_AMFLAGS = -I m4
+
+AUTOMAKE_OPTIONS = gnu
+
+dist_doc_DATA = README.markdown
+
+SUBDIRS = \
+ src
View
0 NEWS
No changes.
View
1 README
@@ -0,0 +1 @@
+See README.markdown
View
0 README.markdown
No changes.
View
67 configure.ac
@@ -0,0 +1,67 @@
+AC_PREREQ(2.61)
+AC_INIT(6jack, 0.1, bugs at pureftpd dot org)
+AC_CONFIG_SRCDIR([src/6jack.c])
+AC_CONFIG_HEADER([config.h])
+AM_INIT_AUTOMAKE([1.9 dist-bzip2])
+AM_MAINTAINER_MODE
+
+AC_SUBST(VERSION)
+ISODATE=`date +%Y-%m-%d`
+AC_SUBST(ISODATE)
+
+# Checks for programs.
+AC_PROG_CC_C99
+AC_USE_SYSTEM_EXTENSIONS
+CPPFLAGS="$CPPFLAGS -D_XPG4_2=1"
+AC_PROG_RANLIB
+
+if test -d /usr/local/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+fi
+
+if test -d /usr/local/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+fi
+
+# Checks for libraries.
+AC_CHECK_LIB([msgpack], [msgpack_pack_raw_body])
+
+# Checks for header files.
+AC_SYS_LARGEFILE
+AC_HEADER_SYS_WAIT
+AC_CHECK_HEADERS([limits.h stdint.h stdlib.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_STDBOOL
+AC_C_RESTRICT
+AC_C_FLEXIBLE_ARRAY_MEMBER
+AC_C_VARARRAYS
+AC_TYPE_INT64_T
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_UINT32_T
+AC_TYPE_SIGNAL
+AC_TYPE_INTPTR_T
+AC_TYPE_UINTPTR_T
+AC_TYPE_UINT32_T
+AC_CHECK_TYPES([ptrdiff_t])
+
+# Checks for library functions.
+AC_FUNC_MEMCMP
+AC_CHECK_FUNCS([atexit socket])
+
+# Switches
+AC_HEADER_ASSERT
+
+AC_ARG_WITH(debug,
+[AS_HELP_STRING(--with-debug,For maintainers only - please do not use)],
+[ if test "x$withval" = "xyes" ; then
+ CFLAGS="$CFLAGS -DDEBUG=1 -g -Wall -W -Wcast-align -Wbad-function-cast -Wstrict-prototypes -Wwrite-strings -Wreturn-type "
+ fi ])
+
+AC_SUBST([MAINT])
+
+AC_CONFIG_FILES([Makefile
+ src/Makefile])
+AC_OUTPUT
View
0 6jack.c → src/6jack.c
File renamed without changes.
View
6 src/Makefile.am
@@ -0,0 +1,6 @@
+
+bin_PROGRAMS = \
+ 6jack-test
+
+6jack_test_SOURCES = \
+ 6jack.c
View
0 a.rb → src/a.rb
File renamed without changes.

0 comments on commit 031b7f7

Please sign in to comment.
Something went wrong with that request. Please try again.