Re: How to autoconf figure out what library need to be linked to?

2021-05-06 Thread Michael Orlitzky
On Tue, 2021-03-30 at 11:47 -0500, Peng Yu wrote: > Hi, > > crypt(3) does not need -lcrypt on macOS, but need -lcrypt on Linux. > How does autoconf determine what library needs to be linked based on > the source code? Thanks. > AC_SEARCH_LIBS doesn't use the source code; instead it tries to link

How to autoconf figure out what library need to be linked to?

2021-03-30 Thread Peng Yu
Hi, crypt(3) does not need -lcrypt on macOS, but need -lcrypt on Linux. How does autoconf determine what library needs to be linked based on the source code? Thanks. -- Regards, Peng

Re: How to autoconf...

2003-07-31 Thread Braden McDaniel
On Thu, 2003-07-31 at 14:27, Frank A. Uepping wrote: > Hi, > assume someone has finished a software project and wants to distribute it > with autoconf. Currently the software compiles and runs on the platform of > the developer; though the developer is interested to get the software run on > other

Re: How to autoconf...

2003-07-31 Thread Russ Allbery
Frank A Uepping <[EMAIL PROTECTED]> writes: > Should the developer analyze its software for all the required > features it needs and fit out configure.ac with a test for it (which > will make configure fail if the test fails). > Or should the developer distribute its software with a minimal >

Re: How to autoconf...

2003-07-31 Thread Guido Draheim
Frank A. Uepping wrote: Hi, assume someone has finished a software project and wants to distribute it with autoconf. Currently the software compiles and runs on the platform of the developer; though the developer is interested to get the software run on other platforms as well, if there is a need

How to autoconf...

2003-07-31 Thread Frank A. Uepping
Hi, assume someone has finished a software project and wants to distribute it with autoconf. Currently the software compiles and runs on the platform of the developer; though the developer is interested to get the software run on other platforms as well, if there is a need (note, the developer has