diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-07 08:55:36 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-07 08:55:36 -0500 |
commit | e46845e7d91407da05dc1f7c2effab5d8f93ac7d (patch) | |
tree | 7d60bf8d6c20f55e04bed4cdf4a9721702c9e135 | |
download | dbfs-e46845e7d91407da05dc1f7c2effab5d8f93ac7d.tar.gz |
Initial checkin of glib/autoconf app skeleton.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | ChangeLog | 0 | ||||
-rw-r--r-- | Makefile.am | 13 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | README | 1 | ||||
-rwxr-xr-x | autogen.sh | 11 | ||||
-rw-r--r-- | configure.ac | 61 | ||||
-rw-r--r-- | skeleton.c | 7 |
8 files changed, 95 insertions, 0 deletions
@@ -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 + @@ -0,0 +1 @@ +No news is good news. @@ -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[]) +{ +} + |