openbsd-ports/devel/autoconf/2.62/patches/patch-configure
espie 6064d67b89 initial port of autoconf 2.62.
dependent on some m4 tweaks to actually work (not yet committed)
2008-08-19 23:52:19 +00:00

40 lines
1.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2008/08/19 23:52:19 espie Exp $
--- configure.orig Sat Jul 19 11:54:55 2008
+++ configure Sat Jul 19 11:55:39 2008
@@ -2386,13 +2386,7 @@ do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
{ test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
- # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore -t, -F.
- ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl
- test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
- && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
- && test -f conftest.m4f \
- && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
- rm -f conftest.m4f
+ ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
$ac_path_M4_found && break 3
done
done
@@ -2413,19 +2407,7 @@ fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_M4" >&5
$as_echo "$ac_cv_path_M4" >&6; }
M4=$ac_cv_path_M4
- { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
-$as_echo_n "checking how m4 supports trace files... " >&6; }
-if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- case `$M4 --help < /dev/null 2>&1` in
- *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
- *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
- esac
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
-$as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
- M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
+ M4_DEBUGFILE=--debugfile