Browse Source

Minor simplification of ./configure

pull/12/head
Eric Radman 3 years ago
parent
commit
a63e467480
  1. 13
      configure

13
configure

@ -1,15 +1,14 @@
#!/bin/sh
copy_mk()
{
cmd="cp $1/Makefile.$2 Makefile"
copy_mk() {
cmd="cp Makefile.$1 Makefile"
echo "$cmd"; $cmd
}
case `uname` in
Darwin) copy_mk . macos ;;
Linux) copy_mk . linux ;;
*) copy_mk . bsd ;;
Darwin) copy_mk macos ;;
Linux) copy_mk linux ;;
*) copy_mk bsd ;;
esac
[ $# = 0 ] && exit 0
@ -26,4 +25,4 @@ CFLAGS="-static" make test
PREFIX=\$HOME/local make install
HELP
exit 2
exit 1
Loading…
Cancel
Save