paulo@0: ############################################################################### paulo@0: ## $Id: gift-prefix.m4,v 1.2 2004/01/04 07:35:13 hipnod Exp $ paulo@0: ############################################################################### paulo@0: paulo@0: AC_DEFUN([GIFT_PLUGIN_CHECK_PREFIX],[ paulo@0: libgift_prefix=`pkg-config --variable=prefix libgift` paulo@0: paulo@0: gift_plugin_prefix=$prefix paulo@0: if test x"$prefix" = xNONE; then paulo@0: gift_plugin_prefix=/usr/local paulo@0: fi paulo@0: paulo@0: if test x"$libgift_prefix" != x"$gift_plugin_prefix"; then paulo@0: AC_MSG_WARN([ paulo@0: You are trying to install in $gift_plugin_prefix, but I only paulo@0: detected a giFT installation in $libgift_prefix. paulo@0: You may be installing in the wrong place. paulo@0: paulo@0: You should probably supply --prefix=$libgift_prefix paulo@0: to configure. Or, if you have a giFT installation in paulo@0: $gift_plugin_prefix, you could add ${gift_plugin_prefix}/lib/pkgconfig paulo@0: to the PKG_CONFIG_PATH environment variable, so I can detect it. paulo@0: ]) paulo@0: fi paulo@0: ])