1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-27 00:37:08 +00:00
termux-packages/packages/ragel/configure.diff
2022-10-25 04:16:52 +00:00

41 lines
1.3 KiB
Diff

--- a/configure
+++ b/configure
@@ -4860,8 +4860,8 @@
# Check whether --with-colm was given.
if test "${with_colm+set}" = set; then :
withval=$with_colm;
- COLM="$withval/bin/colm"
- COLM_WRAP="$withval/bin/colm-wrap"
+ COLM="@COLM_BIN_DIR@/colm"
+ COLM_WRAP="@COLM_BIN_DIR@/colm-wrap"
CPPFLAGS="-I$withval/include ${CPPFLAGS}"
CPPFLAGS="-I$withval/include/aapl ${CPPFLAGS}"
LDFLAGS="-L$withval/lib ${LDFLAGS}"
@@ -4878,8 +4878,6 @@
if eval \${$as_ac_File+:} false; then :
$as_echo_n "(cached) " >&6
else
- test "$cross_compiling" = yes &&
- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "$COLM"; then
eval "$as_ac_File=yes"
else
@@ -17380,8 +17378,6 @@
if eval \${$as_ac_File+:} false; then :
$as_echo_n "(cached) " >&6
else
- test "$cross_compiling" = yes &&
- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "$srcdir/DIST"; then
eval "$as_ac_File=yes"
else
@@ -18279,8 +18275,6 @@
if eval \${$as_ac_File+:} false; then :
$as_echo_n "(cached) " >&6
else
- test "$cross_compiling" = yes &&
- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r ""$EXTERNAL_COLM/bin/colm""; then
eval "$as_ac_File=yes"
else