Hi Sam, > How do I check for a package (ffcall) which consists of several > libraries (avcall and callback)? > I do not want to force the user to do pass the prefix twice: > "--with-avcall-prefix=/usr/local --with-callback-prefix=/usr/local" > I want "--with-ffcall-prefix=/usr/local" instead.
I agree, what you need is a 'configure --help' that proposes --with-ffcall-prefix[=DIR] search for ffcall in DIR/include and DIR/lib --without-ffcall-prefix don't search for ffcall in includedir and libdir I would use an AC_ARG_WITH that produces this help output and then assigns the value of the with_ffcall_prefix variable to with_avcall_prefix and with_callback_prefix. Bruno