aggregate/aggregate-configure-c99.patch
Peter Fordham 52f6e40a2f Port configure script to C99.
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
Rebuilding configure with new autotools would also solve the problem.
2022-12-06 09:04:33 +01:00

13 lines
385 B
Diff

diff --git a/configure b/configure
index 57591f2..2f440f0 100755
--- a/configure
+++ b/configure
@@ -652,7 +652,7 @@ cat > conftest.$ac_ext << EOF
#line 653 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes