From a2a0060fd996ee07c7eaaca23f7c3a73be91e3b6 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 27 Apr 2003 10:08:31 +0000 Subject: change a couple of if/then/if/then constructs to use elif (Roberto Nibali) --- ulogd/configure.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'ulogd/configure.in') diff --git a/ulogd/configure.in b/ulogd/configure.in index 2aeb06f..145b864 100644 --- a/ulogd/configure.in +++ b/ulogd/configure.in @@ -51,8 +51,7 @@ do mysqldir=$d mysqldir_suffix=/mysql break - fi - if test -f $d/lib/libmysqlclient.so + elif test -f $d/lib/libmysqlclient.so then AC_MSG_RESULT(found mysql in $d) mysqldir=$d @@ -146,8 +145,7 @@ do AC_MSG_RESULT(found pgsql in $d) pgsqldir=$d break - fi - if test -f $d/lib/libpq.so + elif test -f $d/lib/libpq.so then AC_MSG_RESULT(found pgsql in $d) pgsqldir=$d @@ -163,8 +161,7 @@ else if test -f ${pgsqldir}/include/libpq-fe.h then PGSQLINCLUDES=${pgsqldir}/include - fi - if test -f ${pgsqldir}/include/postgresql/libpq-fe.h + elif test -f ${pgsqldir}/include/postgresql/libpq-fe.h then PGSQLINCLUDES=${pgsqldir}/include/postgresql fi -- cgit v1.2.3