option(NO_ITUNES_HACKS "Disable workarounds for iTunes bugs" OFF)
+add_definitions(-DHAVE_CONFIG_H)
set(TESTS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tests/")
## the following are directories where stuff will be installed to
* USA *
***************************************************************************/
-#include "taglib_config.h"
#include <stdlib.h>
#include <fileref.h>
#include <tfile.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "taglib_config.h"
#include <tdebug.h>
#include <tstring.h>
#include "asfproperties.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "taglib_config.h"
#include <tpropertymap.h>
#include "asftag.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "taglib_config.h"
-
#include <tfile.h>
#include <tstring.h>
#include <tdebug.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "taglib_config.h"
#include <tdebug.h>
#include <tstring.h>
#include "mp4file.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "taglib_config.h"
#include <tdebug.h>
#include <tstring.h>
#include <tpropertymap.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-#include "taglib_config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#if HAVE_ZLIB
#include <zlib.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-#include "taglib_config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tdebug.h>
#include "id3v2framefactory.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tfile.h>
#include "id3v2tag.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <iostream>
#include <cstdio>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "tdebug.h"
#include "tstring.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "trefcounter.h"
#if defined(HAVE_STD_ATOMIC)
// This class assumes that std::basic_string<T> has a contiguous and null-terminated buffer.
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "tstring.h"
#include "tdebug.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string>
#include <stdio.h>
-#include <config.h>
// so evil :(
#define protected public
#include <id3v2tag.h>
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef _WIN32
#include <windows.h>