Mercurial > email
annotate configure.ac @ 0:33bf7ee17644
Initial import from some old code
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 03 Mar 2012 14:59:04 -0500 |
parents | |
children | db4d025f7bd3 |
rev | line source |
---|---|
adam@0 | 1 AC_INIT([email], [1.0]) |
adam@0 | 2 AM_INIT_AUTOMAKE([-Wall -Werror foreign]) |
adam@0 | 3 AC_PROG_CC() |
adam@0 | 4 AC_PROG_LIBTOOL() |
adam@0 | 5 AC_CONFIG_MACRO_DIR([m4]) |
adam@0 | 6 |
adam@0 | 7 if test [$prefix = "NONE"]; then |
adam@0 | 8 prefix=/usr/local |
adam@0 | 9 fi |
adam@0 | 10 |
adam@0 | 11 if test [-z $URWEB_LIB]; then |
adam@0 | 12 URWEB_LIB=$prefix/lib/urweb |
adam@0 | 13 fi |
adam@0 | 14 |
adam@0 | 15 if test [-z $URWEB_INC]; then |
adam@0 | 16 URWEB_INC=$prefix/include/urweb |
adam@0 | 17 fi |
adam@0 | 18 |
adam@0 | 19 AC_SUBST(URWEB_LIB) |
adam@0 | 20 AC_SUBST(URWEB_INC) |
adam@0 | 21 |
adam@0 | 22 AC_CONFIG_FILES([ |
adam@0 | 23 Makefile |
adam@0 | 24 ]) |
adam@0 | 25 |
adam@0 | 26 AC_OUTPUT() |
adam@0 | 27 |
adam@0 | 28 cat <<EOF |
adam@0 | 29 |
adam@0 | 30 Ur/Web e-mail library configuration: |
adam@0 | 31 Ur/Web lib: URWEB_LIB $URWEB_LIB |
adam@0 | 32 Ur/Web include: URWEB_INC $URWEB_INC |
adam@0 | 33 EOF |