[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /srv/bzr/emacs/trunk r101625: Set up GnuTLS support.
From: |
Glenn Morris |
Subject: |
Re: /srv/bzr/emacs/trunk r101625: Set up GnuTLS support. |
Date: |
Sun, 03 Oct 2010 15:37:18 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Ted Zlatanov wrote:
> I didn't know it was automatic since I don't know autoheader. Can you
> check if everything works without those hand-added sections?
Running autoconf generates configure from configure.in.
Running autoheader generates src/config.in from configure.in.
AC_DEFINE statements in configure.in produce "#define foo"
statements in config.in. Hence the
AC_DEFINE(HAVE_GNUTLS, 1, [Define if using GnuTLS.])
in configure.in takes care of one of the hand-written sections.
If you really need to put anything beneath the "config_machfile" etc
stuff in config.in, you do it by adding to AH_BOTTOM in configure.in.
But you almost certainly don't need to do this. The code you have
there now has no effect, because nowhere in the C code is `LIBGNUTLS'
expanded, and even if it were, it expands to a shell variable
$(LIBGNUTLS_LIBS) which won't be set. The AC_SUBST(LIBGNUTLS_LIBS)
line handles substituting the necessary value in the Makefiles.