summaryrefslogtreecommitdiffstats
path: root/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/0002-Fix-configure-syntax.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/0002-Fix-configure-syntax.patch')
-rw-r--r--debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/0002-Fix-configure-syntax.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/0002-Fix-configure-syntax.patch b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/0002-Fix-configure-syntax.patch
new file mode 100644
index 00000000..06ff428f
--- /dev/null
+++ b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/0002-Fix-configure-syntax.patch
@@ -0,0 +1,22 @@
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -392,11 +392,13 @@
+ 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"