From: Fredrik Tolf Date: Tue, 28 Aug 2007 01:34:15 +0000 (+0200) Subject: Autoconf skeleton X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=0b26618eede5b215f03fc826ec504a8996dc8801;p=autoconf-skel.git Autoconf skeleton --- 0b26618eede5b215f03fc826ec504a8996dc8801 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