*** programs.m4.ORIG	2006-08-25 22:48:02.000000000 +0200
--- programs.m4	2007-03-16 17:40:37.932741288 +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,598 ----
  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
!     ac_inst_check_files=".ac.foo .ac.bar .ac.baz"
!     touch $ac_inst_check_files
!     $ac_cv_path_install $files $deepdir >/dev/null 2>&1
!     test -x $ac_inst_check_deepdir/.ac.foo \
!       -a -x $ac_inst_check_deepdir/.ac.bar \
!       -a -x $ac_inst_check_deepdir/.ac.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
