template cleanup

This commit is contained in:
Bruce Momjian 1998-04-24 15:58:17 +00:00
parent 4cbfeef912
commit 9260d4b440
2 changed files with 291 additions and 295 deletions

578
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -79,12 +79,10 @@ AC_ARG_WITH(template,
see template directory], see template directory],
[ TEMPLATE=$withval ], [ TEMPLATE=$withval ],
[ host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'` [ host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_no_ver" template/.similar | sed 's/.*=//' 2>/dev/null` GUESS=`grep "$host_no_ver" template/.similar | sed 's/.*=//' | tail -1`
if test "$GUESS" if test "$GUESS"
then then TEMPLATE="$GUESS"
TEMPLATE=$GUESS else TEMPLATE=`uname -s | tr A-Z a-z`
else
TEMPLATE=`uname -s | tr A-Z a-z`
fi fi
]) ])
AC_MSG_RESULT($TEMPLATE) AC_MSG_RESULT($TEMPLATE)