diff options
author | George Kadianakis <desnacked@riseup.net> | 2021-04-19 17:33:45 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2021-04-19 17:33:45 +0300 |
commit | 2fc077e6766d66b6b4954c2d9a95a663f484da21 (patch) | |
tree | 854572cba785f357beb5064783fa4d9ecab5254e | |
parent | eddb3e262e3dd69c93082d1b7db872bff47fad87 (diff) | |
parent | 925ec0e0ea03357537f22f5e5c774d2c5aa02ecf (diff) | |
download | tor-2fc077e6766d66b6b4954c2d9a95a663f484da21.tar.gz tor-2fc077e6766d66b6b4954c2d9a95a663f484da21.zip |
Merge branch 'maint-0.4.5' into release-0.4.5
-rw-r--r-- | changes/autoconf-2.70 | 3 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/changes/autoconf-2.70 b/changes/autoconf-2.70 new file mode 100644 index 0000000000..27a9f243b1 --- /dev/null +++ b/changes/autoconf-2.70 @@ -0,0 +1,3 @@ + o Minor features (compilation): + - Make the autoconf script build correctly with autoconf versions 2.70 + and later. Closes part of ticket 40335. diff --git a/configure.ac b/configure.ac index dfd7a495bb..a85d530bed 100644 --- a/configure.ac +++ b/configure.ac @@ -441,7 +441,11 @@ AM_CONDITIONAL(BUILD_MANPAGE, [test "x$enable_manpage" != "xno"]) AM_CONDITIONAL(BUILD_HTML_DOCS, [test "x$enable_html_manual" != "xno"]) AM_PROG_CC_C_O -AC_PROG_CC_C99 + +dnl Before autoconf 2.70, AC_PROG_CC_C99 is supposedly necessary for some +dnl compilers if you wan't C99 support. Starting with 2.70, it is obsolete and +dnl forbidden. +m4_version_prereq([2.70], [:], [AC_PROG_CC_C99]) AC_CACHE_CHECK([for Python 3], [tor_cv_PYTHON], [AC_PATH_PROGS_FEATURE_CHECK([PYTHON], [ \ |