Export SED to make sourcing of libtool work. Tighten up the directfb
2007-01-03 Matthias Clasen <mclasen@redhat.com> * configure.in: Export SED to make sourcing of libtool work. Tighten up the directfb pkgconfig check. svn path=/trunk/; revision=17033
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							559649c6ff
						
					
				
				
					commit
					5349f6dd8d
				
			@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2007-01-03  Matthias Clasen  <mclasen@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* configure.in: Export SED to make sourcing of
 | 
				
			||||||
 | 
						libtool work. Tighten up the directfb pkgconfig check.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2007-01-03  Michael Natterer  <mitch@imendio.com>
 | 
					2007-01-03  Michael Natterer  <mitch@imendio.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gtk/gtkstyle.c (option_menu_get_props)
 | 
						* gtk/gtkstyle.c (option_menu_get_props)
 | 
				
			||||||
 | 
				
			|||||||
@ -366,6 +366,7 @@ AC_ARG_ENABLE(explicit-deps,
 | 
				
			|||||||
AC_MSG_CHECKING([Whether to write dependencies into .pc files])
 | 
					AC_MSG_CHECKING([Whether to write dependencies into .pc files])
 | 
				
			||||||
case $enable_explicit_deps in
 | 
					case $enable_explicit_deps in
 | 
				
			||||||
  auto)
 | 
					  auto)
 | 
				
			||||||
 | 
					    export SED
 | 
				
			||||||
    deplibs_check_method=`(./libtool --config; echo 'eval echo $deplibs_check_method') | sh`
 | 
					    deplibs_check_method=`(./libtool --config; echo 'eval echo $deplibs_check_method') | sh`
 | 
				
			||||||
    if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
 | 
					    if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
 | 
				
			||||||
      enable_explicit_deps=yes  
 | 
					      enable_explicit_deps=yes  
 | 
				
			||||||
@ -1389,14 +1390,15 @@ if test "x$gdktarget" = "xdirectfb"; then
 | 
				
			|||||||
  DIRECTFB_REQUIRED_VERSION=0.9.24
 | 
					  DIRECTFB_REQUIRED_VERSION=0.9.24
 | 
				
			||||||
  AC_MSG_CHECKING(for DirectFB)
 | 
					  AC_MSG_CHECKING(for DirectFB)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then
 | 
					  if $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb -a $PKG_CONFIG --exists cairo-directfb ; then
 | 
				
			||||||
      AC_MSG_RESULT(found)
 | 
					      AC_MSG_RESULT(found)
 | 
				
			||||||
      GDK_EXTRA_CFLAGS="`$PKG_CONFIG --cflags cairo-directfb` $GDK_EXTRA_CFLAGS"
 | 
					      GDK_EXTRA_CFLAGS="`$PKG_CONFIG --cflags cairo-directfb` $GDK_EXTRA_CFLAGS"
 | 
				
			||||||
      GDK_EXTRA_LIBS="`$PKG_CONFIG --libs cairo-directfb` $GDK_EXTRA_LIBS"
 | 
					      GDK_EXTRA_LIBS="`$PKG_CONFIG --libs cairo-directfb` $GDK_EXTRA_LIBS"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
      AC_MSG_ERROR([
 | 
					      AC_MSG_ERROR([
 | 
				
			||||||
*** DirectFB $DIRECTFB_REQUIRED_VERSION or newer is required. The latest
 | 
					*** DirectFB $DIRECTFB_REQUIRED_VERSION or newer and the cairo backend 
 | 
				
			||||||
*** version of DirectFB is always available from http://www.directfb.org/.
 | 
					*** are required. The latest version of DirectFB is always available 
 | 
				
			||||||
 | 
					*** from http://www.directfb.org/.
 | 
				
			||||||
  ])
 | 
					  ])
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1569,6 +1571,7 @@ CPPFLAGS="$gtk_save_cppflags"
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# We are using gmodule-no-export now, but I'm leaving the stripping
 | 
					# We are using gmodule-no-export now, but I'm leaving the stripping
 | 
				
			||||||
# code in place for now, since pango and atk still require gmodule.
 | 
					# code in place for now, since pango and atk still require gmodule.
 | 
				
			||||||
 | 
					export SED
 | 
				
			||||||
export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
 | 
					export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
 | 
				
			||||||
if test -n "$export_dynamic"; then
 | 
					if test -n "$export_dynamic"; then
 | 
				
			||||||
  GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
 | 
					  GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user