13 Jul 23:09
r1116 - trunk/libdvdnav/configure2
From: rathann <subversion@...>
Subject: r1116 - trunk/libdvdnav/configure2
Newsgroups: gmane.comp.video.dvdnav.general
Date: 2008-07-13 21:12:49 GMT
Subject: r1116 - trunk/libdvdnav/configure2
Newsgroups: gmane.comp.video.dvdnav.general
Date: 2008-07-13 21:12:49 GMT
Author: rathann Date: Sun Jul 13 23:12:49 2008 New Revision: 1116 Log: Rework dvdread-config handling. --cflags may be empty. Modified: trunk/libdvdnav/configure2 Modified: trunk/libdvdnav/configure2 ============================================================================== --- trunk/libdvdnav/configure2 (original) +++ trunk/libdvdnav/configure2 Sun Jul 13 23:12:49 2008 @@ -103,13 +103,15 @@ test -z "$libdir" && libdir=$PREFIX/lib test -z "$shlibdir" && shlibdir=$PREFIX/lib test -z "$incdir" && incdir=$PREFIX/include/dvdnav -dvdread_cflags=`$DVDREAD_CONFIG --cflags` -dvdread_libs=`$DVDREAD_CONFIG --libs` -if test -z "$dvdread_cflags" ; then - echo "$DVDREAD_CONFIG --cflags returned an error. Can't proceed" +dvdread=no +$DVDREAD_CONFIG --prefix >> /dev/null 2>&1 && dvdread=yes +test "$dvdread" != "yes" && $DVDREAD_CONFIG --exists >> /dev/null 2>&1 && dvdread=yes +if test "$dvdread" != "yes" ; then + echo "$DVDREAD_CONFIG returned an error. Can't proceed" exit 1 fi -(Continue reading)
RSS Feed