From 79fa4ccd0260ac5febcd4b4fc764a1825efee647 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) --- configure.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 2aeb06f..145b864 100644 --- a/configure.in +++ b/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