patches/cloog-ppl/0.15.10/100-add_on_libs_position.patch
changeset 2854 a70abdbfa342
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/cloog-ppl/0.15.10/100-add_on_libs_position.patch	Fri Jan 27 13:31:16 2012 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +diff -Naurd cloog-ppl-0.15.10-a/configure cloog-ppl-0.15.10-b/configure
     1.5 +--- cloog-ppl-0.15.10-a/configure	2010-08-27 21:14:33.000000000 +0200
     1.6 ++++ cloog-ppl-0.15.10-b/configure	2012-01-27 13:28:49.262987773 +0100
     1.7 +@@ -11168,7 +11168,7 @@
     1.8 + fi
     1.9 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1.10 + 
    1.11 +-	LIBS="$LIBS -lppl_c -lppl -lgmpxx"
    1.12 ++	LIBS="-lppl_c -lppl -lgmpxx $LIBS"
    1.13 + 
    1.14 + $as_echo "#define CLOOG_PPL_BACKEND 1" >>confdefs.h
    1.15 + 
    1.16 +diff -Naurd cloog-ppl-0.15.10-a/configure.in cloog-ppl-0.15.10-b/configure.in
    1.17 +--- cloog-ppl-0.15.10-a/configure.in	2010-08-27 21:13:48.000000000 +0200
    1.18 ++++ cloog-ppl-0.15.10-b/configure.in	2012-01-27 13:28:49.262987773 +0100
    1.19 +@@ -343,7 +343,7 @@
    1.20 + 	#endif
    1.21 + 	], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ])
    1.22 + 
    1.23 +-	LIBS="$LIBS -lppl_c -lppl -lgmpxx"
    1.24 ++	LIBS="-lppl_c -lppl -lgmpxx $LIBS"
    1.25 + 	AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])
    1.26 + 
    1.27 + else