I suspect something like this will fix the GCC 14 build problem with configure. 
 A
proper fix is probably to move to a newer version of autoconf and run 
autoreconf during
build.

diff --git a/configure b/configure
index 536e5f2..39de50b 100755
--- a/configure
+++ b/configure
@@ -1777,7 +1777,7 @@ cat > conftest.$ac_ext << EOF
 #line 1778 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && 
test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
@@ -1990,7 +1990,7 @@ cat > conftest.$ac_ext << EOF
 #line 1991 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && 
test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
@@ -2203,7 +2203,7 @@ cat > conftest.$ac_ext << EOF
 #line 2204 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && 
test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
diff --git a/configure.in b/configure.in
index 8f20af2..19ff2f6 100644
--- a/configure.in
+++ b/configure.in
@@ -4103,7 +4103,7 @@ unset_TZ ()
 }
 char TZ_GMT0[] = "TZ=GMT0";
 char TZ_PST8[] = "TZ=PST8";
-main()
+int main()
 {
   time_t now = time ((time_t *) 0);
   int hour_GMT0, hour_unset;

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to