PATCH: Re: prelink check

Marcus Meissner meissner at suse.de
Tue Jul 18 04:07:58 CDT 2006


On Tue, Jul 18, 2006 at 10:03:54AM +0200, Alexandre Julliard wrote:
> Marcus Meissner <marcus at jet.franken.de> writes:
> 
> > It seems the PATH usage of AC_CHECK_PROGS is not taken into account.
> >
> > Adding /usr/sbin/prelink to the checked programs does not help,
> > the check always prepends paths.
> 
> Replacing AC_CHECK_PROGS by AC_PATH_PROGS should do the trick.

Yes, it did.

I now get "ntdll.dll.so: Unknown stabs code 0x2e", but this is prelinks
fault.

Ciao, Marcus

Changelog:
	Use AC_PATH_PROGS for prelink lookup.

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.519
diff -u -r1.519 configure.ac
--- configure.ac	17 Jul 2006 13:15:17 -0000	1.519
+++ configure.ac	18 Jul 2006 09:07:15 -0000
@@ -126,7 +126,7 @@
 
 case $host_cpu in
   *i[[3456789]]86*)
-    AC_CHECK_PROGS(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
+    AC_PATH_PROGS(PRELINK, prelink, [false], [/sbin /usr/sbin $PATH])
     ;;
 esac
 



More information about the wine-patches mailing list