CVS: sylpheedclaws/plugins/acpi_notifier configure.ac,1.1.2.17,1.1.2.18

[email protected]
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/plugins/acpi_notifier
In directory sunsite.dk:/tmp/cvs-serv1595/acpi_notifier

Modified Files:
      Tag: gtk2
	configure.ac 
Log Message:
Fix bug #958 (Extra plugins define wrong SYLPHEED_CLAWS_PLUGINDIR when prefix is set)


Index: configure.ac
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/acpi_notifier/Attic/configure.ac,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -u -d -r1.1.2.17 -r1.1.2.18
--- configure.ac	2006/04/07 15:56:12	1.1.2.17
+++ configure.ac	2006/05/30 16:42:47	1.1.2.18
@@ -50,15 +50,15 @@
 dnl check for sylpheed-claws
 PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 2.0.0.139)
 if test -z $prefix || test "${prefix}" == "NONE" ; then
+  prefix=$( $PKG_CONFIG --variable=prefix sylpheed-claws )
   SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
 else
-  SYLPHEED_CLAWS_PLUGINDIR=${prefix}/lib/sylpheed-claws/plugins
+  SYLPHEED_CLAWS_PLUGINDIR='${libdir}/sylpheed-claws/plugins'
 fi
 AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
 AC_SUBST(SYLPHEED_CLAWS_LIBS)
 AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)
 
-prefix=$( $PKG_CONFIG --variable=prefix sylpheed-claws )
 localedir="${prefix}/share/locale"
 AC_ARG_WITH(localedir,
 	[  --with-localedir=DIR    Locale directory],


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.