Skip to content

Commit f4279c4

Browse files
committed
Fix configure so that installbsd gets -c also
From: Lee Roth <roth@tpusa.com>
1 parent 81acad4 commit f4279c4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/configure

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,12 +1067,12 @@ INSTLOPTS="-m 444"
10671067
INSTL_EXE_OPTS="-m 555"
10681068
INSTL_LIB_OPTS="-m 664"
10691069

1070-
if test "`basename $INSTALL`." = "install."
1071-
then
1070+
case "`basename $INSTALL`" in
1071+
install|installbsd)
10721072
INSTLOPTS="-c $INSTLOPTS"
10731073
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
1074-
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
1075-
fi
1074+
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS";;
1075+
esac
10761076

10771077
echo "- Using $INSTALL"
10781078

src/configure.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,12 @@ INSTLOPTS="-m 444"
269269
INSTL_EXE_OPTS="-m 555"
270270
INSTL_LIB_OPTS="-m 664"
271271

272-
if test "`basename $INSTALL`." = "install."
273-
then
272+
case "`basename $INSTALL`" in
273+
install|installbsd)
274274
INSTLOPTS="-c $INSTLOPTS"
275275
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
276-
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
277-
fi
276+
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS";;
277+
esac
278278

279279
echo "- Using $INSTALL"
280280
AC_SUBST(INSTALL)

0 commit comments

Comments
 (0)