]> granicus.if.org Git - postgis/commitdiff
Make --prefix note a warning rather than a failure. (#1628)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 1 Mar 2012 19:46:45 +0000 (19:46 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 1 Mar 2012 19:46:45 +0000 (19:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9375 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 3789b41f31331f8a2a0d5886a97f6d554dedc9fa..c413097ef8cd228574b004e8e9b829a21a9fb2c3 100644 (file)
@@ -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)