Re: [Freeciv-Dev] Silliness in FC_CHECK_X_LIB
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Pfitzner (dwp@xxxxxxxxxxxxxx) wrote:
> Greg Wooledge wrote:
> > After AC PATH XTRA: LIBS=, X_LIBS= -L/usr/X11R6/lib, X_PRE_LIBS= -lSM
> > -lICE, X_EXTRA_LIBS=
> Is there any reason at all that the freeciv configure puts X_PRE_LIBS
> _after_ X_LIBS
See above. And below.
> , given that according to the autoconf docs, (talking
> about AC_PATH_XTRA)
>
> % And it checks for
> % special X11R6 libraries that need to be linked with before
> % `-lX11', and adds any found to the output variable `X_PRE_LIBS'.
That may or may not be true. However, it's certainly incomplete.
Since AC_PATH_XTRA puts a linker flag in X_LIBS, and libraries appear
in the directory named by that flag in X_PRE_LIBS, it seems that X_LIBS
must be placed before X_PRE_LIBS on the command line.
--
"Daddy, why do those people have to | Greg Wooledge
use Microsoft Windows?" | wooledge@xxxxxxxxxxx
"Don't stare, son; it's not polite." | http://www.kellnet.com/wooledge/
[Freeciv-Dev] ./configure does work on Solaris (was: Silliness in FC_CHECK_X_LIB), Reinier Post, 1998/11/21
|
|