openbsd-ports/net/tintin++/patches/patch-configure
2007-10-26 22:10:06 +00:00

44 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2007/10/26 22:10:06 ajacoutot Exp $
--- configure.orig Sun Aug 28 12:06:38 1994
+++ configure Sat Oct 27 00:05:07 2007
@@ -474,17 +474,20 @@ fi
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -pipe"
-echo "Do you want the helpfile to be compressed (yes/no)? "
-read YESNO
-if test $YESNO; then
- if echo "$YESNO"|grep -i "no" >/dev/null; then
- DEFS="$DEFS -DCOMPRESSED_HELP=0"
- else
- DEFS="$DEFS -DCOMPRESSED_HELP=1"
- COMPRESSED_HELP="Ok"
- fi
-fi
+DEFS="$DEFS -DCOMPRESSED_HELP=1"
+COMPRESSED_HELP="Ok"
+#echo "Do you want the helpfile to be compressed (yes/no)? "
+#read YESNO
+#if test $YESNO; then
+# if echo "$YESNO"|grep -i "no" >/dev/null; then
+# DEFS="$DEFS -DCOMPRESSED_HELP=0"
+# else
+# DEFS="$DEFS -DCOMPRESSED_HELP=1"
+# COMPRESSED_HELP="Ok"
+# fi
+#fi
+
test -n "$silent" || echo "checking for -pipe"
cat > conftest.${ac_ext} <<EOF
#include "confdefs.h"
@@ -854,7 +857,7 @@ else
:;
fi
-for ac_func in bcopy
+for ac_func in
do
ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
test -n "$silent" || echo "checking for ${ac_func}"