autoconf/autoconf.patch

Sat, 01 Sep 2012 12:17:10 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 01 Sep 2012 12:17:10 +0200
changeset 653
9d74c60eb90e
permissions
-rw-r--r--

Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.

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

mercurial