Added Cygwin-related stuff.
This commit is contained in:
parent
61809b0220
commit
324a65a762
|
@ -128,12 +128,24 @@ for arg ; do case "$arg" in
|
|||
esac; done
|
||||
|
||||
#******************************************************************************#
|
||||
# Evaluate variables #
|
||||
# Little things #
|
||||
#******************************************************************************#
|
||||
# Cross-compilation things
|
||||
if [ ! $prefix_set ] && [ $target ]; then
|
||||
prefix="$prefix"/"$target"
|
||||
fi
|
||||
|
||||
# Check MS-Windows targets
|
||||
case "$target" in *-mingw32) windows=y ;;
|
||||
|
||||
# Evaluate variables
|
||||
for var in prefix bindir mandir; do
|
||||
eval $var'='$(eval 'echo $'$var)
|
||||
done
|
||||
|
||||
# Check if is on Cygwin
|
||||
[ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ] && windows=y
|
||||
|
||||
#******************************************************************************#
|
||||
# Create Makefile configuration #
|
||||
#******************************************************************************#
|
||||
|
|
Reference in New Issue