openbsd-ports/devel/gettext/patches/patch-configure
2001-05-30 02:14:12 +00:00

74 lines
2.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.4 2001/05/30 02:14:13 brad Exp $
--- configure.orig Wed May 23 16:48:44 2001
+++ configure Tue May 29 21:02:16 2001
@@ -980,52 +980,32 @@ echo "configure:980: checking for workin
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
-if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- ACLOCAL=aclocal
- echo "$ac_t""found" 1>&6
-else
- ACLOCAL="$missing_dir/missing aclocal"
- echo "$ac_t""missing" 1>&6
-fi
+ACLOCAL="$missing_dir/missing aclocal"
+echo "$ac_t""missing" 1>&6
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo "configure:993: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
-if (autoconf --version) < /dev/null > /dev/null 2>&1; then
- AUTOCONF=autoconf
- echo "$ac_t""found" 1>&6
-else
- AUTOCONF="$missing_dir/missing autoconf"
- echo "$ac_t""missing" 1>&6
-fi
+AUTOCONF="$missing_dir/missing autoconf"
+echo "$ac_t""missing" 1>&6
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo "configure:1006: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
-if (automake --version) < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake
- echo "$ac_t""found" 1>&6
-else
- AUTOMAKE="$missing_dir/missing automake"
- echo "$ac_t""missing" 1>&6
-fi
+AUTOMAKE="$missing_dir/missing automake"
+echo "$ac_t""missing" 1>&6
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:1019: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
-if (autoheader --version) < /dev/null > /dev/null 2>&1; then
- AUTOHEADER=autoheader
- echo "$ac_t""found" 1>&6
-else
- AUTOHEADER="$missing_dir/missing autoheader"
- echo "$ac_t""missing" 1>&6
-fi
+AUTOHEADER="$missing_dir/missing autoheader"
+echo "$ac_t""missing" 1>&6
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo "configure:1032: checking for working makeinfo" >&5
@@ -4855,7 +4835,7 @@ else
;;
esac
fi
-EMACS="$ac_cv_path_EMACS"
+EMACS=no
if test -n "$EMACS"; then
echo "$ac_t""$EMACS" 1>&6
else