Make error message on missing <dbi/dbi.h> more verbose.

Also mention the infamous dbi database drivers here,
https://lists.gnucash.org/pipermail/gnucash-devel/2011-February/031171.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20420 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2011-03-14 05:39:49 +00:00
parent 00b67f967a
commit 7e950fd2e3

View File

@@ -575,7 +575,14 @@ then
LIBDBI_LIBS=-ldbi
DBI_DIR=dbi
else
AC_MSG_ERROR( Unable to find dbi/dbi.h )
AC_MSG_ERROR([
Unable to find <dbi/dbi.h>. Either install the libdbi development
package (such as libdbi0-dev), or switch off the database backend of
gnucash by --disable-dbi.
Note: If you install libdbi, you should also install its database
drivers (such as libdbd-sqlite3 libdbd-mysql libdbd-pgsql).
])
fi
fi
AC_SUBST(LIBDBI_LIBS)