fix a configure script typo that caused OpenBSD 5.x to be mistaken for

Solaris 2.x and rename a misleadingly named patch file
This commit is contained in:
naddy 2011-07-20 14:22:48 +00:00
parent 57dd061596
commit db7a6ba493
2 changed files with 21 additions and 12 deletions

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-configure,v 1.3 2005/12/03 17:13:24 sturm Exp $
--- support/configure.orig Tue Jun 6 18:35:29 2000
+++ support/configure Fri Apr 20 02:51:20 2001
@@ -246,7 +246,7 @@ EOF
-logdir | --logdir | --logdi | --logd)
ac_prev=logdir ;;
-logdir=* | --logdir=* | --logdi=* | --logd=*)
- logdir="$ac_optarg/" ;;
+ logdir="$ac_optarg" ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-support_configure,v 1.1 2011/07/20 14:22:48 naddy Exp $
--- support/configure.orig Tue Jun 6 16:35:29 2000
+++ support/configure Wed Jul 20 08:16:35 2011
@@ -246,7 +246,7 @@ EOF
-logdir | --logdir | --logdi | --logd)
ac_prev=logdir ;;
-logdir=* | --logdir=* | --logdi=* | --logd=*)
- logdir="$ac_optarg/" ;;
+ logdir="$ac_optarg" ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
@@ -1296,7 +1296,7 @@ fi
fi
irc_cv_solaris_2=no
-if test "$irc_sun" = no; then
+if test "$irc_cv_sun" = no; then
echo "$ac_t""no" 1>&6
else
if uname -r 2>/dev/null | grep "^5" >/dev/null; then