From: Paul Ramsey Date: Thu, 1 Mar 2012 19:46:45 +0000 (+0000) Subject: Make --prefix note a warning rather than a failure. (#1628) X-Git-Tag: 2.0.0beta2~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bbca4bf0b3a997c625b4311c18f58fbe920c702;p=postgis Make --prefix note a warning rather than a failure. (#1628) git-svn-id: http://svn.osgeo.org/postgis/trunk@9375 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/configure.ac b/configure.ac index 3789b41f3..c413097ef 100644 --- a/configure.ac +++ b/configure.ac @@ -451,21 +451,16 @@ dnl Explain our prefix policy if necessary. dnl =========================================================================== if test "$prefix" != "NONE"; then - AC_MSG_RESULT([----------------------------------------------------------------------]) - AC_MSG_RESULT([ You have set the --prefix to '$prefix'. Unfortunately the PostGIS ]) - AC_MSG_RESULT([ build system can only install into the directories used by the ]) - AC_MSG_RESULT([ PostgreSQL build you are compiling against, the one that supplied ]) - AC_MSG_RESULT([ the pg_config we detected: $PGCONFIG ]) - AC_MSG_RESULT([ Based on that script we will be installing: ]) + AC_MSG_RESULT([------------------------------------------------------------------------]) + AC_MSG_RESULT([ WARNING: You have set the --prefix to '$prefix'. But we mostly ]) + AC_MSG_RESULT([ ignore the --prefix. For your info, using the values determined from ]) + AC_MSG_RESULT([ $PGCONFIG we will be installing: ]) AC_MSG_RESULT([ * postgis shared library in $PGSQL_LIBDIR ]) AC_MSG_RESULT([ * postgis SQL files in $PGSQL_SHAREDIR/contrib/postgis-$POSTGIS_MAJOR_VERSION.$POSTGIS_MINOR_VERSION ]) AC_MSG_RESULT([ * postgis executables in $PGSQL_BINDIR ]) - AC_MSG_RESULT([ Please try again without a --prefix, sorry. ]) - AC_MSG_RESULT([----------------------------------------------------------------------]) - AC_MSG_ERROR([]) + AC_MSG_RESULT([------------------------------------------------------------------------]) fi - dnl =========================================================================== dnl Detect libxml2 if it is installed dnl (needed to GeomFromGML and GeomFromKML functions)