patches/cloog-ppl/0.15.7/100-add_on_libs_position.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Mon May 07 00:27:05 2012 +0200 (2012-05-07)
changeset 2981 80151a249b85
permissions -rw-r--r--
samples: use savedefconfig when saving samples

When saving a sample, use savedefconfig instead of copying
the full .config file.

This reduces the saved .config, and reduces clutter when it
is later upgraded.

Also use defconfig when retrieving a sample.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 diff -Naurd cloog-ppl-0.15.7-a/configure cloog-ppl-0.15.7-b/configure
     2 --- cloog-ppl-0.15.7-a/configure	2009-08-12 03:33:31.000000000 +0200
     3 +++ cloog-ppl-0.15.7-b/configure	2012-01-27 13:26:13.970988501 +0100
     4 @@ -12902,7 +12902,7 @@
     5  
     6  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7  
     8 -	LIBS="$LIBS -lppl_c -lppl -lgmpxx"
     9 +	LIBS="-lppl_c -lppl -lgmpxx $LIBS"
    10  
    11  cat >>confdefs.h <<\_ACEOF
    12  #define CLOOG_PPL_BACKEND 1
    13 diff -Naurd cloog-ppl-0.15.7-a/configure.in cloog-ppl-0.15.7-b/configure.in
    14 --- cloog-ppl-0.15.7-a/configure.in	2009-08-12 03:33:31.000000000 +0200
    15 +++ cloog-ppl-0.15.7-b/configure.in	2012-01-27 13:26:13.970988501 +0100
    16 @@ -345,7 +345,7 @@
    17  	#endif
    18  	], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ])
    19  
    20 -	LIBS="$LIBS -lppl_c -lppl -lgmpxx"
    21 +	LIBS="-lppl_c -lppl -lgmpxx $LIBS"
    22  	AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])
    23  
    24  else