[Mplayer-cvslog] CVS: main configure,1.657,1.658

Filip Kalinski CVS filon at mplayerhq.hu
Sat Feb 8 23:29:09 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv27591

Modified Files:
	configure 
Log Message:
- look for alternative locations of cdparanoia includes (in redhat this is /usr/include/cdda)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.657
retrieving revision 1.658
diff -u -r1.657 -r1.658
--- configure	8 Feb 2003 22:27:04 -0000	1.657
+++ configure	8 Feb 2003 22:29:05 -0000	1.658
@@ -3595,7 +3595,15 @@
 int main(void) { return 1; }
 EOF
     _cdparanoia=no
-    cc_check $_inc_cdparanoia $_ld_cdparanoia -lcdda_interface -lcdda_paranoia -lm && _cdparanoia=yes
+    if cc_check $_inc_cdparanoia $_ld_cdparanoia -lcdda_interface -lcdda_paranoia -lm ; then
+        _cdparanoia=yes
+    else
+	for I in /usr/include/cdda /usr/local/include/cdda ; do
+            if cc_check -I$I $_ld_cdparanoia -lcdda_interface -lcdda_paranoia -lm ; then
+	        _cdparanoia=yes; _inc_cdparanoia="-I$I"; break
+            fi
+        done
+    fi
 fi
 if test "$_cdparanoia" = yes ; then
     _def_cdparanoia='#define HAVE_CDDA'



More information about the MPlayer-cvslog mailing list