From 0b26618eede5b215f03fc826ec504a8996dc8801 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Tue, 28 Aug 2007 03:34:15 +0200 Subject: [PATCH] Autoconf skeleton --- AUTHORS | 0 ChangeLog | 0 Makefile.am | 4 ++++ NEWS | 0 README | 0 bootstrap | 17 +++++++++++++++++ configure.in | 22 ++++++++++++++++++++++ src/Makefile.am | 2 ++ 8 files changed, 45 insertions(+) create mode 100644 AUTHORS create mode 100644 ChangeLog create mode 100644 Makefile.am create mode 100644 NEWS create mode 100644 README create mode 100755 bootstrap create mode 100644 configure.in create mode 100644 src/Makefile.am diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..85c83dc --- /dev/null +++ b/Makefile.am @@ -0,0 +1,4 @@ +SUBDIRS=src + +# Add for gettext: +# EXTRA_DIST = config.rpath 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/bootstrap b/bootstrap new file mode 100755 index 0000000..91d2d2e --- /dev/null +++ b/bootstrap @@ -0,0 +1,17 @@ +#!/bin/sh + +dolibtool=no +dogettext=no + +if [ "$dogettext" = yes ]; then + autopoint || exit + aclocal$AUTOMAKE_VERSION -I m4 || exit +else + aclocal$AUTOMAKE_VERSION || exit +fi +autoheader || exit +if [ "$dolibtool" = yes ]; then + libtoolize --copy --force || exit +fi +automake$AUTOMAKE_VERSION --add-missing --copy || exit +autoconf || exit diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..1962594 --- /dev/null +++ b/configure.in @@ -0,0 +1,22 @@ +AC_INIT(src/main.c) +AM_INIT_AUTOMAKE([pkgname], [0.1]) +AM_CONFIG_HEADER(config.h) + +AC_PROG_CC +AC_PROG_INSTALL + +dnl Add for gettext: +dnl AM_GNU_GETTEXT_VERSION(0.12.1) +dnl AM_GNU_GETTEXT([external]) + +dnl Add for libtool: +dnl AM_PROG_LIBTOOL + +AC_HEADER_STDC + +AC_OUTPUT([ +Makefile +src/Makefile +dnl Add for gettext: +dnl po/Makefile.in +]) diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..71fa140 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,2 @@ +bin_PROGRAMS=name +name_SOURCES=main.c -- 2.11.0