Work around Solaris 11's pkg-config being in /usr/ccs/bin but its

aclocal directory apparently being in /usr/share/aclocal rather than the
non-existent /usr/ccs/share/aclocal.  (/usr/ccs is sort of an extension
of /usr for developers; I'm not sure why they stuck the pkg-config stuff
under /usr/share rather than /usr/ccs/share given that it's of interest
only to developers.)

svn path=/trunk/; revision=44922
This commit is contained in:
Guy Harris 2012-09-16 01:49:59 +00:00
parent 826bba705b
commit 8e10fa73d5
1 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,16 @@ else
#
pkg_config_aclocal_dir=""
else
#
# Solaris 11's default pkg-config installation puts
# it in /usr/ccs/bin, but there's no /usr/ccs/share.
# Map /usr/ccs to /usr.
#
if [ "$pkg_config_prefix" = /usr/ccs ]
then
pkg_config_prefix=/usr
fi
#
# Now get the path of its aclocal directory.
#