From 8e10fa73d5ffca0fbc79c63b489f57ec88cc73b4 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Sep 2012 01:49:59 +0000 Subject: 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 --- aclocal-flags | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'aclocal-flags') diff --git a/aclocal-flags b/aclocal-flags index 4f2a08385d..77a5cd1571 100755 --- a/aclocal-flags +++ b/aclocal-flags @@ -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. # -- cgit v1.2.3