Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux/build: move configure script to root dir
This should make the netmap package a bit easier to build, by virtue of following common practice.
- Loading branch information
1 parent
98948aa
commit eb2e562
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
os=$(uname -s) | ||
|
||
case $os in | ||
Linux) | ||
LINUX/configure "$@";; | ||
FreeBSD) | ||
FreeBSD/configure "$@";; | ||
*) | ||
echo "Sorry, $os is not supported" | ||
exit 1;; | ||
esac |