aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-11-07 08:55:36 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-11-07 08:55:36 -0500
commite46845e7d91407da05dc1f7c2effab5d8f93ac7d (patch)
tree7d60bf8d6c20f55e04bed4cdf4a9721702c9e135
downloaddbfs-e46845e7d91407da05dc1f7c2effab5d8f93ac7d.tar.gz
Initial checkin of glib/autoconf app skeleton.
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog0
-rw-r--r--Makefile.am13
-rw-r--r--NEWS1
-rw-r--r--README1
-rwxr-xr-xautogen.sh11
-rw-r--r--configure.ac61
-rw-r--r--skeleton.c7
8 files changed, 95 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..54da6f9
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+Jeff Garzik <jgarzik@pobox.com>
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ChangeLog
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..fe64d5d
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,13 @@
+##
+## Toplevel Makefile.am
+##
+
+INCLUDES = @GLIB_CFLAGS@
+
+sbin_PROGRAMS = skeleton
+
+skeleton_SOURCES = skeleton.c
+skeleton_LDADD = @GLIB_LIBS@
+
+EXTRA_DIST = autogen.sh
+
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..6c2f9bb
--- /dev/null
+++ b/NEWS
@@ -0,0 +1 @@
+No news is good news.
diff --git a/README b/README
new file mode 100644
index 0000000..2cc5e1e
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+This is a program that does mumble mumble mumble.
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..9f98ef8
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# You need autoconf 2.5x, preferably 2.57 or later
+# You need automake 1.7 or later. 1.6 might work.
+
+set -e
+
+aclocal
+autoheader
+automake --gnu --add-missing --copy
+autoconf
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..c09d8bf
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,61 @@
+dnl Process this file with autoconf 2.52+ to produce a configure script.
+dnl
+dnl Copyright (C) 2001 Philipp Rumpf
+dnl Copyright (C) 2004 Henrique de Moraes Holschuh <hmh@debian.org>
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+AC_INIT(skeleton, 0.1, [Jeff Garzik <jgarzik@pobox.com>])
+AC_PREREQ(2.52)
+AC_CONFIG_SRCDIR([skeleton.c])
+AM_INIT_AUTOMAKE([gnu])
+AC_CONFIG_HEADERS([skeleton-config.h])
+
+dnl Make sure anyone changing configure.ac/Makefile.am has a clue
+AM_MAINTAINER_MODE
+
+dnl Checks for programs
+AC_PROG_CC
+AC_PROG_RANLIB
+AC_PROG_GCC_TRADITIONAL
+
+dnl Checks for header files.
+dnl AC_HEADER_STDC
+dnl AC_CHECK_HEADERS(sys/ioctl.h unistd.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+dnl AC_TYPE_SIZE_T
+dnl AC_TYPE_PID_T
+
+dnl -----------------------------
+dnl Checks for required libraries
+dnl -----------------------------
+
+dnl -------------------------------------
+dnl Checks for optional library functions
+dnl -------------------------------------
+
+dnl -----------------
+dnl Configure options
+dnl -----------------
+
+dnl --------------------------
+dnl autoconf output generation
+dnl --------------------------
+
+AM_PATH_GLIB_2_0(2.0.0)
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/skeleton.c b/skeleton.c
new file mode 100644
index 0000000..8602f95
--- /dev/null
+++ b/skeleton.c
@@ -0,0 +1,7 @@
+
+#include <glib.h>
+
+int main (int argc, char *argv[])
+{
+}
+