1
0
mirror of https://github.com/rofl0r/proxychains-ng.git synced 2024-12-29 09:08:48 +00:00

detect MAC in configure

This commit is contained in:
rofl0r 2012-01-27 20:21:06 +01:00
parent 5b5cc604a6
commit 9c83402d37

7
configure vendored
View File

@ -19,6 +19,10 @@ parsearg() {
esac
}
ismac() {
uname -s | grep Darwin
}
while true ; do
case $1 in
-*) parsearg "$1"; shift;;
@ -54,6 +58,9 @@ echo exec_prefix=$exec_prefix>>config.mak
echo bindir=$bindir>>config.mak
echo libdir=$libdir>>config.mak
echo includedir=$includedir>>config.mak
if ismac ; then
echo LDSO_SUFFIX=dylib>>config.mak
fi
echo done, now run make \&\& make install