From b53e7c4aa82f7fca4d6ce166a58dc518a37d561e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Jan 2012 09:48:52 +0200 Subject: Use 'else if' make construct --- libcommon/common/makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libcommon') diff --git a/libcommon/common/makefile b/libcommon/common/makefile index accf285..842f8e4 100644 --- a/libcommon/common/makefile +++ b/libcommon/common/makefile @@ -51,17 +51,13 @@ $(out_base)/config.h: $(dcf_root)/configuration-dynamic.make | $(out_base)/. @echo '' >>$@ ifeq ($(db_id),mysql) @echo '#define DATABASE_MYSQL 1' >>$@ -endif -ifeq ($(db_id),sqlite) +else ifeq ($(db_id),sqlite) @echo '#define DATABASE_SQLITE 1' >>$@ -endif -ifeq ($(db_id),pgsql) +else ifeq ($(db_id),pgsql) @echo '#define DATABASE_PGSQL 1' >>$@ -endif -ifeq ($(db_id),oracle) +else ifeq ($(db_id),oracle) @echo '#define DATABASE_ORACLE 1' >>$@ -endif -ifeq ($(db_id),mssql) +else ifeq ($(db_id),mssql) @echo '#define DATABASE_MSSQL 1' >>$@ endif @echo '#define HAVE_TR1_MEMORY 1' >>$@ -- cgit v1.1