diff options
| author | Glenn Morris | 2013-10-12 06:17:41 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-10-12 06:17:41 -0400 |
| commit | 18f19af2a797ac472dee3bd226fbd8c327f04fb6 (patch) | |
| tree | 84ce6190280966a4985949db966fea6787a67199 | |
| parent | 713588454799718dd83b39bfd2a19329d123682c (diff) | |
| download | emacs-18f19af2a797ac472dee3bd226fbd8c327f04fb6.tar.gz emacs-18f19af2a797ac472dee3bd226fbd8c327f04fb6.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/config.in | 3 | ||||
| -rwxr-xr-x | autogen/configure | 59 |
2 files changed, 62 insertions, 0 deletions
diff --git a/autogen/config.in b/autogen/config.in index 930a7b4e3db..d57d1575119 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -576,6 +576,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 576 | /* Define if using GnuTLS. */ | 576 | /* Define if using GnuTLS. */ |
| 577 | #undef HAVE_GNUTLS | 577 | #undef HAVE_GNUTLS |
| 578 | 578 | ||
| 579 | /* Define if using GnuTLS v3. */ | ||
| 580 | #undef HAVE_GNUTLS3 | ||
| 581 | |||
| 579 | /* Define to 1 if you have the gpm library (-lgpm). */ | 582 | /* Define to 1 if you have the gpm library (-lgpm). */ |
| 580 | #undef HAVE_GPM | 583 | #undef HAVE_GPM |
| 581 | 584 | ||
diff --git a/autogen/configure b/autogen/configure index d57fae081f3..ef21aa8cab2 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -12253,11 +12253,69 @@ fi | |||
| 12253 | 12253 | ||
| 12254 | 12254 | ||
| 12255 | HAVE_GNUTLS=no | 12255 | HAVE_GNUTLS=no |
| 12256 | HAVE_GNUTLS3=no | ||
| 12256 | if test "${with_gnutls}" = "yes" ; then | 12257 | if test "${with_gnutls}" = "yes" ; then |
| 12257 | 12258 | ||
| 12258 | succeeded=no | 12259 | succeeded=no |
| 12259 | 12260 | ||
| 12260 | if test "$PKG_CONFIG" = "no" ; then | 12261 | if test "$PKG_CONFIG" = "no" ; then |
| 12262 | HAVE_GNUTLS3=no | ||
| 12263 | else | ||
| 12264 | PKG_CONFIG_MIN_VERSION=0.9.0 | ||
| 12265 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | ||
| 12266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 3.0.0" >&5 | ||
| 12267 | $as_echo_n "checking for gnutls >= 3.0.0... " >&6; } | ||
| 12268 | |||
| 12269 | if "$PKG_CONFIG" --exists "gnutls >= 3.0.0" 2>&5 && | ||
| 12270 | LIBGNUTLS_CFLAGS=`"$PKG_CONFIG" --cflags "gnutls >= 3.0.0" 2>&5` && | ||
| 12271 | LIBGNUTLS_LIBS=`"$PKG_CONFIG" --libs "gnutls >= 3.0.0" 2>&5`; then | ||
| 12272 | edit_cflags=" | ||
| 12273 | s,///*,/,g | ||
| 12274 | s/^/ / | ||
| 12275 | s/ -I/ $isystem/g | ||
| 12276 | s/^ // | ||
| 12277 | " | ||
| 12278 | LIBGNUTLS_CFLAGS=`$as_echo "$LIBGNUTLS_CFLAGS" | sed -e "$edit_cflags"` | ||
| 12279 | LIBGNUTLS_LIBS=`$as_echo "$LIBGNUTLS_LIBS" | sed -e 's,///*,/,g'` | ||
| 12280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes CFLAGS='$LIBGNUTLS_CFLAGS' LIBS='$LIBGNUTLS_LIBS'" >&5 | ||
| 12281 | $as_echo "yes CFLAGS='$LIBGNUTLS_CFLAGS' LIBS='$LIBGNUTLS_LIBS'" >&6; } | ||
| 12282 | succeeded=yes | ||
| 12283 | else | ||
| 12284 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 12285 | $as_echo "no" >&6; } | ||
| 12286 | LIBGNUTLS_CFLAGS="" | ||
| 12287 | LIBGNUTLS_LIBS="" | ||
| 12288 | ## If we have a custom action on failure, don't print errors, but | ||
| 12289 | ## do set a variable so people can do so. Do it in a subshell | ||
| 12290 | ## to capture any diagnostics in invoking pkg-config. | ||
| 12291 | LIBGNUTLS_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "gnutls >= 3.0.0") 2>&1` | ||
| 12292 | |||
| 12293 | fi | ||
| 12294 | |||
| 12295 | |||
| 12296 | |||
| 12297 | else | ||
| 12298 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | ||
| 12299 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | ||
| 12300 | fi | ||
| 12301 | fi | ||
| 12302 | |||
| 12303 | if test $succeeded = yes; then | ||
| 12304 | HAVE_GNUTLS3=yes | ||
| 12305 | else | ||
| 12306 | HAVE_GNUTLS3=no | ||
| 12307 | fi | ||
| 12308 | |||
| 12309 | if test "${HAVE_GNUTLS3}" = "yes"; then | ||
| 12310 | |||
| 12311 | $as_echo "#define HAVE_GNUTLS3 1" >>confdefs.h | ||
| 12312 | |||
| 12313 | HAVE_GNUTLS="yes" | ||
| 12314 | else | ||
| 12315 | |||
| 12316 | succeeded=no | ||
| 12317 | |||
| 12318 | if test "$PKG_CONFIG" = "no" ; then | ||
| 12261 | HAVE_GNUTLS=no | 12319 | HAVE_GNUTLS=no |
| 12262 | else | 12320 | else |
| 12263 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12321 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| @@ -12305,6 +12363,7 @@ $as_echo "no" >&6; } | |||
| 12305 | HAVE_GNUTLS=no | 12363 | HAVE_GNUTLS=no |
| 12306 | fi | 12364 | fi |
| 12307 | 12365 | ||
| 12366 | fi | ||
| 12308 | if test "${HAVE_GNUTLS}" = "yes"; then | 12367 | if test "${HAVE_GNUTLS}" = "yes"; then |
| 12309 | 12368 | ||
| 12310 | $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h | 12369 | $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h |