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 if test "`uname -s`" = "Darwin" ; then
trap 'echo Be patient...' INT TERM
cat <<'EOF' cat <<'EOF'
Please don't use Apple products. You can get Remind to Please don't use Apple products. This script will continue in 30 seconds
compile by hacking the ./configure script, but I'd rather you didn't. if you insist on compiling Remind on Mac OS X.
EOF 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 fi
if uname -s | grep -i -q 'cygwin' ; then 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 Please don't use Microsoft products. This script will continue in 30
compile by hacking the ./configure script, but I'd rather you didn't. seconds if you insist on compiling Remind on Cygwin.
EOF 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 fi
ac_ext=c ac_ext=c

View File

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