automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AC_PATH_X


From: Ted Irons
Subject: AC_PATH_X
Date: Mon, 08 Oct 2001 17:39:10 -0700

On a Linux-2.4 machine  using the following
  AC_PATH_X
  AC_LANG_PUSH(C)
  AC_CHECK_LIB(Xmu, XmuLookupStandardColormap,,, -lXt -lX11)
  AC_CHECK_LIB(X11, XCreateWindow)
  AC_LANG_POP(C)

I get

checking for X... libraries /usr/X11/lib, headers
checking for XmuLookupStandardColormap in -lXmu... no
checking for XCreateWindow in -lX11... no

Shouldn't I get "... yes" for the last  2 items?

Note:  On some architectures (eg Linux-2.4) AC_PATH_X
is sufficient for picking up -lX11, etc.  On others  (eg
IRIX64-6.5) the AC_CHECK_LIB calls are necessary
to pick up -lX11,  etc.   I find  this behaviour strange;
any ideas as to what is going  on?


Thanks in advance,
- Ted







reply via email to

[Prev in Thread] Current Thread [Next in Thread]