SOURCES: device-mapper-getopt.patch - updated for 1.02.07; use bet...

qboosh qboosh at pld-linux.org
Wed May 17 19:54:32 CEST 2006


Author: qboosh                       Date: Wed May 17 17:54:32 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 1.02.07; use better test, added fix for getline() check (-lc breaks klibc)

---- Files affected:
SOURCES:
   device-mapper-getopt.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/device-mapper-getopt.patch
diff -u SOURCES/device-mapper-getopt.patch:1.2 SOURCES/device-mapper-getopt.patch:1.3
--- SOURCES/device-mapper-getopt.patch:1.2	Sat Apr 22 20:40:05 2006
+++ SOURCES/device-mapper-getopt.patch	Wed May 17 19:54:27 2006
@@ -1,11 +1,20 @@
---- dm/configure.in.org	2006-04-22 20:35:30.751542250 +0200
-+++ dm/configure.in	2006-04-22 20:35:40.452148500 +0200
-@@ -234,7 +234,7 @@
+--- device-mapper.1.02.07/configure.in.orig	2006-05-17 19:23:21.778894500 +0200
++++ device-mapper.1.02.07/configure.in	2006-05-17 19:31:56.351053250 +0200
+@@ -209,7 +209,7 @@
+ ################################################################################
+ dnl -- getline included in recent libc
+ 
+-AC_CHECK_LIB(c, getline, AC_DEFINE([HAVE_GETLINE], 1, [Define to 1 if getline is available.]))
++AC_CHECK_FUNC(getline, [AC_DEFINE([HAVE_GETLINE], 1, [Define to 1 if getline is available.])])
+ 
+ ################################################################################
+ dnl -- Disable selinux
+@@ -240,7 +240,7 @@
  
  ################################################################################
  dnl -- Check for getopt
--AC_CHECK_HEADERS(getopt.h, LVM_DEFS="$LVM_DEFS -DHAVE_GETOPTLONG")
-+AC_CHECK_HEADERS(getopt.h)
+-AC_CHECK_HEADERS(getopt.h, AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if getopt_long is available.]))
++AC_CHECK_FUNC(getopt_long, [AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if getopt_long is available.])])
  
  ################################################################################
  dnl -- Internationalisation stuff
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/device-mapper-getopt.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list