]> git.pld-linux.org Git - packages/device-mapper.git/blame - device-mapper-getopt.patch
- damn, uclibc version needed for lvm2
[packages/device-mapper.git] / device-mapper-getopt.patch
CommitLineData
637c2508
JB
1--- device-mapper.1.02.07/configure.in.orig 2006-05-17 19:23:21.778894500 +0200
2+++ device-mapper.1.02.07/configure.in 2006-05-17 19:31:56.351053250 +0200
3@@ -209,7 +209,7 @@
4 ################################################################################
5 dnl -- getline included in recent libc
6
7-AC_CHECK_LIB(c, getline, AC_DEFINE([HAVE_GETLINE], 1, [Define to 1 if getline is available.]))
8+AC_CHECK_FUNC(getline, [AC_DEFINE([HAVE_GETLINE], 1, [Define to 1 if getline is available.])])
9
10 ################################################################################
11 dnl -- Disable selinux
12@@ -240,7 +240,7 @@
e10b2edb 13
14 ################################################################################
15 dnl -- Check for getopt
637c2508
JB
16-AC_CHECK_HEADERS(getopt.h, AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if getopt_long is available.]))
17+AC_CHECK_FUNC(getopt_long, [AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if getopt_long is available.])])
e10b2edb 18
19 ################################################################################
20 dnl -- Internationalisation stuff
This page took 0.327238 seconds and 4 git commands to generate.