diff options
author | laforge <laforge> | 2003-04-27 10:08:31 +0000 |
---|---|---|
committer | laforge <laforge> | 2003-04-27 10:08:31 +0000 |
commit | 79fa4ccd0260ac5febcd4b4fc764a1825efee647 (patch) | |
tree | b8cc8b4702c4c4fd229f09a9ad14e404c2d1d989 /configure.in | |
parent | f3166bffae96daf6f2c044f5deae676718892c74 (diff) |
change a couple of if/then/if/then constructs to use elif (Roberto Nibali)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 3 insertions, 6 deletions
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 |