annotate configure.ac @ 9:8966edef462a

Add more uw_strdup, which seems to avoid problems from reuse of memory
author Adam Chlipala <adam@chlipala.net>
date Thu, 04 Feb 2016 17:50:25 -0500
parents db4d025f7bd3
children
rev   line source
adam@0 1 AC_INIT([email], [1.0])
adam@1 2
adam@1 3 # automake 1.12 requires this, but automake 1.11 doesn't recognize it
adam@1 4 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
adam@1 5
adam@0 6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
adam@0 7 AC_PROG_CC()
adam@0 8 AC_PROG_LIBTOOL()
adam@0 9 AC_CONFIG_MACRO_DIR([m4])
adam@0 10
adam@0 11 if test [$prefix = "NONE"]; then
adam@0 12 prefix=/usr/local
adam@0 13 fi
adam@0 14
adam@0 15 if test [-z $URWEB_LIB]; then
adam@0 16 URWEB_LIB=$prefix/lib/urweb
adam@0 17 fi
adam@0 18
adam@0 19 if test [-z $URWEB_INC]; then
adam@0 20 URWEB_INC=$prefix/include/urweb
adam@0 21 fi
adam@0 22
adam@0 23 AC_SUBST(URWEB_LIB)
adam@0 24 AC_SUBST(URWEB_INC)
adam@0 25
adam@0 26 AC_CONFIG_FILES([
adam@0 27 Makefile
adam@0 28 ])
adam@0 29
adam@0 30 AC_OUTPUT()
adam@0 31
adam@0 32 cat <<EOF
adam@0 33
adam@0 34 Ur/Web e-mail library configuration:
adam@0 35 Ur/Web lib: URWEB_LIB $URWEB_LIB
adam@0 36 Ur/Web include: URWEB_INC $URWEB_INC
adam@0 37 EOF