]> git.pld-linux.org Git - packages/device-mapper.git/blob - device-mapper-getopt.patch
ee5c6726a390d7673f8bfd5d9b122e4fee877088
[packages/device-mapper.git] / device-mapper-getopt.patch
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 @@ -230,8 +230,8 @@
4  ################################################################################
5  dnl -- getline included in recent libc
6  
7 -AC_CHECK_LIB(c, getline, AC_DEFINE([HAVE_GETLINE], 1,
8 -  [Define to 1 if getline is available.]))
9 +AC_CHECK_FUNC(getline, [AC_DEFINE([HAVE_GETLINE], 1,
10 +  [Define to 1 if getline is available.])])
11  
12  ################################################################################
13  dnl -- canonicalize_file_name included in recent libc
14 @@ -240,7 +240,7 @@
15  
16  ################################################################################
17  dnl -- Check for getopt
18 -AC_CHECK_HEADERS(getopt.h, AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if getopt_long is available.]))
19 +AC_CHECK_FUNC(getopt_long, [AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if getopt_long is available.])])
20  
21  ################################################################################
22  dnl -- Internationalisation stuff
This page took 0.060732 seconds and 2 git commands to generate.