[rhythmbox] lib: Remove bundled mkdtemp



commit aba5ac1ab3bdbb2a434bfa9d6eb82df912b4d262
Author: Priit Laes <plaes plaes org>
Date:   Tue Jan 10 13:21:19 2012 +0200

    lib: Remove bundled mkdtemp

 configure.ac              |    6 --
 doc/reference/Makefile.am |    1 -
 lib/Makefile.am           |    7 --
 lib/mkdtemp.c             |  201 ---------------------------------------------
 lib/mkdtemp.h             |   40 ---------
 5 files changed, 0 insertions(+), 255 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2919646..9608033 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,12 +82,6 @@ else
 	AC_MSG_RESULT([no])
 fi
 
-mkdtemp_missing=false
-AC_CHECK_FUNC(mkdtemp,
-    [AC_DEFINE([HAVE_MKDTEMP], 1, [Have GlibC function to make temp dirs])],
-    mkdtemp_missing=true)
-AM_CONDITIONAL(MKDTEMP_MISSING, test x$mkdtemp_missing = xtrue)
-
 PKG_PROG_PKG_CONFIG
 
 PKG_CHECK_MODULES(RB_CLIENT, glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS)
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index d81304c..4a4cf5c 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -37,7 +37,6 @@ IGNORE_HFILES= \
 	eggsmclient-private.h \
 	eggsmclient.h \
 	md5.h \
-	mkdtemp.h \
 	rb-cut-and-paste-code.h \
 	rb-marshal.h \
 	rhythmdb-private.h \
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 6381ec5..5b4d193 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -3,12 +3,6 @@ SUBDIRS = libmediaplayerid
 
 noinst_LTLIBRARIES = librb.la
 
-if MKDTEMP_MISSING
-MKDTEMP_FILES = mkdtemp.c mkdtemp.h
-else
-MKDTEMP_FILES =
-endif
-
 rbincludedir = $(includedir)/rhythmbox/lib
 rbinclude_HEADERS =					\
 	rb-builder-helpers.h				\
@@ -19,7 +13,6 @@ rbinclude_HEADERS =					\
 	rb-util.h
 
 librb_la_SOURCES =					\
-	$(MKDTEMP_FILES)				\
 	$(rbinclude_HEADERS)				\
 	rb-debug.c					\
 	eggdesktopfile.c				\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]