summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-26 20:23:12 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-26 20:23:12 +0000
commit5f36b11fe0125186c6f9cff5ba7e408d7642ba58 (patch)
tree4e4ee5ab90caa1a0788f4680ed8cb7db3f70a2bb
parent9b4e8486cee190a41b0317e54e9f01dd6156992b (diff)
downloadtor-5f36b11fe0125186c6f9cff5ba7e408d7642ba58.tar.gz
tor-5f36b11fe0125186c6f9cff5ba7e408d7642ba58.zip
rik's patch to only include kerberos/include on red hat
svn:r1920
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index d9395fe7e5..b63f83b087 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,11 @@ AM_CONFIG_HEADER(orconfig.h)
AC_CANONICAL_HOST
-CFLAGS="$CFLAGS -Wall -g -O2 -I/usr/kerberos/include"
+CFLAGS="$CFLAGS -Wall -g -O2"
+
+if test -f /etc/redhat-release; then
+ CFLAGS="$CFLAGS -I/usr/kerberos/include"
+fi
AC_ARG_ENABLE(debug,
[ --enable-debug compiles with debugging info],