[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CHECK_LIB - other libraries not shared
From: |
Peter Eisentraut |
Subject: |
Re: AC_CHECK_LIB - other libraries not shared |
Date: |
Wed, 9 May 2001 19:59:24 +0200 (CEST) |
Joe McAlerney writes:
> My question: Is there a way to check for the existence of X without
> checking for unresolved symbols? Libntp can be installed in an
> arbitrary location, so checking for it is probably not feasible.
Since the user is going to have a pretty hard time building your program
if your build process can't find a library, I don't think this is what you
ought to do. Instead, check for libntp first (e.g., AC_CHECK_LIB), then
check for X normally. If libntp isn't found, print an error message.
--
Peter Eisentraut address@hidden http://funkturm.homeip.net/~peter