Autoconfiscated
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Wed, 13 Sep 2006 00:01:05 +0000 (00:01 +0000)
committerThadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
Wed, 13 Sep 2006 00:01:05 +0000 (00:01 +0000)
Autoconf and automake files. Only those files needed to generate the
other ones using aclocal, autoconf and automake.

AUTHORS [new file with mode: 0644]
Makefile.am [new file with mode: 0644]
configure.ac [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..66739c0
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..6302f7f
--- /dev/null
@@ -0,0 +1,3 @@
+bin_PROGRAMS = improxy
+improxy_SOURCES = improxy.c log.c log.h
+sysconf_DATA = improxy.conf
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..d0884c6
--- /dev/null
@@ -0,0 +1,17 @@
+AC_INIT(improxy,0.1,cascardo@holoscopio.com)
+AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
+AC_PROG_CC
+AC_PROG_INSTALL
+AM_PATH_GNET_2_0(,,AC_MSG_ERROR(GNet not found))
+LIBS="$GNET_LIBS $LIBS"
+CFLAGS="$GNET_CFLAGS $CFLAGS"
+if test "${sysconfdir}x" = '${prefix}/etcx'; then
+       if test "${prefix}x" = 'NONEx'; then
+               AC_DEFINE_UNQUOTED(SYSCONFDIR, "${ac_default_prefix}/etc")
+       else
+               AC_DEFINE_UNQUOTED(SYSCONFDIR, "${prefix}/etc")
+       fi
+else
+       AC_DEFINE_UNQUOTED(SYSCONFDIR, "${sysconfdir}")
+fi
+AC_OUTPUT(Makefile)