[PATCH] db4 for aicasm

J.A. Magallon (jamagallon@able.es)
Tue, 17 Jun 2003 23:29:17 +0200


Hi.

This enables the build of aicasm with db4-devel.

--- linux-2.4.21/drivers/scsi/aic7xxx/aicasm/Makefile.orig 2003-06-17 23:26:37.000000000 +0200
+++ linux-2.4.21/drivers/scsi/aic7xxx/aicasm/Makefile 2003-06-17 23:26:55.000000000 +0200
@@ -33,7 +33,9 @@
$(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG)

aicdb.h:
- @if [ -e "/usr/include/db3/db_185.h" ]; then \
+ @if [ -e "/usr/include/db4/db_185.h" ]; then \
+ echo "#include <db4/db_185.h>" > aicdb.h; \
+ elif [ -e "/usr/include/db3/db_185.h" ]; then \
echo "#include <db3/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db2/db_185.h" ]; then \
echo "#include <db2/db_185.h>" > aicdb.h; \
--- linux-2.4.21/drivers/scsi/aic79xx/aicasm/Makefile.orig 2003-06-17 23:25:57.000000000 +0200
+++ linux-2.4.21/drivers/scsi/aic79xx/aicasm/Makefile 2003-06-17 23:26:22.000000000 +0200
@@ -33,7 +33,9 @@
$(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG)

aicdb.h:
- @if [ -e "/usr/include/db3/db_185.h" ]; then \
+ @if [ -e "/usr/include/db4/db_185.h" ]; then \
+ echo "#include <db4/db_185.h>" > aicdb.h; \
+ elif [ -e "/usr/include/db3/db_185.h" ]; then \
echo "#include <db3/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db2/db_185.h" ]; then \
echo "#include <db2/db_185.h>" > aicdb.h; \

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.21-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-1mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/