diff --git a/configure.ac b/configure.ac index 3708321..9e99746 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +53,7 @@ AC_ARG_ENABLE([sqlite], [enable/disable sqlite 2 support (default is disabled)])], [], [ enable_sqlite=no ]) -if test "$enable_sqlite" == yes +if test "$enable_sqlite" = yes then AC_CHECK_HEADERS([sqlite.h], , [AC_MSG_ERROR([[SQLite header not found; install libsqlite-dev and dependencies for SQLite 2 support]])]) @@ -62,7 +65,7 @@ AC_ARG_ENABLE([sqlite3], [enable/disable sqlite3 support (default is enabled)])], [], [ enable_sqlite3=yes ]) -if test "$enable_sqlite3" == yes +if test "$enable_sqlite3" = yes then AC_CHECK_HEADERS([sqlite3.h], , [AC_MSG_ERROR([[SQLite header not found; install libsqlite3-dev and dependencies for SQLite 3 support]])]) @@ -100,7 +99,7 @@ AC_ARG_ENABLE([postgres], [enable/disable Postgres support (default is disabled)])], [], [ enable_postgres=no ]) -if test "$enable_mysql" == yes +if test "$enable_mysql" = yes then # Check for mysql. # This is a bloody hack for fedora core @@ -114,7 +113,7 @@ fi AM_CONDITIONAL([HAVE_LIBMYSQL], [test "$enable_mysql" != no ]) -if test "$enable_postgres" == yes +if test "$enable_postgres" = yes then AC_CHECK_HEADERS([postgresql/libpq-fe.h], , [AC_MSG_ERROR([[postgres header not found; install libpq-dev and dependencies for Postgres support]])])