]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
change a couple of if/then/if/then constructs to use elif (Roberto Nibali)
authorlaforge <laforge>
Sun, 27 Apr 2003 10:08:31 +0000 (10:08 +0000)
committerlaforge <laforge>
Sun, 27 Apr 2003 10:08:31 +0000 (10:08 +0000)
configure.in

index 2aeb06fcea2f7a437aa4b4090e7391599a45f608..145b864de7767fd0009f13c171ca0cae73c2c021 100644 (file)
@@ -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