mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-11-01 01:28:55 +00:00
detect MAC in configure
This commit is contained in:
parent
5b5cc604a6
commit
9c83402d37
7
configure
vendored
7
configure
vendored
@ -19,6 +19,10 @@ parsearg() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ismac() {
|
||||||
|
uname -s | grep Darwin
|
||||||
|
}
|
||||||
|
|
||||||
while true ; do
|
while true ; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-*) parsearg "$1"; shift;;
|
-*) parsearg "$1"; shift;;
|
||||||
@ -54,6 +58,9 @@ echo exec_prefix=$exec_prefix>>config.mak
|
|||||||
echo bindir=$bindir>>config.mak
|
echo bindir=$bindir>>config.mak
|
||||||
echo libdir=$libdir>>config.mak
|
echo libdir=$libdir>>config.mak
|
||||||
echo includedir=$includedir>>config.mak
|
echo includedir=$includedir>>config.mak
|
||||||
|
if ismac ; then
|
||||||
|
echo LDSO_SUFFIX=dylib>>config.mak
|
||||||
|
fi
|
||||||
|
|
||||||
echo done, now run make \&\& make install
|
echo done, now run make \&\& make install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user