#10 config assumes .so extension for shared library

closed-fixed
nobody
None
5
2007-11-28
2007-05-11
Brian McGroarty
No

The configure.in assumes the argtable2 library/shared object will end in ".so". On the Mac, for example, it is .dylib and so the configure fails even if argtable2 is present.

I don't know if this is variable across other unices, and putting a platform-specific condition in the configure seems like a hack. Is there a standard way to identify this in autoconf?

Discussion

    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=411662
    Originator: NO

    Replaced the checking code with one that should be, more or less, platform agnostic. Don't have access to a mac system at the moment in order to check it.