Mercurial > hg > index.fcgi > gift-gnutella > gift-gnutella-0.0.11-1pba
comparison m4/gift-prefix.m4 @ 0:d39e1d0d75b6
initial add
author | paulo@hit-nxdomain.opendns.com |
---|---|
date | Sat, 20 Feb 2010 21:18:28 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7bb7d914570f |
---|---|
1 ############################################################################### | |
2 ## $Id: gift-prefix.m4,v 1.2 2004/01/04 07:35:13 hipnod Exp $ | |
3 ############################################################################### | |
4 | |
5 AC_DEFUN([GIFT_PLUGIN_CHECK_PREFIX],[ | |
6 libgift_prefix=`pkg-config --variable=prefix libgift` | |
7 | |
8 gift_plugin_prefix=$prefix | |
9 if test x"$prefix" = xNONE; then | |
10 gift_plugin_prefix=/usr/local | |
11 fi | |
12 | |
13 if test x"$libgift_prefix" != x"$gift_plugin_prefix"; then | |
14 AC_MSG_WARN([ | |
15 You are trying to install in $gift_plugin_prefix, but I only | |
16 detected a giFT installation in $libgift_prefix. | |
17 You may be installing in the wrong place. | |
18 | |
19 You should probably supply --prefix=$libgift_prefix | |
20 to configure. Or, if you have a giFT installation in | |
21 $gift_plugin_prefix, you could add ${gift_plugin_prefix}/lib/pkgconfig | |
22 to the PKG_CONFIG_PATH environment variable, so I can detect it. | |
23 ]) | |
24 fi | |
25 ]) |