aboutsummaryrefslogtreecommitdiff
path: root/config
blob: 3573df48edeaf6df1c9972ec8568a1c983b603e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# This file exists for backwards-compatibility with build systems that expect a
# config script similar to OpenSSL's.

# New software should prefer the native configure script over this one.

ARGS=""
for var in "$@"; do
	case $var in
		no-shared ) ARGS="$ARGS --disable-shared";;
		no-asm    ) ARGS="$ARGS --disable-asm";;
		--prefix* ) ARGS="$ARGS $var";;
	esac
done

./configure $ARGS