babl r289 - in trunk: . babl tests



Author: ok
Date: Sun Mar  2 10:28:37 2008
New Revision: 289
URL: http://svn.gnome.org/viewvc/babl?rev=289&view=rev

Log:
Applied patch from dmacks netspace org closing bug #519796
* configure.ac:
* babl/Makefile.am:
* tests/Makefile.am: Only -ldl if required, passed automatically via
$LIBS


Modified:
   trunk/ChangeLog
   trunk/babl/Makefile.am
   trunk/configure.ac
   trunk/tests/Makefile.am

Modified: trunk/babl/Makefile.am
==============================================================================
--- trunk/babl/Makefile.am	(original)
+++ trunk/babl/Makefile.am	Sun Mar  2 10:28:37 2008
@@ -54,5 +54,5 @@
 	@LTLIBOBJS@
 
 libbabl_ BABL_API_VERSION@_la_LDFLAGS= 		\
-	${no_undefined} ${DL_LIB} $(MATH_LIB)	\
+	${no_undefined} $(MATH_LIB)	\
 	-version-info $(BABL_LIBRARY_VERSION)

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Sun Mar  2 10:28:37 2008
@@ -226,8 +226,7 @@
 
 dnl ===========================================================================
 
-AC_CHECK_LIB([dl], [dlopen], [DL_LIB="-ldl"])
-AC_SUBST(DL_LIB)
+AC_SEARCH_LIBS([dlopen], [dl])
 
 AC_REPLACE_FUNCS(gettimeofday)
 

Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am	(original)
+++ trunk/tests/Makefile.am	Sun Mar  2 10:28:37 2008
@@ -26,7 +26,7 @@
 AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/babl
 
 LDADD = $(top_builddir)/babl/libbabl- BABL_API_VERSION@.la \
-	$(DL_LIB) $(MATH_LIB)
+	$(MATH_LIB)
 
 noinst_PROGRAMS =		\
 	introspect		\



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