summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 12 insertions, 12 deletions
diff --git a/configure b/configure
index bc8c8cc574..db555ac89c 100755
--- a/configure
+++ b/configure
@@ -4236,19 +4236,19 @@ cat >$TMPC << EOF
#include <ost/audio.h>
int main(void) {return 0;}
EOF
- if cc_check ; then
+ if cc_check ; then
+ _dvb=yes
+ else
+ for I in "$_inc_dvb" "-I/usr/src/DVB/ost/include" ; do
+ if cc_check "$I" ; then
_dvb=yes
- else
- for I in "$_inc_dvb" "-I/usr/src/DVB/ost/include" ; do
- if cc_check "$I" ; then
- _dvb=yes
- _inc_dvb="$I"
- _res_comment="using $_inc_dvb"
- break
- fi
- done
- test "$_dvb" = no && _res_comment="specify path to DVB/ost/include with --with-dvbincdir=DIR"
- fi
+ _inc_dvb="$I"
+ _res_comment="using $_inc_dvb"
+ break
+ fi
+ done
+ test "$_dvb" = no && _res_comment="specify path to DVB/ost/include with --with-dvbincdir=DIR"
+ fi
fi
echores "$_dvb"
if test "$_dvb" = yes ; then