summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac32
1 files changed, 32 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..9297ac5
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,32 @@
+dnl guile-email --- Guile email parser
+dnl Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+dnl
+dnl This file is part of guile-email.
+dnl
+dnl guile-email is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU Affero General Public License as
+dnl published by the Free Software Foundation; either version 3 of the
+dnl License, or (at your option) any later version.
+dnl
+dnl guile-email is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Affero General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU Affero General Public
+dnl License along with guile-email. If not, see
+dnl <http://www.gnu.org/licenses/>.
+
+AC_INIT([guile-email], [0.1])
+AC_CONFIG_AUX_DIR([build-aux])
+AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
+
+GUILE_PKG([2.2])
+GUILE_PROGS
+if test "x$GUILD" = "x"; then
+ AC_MSG_ERROR(['guild' binary not found; please check your guile-2.2 installation.])
+fi
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
+AC_OUTPUT