forked from mirrors/nixpkgs
172f03517e
Also, copy the glibc patch into Nixpkgs to avoid errors with changing hashes from cgit.
23 lines
735 B
Diff
23 lines
735 B
Diff
From 4ad0b38fb53506d613c4b4f7268dadfcedae9b8e Mon Sep 17 00:00:00 2001
|
|
From: Shawn Betts <sabetts@gmail.com>
|
|
Date: Mon, 13 Jul 2009 01:23:25 +0000
|
|
Subject: check for getline in configure.in
|
|
|
|
This fixes a build error encountered on glibc 2.10 systems
|
|
---
|
|
diff --git a/configure.in b/configure.in
|
|
index 0c1b42c..08f4ee8 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -146,7 +146,7 @@ AC_CHECK_HEADERS(unistd.h stdarg.h)
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
|
|
dnl Checks for library functions.
|
|
-AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep)
|
|
+AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep getline)
|
|
|
|
AC_TYPE_SIGNAL
|
|
|
|
--
|
|
cgit v0.9.0.2
|