Hi, when building with the WITH_DEV conditional, either `libupsclient.pc' *or* `libupsclient-config' is installed. This is annoying when linking with libupsclient, because you basically have to do the check twice, once using `pkg-config' and once using `libupsclient-config'.
Please consider the attached patch, which changes the behavior of `lib/Makefile.am' to install `libupsclient-config' regardless of whether `libupsclient.pc' is installed or not. Please CC me on replies. Regards, -octo -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/
diff -pur nut-2.2.2-orig/lib/Makefile.am nut-2.2.2-octo/lib/Makefile.am --- nut-2.2.2-orig/lib/Makefile.am 2008-03-25 16:56:31.000000000 +0100 +++ nut-2.2.2-octo/lib/Makefile.am 2009-01-24 11:43:37.000000000 +0100 @@ -3,7 +3,6 @@ if WITH_DEV if WITH_PKG_CONFIG pkgconfig_DATA = libupsclient.pc -else - bin_SCRIPTS = libupsclient-config endif + bin_SCRIPTS = libupsclient-config endif
signature.asc
Description: Digital signature
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
