solaris11: configure: tweak check for GNU cp so it is found on Solaris 11
This commit is contained in:
parent
f2277b6211
commit
4c2c528a6b
1 changed files with 6 additions and 1 deletions
|
@ -5454,7 +5454,12 @@ fi
|
|||
dnl We also need to check for --with-gnu-cp
|
||||
|
||||
if test -z "$with_gnu_cp"; then
|
||||
AC_PATH_PROGS(GNUCP, gnucp cp)
|
||||
# check the place where the good stuff is hidden on Solaris...
|
||||
if test -x /usr/gnu/bin/cp; then
|
||||
GNUCP=/usr/gnu/bin/cp
|
||||
else
|
||||
AC_PATH_PROGS(GNUCP, gnucp cp)
|
||||
fi
|
||||
if test -z $GNUCP; then
|
||||
AC_MSG_ERROR([Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it])
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue