Hi Yang,

You will have to make changes in configure.ac and src/Makefile.am to build
the files in which you are making changes and to link to jpeg lib.

Make changes configure.ac file to link to libjpeg library after checking
wether the library exists in the system. You can use AC_CHECK_LIB for
checking library is installed on the system. configure.ac file is used by
autoconf tool

In src/Makefile.am you will have to add the files you want to include for
compilation.
and then run ./bootstrap it will generate all the makefiles and
configuration headers
for new compilation.

Makefile.am is used by automake to generate makefiles.

Regards,

Vivek


On Sun, Dec 7, 2008 at 9:03 AM, ych <[EMAIL PROTECTED]> wrote:

>   I found the script for checking libgcrypt in configure file. So we
> should use the same way for libjpeg , right? It seems no reason for another
> way...
> I'll modify the configure file to check jpeg lib just like libgcrypt. I
> appreciate any help from you.
> Yang
>
> On Sun, 2008-12-07 at 21:26 +0800, ych wrote:
>
> Hi,
>
> I don't know where and how to add the link option to libjpeg, I'm still
> learning the tools we use.Could someone give me some hint?
> I'm trying to get clear about the building process. I developed on windows
> visual studio before, so...Sorry for that.
> Thanks!
>
> Yang
>
>
>

Reply via email to