summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 716e7d1..311d18d 100755
--- a/configure
+++ b/configure
@@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
prefix="/usr/local"
-if [ "$1" = "--help" ]
+if [ "$1" = "-h" ] || [ "$1" = "--help" ]
then
cat <<EOS
Usage: configure [options]
@@ -24,7 +24,8 @@ Usage: configure [options]
EOS
exit 0
fi
-if [ "$1" = "-p" ]; then
+if [ "$1" = "-p" ] || [ "$1" = "--prefix" ]
+then
if [ "$#" != 2 ]; then
./configure.sh --help
exit 1