[mythtv] Configure problem - does not check all deps [PATCH]

Nigel Pearson nigel at ind.tansu.com.au
Wed Jun 27 04:37:54 UTC 2007


Configure currently only checks one of the dependencies
(libmp3lame).
This patch adds checks for FreeType, SQL and QT-mt
I have only tested on Mac OS and one Linux env., though.
If people could test on a few different MySQL and Qt
build environments, I would appreciate it.


Index: configure
===================================================================
--- configure (revision 13771)
+++ /configure (working copy)
@@ -2623,6 +2623,17 @@
      fi
  fi

+# Check that all MythTV build "requirements" are met:
+
+enabled freetype2 ||
+    die "ERROR! You must have FreeType installed to compile MythTV."
+
+has_library libqt-mt ||
+    die "ERROR! You must have a threaded Qt installed to compile  
MythTV."
+
+has_library libmysqlclient || has_library mysql/libmysqlclient ||
+    die "ERROR! You must have a MySQL library installed to compile  
MythTV."
+
  enabled lamemp3 && has_library libmp3lame && has_header lame/lame.h ||
      die "ERROR! You must have the Lame MP3 encoding library  
installed to compile MythTV."

--
Nigel Pearson, nigel at ind.tansu.com.au|"Now the world has gone to bed,
Telstra Net. Eng., Sydney, Australia | Darkness won't engulf my head,
Office: 9202 3900    Fax:  9261 3912 | I can see by infrared,
Mobile: 0408 664435  Home: 9792 6998 | How I hate the night." -Marvin


More information about the mythtv-dev mailing list