aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-10-14 15:37:18 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-10-14 15:37:18 +0200
commite6cebc5c9b52a0b381ee7a8268dea4980a235738 (patch)
tree00b05091cbc49ecb7a4708b0e6c39aa4c2fd7659
parent9db3fec3c7385c6895830b16a3b3010f9d339b47 (diff)
parent809c64828aa25759db78d971384407433b8f9cdd (diff)
downloadopenembedded-e6cebc5c9b52a0b381ee7a8268dea4980a235738.tar.gz
Merge branch 'org.openembedded.dreambox' of git://git.openembedded.net/openembedded into org.openembedded.dreambox
-rw-r--r--packages/tuxbox/files/acinclude.m416
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/tuxbox/files/acinclude.m4 b/packages/tuxbox/files/acinclude.m4
index ecb6a64123..3c26669091 100644
--- a/packages/tuxbox/files/acinclude.m4
+++ b/packages/tuxbox/files/acinclude.m4
@@ -149,15 +149,17 @@ AC_ARG_WITH(driver,
[ --with-driver=PATH path for driver sources [[NONE]]],
[DRIVER="$withval"],[DRIVER=""])
-if test -d "$DRIVER/include"; then
- AC_DEFINE(HAVE_DBOX2_DRIVER,1,[Define to 1 if you have the dbox2 driver sources])
-#else
-# AC_MSG_ERROR([can't find driver sources])
-fi
+if test "$DRIVER"; then
+ if test -d "$DRIVER/include"; then
+ AC_DEFINE(HAVE_DBOX2_DRIVER,1,[Define to 1 if you have the dbox2 driver sources])
+ #else
+ # AC_MSG_ERROR([can't find driver sources])
+ fi
-AC_SUBST(DRIVER)
+ AC_SUBST(DRIVER)
-CPPFLAGS="$CPPFLAGS -I$DRIVER/include"
+ CPPFLAGS="$CPPFLAGS -I$DRIVER/include"
+fi
])
AC_DEFUN([TUXBOX_APPS_DVB],[