I am writing a program that is compiled with popt if present, and falls back to a simple option parser if it isn't. I got that much to work, using AC_CHECK_HEADERS(popt.h) in configure.in . I am stumped, however, how to get it to link with popt if and only if it compiled with popt. How do I do this? phma
- Re: Conditional linking Pierre Abbat
- Re: Conditional linking Michael Bletzinger
- Re: Conditional linking Pierre Abbat
- Re: Conditional linking Tom Tromey
