autoconf/autoconf.patch

Fri, 13 Apr 2012 18:48:23 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 18:48:23 +0200
changeset 418
680c3f7768b0
permissions
-rw-r--r--

Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.

michael@11 1 Index: autoconf-2.13/acgeneral.m4
michael@11 2 diff -Nau autoconf-2.13/acgeneral.m4.orig autoconf-2.13/acgeneral.m4
michael@11 3 --- autoconf-2.13/acgeneral.m4.orig Tue Jan 5 14:27:37 1999
michael@11 4 +++ autoconf-2.13/acgeneral.m4 Thu Mar 2 12:04:32 2000
michael@11 5 @@ -868,6 +868,10 @@
michael@11 6 ac_aux_dir=$ac_dir
michael@11 7 ac_install_sh="$ac_aux_dir/install.sh -c"
michael@11 8 break
michael@11 9 + elif test -f $ac_dir/shtool; then
michael@11 10 + ac_aux_dir=$ac_dir
michael@11 11 + ac_install_sh="$ac_aux_dir/shtool install -c"
michael@11 12 + break
michael@11 13 fi
michael@11 14 done
michael@11 15 if test -z "$ac_aux_dir"; then

mercurial