POV-Ray : Newsgroups : povray.programming : [patch] configure.in tirival patch : Re: [patch] configure.in tirival patch Server Time
8 Jul 2024 18:49:36 EDT (-0400)
  Re: [patch] configure.in tirival patch  
From: Nicolas Calimet
Date: 30 Mar 2003 16:45:43
Message: <3E876587.3020801@free.fr>
> The problem begins when detecting -lX11: For X11 detection 
> the linker path -L/usr/X11R6/lib is passed but it is omitted for 
> all future calls to gcc. The following patch fixes this problem:
> 
> -----------<diff>-----------
> --- configure.in-orig   2003-03-28 22:35:05.000000000 +0100
> +++ configure.in        2003-03-28 22:41:14.000000000 +0100
> @@ -26,7 +26,8 @@
>  dnl Checks for header files.
>  AC_PATH_XTRA
>  dnl Now we can check for libX11
> -AC_CHECK_LIB(X11, XFlush, LIBS="$LIBS -lX11", true, -L$x_libraries -lX11)
> +AC_CHECK_LIB(X11, XFlush, LIBS="$LIBS -lX11 -L$x_libraries", true, 
> +       -L$x_libraries -lX11)
>  AC_HEADER_STDC
>  AC_CHECK_HEADERS(limits.h sys/time.h unistd.h, )
>  
> ----------------------------

	Wolfgang,

	Could you try the configure script I posted last februray in
p.unix ? -- actually a small package to be downloaded from:
	http://pov4grasp.free.fr/download/povray-3.50c-config.tar.gz

	Since the order of the checks have been changed, I don't have
this problem you mention (i.e. w/o adding the -L$x_libraries of your patch).
I'd like to know if my mods work for you. I didn't update this package since
I posted it {shame on me}, so it would be a good reason  :-)

	BTW, I guess this post and the other one about src/conf.h would
better fit in p.unix since this is only related to the UNIX/Linux version.
	Followup-to to p.unix.

	- NC


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.