summaryrefslogtreecommitdiff
path: root/debian/patches/replace-ac-check-file.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-12 19:41:47 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-12 20:50:00 +0200
commit93505b3433a6d3f7bfe14358ff4dfc3884b3eaea (patch)
tree0c17648c3c2863f96a5129a356703e828622e4fd /debian/patches/replace-ac-check-file.patch
parentec8187a4616115a2eec8d97a8ca81b0aa7dc9542 (diff)
downloadgnucobol4-debian-93505b3433a6d3f7bfe14358ff4dfc3884b3eaea.tar.gz
gnucobol4 (4.0~early~20221111.svn.4819-0pin1)HEADmaster
Diffstat (limited to 'debian/patches/replace-ac-check-file.patch')
-rw-r--r--debian/patches/replace-ac-check-file.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/replace-ac-check-file.patch b/debian/patches/replace-ac-check-file.patch
deleted file mode 100644
index 4ce7976..0000000
--- a/debian/patches/replace-ac-check-file.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: gnucobol3 fails to cross build from source, because it abuses
- AC_CHECK_FILE. The macro is meant to check for files on the host system,
- but it is used to check for files inside the build tree.
-Author: Helmut Grohne <helmut@subdivi.de>
---- gnucobol4-4.0~early~20200606.orig/configure.ac
-+++ gnucobol4-4.0~early~20200606/configure.ac
-@@ -590,7 +590,7 @@
- AC_MSG_NOTICE([Checks for local cJSON ...])
- curr_libs="$LIBS"; curr_cppflags="$CPPFLAGS"
- with_cjson_local=no
-- AC_CHECK_FILE([./libcob/cJSON.c],
-+ AS_IF([test -e ./libcob/cJSON.c],
- [AC_MSG_CHECKING([if linking of ./libcob/cJSON.c works])
- CPPFLAGS="$curr_cppflags -I./libcob"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "cJSON.c"]],
-@@ -601,7 +601,7 @@
- )]
- )
- if test "$with_cjson_local" = "no"; then
-- AC_CHECK_FILE([$srcdir/libcob/cJSON.c],
-+ AS_IF([test -e "$srcdir/libcob/cJSON.c"],
- [AC_MSG_CHECKING([if linking of $srcdir/libcob/cJSON.c works])
- CPPFLAGS="$curr_cppflags -I$srcdir/libcob"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "cJSON.c"]],
-