Index: configure.in
===================================================================
--- configure.in	(revision 2116)
+++ configure.in	(working copy)
@@ -18,6 +18,7 @@
 IT_PROG_INTLTOOL([0.35.0])
 
 PKG_PROG_PKG_CONFIG
+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
 
 # Before making a release, the BURN_LT_VERSION string should be modified.
 # The string is of the form C:R:A.
@@ -120,6 +121,11 @@
 AM_GLIB_GNU_GETTEXT
 AM_GLIB_DEFINE_LOCALEDIR([GNOMELOCALEDIR])
 
+dnl Get nautilus extensions directory
+dnl ---------------------------------
+NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension`
+AC_SUBST(NAUTILUS_EXTENSION_DIR)
+
 dnl ===========================================================================
 dnl Check for gnome-mount
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 2116)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2008-01-01  Brian Pepple  <bpepple@fedoraproject.org>
+
+	* configure.in: 
+	* src/Makefile.am: Get nautilus extension dir from
+	libnautilus-extension.pc
+
 2007-12-12  William Jon McCann  <mccann@jhu.edu>
 
 	* configure.in: Post branch version bump.
Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(revision 2116)
+++ src/Makefile.am	(working copy)
@@ -120,7 +120,7 @@
 libmapping_la_LIBADD = $(MAPPING_LIBS)
 
 ### Nautilus Extension
-nautilus_extensiondir = $(libdir)/nautilus/extensions-1.0
+nautilus_extensiondir = $(NAUTILUS_EXTENSION_DIR)
 nautilus_extension_LTLIBRARIES = libnautilus-burn-extension.la
 
 libnautilus_burn_extension_la_SOURCES = 	\
