--- /dev/null
+#!/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
--- /dev/null
+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
+])