diff mbox

Use compile_prog as rest of configure

Message ID 1263987988-24622-1-git-send-email-quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Juan Quintela Jan. 20, 2010, 11:46 a.m. UTC
None
diff mbox

Patch

diff --git a/configure b/configure
index 20c374a..be739e1 100755
--- a/configure
+++ b/configure
@@ -1747,7 +1747,7 @@  cat > $TMPC << EOF
 int main(void) { return syscall(SYS_signalfd, -1, NULL, _NSIG / 8); }
 EOF

-if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
+if compile_prog "" "" ; then
   signalfd=yes
 fi