configure: let it find xen headers and libs
PATCH 1/1 configure: let it find xen headers and libs
Hi!
Attached patch lets configure find xen headers and libs with --extra-cflags and --extra-ldlfags option.
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
configure +1 -1
@@ -880,7 +880,7 @@ if test "$xen" = "yes" ; then #include <xs.h> int main(void) { xs_daemon_open(); xc_interface_open(); return 0; } EOF - if $cc $CFLAGS $ARCH_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $xen_libs 2> /dev/null > /dev/null ; then + if $cc $CFLAGS $ARCH_CFLAGS $EXTRA_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $EXTRA_LDFLAGS $xen_libs 2> /dev/null > /dev/null ; then : else xen="no"
Quoted 6 lines · Christoph Egger
Hi!
Attached patch lets configure find xen headers and libs with --extra-cflags and --extra-ldlfags option.
Signed-off-by Christoph Egger <[email protected]>
One of the patches in my last series should have fixed this one, please take a look :) Fixed for all tests, not only xen.
Later, Juan.
Quoted 10 lines · On Thursday 30 July 2009 16:42:03 Juan Quintela wrote:
Quoted 6 lines · Christoph Egger
Hi!
Attached patch lets configure find xen headers and libs with --extra-cflags and --extra-ldlfags option.
Signed-off-by Christoph Egger <[email protected]>One of the patches in my last series should have fixed this one, please take a look :) Fixed for all tests, not only xen.
I vote for it to go upstream then. Avoids duplicate work. :)
Christoph
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632