Make it only mildly annoying to compile on Windows and Mac OS X.

This commit is contained in:
David F. Skoll
2010-03-06 17:39:39 -05:00
parent bc9f560950
commit 830e3e339c
2 changed files with 34 additions and 14 deletions

24
configure vendored
View File

@@ -1692,23 +1692,33 @@ ac_config_headers="$ac_config_headers src/config.h"
if test "`uname -s`" = "Darwin" ; then
trap 'echo Be patient...' INT TERM
cat <<'EOF'
Please don't use Apple products. You can get Remind to
compile by hacking the ./configure script, but I'd rather you didn't.
Please don't use Apple products. This script will continue in 30 seconds
if you insist on compiling Remind on Mac OS X.
EOF
exit 1
for i in 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 ; do
sleep 1
done
trap INT
trap TERM
fi
if uname -s | grep -i -q 'cygwin' ; then
cat <<'EOF'
trap 'echo Be patient...' INT TERM
cat <<'EOF'
Please don't use Microsoft products. You can get Remind to
compile by hacking the ./configure script, but I'd rather you didn't.
Please don't use Microsoft products. This script will continue in 30
seconds if you insist on compiling Remind on Cygwin.
EOF
exit 1
for i in 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 ; do
sleep 1
done
trap INT
trap TERM
fi
ac_ext=c

View File

@@ -15,23 +15,33 @@ EOF
AC_CONFIG_HEADER(src/config.h)
if test "`uname -s`" = "Darwin" ; then
trap 'echo Be patient...' INT TERM
cat <<'EOF'
Please don't use Apple products. You can get Remind to
compile by hacking the ./configure script, but I'd rather you didn't.
Please don't use Apple products. This script will continue in 30 seconds
if you insist on compiling Remind on Mac OS X.
EOF
exit 1
for i in 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 ; do
sleep 1
done
trap INT
trap TERM
fi
if uname -s | grep -i -q 'cygwin' ; then
cat <<'EOF'
trap 'echo Be patient...' INT TERM
cat <<'EOF'
Please don't use Microsoft products. You can get Remind to
compile by hacking the ./configure script, but I'd rather you didn't.
Please don't use Microsoft products. This script will continue in 30
seconds if you insist on compiling Remind on Cygwin.
EOF
exit 1
for i in 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 ; do
sleep 1
done
trap INT
trap TERM
fi
dnl Checks for programs.