Re: [E-devel] problems detecting X11 headers?
On Mon, 28 Feb 2005 19:46:13 EST, Mike Frysinger said: > if test "x$x_libraries" != "x"; then > x_libs="-L$x_libraries -lX11 -lXext" > fi Gaak. :) > x_libs is only set to '-lX11 -lXext' if x_library is a valid path ? talk > about bogus ... here's some sane logic: > > x_libs="-lX11 -lXext" > if test "x$x_libraries" != "x"; then > x_libs="-L$x_libraries $x_libs" > fi > Yes, that looks more sane indeed. pgpDHCbX76fta.pgp Description: PGP signature
Re: [E-devel] problems detecting X11 headers?
On Monday 28 February 2005 05:05 pm, [EMAIL PROTECTED] wrote: > You might want to investigate why those particular x-include and x-library > values are needed at all - is your system *not* checking /usr/include and > /usr/lib by default already? no, after glancing at the new configure.in, i'm pretty sure the bug here is this bit of logic: if test "x$have_x" = "xyes"; then if test "x$x_includes" != "x"; then x_cflags="-I$x_includes" fi if test "x$x_libraries" != "x"; then x_libs="-L$x_libraries -lX11 -lXext" fi AM_CONDITIONAL(BUILD_X11, true) AC_DEFINE(BUILD_X11, 1, [enabling X11 support]) else x_libs is only set to '-lX11 -lXext' if x_library is a valid path ? talk about bogus ... here's some sane logic: x_libs="-lX11 -lXext" if test "x$x_libraries" != "x"; then x_libs="-L$x_libraries $x_libs" fi -mike --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] problems detecting X11 headers?
On Mon, 28 Feb 2005 16:44:10 EST, Steev Klimaszewski said: > Personally, I just pass --x-includes=/usr/include and > --x-libraries=/usr/lib with autogen.sh - I use Gentoo with Xorg 6.8.2, > and Donnie is moving everything to /usr instead of /usr/X11R6,. You might want to investigate why those particular x-include and x-library values are needed at all - is your system *not* checking /usr/include and /usr/lib by default already? pgp3TQKLty7j9.pgp Description: PGP signature
Re: [E-devel] problems detecting X11 headers?
On Mon, 28 Feb 2005 14:55:26 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Mon, 28 Feb 2005 18:29:32 GMT, =?ISO-8859-1?Q?Andr=E9_Medeiros?= said: > > export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm" always works for me. > > > > Careful though, because it might overwrite whatever you have stored on > > that env. var. > > export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm $LDFLAGS" > > will prepend to the original with the obvious change to append. > > Note however that what you probably wanted if it's the C headers is: > > export CFLAGS="-I/usr/X11R6/include $CFLAGS" > > (Actually, if your build environment is that scrozzled to need that hint, > you probably need *both* CFLAGS and LDFLAGS tweaks...) > > > Personally, I just pass --x-includes=/usr/include and --x-libraries=/usr/lib with autogen.sh - I use Gentoo with Xorg 6.8.2, and Donnie is moving everything to /usr instead of /usr/X11R6,. It works here, ymmv -- steev --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] problems detecting X11 headers?
On Mon, 28 Feb 2005 18:29:32 GMT, =?ISO-8859-1?Q?Andr=E9_Medeiros?= said: > export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm" always works for me. > > Careful though, because it might overwrite whatever you have stored on > that env. var. export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm $LDFLAGS" will prepend to the original with the obvious change to append. Note however that what you probably wanted if it's the C headers is: export CFLAGS="-I/usr/X11R6/include $CFLAGS" (Actually, if your build environment is that scrozzled to need that hint, you probably need *both* CFLAGS and LDFLAGS tweaks...) pgpcxUu7EMIPB.pgp Description: PGP signature
Re: [E-devel] problems detecting X11 headers?
export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm" always works for me. Careful though, because it might overwrite whatever you have stored on that env. var. Good luck. --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel