Autoconf skeleton
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 28 Aug 2007 01:34:15 +0000 (03:34 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 28 Aug 2007 01:34:15 +0000 (03:34 +0200)
AUTHORS [new file with mode: 0644]
ChangeLog [new file with mode: 0644]
Makefile.am [new file with mode: 0644]
NEWS [new file with mode: 0644]
README [new file with mode: 0644]
bootstrap [new file with mode: 0755]
configure.in [new file with mode: 0644]
src/Makefile.am [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..85c83dc
--- /dev/null
@@ -0,0 +1,4 @@
+SUBDIRS=src
+
+# Add for gettext:
+# EXTRA_DIST = config.rpath
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/bootstrap b/bootstrap
new file mode 100755 (executable)
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 (file)
index 0000000..1962594
--- /dev/null
@@ -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 (file)
index 0000000..71fa140
--- /dev/null
@@ -0,0 +1,2 @@
+bin_PROGRAMS=name
+name_SOURCES=main.c