*** programs.m4.ORIG	2006-08-25 22:48:02.000000000 +0200
--- programs.m4	2007-03-16 18:13:53.465374216 +0100
***************
*** 543,549 ****
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # OS/2's system install, which has a completely different semantic
  # ./install, which can be erroneously created by make from ./install.sh.
! AC_MSG_CHECKING([for a BSD-compatible install])
  if test -z "$INSTALL"; then
  AC_CACHE_VAL(ac_cv_path_install,
  [_AS_PATH_WALK([$PATH],
--- 543,549 ----
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # OS/2's system install, which has a completely different semantic
  # ./install, which can be erroneously created by make from ./install.sh.
! AC_MSG_CHECKING([for a GNU-compatible install])
  if test -z "$INSTALL"; then
  AC_CACHE_VAL(ac_cv_path_install,
  [_AS_PATH_WALK([$PATH],
***************
*** 579,586 ****
  esac])
  ])dnl
    if test "${ac_cv_path_install+set}" = set; then
!     INSTALL=$ac_cv_path_install
!   else
      # As a last resort, use the slow shell script.  Don't cache a
      # value for INSTALL within a source directory, because that will
      # break other packages using the cache if that directory is
--- 579,605 ----
  esac])
  ])dnl
    if test "${ac_cv_path_install+set}" = set; then
!     # Now check if the program supports the GNU Install syntax:
!     # install FILES... DIR.  Perhaps this can be integrated into
!     # the above loop, but that might not be worth the trouble.
!     ac_inst_check_deepdir=$$/deep/dir
!     rm -rf $deepdir
!     mkdir $$
!     mkdir $$/deep
!     mkdir $$/deep/dir
!     ac_inst_check_files="$$.foo $$.bar $$.baz"
!     for f in $ac_inst_check_files; do echo echo echo > $f; done
!     $ac_cv_path_install \
!       $ac_inst_check_files \
!       $ac_inst_check_deepdir \
!       >/dev/null 2>&1
!     test -x $ac_inst_check_deepdir/$$.foo \
!       -a -x $ac_inst_check_deepdir/$$.bar \
!       -a -x $ac_inst_check_deepdir/$$.baz \
!       && INSTALL=$ac_cv_path_install
!     rm -rf $ac_inst_check_deepdir $ac_inst_check_files
!   fi
!   if test -z "$INSTALL"; then
      # As a last resort, use the slow shell script.  Don't cache a
      # value for INSTALL within a source directory, because that will
      # break other packages using the cache if that directory is
