Re: [vchkpw] using pkgconfig in vpopmail , qmailadmin and others.

2009-10-13 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Itamar Reis Peixoto wrote:
> and in qmailadmin configure.in
> 
> auth_incs=`cat $vpopmaildir/etc/inc_deps`
> AC_SUBST(auth_incs)
> auth_libs=`cat $vpopmaildir/etc/lib_deps`
> AC_SUBST(auth_libs)

Was this the 1.4 branch of qmailadmin?

> this is wrong because my vpopmail dir is /etc/vpopmail and auth_incs
> look's in /etc/vpopmail/etc/inc_deps .
> 
> I think the best option is use pkgconfig, all modern linux distros
> have it, please look

Unfortunately we can't limit ourselves to Linux specifically, but pkgconfig
is available for all systems as far as I know.

> what you think, Can I send a patch to use pkgconfig instead config files?

Please feel free to send over any patches you feel would advance the project.
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrUi40ACgkQIwet2/rgZyxOYwCfWuJRvasv7HhAlnQcgtjVof56
TtkAn3Ssi3/9WySBINNOyg0+9yw0iH8K
=tc7L
-END PGP SIGNATURE-


[vchkpw] using pkgconfig in vpopmail , qmailadmin and others.

2009-10-13 Thread Itamar Reis Peixoto
for example.

[r...@itamar vpopmail]# pwd
/etc/vpopmail
[r...@itamar vpopmail]# cat inc_deps
-I/usr/include/vpopmail
[r...@itamar vpopmail]# cat lib_deps
-L/usr/lib -ldl -lcrypt   -lvpopmail


and in qmailadmin configure.in

auth_incs=`cat $vpopmaildir/etc/inc_deps`
AC_SUBST(auth_incs)
auth_libs=`cat $vpopmaildir/etc/lib_deps`
AC_SUBST(auth_libs)


this is wrong because my vpopmail dir is /etc/vpopmail and auth_incs
look's in /etc/vpopmail/etc/inc_deps .

I think the best option is use pkgconfig, all modern linux distros
have it, please look


references -- >

http://www.openismus.com/documents/linux/building_libraries/building_libraries.shtml#makingyourlibraryeasytouse
http://julipedia.blogspot.com/2005/03/pkg-config-quick-introduction.html


what you think, Can I send a patch to use pkgconfig instead config files?




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4ad4387832716604419423!