[packages/pilot-link] - fix autoconf syntax errors

baggins baggins at pld-linux.org
Mon May 10 22:46:14 CEST 2021


commit fc7cd3b1cf6b7f69db40731b0d2fcc988486b63f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon May 10 22:45:48 2021 +0200

    - fix autoconf syntax errors

 pilot-link-ac.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/pilot-link-ac.patch b/pilot-link-ac.patch
index 621aad1..f183296 100644
--- a/pilot-link-ac.patch
+++ b/pilot-link-ac.patch
@@ -19,6 +19,22 @@ diff -urN pilot-link-0.12.1.org/configure.ac pilot-link-0.12.1/configure.ac
  dnl Check host type
  AC_CANONICAL_HOST
  AC_CANONICAL_SYSTEM
+@@ -381,11 +381,11 @@
+ 		dnl Determine if system popt is good enough
+ 		save_LIBS="$LIBS"
+ 		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
++			[AC_CHECK_DECL(POPT_BIT_SET,
++				[AC_CHECK_LIB(popt, poptStrippedArgv,,
++					[with_included_popt="yes"])],
+ 				[with_included_popt="yes"],
+-				[#include <popt.h>]),
++				[#include <popt.h>])],
+ 			[with_included_popt="yes"]
+ 		)
+ 		LIBS="$save_LIBS"
 @@ -735,7 +724,7 @@
  AC_ARG_ENABLE(compile-werror,
  	      [  --enable-compile-werror
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pilot-link.git/commitdiff/fc7cd3b1cf6b7f69db40731b0d2fcc988486b63f



More information about the pld-cvs-commit mailing list