Skip to contentSkip to conversation

configure: let it find xen headers and libs

PATCH In review Christoph Egger 2 participants 3 messages Jul 30, 2009

lore
Share & tools
lore
#0 lore raw

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.

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
index 8160bed..5ae2aba 100755
@@ -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"
#1 lore raw
Quoted 6 lines · Christoph Egger

Hi!

Attached patch lets configure find xen headers and libs with --extra-cflags and --extra-ldlfags option.

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.

#2 lore raw
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.

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